/* =========================================================
   ROHIS DARK LIQUID GLASS
   Transparent • Blurred • Subtle Neon • Elegant
   ========================================================= */

:root {

  /* ---------- DARK BASE ---------- */

  --dark-bg:
    radial-gradient(
      ellipse 80% 60% at 50% 15%,
      rgba(0, 221, 184, 0.05),
      transparent 70%
    ),
    radial-gradient(
      ellipse 70% 50% at 85% 85%,
      rgba(0, 200, 160, 0.03),
      transparent 65%
    ),
    linear-gradient(
      180deg,
      #020708 0%,
      #030d0f 45%,
      #010506 100%
    );


  /* =========================================================
     TRUE LIQUID GLASS — BLUR + ZOOM + REFRACTION + 3D DEPTH
     ========================================================= */

  /* =========================================================
     TRUE LIQUID GLASS — PURE NEON GREEN (EMERALD & MINT)
     ========================================================= */

  /* KACA DASAR BENING GELAP: Sleek dark transparent smoked glass (NO WHITE EFFECT) */
  --glass-bg:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.62) 45%,
      rgba(2, 9, 11, 0.78) 100%
    );

  /* Aksen aurora hijau neon sangat halus */
  --glass-aurora:
    radial-gradient(
      circle at 12% 12%,
      rgba(0, 255, 200, 0.06),
      transparent 45%
    ),
    radial-gradient(
      circle at 88% 88%,
      rgba(0, 255, 180, 0.06),
      transparent 45%
    );

  --liquid-glass:
    var(--glass-bg);

  --liquid-glass-hover:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.08) 0%,
      rgba(6, 24, 28, 0.68) 45%,
      rgba(3, 12, 15, 0.85) 100%
    );

  /* BORDER: Subtle emerald neon micro-borders (NO WHITE) */
  --liquid-border:
    rgba(0, 255, 200, 0.14);

  --liquid-border-hover:
    rgba(0, 255, 200, 0.60);

  /* BLUR HALUS: Tidak pekat/buram agar latar belakang terlihat jernih */
  --liquid-blur:
    blur(14px)
    saturate(150%);

  /* THICK 3D SHADOW (Physical Floating Elevation) */
  --liquid-shadow:
    0 25px 60px -10px rgba(0, 0, 0, 0.85),
    0 12px 28px -6px rgba(0, 0, 0, 0.60),
    0 4px 12px rgba(0, 0, 0, 0.40);

  --liquid-shadow-hover:
    0 35px 80px -10px rgba(0, 0, 0, 0.90),
    0 14px 32px -4px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(0, 255, 200, 0.28);

  /* 3D INSET DEPTH: Subtle green neon rim without any white effects */
  --liquid-inset:
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.12),
    inset 0 0 24px 0 rgba(0, 0, 0, 0.45);

  --radius-glass: 28px;

  /* Aliases for backwards-compatibility */
  --page-bg: var(--dark-bg);
  --color-bg: #020A0B;
  --color-bg-alt: #041315;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-light: rgba(255, 255, 255, 0.08);
  --color-surface-hover: rgba(255, 255, 255, 0.12);

  --color-primary: #00DDB8;
  --color-primary-light: #00F0CF;
  --color-primary-dark: #00A88F;
  --color-primary-glow: rgba(0, 255, 210, 0.25);

  --color-gold: #D7B866;
  --color-gold-light: #f5d076;
  --color-gold-dark: #b58d34;

  --color-text: rgba(255, 255, 255, 0.92);
  --color-text-secondary: rgba(255, 255, 255, 0.72);
  --color-text-muted: rgba(255, 255, 255, 0.50);

  --glass-recipe: var(--liquid-glass);
  --glass-border: var(--liquid-border);
  --glass-border-hover: var(--liquid-border-hover);
  --glass-blur: var(--liquid-blur);
  --glass-shadow: var(--liquid-shadow);
  --glass-shadow-hover: var(--liquid-shadow-hover);
  --glass-inset: var(--liquid-inset);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: var(--radius-glass);
  --radius-xl: 30px;
  --radius-pill: 999px;
  --radius-full: 999px;

  --ease-liquid: cubic-bezier(.22, 1, .36, 1);
  --transition-liquid:
    background 0.45s cubic-bezier(.22, 1, .36, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s cubic-bezier(.22, 1, .36, 1);

  --transition-fast: 150ms ease;
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', 'Cinzel', Georgia, serif;
  --font-script: 'Alex Brush', cursive;
  --font-arabic: 'Amiri', serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 24px var(--color-primary-glow);
  --shadow-glow-lg: 0 0 48px var(--color-primary-glow);
  --shadow-gold-glow: 0 0 24px rgba(215, 184, 102, 0.2);

  /* Layout */
  --max-width: 1200px;
  --navbar-height: 72px;
}

/* =========================================================
   BODY
   ========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.92);
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

#root,
main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #FFFFFF;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--color-text-secondary);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: min(var(--max-width), calc(100vw - 120px));
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 var(--space-md);
  }
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
  overflow-x: clip;
}

.section-alt {
  background: transparent;
  position: relative;
}

/* --- Flex & Grid Utilities --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }

/* =========================================================
   TRUE LIQUID GLASS
   BLUR + ZOOM + REFRACTION + 3D DEPTH
   ========================================================= */

.liquid-glass,
.glass-card,
.card,
.stat-glass-card,
.quote-card,
.home-cta,
.team-card,
.program-glass-card,
.about-story-card,
.about-vm-card,
.about-value-card,
.contact-form-wrapper,
.reg-form,
.admin-login-card,
.admin-stat-card,
.settings-card,
.admin-gallery-card,
.glass-modal,
.gallery-item {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  /* KACA DASAR BENING GELAP ELEGAN (NO WHITE EFFECT) */
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.62) 45%,
      rgba(2, 9, 11, 0.78) 100%
    );

  /* BLUR HALUS AGAR LATAR BELAKANG TERLIHAT SANGAT BENING DAN JELAS */
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);

  /* BINGKAI HIJAU NEON ELEGAN TANPA PUTIH */
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.32);
  border-left: 1px solid rgba(0, 255, 200, 0.18);
  border-right: 1px solid rgba(0, 255, 200, 0.18);
  border-bottom: 1px solid rgba(0, 255, 180, 0.10);
  border-radius: var(--radius-glass);

  /* DEPTH & ELEVATION TANPA INSET PUTIH */
  box-shadow:
    0 25px 60px -10px rgba(0, 0, 0, 0.85),
    0 12px 28px -6px rgba(0, 0, 0, 0.60),
    0 4px 12px rgba(0, 0, 0, 0.40),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.12),
    inset 0 0 24px 0 rgba(0, 0, 0, 0.45);

  transition:
    transform 450ms cubic-bezier(.2,.8,.2,1),
    box-shadow 450ms cubic-bezier(.2,.8,.2,1),
    border-color 400ms ease;

  will-change: transform, box-shadow;
}


/* =========================================================
   LIQUID REFRACTION LAYER — PURE NEON GREEN AURORA
   Memberikan kedalaman & ilusi cairan tanpa menghalangi blur
   ========================================================= */

.liquid-glass::before,
.glass-card::before,
.card::before,
.stat-glass-card::before,
.quote-card::before,
.home-cta::before,
.team-card::before,
.program-glass-card::before,
.about-story-card::before,
.about-vm-card::before,
.about-value-card::before,
.contact-form-wrapper::before,
.reg-form::before,
.admin-login-card::before,
.admin-stat-card::before,
.settings-card::before,
.admin-gallery-card::before,
.glass-modal::before,
.gallery-item::before {

  content: "";
  position: absolute;
  z-index: -1;
  inset: -12%;

  /* AURORA HIJAU NEON HALUS AGAR KACA TETAP BENING KRISTAL */
  background:
    radial-gradient(
      ellipse 65% 55% at 15% 15%,
      rgba(0, 255, 200, 0.08) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 65% 55% at 85% 85%,
      rgba(0, 255, 180, 0.08) 0%,
      transparent 65%
    );

  transform: scale(1.08);
  filter: blur(10px);
  opacity: 0.15;
  pointer-events: none;

  transition:
    transform 700ms cubic-bezier(.16, 1, .3, 1),
    filter 700ms cubic-bezier(.16, 1, .3, 1),
    opacity 400ms ease;
}


/* =========================================================
   3D GLASS THICKNESS & SHEEN — PURE NEON GREEN
   ========================================================= */

.liquid-glass::after,
.glass-card::after,
.card::after,
.stat-glass-card::after,
.quote-card::after,
.home-cta::after,
.team-card::after,
.program-glass-card::after,
.about-story-card::after,
.about-vm-card::after,
.about-value-card::after,
.contact-form-wrapper::after,
.reg-form::after,
.admin-login-card::after,
.admin-stat-card::after,
.settings-card::after,
.admin-gallery-card::after,
.glass-modal::after,
.gallery-item::after {

  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;

  /* SHEEN 3D DI ATAS & REFLEKSI KRISTAL HIJAU NEON (TANPA PUTIH) */
  background:
    /* Highlight hijau neon halus atas */
    linear-gradient(
      180deg,
      rgba(0, 255, 200, 0.08) 0%,
      rgba(0, 255, 200, 0.01) 18%,
      transparent 40%
    ),
    /* Refleksi samping: Hijau lembut kiri dan kanan */
    linear-gradient(
      90deg,
      rgba(0, 255, 200, 0.12) 0%,
      transparent 10%,
      transparent 90%,
      rgba(0, 255, 200, 0.12) 100%
    ),
    /* Aurora neon hijau pojok kanan bawah */
    radial-gradient(
      circle at 85% 90%,
      rgba(0, 255, 180, 0.15),
      transparent 45%
    );

  box-shadow:
    inset 0 1.2px 0 rgba(0, 255, 200, 0.28),
    inset 0 3px 6px rgba(0, 255, 200, 0.15),
    inset 2px 0 0 rgba(0, 255, 200, 0.12),
    inset -2px 0 0 rgba(0, 255, 200, 0.12),
    inset 0 -2px 0 rgba(0, 255, 180, 0.18);

  mix-blend-mode: screen;
}


/* =========================================================
   HOVER — FLOAT + PURE NEON GREEN GLOW (NO WHITE)
   ========================================================= */

.liquid-glass:hover,
.glass-card:hover,
.card:hover,
.stat-glass-card:hover,
.quote-card:hover,
.home-cta:hover,
.team-card:hover,
.program-glass-card:hover,
.about-story-card:hover,
.about-vm-card:hover,
.about-value-card:hover,
.contact-form-wrapper:hover,
.reg-form:hover,
.admin-login-card:hover,
.admin-stat-card:hover,
.settings-card:hover,
.admin-gallery-card:hover,
.gallery-item:hover,
.school-card:hover,
.article-card:hover,
.event-card:hover {

  transform: translateY(-10px) scale(1.03) !important;
  z-index: 20 !important;

  border-top-color: rgba(0, 255, 200, 0.80) !important;
  border-left-color: rgba(0, 255, 200, 0.55) !important;
  border-right-color: rgba(0, 255, 200, 0.55) !important;
  border-bottom-color: rgba(0, 255, 180, 0.35) !important;

  box-shadow:
    0 35px 80px -10px rgba(0, 0, 0, 0.90),
    0 14px 32px -4px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(0, 255, 200, 0.28),
    0 10px 35px rgba(0, 255, 180, 0.18),
    inset 0 1.5px 0 0 rgba(0, 255, 200, 0.50),
    inset 0 4px 10px 0 rgba(0, 255, 200, 0.25),
    inset 2px 0 2px 0 rgba(0, 255, 200, 0.20),
    inset -2px 0 2px 0 rgba(0, 255, 200, 0.20),
    inset 0 -2.5px 0 0 rgba(0, 255, 180, 0.35),
    inset 0 -8px 18px 0 rgba(0, 0, 0, 0.65),
    inset 0 0 30px rgba(0, 255, 200, 0.10) !important;
}


/* =========================================================
   ZOOM / LIQUID MOVEMENT ON HOVER
   ========================================================= */

.liquid-glass:hover::before,
.glass-card:hover::before,
.card:hover::before,
.stat-glass-card:hover::before,
.quote-card:hover::before,
.home-cta:hover::before,
.team-card:hover::before,
.program-glass-card:hover::before,
.about-story-card:hover::before,
.about-vm-card:hover::before,
.about-value-card:hover::before,
.contact-form-wrapper:hover::before,
.reg-form:hover::before,
.admin-login-card:hover::before,
.admin-stat-card:hover::before,
.settings-card:hover::before,
.admin-gallery-card:hover::before,
.gallery-item:hover::before,
.school-card:hover::before,
.article-card:hover::before,
.event-card:hover::before {

  transform: scale(1.30) rotate(2deg) !important;

  filter: blur(14px) !important;

  opacity: 0.85 !important;

  transition:
    transform 600ms cubic-bezier(.16,1,.3,1),
    filter 600ms cubic-bezier(.16,1,.3,1),
    opacity 350ms ease !important;
}


/* =========================================================
   TOP GLASS LINE
   Garis tipis yang memberi efek bevel
   ========================================================= */

.liquid-glass::marker {
  display: none;
}


/* =========================================================
   OPTIONAL — GLASS CONTENT
   Supaya isi selalu berada di atas efek
   ========================================================= */

.liquid-glass > *,
.glass-card > *,
.card > *,
.stat-glass-card > *,
.quote-card > *,
.home-cta > *,
.team-card > *,
.program-glass-card > *,
.about-story-card > *,
.about-vm-card > *,
.about-value-card > *,
.contact-form-wrapper > *,
.reg-form > *,
.admin-login-card > *,
.admin-stat-card > *,
.settings-card > *,
.admin-gallery-card > *,
.glass-modal > *,
.gallery-item > * {

  position: relative;
  z-index: 2;
}

/* 3D Glass Modal Utility */
.glass-modal {
  background: var(--liquid-glass);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1px solid var(--liquid-border);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 35px 80px -10px rgba(0, 0, 0, 0.85),
    0 12px 30px -4px rgba(0, 0, 0, 0.60),
    0 0 35px 2px rgba(0, 255, 210, 0.15),
    var(--liquid-inset);
  position: relative;
  overflow: hidden;
}

.glass-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.08) 22%,
    rgba(255, 255, 255, 0.01) 45%,
    transparent 70%
  );
  border-radius: inherit;
  pointer-events: none;
}

.card-body {
  padding: var(--space-lg);
}

/* =========================================================
   NAVBAR
   ========================================================= */

.glass-navbar {
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.075),
      rgba(255,255,255,0.025)
    );
  backdrop-filter: blur(28px) saturate(145%);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 35px rgba(0,0,0,0.22);
}

/* =========================================================
   3D BUTTONS
   ========================================================= */

.glass-button,
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  color: #020A0B !important;
  background: linear-gradient(135deg, #00A88F 0%, #00DDB8 50%, #00F0CF 100%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: var(--radius-pill);
  box-shadow: 
    0 14px 32px -6px rgba(0, 221, 184, 0.40),
    0 4px 12px -2px rgba(0, 0, 0, 0.35),
    inset 0 2px 0 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 0 0 rgba(0, 100, 80, 0.50);
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

.glass-button::before,
.btn-primary::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 8px;
  right: 8px;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%
  );
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.glass-button:hover,
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 20px 42px -6px rgba(0, 221, 184, 0.55),
    0 0 30px rgba(0, 255, 210, 0.35),
    inset 0 1.5px 0 0 rgba(0, 255, 210, 0.60),
    inset 0 -2px 0 0 rgba(0, 100, 80, 0.50);
  color: #020A0B !important;
}

.glass-button:active,
.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 
    0 6px 16px rgba(0, 221, 184, 0.30),
    inset 0 1px 0 rgba(0, 255, 210, 0.35);
}

.glass-button-secondary,
.btn-outline,
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.95) !important;
  background: 
    radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 60%, transparent 100%),
    rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  box-shadow: 
    0 12px 28px -6px rgba(0, 0, 0, 0.55),
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.45),
    inset 0 -1.5px 0 0 rgba(0, 0, 0, 0.45);
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
}

.glass-button-secondary:hover,
.btn-outline:hover,
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 255, 210, 0.45);
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 18px 36px -6px rgba(0, 0, 0, 0.65),
    0 0 25px rgba(0, 255, 210, 0.18),
    inset 0 1.5px 0 0 rgba(255, 255, 255, 0.60),
    inset 0 -1.5px 0 0 rgba(0, 0, 0, 0.45);
}

.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  color: #020A0B !important;
  background: linear-gradient(135deg, #b8860b 0%, #d7b866 50%, #f5d076 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-pill);
  box-shadow: 
    0 14px 32px -6px rgba(215, 184, 102, 0.45),
    0 4px 12px -2px rgba(0, 0, 0, 0.35),
    inset 0 2px 0 0 rgba(255, 255, 255, 0.70),
    inset 0 -2px 0 0 rgba(140, 105, 30, 0.50);
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

.btn-gold::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 8px;
  right: 8px;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.50) 0%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%
  );
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 20px 42px -6px rgba(215, 184, 102, 0.60),
    0 0 30px rgba(215, 184, 102, 0.35),
    inset 0 2px 0 0 rgba(255, 255, 255, 0.90),
    inset 0 -2px 0 0 rgba(140, 105, 30, 0.50);
  color: #020A0B !important;
}

/* Button Sizes */
.btn {
  font-family: var(--font-heading);
}

.btn-sm {
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 0.85rem !important;
}

.btn-lg {
  min-height: 52px !important;
  padding: 0 28px !important;
  font-size: 1.05rem !important;
}

/* =========================================================
   NAV ACTIVE
   ========================================================= */

.nav-active {
  color: #00E8C1;
  text-shadow: 0 0 14px rgba(0,232,193,0.22);
}

/* =========================================================
   SUBTLE NEON LINE
   ========================================================= */

.neon-line {
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(0,255,210,0.65),
      rgba(0,210,255,0.35),
      transparent
    );
  box-shadow: 0 0 10px rgba(0,255,210,0.12);
}

/* =========================================================
   NEON ACCENT
   ========================================================= */

.neon-text {
  background:
    linear-gradient(
      90deg,
      #00DDB8,
      #00F0CF 45%,
      #4DD7E8
    );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   GOLD — ONLY AS ACCENT
   ========================================================= */

.gold-accent {
  color: #D7B866;
  text-shadow: 0 0 14px rgba(215,184,102,0.12);
}

/* =========================================================
   BACKGROUND GLOW / NEON ORB — PURE NEON GREEN
   ========================================================= */

.neon-orb,
.liquid-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.65;
}

.neon-orb-1 {
  top: -120px;
  left: -100px;
  background: radial-gradient(circle, rgba(0, 255, 200, 0.22), transparent 70%);
}

.neon-orb-2 {
  top: 45%;
  right: -150px;
  background: radial-gradient(circle, rgba(0, 255, 200, 0.22), transparent 70%);
}

.neon-orb-3 {
  bottom: -100px;
  left: 25%;
  background: radial-gradient(circle, rgba(0, 255, 180, 0.18), transparent 70%);
}

/* =========================================================
   GLASS INPUT & FORMS
   ========================================================= */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.glass-input,
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-top: 1.5px solid rgba(255, 255, 255, 0.50);
  border-radius: var(--radius-md);
  outline: none;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 0.95rem;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.40),
    0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-input::placeholder,
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.glass-input:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  background: rgba(0, 255, 200, 0.08);
  border-color: rgba(0, 255, 210, 0.70);
  border-top-color: rgba(0, 255, 210, 0.85);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.35),
    inset 0 1px 2px rgba(0, 255, 210, 0.35),
    0 0 0 3px rgba(0, 255, 210, 0.25),
    0 0 20px rgba(0, 255, 210, 0.20);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================================================
   3D GLASS BADGE
   ========================================================= */

.glass-badge,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.95);
  background:
    radial-gradient(
      100% 100% at 50% 0%,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.02) 70%,
      transparent 100%
    ),
    rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  box-shadow:
    0 8px 18px -4px rgba(0, 0, 0, 0.45),
    inset 0 1.2px 0 0 rgba(255, 255, 255, 0.50),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.badge-primary {
  background:
    radial-gradient(
      100% 100% at 50% 0%,
      rgba(0, 255, 210, 0.25) 0%,
      rgba(0, 255, 210, 0.05) 70%,
      transparent 100%
    ),
    rgba(0, 255, 210, 0.10);
  color: #00F0CF;
  border-color: rgba(0, 255, 210, 0.40);
  box-shadow:
    0 8px 18px -4px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(0, 255, 210, 0.18),
    inset 0 1.2px 0 0 rgba(255, 255, 255, 0.60),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.35);
}

.badge-gold {
  background:
    radial-gradient(
      100% 100% at 50% 0%,
      rgba(215, 184, 102, 0.25) 0%,
      rgba(215, 184, 102, 0.05) 70%,
      transparent 100%
    ),
    rgba(215, 184, 102, 0.12);
  color: #f5d076;
  border-color: rgba(215, 184, 102, 0.45);
  box-shadow:
    0 8px 18px -4px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(215, 184, 102, 0.18),
    inset 0 1.2px 0 0 rgba(255, 255, 255, 0.60),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.35);
}

/* --- Islamic Ornament Separator --- */
.ornament-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.ornament-separator::before,
.ornament-separator::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: linear-gradient(90deg, transparent, rgba(215, 184, 102, 0.5), transparent);
}

.ornament-separator .ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  animation: glowPulse 3s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(215, 184, 102, 0.5);
}

/* --- Islamic Ornament Separator --- */
.ornament-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

.ornament-separator::before,
.ornament-separator::after {
  content: '';
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 90, 0.5), transparent);
}

.ornament-separator .ornament-diamond {
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  animation: glowPulse 3s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(212, 175, 90, 0.5);
}

/* ============================================
   ANIMATIONS — Premium Liquid Glass
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 6px rgba(232, 184, 77, 0.4);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 16px rgba(232, 184, 77, 0.8), 0 0 32px rgba(232, 184, 77, 0.3);
    opacity: 0.85;
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(0, 212, 170, 0.15);
  }
  50% {
    border-color: rgba(0, 212, 170, 0.4);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
    letter-spacing: 0.15em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: normal;
  }
}

@keyframes slideRevealLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideRevealRight {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Liquid Glass specific animations */
@keyframes glassShine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 8px currentColor, inset 0 0 8px rgba(255,255,255,0.05);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 20px currentColor, 0 0 40px currentColor, inset 0 0 12px rgba(255,255,255,0.08);
    opacity: 0.9;
  }
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-6px) rotate(0.5deg); }
  66% { transform: translateY(3px) rotate(-0.3deg); }
}

@keyframes meshGradient {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* --- Scroll Animations (Enhanced & Non-Destructive to Backdrop Filter) --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* Variant: slide from left */
.animate-on-scroll.slide-left {
  transform: translateX(-40px);
}
.animate-on-scroll.slide-left.visible {
  transform: none;
}

/* Variant: slide from right */
.animate-on-scroll.slide-right {
  transform: translateX(40px);
}
.animate-on-scroll.slide-right.visible {
  transform: none;
}

/* Variant: scale up */
.animate-on-scroll.scale-up {
  transform: scale(0.95);
}
.animate-on-scroll.scale-up.visible {
  transform: none;
}

/* Staggered delays */
.animate-on-scroll.visible.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.visible.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.visible.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.visible.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.visible.delay-5 { transition-delay: 0.5s; }

/* --- Clean Section Container --- */
.pattern-bg {
  position: relative;
  background: transparent;
}

.pattern-bg > * {
  position: relative;
  z-index: 1;
}

/* --- Section divider with subtle glass line --- */
.section + .section,
.section + .section-alt,
.section-alt + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.team-grid-bph {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .team-grid-bph {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .team-grid-bph {
    grid-template-columns: 1fr;
  }
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: var(--space-3xl) 0; }
  .container { padding: 0 var(--space-md); }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 15px; }
  .btn { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
  .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
}

/* --- Scrollbar (Glass) --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 170, 0.3);
}

/* --- Selection --- */
::selection {
  background: var(--color-primary);
  color: #FFFFFF;
}

/* =========================================================
   MOBILE OPTIMIZATION (Liquid Glass)
   ========================================================= */

@media (max-width: 768px) {

  .liquid-glass,
  .glass-card,
  .card {
    backdrop-filter:
      blur(12px)
      saturate(160%);

    -webkit-backdrop-filter:
      blur(12px)
      saturate(160%);

    border-radius:
      var(--radius-md);
  }

  /* Reduce hover transform on mobile for better UX */
  .liquid-glass:hover,
  .glass-card:hover,
  .card:hover,
  .stat-glass-card:hover,
  .quote-card:hover,
  .team-card:hover,
  .program-glass-card:hover,
  .about-story-card:hover,
  .about-vm-card:hover,
  .about-value-card:hover,
  .contact-form-wrapper:hover,
  .gallery-item:hover,
  .school-card:hover,
  .article-card:hover,
  .event-card:hover {
    transform: translateY(-3px) !important;
  }

  /* Clamp pseudo-element effects strictly within card boundaries on mobile to prevent overflow */
  .liquid-glass::before,
  .glass-card::before,
  .card::before,
  .stat-glass-card::before,
  .quote-card::before,
  .home-cta::before,
  .team-card::before,
  .program-glass-card::before,
  .about-story-card::before,
  .about-vm-card::before,
  .about-value-card::before,
  .contact-form-wrapper::before,
  .reg-form::before,
  .gallery-item::before,
  .school-card::before,
  .article-card::before,
  .event-card::before {
    inset: 0 !important;
    transform: none !important;
    filter: blur(6px) !important;
    opacity: 0.08 !important;
  }

  .glass-button,
  .glass-button-secondary,
  .btn-primary,
  .btn-outline,
  .btn-gold {
    min-height: 46px;
    padding: 0 18px;
  }

  .liquid-glow {
    width: 180px;
    height: 180px;
    filter: blur(35px);
  }

  /* Reduce section padding on mobile */
  .quote-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .quote-arabic {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
  }

  .quote-translation {
    font-size: 0.9rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  /* Disable heavy hover pseudo effects on small touch screens */
  .liquid-glass:hover::before,
  .glass-card:hover::before,
  .card:hover::before,
  .stat-glass-card:hover::before {
    transform: scale(1.08) !important;
    filter: blur(6px) !important;
    opacity: 0.10 !important;
  }
}

/* Touch devices — reduce hover hover-specific effects */
@media (hover: none) and (pointer: coarse) {
  .liquid-glass:hover,
  .glass-card:hover,
  .card:hover,
  .stat-glass-card:hover,
  .quote-card:hover,
  .team-card:hover,
  .program-glass-card:hover,
  .about-story-card:hover,
  .about-vm-card:hover,
  .about-value-card:hover,
  .gallery-item:hover,
  .school-card:hover,
  .article-card:hover,
  .event-card:hover {
    transform: none !important;
  }
}

/* =========================================================
   ACCESSIBILITY — REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    scroll-behavior:
      auto !important;

    transition-duration:
      0.01ms !important;
  }
}

/* ============================================
   Navbar — Floating Liquid Glass Capsule
   ROHIS DARK LIQUID GLASS
   Desktop & Mobile Horizontal Pill (Matches Gambar 2)
   ============================================ */

.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1260px, calc(100% - 32px));
  height: 64px;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.05) 0%,
      rgba(4, 18, 22, 0.72) 45%,
      rgba(2, 9, 11, 0.88) 100%
    );
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(0, 255, 200, 0.16);
  border-top: 1.5px solid rgba(0, 255, 200, 0.38);
  border-bottom: 1px solid rgba(0, 255, 180, 0.12);
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.85),
    0 8px 20px -4px rgba(0, 0, 0, 0.55),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.28),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.10),
    inset 0 0 20px 0 rgba(0, 0, 0, 0.40);
  padding: 0 1.25rem;
  transition: all var(--transition-base);
  box-sizing: border-box;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 16px;
  right: 16px;
  height: 46%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 60%,
    transparent 100%
  );
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.navbar-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.navbar-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 255, 210, 0.45);
  box-shadow: 0 0 14px rgba(0, 255, 210, 0.30);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.navbar-brand:hover .navbar-logo-img {
  border-color: #00F0CF;
  box-shadow: 0 0 22px rgba(0, 255, 210, 0.55);
  transform: scale(1.05);
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.navbar-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.12rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.navbar-brand-sub {
  font-size: 0.65rem;
  color: #00F0CF;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(0, 240, 207, 0.35);
}

/* Divider on small screens */
.navbar-brand-divider {
  display: none;
  width: 1px;
  height: 24px;
  background: rgba(0, 255, 200, 0.20);
  flex-shrink: 0;
}

/* Nav Menu: Always horizontal pill row (Desktop & Mobile) */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0;
  min-width: 0;
}

.navbar-menu::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Brave */
}

/* Link items */
.navbar-link {
  position: relative;
  padding: 0.45rem 0.90rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #00DDB8, #00F0CF);
  transition: all var(--transition-base);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(0, 255, 210, 0.7);
}

.navbar-link:hover {
  color: #00E8C1;
  background: rgba(255, 255, 255, 0.07);
}

.navbar-link:hover::after {
  width: 50%;
}

.navbar-link.active {
  color: #00E8C1;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(0, 232, 193, 0.35);
}

.navbar-link.active::after {
  width: 65%;
}

/* ============================================
   Mobile Viewport: Matches Gambar 2 Directly
   No hamburger menu • Direct horizontal swipe bar
   ============================================ */
@media (max-width: 980px) {
  .navbar {
    top: 10px;
    width: calc(100% - 16px);
    height: 56px;
    padding: 0 0.75rem;
    border-radius: var(--radius-pill);
  }

  .navbar-container {
    gap: 0.5rem;
  }

  .navbar-brand-divider {
    display: block;
  }

  .navbar-logo-img {
    width: 32px;
    height: 32px;
  }

  .navbar-brand-name {
    font-size: 0.98rem;
  }

  .navbar-brand-sub {
    display: none; /* Keep brand compact on mobile so links have room */
  }

  .navbar-menu {
    flex: 1;
    gap: 0.20rem;
    padding: 0.2rem 0;
    /* Soft right-edge gradient fade indicating horizontal swipeability */
    mask-image: linear-gradient(to right, black 86%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 86%, transparent 100%);
  }

  .navbar-link {
    padding: 0.36rem 0.65rem;
    font-size: 0.82rem;
  }

  .navbar-link::after {
    bottom: -1px;
    height: 2px;
  }
}

@media (max-width: 420px) {
  .navbar {
    width: calc(100% - 12px);
    padding: 0 0.55rem;
  }

  .navbar-brand {
    gap: 0.45rem;
  }

  .navbar-brand-name {
    font-size: 0.92rem;
  }

  .navbar-link {
    padding: 0.32rem 0.55rem;
    font-size: 0.78rem;
  }
}
/* ============================================
   Instagram Section — Liquid Glass Premium
   ============================================ */

.section-ig-showcase {
  padding: var(--space-4xl) 0;
}

/* Profile Card */
.ig-profile-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.ig-profile-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  padding: var(--space-xl);
}

/* 3D Embossed Avatar Ring */
.ig-avatar-ring {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3.5px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 
    0 0 28px rgba(225, 48, 108, 0.4), 
    0 8px 20px rgba(0, 0, 0, 0.5),
    inset 0 2px 2px rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ig-avatar-ring:hover {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 
    0 0 38px rgba(225, 48, 108, 0.6), 
    0 12px 28px rgba(0, 0, 0, 0.6);
}

.ig-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #020A0B;
}

.ig-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Profile Info */
.ig-info {
  flex: 1;
  min-width: 0;
}

.ig-handle-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: var(--space-md);
}

.ig-handle {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

/* 3D Jewel Status Badge */
.ig-live-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #00F0CF;
  background: radial-gradient(100% 100% at 50% 0%, rgba(0, 255, 210, 0.22) 0%, rgba(0, 255, 210, 0.05) 100%);
  border: 1px solid rgba(0, 255, 210, 0.35);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.ig-live-pulse-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00F0CF;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(0, 255, 210, 0.7);
}

/* 3D Sync Button */
.btn-ig-sync-small {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.85);
  background: 
    radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%),
    rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.btn-ig-sync-small:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 255, 210, 0.45);
  color: #00F0CF;
  transform: translateY(-2px);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(0, 255, 210, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ig-sync-small.syncing {
  opacity: 0.7;
  pointer-events: none;
}

.spin-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 3D Follow Button */
.btn-ig-follow {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
  color: white !important;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 8px 20px -4px rgba(225, 48, 108, 0.5),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1.5px 0 rgba(0, 0, 0, 0.35);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-ig-follow:hover {
  box-shadow: 
    0 12px 28px -4px rgba(225, 48, 108, 0.7),
    0 0 30px rgba(225, 48, 108, 0.4),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-3px) scale(1.03);
  color: white !important;
}

/* Bio */
.ig-bio {
  margin-top: 0.25rem;
}

.ig-display-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ig-bio-text {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.ig-mention-tag,
.ig-email-tag {
  color: var(--color-primary-light);
  font-weight: 500;
}

.ig-mention-tag:hover,
.ig-email-tag:hover {
  color: var(--color-primary);
}

/* Bio Links */
.ig-bio-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* 3D Glass Link Pills */
.ig-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: 
    radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%),
    rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  word-break: break-all;
}

.ig-link-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 255, 210, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 
    0 8px 18px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(0, 255, 210, 0.2),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.6);
}

.ig-link-ig:hover {
  color: #ffffff;
  border-color: rgba(236, 72, 153, 0.5);
  background: radial-gradient(100% 100% at 50% 0%, rgba(236, 72, 153, 0.3) 0%, rgba(236, 72, 153, 0.1) 100%);
  box-shadow: 0 8px 18px rgba(236, 72, 153, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ig-link-yt:hover {
  color: #ffffff;
  border-color: rgba(255, 68, 68, 0.5);
  background: radial-gradient(100% 100% at 50% 0%, rgba(255, 68, 68, 0.3) 0%, rgba(255, 68, 68, 0.1) 100%);
  box-shadow: 0 8px 18px rgba(255, 68, 68, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.ig-link-email:hover {
  color: #00F0CF;
  border-color: rgba(0, 255, 210, 0.5);
  background: radial-gradient(100% 100% at 50% 0%, rgba(0, 255, 210, 0.25) 0%, rgba(0, 255, 210, 0.08) 100%);
  box-shadow: 0 8px 18px rgba(0, 255, 210, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Footer Banner */
.ig-card-footer {
  padding: var(--space-md) var(--space-xl);
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
}

.ig-card-footer p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
}

.ig-footer-link {
  color: var(--color-primary-light);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 700px) {
  .ig-profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-md);
    gap: var(--space-md);
  }

  .ig-handle-row {
    justify-content: center;
  }

  .ig-bio-links {
    justify-content: center;
  }

  .ig-avatar-ring {
    width: 72px;
    height: 72px;
  }

  .ig-handle {
    font-size: 1.1rem;
  }

  .ig-card-footer {
    padding: var(--space-sm) var(--space-md);
  }
}

@media (max-width: 480px) {
  .ig-avatar-ring {
    width: 60px;
    height: 60px;
  }

  .ig-handle {
    font-size: 1rem;
  }

  .ig-bio-text {
    font-size: 0.82rem;
  }

  .ig-link-pill {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  .btn-ig-follow {
    font-size: 0.8rem;
    padding: 0.45rem 1.1rem;
  }

  .section-ig-showcase {
    padding: var(--space-2xl) 0;
  }
}

/* ============================================
   Footer — Liquid Glass Premium (Deep Forest)
   Style: Apple-inspired Liquid Glass + Elegant Neon Aurora
   ============================================ */

.footer {
  background: 
    linear-gradient(
      180deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(3, 14, 18, 0.70) 35%,
      rgba(1, 5, 7, 0.90) 100%
    );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  padding: 0 0 var(--space-lg);
  position: relative;
  border-top: 1.5px solid rgba(0, 255, 200, 0.30);
  box-shadow: 
    inset 0 1.2px 0 rgba(0, 255, 200, 0.25),
    inset 0 6px 14px rgba(0, 255, 200, 0.05),
    0 -20px 50px rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
}

.footer-ornament {
  margin-bottom: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 255, 210, 0.5);
  box-shadow: 0 0 18px rgba(0, 255, 210, 0.3);
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}

/* 3D Embossed Social Spheres */
.footer-social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 60%, rgba(0, 0, 0, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 6px 16px rgba(0, 0, 0, 0.4),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.4),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-social-link:hover {
  color: #FFFFFF;
  border-color: rgba(0, 255, 210, 0.65);
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.35) 0%, rgba(0, 221, 184, 0.25) 50%, rgba(2, 20, 18, 0.8) 100%);
  box-shadow: 
    0 10px 24px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 255, 210, 0.4),
    inset 0 2px 3px rgba(255, 255, 255, 0.65);
  transform: translateY(-3px) scale(1.08);
}

.footer-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--color-neon);
  padding-left: 0.25rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact li svg {
  color: var(--color-neon);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Quote */
.footer-quote {
  text-align: center;
  padding: var(--space-2xl) 0;
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-quote-arabic {
  font-family: var(--font-arabic);
  font-size: 1.15rem;
  color: var(--color-gold);
  direction: rtl;
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 20px rgba(212, 175, 90, 0.2);
}

.footer-quote-translation {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  font-style: italic;
}

.footer-quote-ref {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Floating Buttons — 3D Liquid Glass Spheres
   ============================================ */

.floating-buttons {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.floating-btn {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 
    0 16px 36px -6px rgba(0, 0, 0, 0.65),
    0 6px 14px -3px rgba(0, 0, 0, 0.45),
    inset 0 2px 0 0 rgba(255, 255, 255, 0.60),
    inset 0 -2px 0 0 rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  position: relative;
  overflow: hidden;
}

.floating-btn::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  right: 6px;
  height: 44%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.08) 70%,
    transparent 100%
  );
  border-radius: 50% 50% 40% 40%;
  pointer-events: none;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.10);
}

.floating-btn:active {
  transform: translateY(1px) scale(0.96);
}

/* Instagram */
.floating-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: rgba(255, 255, 255, 0.40);
}

.floating-instagram:hover {
  box-shadow: 
    0 20px 42px -6px rgba(225, 48, 108, 0.55),
    0 0 28px rgba(225, 48, 108, 0.45),
    inset 0 2px 0 0 rgba(255, 255, 255, 0.80),
    inset 0 -2px 0 0 rgba(0, 0, 0, 0.45);
}

/* WhatsApp */
.floating-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-color: rgba(255, 255, 255, 0.40);
}

.floating-whatsapp:hover {
  box-shadow: 
    0 20px 42px -6px rgba(37, 211, 102, 0.55),
    0 0 28px rgba(37, 211, 102, 0.45),
    inset 0 2px 0 0 rgba(255, 255, 255, 0.80),
    inset 0 -2px 0 0 rgba(0, 0, 0, 0.45);
}

/* Back to top */
.floating-back-top {
  background: linear-gradient(135deg, #00d4aa 0%, #009977 100%);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.floating-back-top:hover {
  background: linear-gradient(135deg, #00f0c0 0%, #00b892 100%);
  box-shadow: 
    0 20px 42px -6px rgba(0, 212, 170, 0.60),
    0 0 32px rgba(0, 212, 170, 0.50),
    inset 0 2px 0 0 rgba(255, 255, 255, 0.85),
    inset 0 -2px 0 0 rgba(0, 0, 0, 0.45);
}

@media (max-width: 480px) {
  .floating-buttons {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
  }
}
/* =========================================================
   DYNAMIC CELESTIAL BACKGROUND (ROHIS BANYUMAS)
   Majestic Islamic Astrolabe & Constellations
   Ultra-Lightweight & GPU-Optimized for Low-Spec Mobile Phones
   ========================================================= */

.dynamic-bg-container {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
  clip-path: inset(0);
  background: #010609;
  transition: background 2.5s ease;
}

/* =========================================================
   1. DEEP VELVET SPACE CANVAS
   ========================================================= */

.constellation-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 110% 70% at 50% -5%,
      rgba(0, 140, 105, 0.14) 0%,
      rgba(0, 70, 55, 0.06) 40%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 90% 65% at 85% 65%,
      rgba(0, 95, 125, 0.09) 0%,
      rgba(0, 45, 60, 0.03) 45%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 80% 60% at 15% 75%,
      rgba(0, 110, 85, 0.08) 0%,
      rgba(180, 135, 30, 0.03) 40%,
      transparent 60%
    );
  z-index: 1;
}

/* Dynamic theme shifts for ambient atmosphere */
.theme-quote .constellation-base {
  background:
    radial-gradient(ellipse 110% 70% at 50% -5%, rgba(190, 145, 35, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 85% 65% at 85% 65%, rgba(0, 95, 125, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 15% 75%, rgba(0, 140, 105, 0.07) 0%, transparent 60%);
}

.theme-events .constellation-base {
  background:
    radial-gradient(ellipse 110% 70% at 50% -5%, rgba(0, 165, 190, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 85% 65% at 85% 65%, rgba(0, 140, 105, 0.08) 0%, transparent 60%);
}

.theme-cta .constellation-base {
  background:
    radial-gradient(ellipse 110% 70% at 50% -5%, rgba(0, 175, 135, 0.15) 0%, transparent 65%),
    radial-gradient(ellipse 85% 65% at 85% 65%, rgba(190, 145, 35, 0.06) 0%, transparent 60%);
}

/* =========================================================
   2. STARFIELD LAYERS (Lightweight SVG Tiles)
   ========================================================= */

.star-layer {
  position: absolute;
  inset: -60px 0;
  width: 100%;
  height: calc(100% + 120px);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: opacity;
}

.star-layer-distant {
  z-index: 2;
  opacity: 0.60;
  background-image:
    url("data:image/svg+xml,%3Csvg width='700' height='700' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='42' cy='28' r='0.6' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='128' cy='65' r='0.5' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='215' cy='42' r='0.7' fill='%2300ffd2' opacity='0.45'/%3E%3Ccircle cx='310' cy='88' r='0.5' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='405' cy='35' r='0.6' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='498' cy='72' r='0.5' fill='%23ffffff' opacity='0.45'/%3E%3Ccircle cx='580' cy='22' r='0.7' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='670' cy='55' r='0.5' fill='%2300ffd2' opacity='0.4'/%3E%3Ccircle cx='168' cy='180' r='0.6' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='348' cy='195' r='0.7' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='528' cy='175' r='0.6' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='708' cy='150' r='0.5' fill='%2300ffd2' opacity='0.4'/%3E%3Ccircle cx='145' cy='295' r='0.5' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='325' cy='310' r='0.6' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='505' cy='290' r='0.5' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='685' cy='265' r='0.5' fill='%23ffffff' opacity='0.45'/%3E%3Ccircle cx='180' cy='405' r='0.7' fill='%2300ffd2' opacity='0.45'/%3E%3Ccircle cx='360' cy='420' r='0.6' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='540' cy='400' r='0.6' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='720' cy='375' r='0.7' fill='%2300ffd2' opacity='0.4'/%3E%3Ccircle cx='155' cy='515' r='0.5' fill='%23ffffff' opacity='0.4'/%3E%3Ccircle cx='335' cy='530' r='0.7' fill='%2300ffd2' opacity='0.45'/%3E%3Ccircle cx='515' cy='510' r='0.6' fill='%23ffffff' opacity='0.45'/%3E%3Ccircle cx='695' cy='485' r='0.6' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='228' cy='600' r='0.5' fill='%23ffffff' opacity='0.45'/%3E%3Ccircle cx='408' cy='585' r='0.6' fill='%23ffffff' opacity='0.5'/%3E%3Ccircle cx='588' cy='645' r='0.5' fill='%23ffffff' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 700px 700px;
  animation: starTwinkleDistant 10s ease-in-out infinite alternate;
}

.star-layer-mid {
  z-index: 3;
  opacity: 0.70;
  background-image:
    url("data:image/svg+xml,%3Csvg width='550' height='550' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='35' cy='48' r='1.0' fill='%23ffffff' opacity='0.65'/%3E%3Ccircle cx='120' cy='92' r='0.8' fill='%2300ffd2' opacity='0.55'/%3E%3Ccircle cx='210' cy='35' r='1.1' fill='%23ffffff' opacity='0.7'/%3E%3Ccircle cx='305' cy='78' r='0.9' fill='%23ffffff' opacity='0.6'/%3E%3Ccircle cx='395' cy='52' r='1.1' fill='%23ffffff' opacity='0.65'/%3E%3Ccircle cx='485' cy='95' r='0.8' fill='%2300ffd2' opacity='0.55'/%3E%3Ccircle cx='72' cy='175' r='1.0' fill='%23ffffff' opacity='0.65'/%3E%3Ccircle cx='258' cy='168' r='1.2' fill='%2300ffd2' opacity='0.7'/%3E%3Ccircle cx='442' cy='182' r='1.0' fill='%23ffffff' opacity='0.65'/%3E%3Ccircle cx='140' cy='335' r='1.1' fill='%2300ffd2' opacity='0.65'/%3E%3Ccircle cx='325' cy='348' r='1.1' fill='%23ffffff' opacity='0.7'/%3E%3Ccircle cx='510' cy='340' r='0.9' fill='%2300ffd2' opacity='0.6'/%3E%3Ccircle cx='85' cy='420' r='1.0' fill='%23ffffff' opacity='0.65'/%3E%3Ccircle cx='270' cy='430' r='0.9' fill='%2300ffd2' opacity='0.55'/%3E%3Ccircle cx='455' cy='415' r='1.0' fill='%23ffffff' opacity='0.6'/%3E%3Ccircle cx='62' cy='540' r='1.1' fill='%2300ffd2' opacity='0.65'/%3E%3Ccircle cx='248' cy='548' r='1.1' fill='%23ffffff' opacity='0.7'/%3E%3Ccircle cx='432' cy='535' r='1.0' fill='%2300ffd2' opacity='0.7'/%3E%3C/svg%3E");
  background-size: 550px 550px;
  animation: starTwinkleMid 7s ease-in-out infinite alternate;
}

@keyframes starTwinkleDistant {
  0% { opacity: 0.45; }
  100% { opacity: 0.75; }
}

@keyframes starTwinkleMid {
  0% { opacity: 0.50; }
  100% { opacity: 0.85; }
}

/* =========================================================
   3. COSMIC DUST NEBULA PLUMES
   ========================================================= */

.nebula {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.nebula-1 {
  width: 480px;
  height: 480px;
  top: -80px;
  left: -60px;
  opacity: 0.16;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 210, 0.18) 0%, rgba(0, 191, 165, 0.08) 40%, transparent 70%);
  animation: nebulaFloat1 22s ease-in-out infinite alternate;
}

.nebula-2 {
  width: 420px;
  height: 420px;
  bottom: -60px;
  right: -60px;
  opacity: 0.14;
  background: radial-gradient(circle at 50% 50%, rgba(0, 191, 165, 0.15) 0%, rgba(0, 77, 64, 0.06) 45%, transparent 70%);
  animation: nebulaFloat2 26s ease-in-out infinite alternate;
}

@keyframes nebulaFloat1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, 20px, 0) scale(1.05); }
  100% { transform: translate3d(-15px, 40px, 0) scale(0.96); }
}

@keyframes nebulaFloat2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-40px, -25px, 0) scale(1.05); }
  100% { transform: translate3d(20px, -10px, 0) scale(0.96); }
}

/* =========================================================
   4. ASTROLABE CELESTIAL COORDINATE DOME LAYER
   ========================================================= */

.astrolabe-dome-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.astrolabe-dome-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.astrolabe-rotating-group {
  transform-origin: 500px 400px;
  animation: astrolabeRotate 240s linear infinite;
  will-change: transform;
}

@keyframes astrolabeRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.astrolabe-ring {
  fill: none;
  stroke: rgba(0, 255, 210, 0.08);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.astrolabe-outer {
  stroke-dasharray: 6 8;
  stroke: rgba(0, 255, 210, 0.12);
}

.astrolabe-mid {
  stroke-dasharray: 4 6;
  stroke: rgba(245, 208, 118, 0.10);
}

.astrolabe-inner {
  stroke-dasharray: 2 4;
  stroke: rgba(0, 255, 210, 0.07);
}

.astrolabe-rosette {
  fill: none;
  stroke-width: 0.85;
  vector-effect: non-scaling-stroke;
}

.astrolabe-rosette-gold {
  stroke: rgba(245, 208, 118, 0.20);
  stroke-dasharray: 4 3;
}

.astrolabe-rosette-center {
  fill: rgba(0, 255, 210, 0.03);
  stroke: rgba(245, 208, 118, 0.26);
  stroke-width: 0.8;
  stroke-dasharray: 2 3;
}

.astrolabe-marker {
  fill: #f5d076;
  opacity: 0.45;
}

/* =========================================================
   5. CELESTIAL CONSTELLATIONS (1.6s Silky Smooth Cross-Fade)
   ========================================================= */

.constellations-motion-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.constellations-canvas {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.constellation-content {
  opacity: 0;
  transform: scale(0.94);
  transform-origin: 500px 400px;
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  pointer-events: none;
}

.constellation-content.active {
  opacity: 1;
  transform: scale(1);
}

/* Orbit Rings */
.constellation-orbit-ring {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 2 4;
  opacity: 0.40;
  animation: orbitRingSpin 60s linear infinite;
  vector-effect: non-scaling-stroke;
}

.ring-gold {
  stroke: #f5d076;
  stroke-width: 0.85;
}

.ring-emerald {
  stroke: #00ffd2;
  stroke-width: 0.85;
}

@keyframes orbitRingSpin {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 120; }
}

/* Constellation Asterism Lines */
.constellation-line {
  stroke: rgba(0, 255, 210, 0.36);
  stroke-width: 1.0;
  stroke-linecap: round;
  stroke-dasharray: 6 3;
  animation: constellationLineFlow 32s linear infinite;
  transition: stroke 1.5s ease;
}

.constellation-line-dashed {
  stroke: rgba(245, 208, 118, 0.28);
  stroke-width: 0.85;
  stroke-linecap: round;
  stroke-dasharray: 4 4;
  animation: constellationLineFlow 25s linear infinite reverse;
}

@keyframes constellationLineFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 200; }
}

/* Theme Line Overrides */
.theme-quote .constellation-line {
  stroke: rgba(245, 208, 118, 0.40);
}
.theme-events .constellation-line {
  stroke: rgba(0, 229, 255, 0.38);
}
.theme-cta .constellation-line {
  stroke: rgba(0, 255, 200, 0.40);
}

/* =========================================================
   6. STAR NODES & CIAMIK DIFFRACTION FLARES
   ========================================================= */

.star-node {
  transform-origin: center;
}

.starlight-halo {
  opacity: 0.85;
  transform-origin: center;
  animation: starlightHaloPulse 4.5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes starlightHaloPulse {
  0% { opacity: 0.45; transform: scale(0.85); }
  100% { opacity: 0.95; transform: scale(1.15); }
}

.starlight-spikes {
  transform-origin: center;
  animation: starlightSpikesTwinkle 5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes starlightSpikesTwinkle {
  0% { opacity: 0.70; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1.15); }
}

.star-glow {
  opacity: 0.40;
  animation: starPulse 3.2s ease-in-out infinite alternate;
}

.star-glow-gold { fill: rgba(232, 184, 77, 0.36); }
.star-glow-emerald { fill: rgba(0, 255, 210, 0.36); }
.star-glow-cyan { fill: rgba(0, 229, 255, 0.36); }

.star-core-gold { fill: #fce490; }
.star-core-emerald { fill: #00ffd2; }
.star-core-cyan { fill: #00e5ff; }

@keyframes starPulse {
  0% { opacity: 0.25; transform: scale(0.90); }
  100% { opacity: 0.60; transform: scale(1.15); }
}

/* =========================================================
   7. SHOOTING STARS
   ========================================================= */

.shooting-stars-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  contain: strict;
  clip-path: inset(0);
}

.shooting-star {
  position: absolute;
  width: 75px;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(0, 255, 210, 0.9), rgba(0, 255, 210, 0.3), transparent);
  border-radius: 2px;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
}

.shooting-star-1 {
  top: 15%;
  left: -80px;
  transform: rotate(-35deg);
  animation: shootingStar 10s ease-in-out infinite;
  animation-delay: 2s;
}

.shooting-star-2 {
  top: 42%;
  left: -80px;
  transform: rotate(-25deg);
  animation: shootingStar 14s ease-in-out infinite;
  animation-delay: 7s;
}

@keyframes shootingStar {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-35deg); }
  2% { opacity: 1; }
  8% { opacity: 0.8; transform: translate3d(calc(100vw + 60px), 0, 0) rotate(-35deg); }
  10% { opacity: 0; transform: translate3d(calc(100vw + 60px), 0, 0) rotate(-35deg); }
  100% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-35deg); }
}



/* =========================================================
   9. MOBILE & MINIMUM-SPEC PERFORMANCE OPTIMIZATIONS
   ========================================================= */

@media (max-width: 768px) {
  /* Completely disable shooting stars and complex blur filters on mobile */
  .shooting-stars-wrapper {
    display: none;
  }

  /* Reduce starfield sizes so less memory is used */
  .star-layer-distant {
    background-size: 450px 450px;
    opacity: 0.50;
  }

  .star-layer-mid {
    background-size: 380px 380px;
    opacity: 0.55;
  }

  /* Shrink nebula footprint for fast rasterization */
  .nebula-1 {
    width: 220px;
    height: 220px;
    left: -20px;
    top: -20px;
    opacity: 0.12;
  }

  .nebula-2 {
    width: 180px;
    height: 180px;
    right: -20px;
    bottom: -20px;
    opacity: 0.10;
  }

  /* Scaled astrolabe */
  .astrolabe-rotating-group {
    transform-origin: 500px 400px;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .shooting-star,
  .star-layer,
  .nebula,
  .starlight-halo,
  .starlight-spikes,
  .constellation-line,
  .constellation-line-dashed,
  .constellation-orbit-ring,
  .astrolabe-rotating-group {
    animation: none !important;
  }

  .shooting-star {
    display: none;
  }

  .constellation-content {
    transition: opacity 0.3s ease !important;
  }
}
/* ============================================
   Hero Section — Cinematic & Elegant Centered
   ============================================ */

.hero-cinematic {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--navbar-height) + 3rem) 0 4rem;
  overflow: hidden;
  background: transparent;
}

/* Main Container: Centered hero presentation */
.hero-cinematic-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Centered Content Wrapper */
.hero-cinematic-content,
.hero-cinematic-left {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Bismillah Decorative Bar */
.hero-bismillah-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.bismillah-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e8b84d, transparent);
}

.bismillah-ornament {
  color: #e8b84d;
  font-size: 0.85rem;
  opacity: 0.9;
  animation: glowPulse 3s ease-in-out infinite;
}

.bismillah-arabic {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  color: #f5d076;
  text-shadow: 0 0 20px rgba(232, 184, 77, 0.55);
  letter-spacing: 0.06em;
}

/* Title: Exact Serif styling */
.hero-cinematic-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
  text-align: center;
}

.title-serif {
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.6);
}

.title-gold {
  font-family: var(--font-serif);
  font-weight: 800;
  background: linear-gradient(
    135deg, 
    #FFF8D6 0%, 
    #FCE490 20%, 
    #E8B84D 45%, 
    #B58012 75%, 
    #FCE490 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 2px 14px rgba(232, 184, 77, 0.5));
}

/* Subtitle */
.hero-cinematic-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: rgba(225, 238, 245, 0.9);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

/* CTA Pill Button */
.hero-cinematic-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.hero-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 195, 155, 0.9) 0%, rgba(0, 130, 105, 0.95) 100%);
  border: 1.5px solid rgba(0, 245, 185, 0.6);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 
    0 8px 30px rgba(0, 212, 170, 0.35), 
    0 0 18px rgba(0, 212, 170, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.hero-cta-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.65s ease;
}

.hero-cta-pill:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: #00f0c0;
  box-shadow: 
    0 14px 44px rgba(0, 212, 170, 0.5), 
    0 0 32px rgba(0, 212, 170, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.hero-cta-pill:hover::before {
  left: 100%;
}

.hero-cta-arrow {
  display: flex;
  align-items: center;
  transition: transform var(--transition-base);
}

.hero-cta-pill:hover .hero-cta-arrow {
  transform: translateX(4px);
}

/* Responsive — Universal DPI & All Portrait Screens */
@media (max-width: 1200px), (orientation: portrait), (pointer: coarse) {
  .hero-cinematic {
    padding-top: calc(var(--navbar-height) + 2rem);
    padding-bottom: 3.5rem;
    min-height: 100svh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .hero-cinematic-container {
    width: 100%;
    max-width: 100%;
    padding: 0 1.25rem;
    box-sizing: border-box;
  }

  .hero-cinematic-content,
  .hero-cinematic-left {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-bismillah-bar {
    margin-bottom: 1rem;
    gap: 0.5rem;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .bismillah-arabic {
    font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  }

  .bismillah-line {
    width: clamp(20px, 6vw, 40px);
  }

  .hero-cinematic-title {
    font-size: clamp(2rem, 7.5vw, 3.2rem);
    line-height: 1.18;
    margin-bottom: 1rem;
    word-break: break-word;
  }

  .hero-cinematic-subtitle {
    font-size: clamp(0.92rem, 2.5vw, 1.05rem);
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .hero-cinematic-actions {
    width: 100%;
  }

  .hero-cta-pill {
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-cinematic-title {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }

  .hero-cta-pill {
    width: 100%;
    justify-content: center;
  }
}

/* High-DPI & Retina Screen Typography Crispness */
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
  .title-serif,
  .title-gold,
  .bismillah-arabic {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}
/* ============================================
   Section Header — Liquid Glass Premium
   ============================================ */

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.section-header-badge {
  margin-bottom: 0.85rem;
  background: rgba(0, 255, 210, 0.12);
  color: #00F0CF;
  border: 1px solid rgba(0, 255, 210, 0.30);
  box-shadow: 0 2px 12px rgba(0, 255, 210, 0.12);
}

.section-header-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.section-header-subtitle {
  max-width: 660px;
  margin: 0 auto;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.section-header-light .section-header-title {
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.section-header-light .section-header-subtitle {
  color: rgba(240, 248, 255, 0.85);
}

/* ============================================
   Program Card — Liquid Glass Interactive
   ROHIS DARK LIQUID GLASS
   Compact by default • Smooth Cinematic Unfold
   ============================================ */

.program-glass-card {
  display: flex;
  flex-direction: column;
  padding: 1.85rem 1.65rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    rgba(0, 255, 200, 0.04) 0%,
    rgba(4, 18, 22, 0.72) 45%,
    rgba(2, 9, 11, 0.88) 100%
  );
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(0, 255, 200, 0.16);
  border-top: 1.5px solid rgba(0, 255, 200, 0.38);
  border-bottom: 1px solid rgba(0, 255, 180, 0.12);
  box-shadow: 
    0 16px 40px -8px rgba(0, 0, 0, 0.85),
    0 4px 16px -2px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px 0 rgba(0, 255, 200, 0.25);
  transition: 
    transform 400ms cubic-bezier(.16, 1, .3, 1), 
    box-shadow 400ms cubic-bezier(.16, 1, .3, 1), 
    border-color 350ms ease,
    background 350ms ease;
  will-change: transform, box-shadow;
  user-select: none;
}

.program-glass-card:hover {
  transform: translateY(-5px);
  border-top-color: rgba(0, 255, 200, 0.65);
  border-color: color-mix(in srgb, var(--accent-color, #00DDB8) 45%, rgba(0, 255, 200, 0.3));
  box-shadow: 
    0 22px 50px -8px rgba(0, 0, 0, 0.9),
    0 0 24px color-mix(in srgb, var(--accent-color, #00DDB8) 25%, transparent),
    inset 0 1px 2px rgba(0, 255, 200, 0.4);
}

.program-glass-card.is-expanded {
  border-color: color-mix(in srgb, var(--accent-color, #00DDB8) 70%, rgba(0, 255, 200, 0.45));
  border-top-color: color-mix(in srgb, var(--accent-color, #00DDB8) 95%, #ffffff);
  background: linear-gradient(
    135deg,
    rgba(0, 255, 200, 0.07) 0%,
    rgba(4, 18, 22, 0.85) 45%,
    rgba(2, 9, 11, 0.94) 100%
  );
  box-shadow: 
    0 24px 60px -8px rgba(0, 0, 0, 0.95),
    0 0 32px color-mix(in srgb, var(--accent-color, #00DDB8) 35%, transparent),
    inset 0 1.2px 2px rgba(255, 255, 255, 0.45);
}

/* Card Content */
.program-card-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

/* Glossy Neon App Icon */
.program-glass-icon-wrapper {
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 5;
}

.program-glass-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: radial-gradient(
    circle at 35% 25%, 
    rgba(0, 255, 200, 0.25) 0%, 
    color-mix(in srgb, var(--accent-color, #00DDB8) 40%, transparent) 45%, 
    rgba(0, 255, 180, 0.15) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid color-mix(in srgb, var(--accent-color, #00DDB8) 60%, rgba(0, 255, 200, 0.4));
  color: var(--accent-color, #00F0CF);
  box-shadow: 
    0 4px 16px rgba(0, 255, 210, 0.25), 
    inset 0 1px 2px rgba(0, 255, 200, 0.35);
  transition: transform 350ms cubic-bezier(.16, 1, .3, 1), box-shadow 350ms ease;
}

.program-glass-card:hover .program-glass-icon,
.program-glass-card.is-expanded .program-glass-icon {
  transform: scale(1.08);
  box-shadow: 
    0 8px 24px rgba(0, 255, 210, 0.45), 
    0 0 16px rgba(0, 255, 200, 0.35),
    inset 0 1px 2px rgba(0, 255, 200, 0.5);
}

.program-glass-icon.has-custom-logo {
  padding: 4px;
  overflow: hidden;
  background: radial-gradient(
    circle at 35% 25%, 
    rgba(0, 255, 200, 0.20) 0%, 
    rgba(4, 18, 22, 0.85) 75%
  );
}

.program-custom-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Neon Pill Badge */
.program-badge-wrapper {
  margin-bottom: 0.65rem;
}

.program-neon-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--accent-color, #00F0CF);
  border: 1px solid color-mix(in srgb, var(--accent-color, #00DDB8) 50%, rgba(0, 255, 200, 0.3));
  background: rgba(0, 255, 210, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Title */
.program-card-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
  line-height: 1.35;
  transition: color 250ms ease;
}

.program-glass-card:hover .program-card-title,
.program-glass-card.is-expanded .program-card-title {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}

/* Toggle Action Button */
.program-card-action {
  margin-top: 1.15rem;
}

.program-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1.05rem;
  border-radius: var(--radius-full);
  background: rgba(0, 255, 210, 0.06);
  border: 1px solid color-mix(in srgb, var(--accent-color, #00DDB8) 40%, rgba(0, 255, 200, 0.25));
  color: var(--accent-color, #00F0CF);
  font-family: var(--font-heading);
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: all 300ms cubic-bezier(.16, 1, .3, 1);
}

.program-glass-card:hover .program-expand-btn,
.program-glass-card.is-expanded .program-expand-btn {
  background: rgba(0, 255, 210, 0.16);
  border-color: var(--accent-color, #00F0CF);
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent-color, #00DDB8) 35%, transparent);
  transform: translateY(-2px);
}

.program-chevron {
  transition: transform 380ms cubic-bezier(.16, 1, .3, 1);
}

.program-chevron.rotated {
  transform: rotate(180deg);
}

/* Expandable Grid Transition (Pure CSS 60-120fps hardware acceleration) */
.program-card-expandable {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 450ms cubic-bezier(.16, 1, .3, 1), opacity 350ms ease, margin-top 350ms ease;
  opacity: 0;
  margin-top: 0;
}

.program-card-expandable.open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 1.25rem;
}

.program-card-expandable-inner {
  overflow: hidden;
  min-height: 0;
}

/* Description & Checklist */
.program-card-desc {
  font-size: 0.86rem;
  color: rgba(230, 245, 250, 0.82);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 380ms cubic-bezier(.16, 1, .3, 1), opacity 300ms ease;
}

.program-card-expandable.open .program-card-desc {
  transform: translateY(0);
  opacity: 1;
}

.program-card-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 420ms cubic-bezier(.16, 1, .3, 1) 50ms, opacity 350ms ease 50ms;
}

.program-card-expandable.open .program-card-checklist {
  transform: translateY(0);
  opacity: 1;
}

.program-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.check-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00E8C1;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 0 6px rgba(0, 255, 210, 0.6));
}

.check-text {
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .program-glass-card {
    padding: 1.45rem 1.25rem;
  }

  .program-card-title {
    font-size: 1.12rem;
  }

  .program-glass-icon {
    width: 48px;
    height: 48px;
  }

  .program-glass-icon-wrapper {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .program-glass-card {
    padding: 1.25rem 1rem;
  }

  .program-check-item {
    font-size: 0.80rem;
  }

  .program-card-checklist {
    gap: 0.55rem;
  }
}
/* ============================================
   Article Card — Liquid Glass Premium
   ============================================ */

.article-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card:hover {
  transform: translateY(-6px) scale(1.012);
}

.article-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-card-img {
  transform: scale(1.08);
}

.article-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.10), rgba(0, 255, 200, 0.06));
}

.article-card-thumb-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.article-card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 13, 26, 0.7), transparent 60%);
  pointer-events: none;
}

.article-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.article-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.article-card-title a {
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.article-card-title a:hover {
  color: var(--color-primary-light);
}

.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-light);
  transition: all var(--transition-fast);
  margin-top: auto;
}

.article-card-link:hover {
  color: var(--color-primary);
  gap: 0.55rem;
}

/* Responsive */
@media (max-width: 768px) {
  .article-card-thumb {
    height: 170px;
  }

  .article-card-title {
    font-size: 0.95rem;
  }

  .article-card-excerpt {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 480px) {
  .article-card-thumb {
    height: 150px;
  }

  .article-card-body {
    gap: 0.5rem;
  }
}

/* ============================================
   Event Card — Liquid Glass Premium
   ============================================ */

.event-card {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.event-card:hover {
  transform: translateY(-6px) scale(1.01);
}

/* 3D Sunken Glass Date Plaque */
.event-card-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 95px;
  padding: var(--space-lg);
  background: radial-gradient(100% 100% at 50% 0%, rgba(0, 255, 210, 0.16) 0%, rgba(2, 25, 22, 0.45) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    inset 0 2px 3px rgba(255, 255, 255, 0.35),
    inset 0 -2px 3px rgba(0, 0, 0, 0.5),
    inset -2px 0 6px rgba(0, 0, 0, 0.3);
  transition: all 0.35s ease;
  position: relative;
}

.event-card-date::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 100%);
  pointer-events: none;
}

.event-card-date.completed {
  background: radial-gradient(100% 100% at 50% 0%, rgba(215, 184, 102, 0.18) 0%, rgba(30, 22, 6, 0.45) 100%);
  border-right: 1px solid rgba(215, 184, 102, 0.3);
}

.event-card:hover .event-card-date {
  background: radial-gradient(100% 100% at 50% 0%, rgba(0, 255, 210, 0.26) 0%, rgba(2, 35, 30, 0.55) 100%);
}

.event-card:hover .event-card-date.completed {
  background: radial-gradient(100% 100% at 50% 0%, rgba(215, 184, 102, 0.28) 0%, rgba(40, 28, 8, 0.55) 100%);
}

.event-card-day {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #00F0CF;
  line-height: 1;
  text-shadow: 0 0 16px rgba(0, 255, 210, 0.45);
}

.event-card-date.completed .event-card-day {
  color: #f5d076;
  text-shadow: 0 0 16px rgba(215, 184, 102, 0.45);
}

.event-card-month {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
}

.event-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--space-lg);
}

.event-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.event-card-type {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-family: var(--font-heading);
}

.event-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.event-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.event-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.event-card-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.event-card-detail svg {
  color: #00F0CF;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(0, 255, 210, 0.4));
}

/* Responsive */
@media (max-width: 480px) {
  .event-card {
    flex-direction: column;
  }

  .event-card-date {
    min-width: auto;
    flex-direction: row;
    gap: 0.65rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: var(--space-md);
  }
}
/* ============================================
   Member School Card — Liquid Glass Premium
   ============================================ */

.school-card {
  border-radius: var(--radius-xl);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.school-card:hover {
  transform: translateY(-6px) scale(1.012);
}

.school-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: var(--space-xl) var(--space-lg);
}

/* 3D Embossed Jewel Icon Cube */
.school-card-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: #00F0CF;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.32) 0%, rgba(0, 221, 184, 0.2) 50%, rgba(2, 20, 18, 0.7) 100%);
  border: 1.5px solid rgba(0, 255, 210, 0.42);
  box-shadow: 
    0 8px 22px rgba(0, 0, 0, 0.5),
    0 0 16px rgba(0, 255, 210, 0.25),
    inset 0 2px 3px rgba(255, 255, 255, 0.55),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.school-card:hover .school-card-icon {
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.6),
    0 0 28px rgba(0, 255, 210, 0.45),
    inset 0 2px 3px rgba(255, 255, 255, 0.75);
  transform: scale(1.1) translateY(-2px);
}

.school-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.school-card-school {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.school-card-stats {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.school-card-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.school-card-stat svg {
  color: #00F0CF;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(0, 255, 210, 0.4));
}

.school-card-footer {
  margin-top: 0.35rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
/* ============================================
   Quote Section — Liquid Glass Premium
   ROHIS DARK LIQUID GLASS
   Transparent • Blurred • Subtle Neon • Elegant
   ============================================ */

.quote-section {
  padding: var(--space-4xl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3xl) var(--space-2xl);
}

.quote-card:hover {
  border-color: rgba(215, 184, 102, 0.55);
}

.quote-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #D7B866;
  direction: rtl;
  line-height: 2;
  margin-bottom: var(--space-md);
  text-shadow: 0 0 14px rgba(215, 184, 102, 0.25);
}

.quote-translation {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.quote-reference {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: #00F0CF;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 0 10px rgba(0, 240, 207, 0.2);
}
/* ============================================
   Home Page — Liquid Glass Premium
   ROHIS DARK LIQUID GLASS
   ============================================ */

.home-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
  position: relative;
  overflow: visible;
  padding-top: 14px;
  margin-top: -14px;
  max-width: 100%;
}

.home-programs-grid::before {
  content: '';
  position: absolute;
  top: -12%;
  left: -5%;
  width: 540px;
  height: 460px;
  background: radial-gradient(circle, rgba(0, 255, 200, 0.28) 0%, rgba(0, 255, 180, 0.12) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.home-programs-grid::after {
  content: '';
  position: absolute;
  bottom: -12%;
  right: -5%;
  width: 540px;
  height: 460px;
  background: radial-gradient(circle, rgba(0, 255, 180, 0.25) 0%, rgba(0, 212, 170, 0.10) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1024px) {
  .home-programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-programs-grid::before,
  .home-programs-grid::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .home-programs-grid {
    grid-template-columns: 1fr;
  }
}

.home-events-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* CTA Section */
.home-cta-section {
  position: relative;
}

.home-cta {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}

.home-cta h2 {
  margin-bottom: var(--space-md);
  background: linear-gradient(
    90deg,
    #00DDB8,
    #00F0CF 45%,
    #4DD7E8
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.home-cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}
/* ============================================
   Gallery — Liquid Glass Premium
   Exact Match to reference image
   ============================================ */

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.gallery-grid::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -3%;
  width: 480px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 200, 0.14), transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

.gallery-grid::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -3%;
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 180, 0.14), transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

.gallery-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-glass);

  /* Kaca Dasar Bening & Transparan (Crystal Clear) */
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 45%,
      rgba(2, 9, 11, 0.80) 100%
    );

  /* Efek Blur Kaca Jernih Tembus Pandang */
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);

  /* 3D Glass Bevel Border Hijau Neon (Tanpa Putih) */
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-bottom: 1px solid rgba(0, 255, 180, 0.10);

  /* 3D Depth & Floating Elevation */
  box-shadow:
    0 25px 60px -10px rgba(0, 0, 0, 0.85),
    0 12px 28px -6px rgba(0, 0, 0, 0.60),
    0 4px 12px rgba(0, 0, 0, 0.40),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.12),
    inset 0 0 24px 0 rgba(0, 0, 0, 0.45);

  transition:
    transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 450ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 400ms ease;

  will-change: transform, box-shadow;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-top-color: rgba(0, 255, 200, 0.80);
  border-left-color: rgba(0, 255, 200, 0.55);
  border-right-color: rgba(0, 255, 200, 0.55);
  border-bottom-color: rgba(0, 255, 180, 0.35);

  box-shadow:
    0 35px 80px -10px rgba(0, 0, 0, 0.90),
    0 14px 35px -4px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(0, 255, 200, 0.30),
    0 12px 35px rgba(0, 255, 180, 0.20),
    inset 0 1.5px 0 0 rgba(0, 255, 200, 0.50),
    inset 0 4px 10px 0 rgba(0, 255, 200, 0.25),
    inset 0 -2.5px 0 0 rgba(0, 255, 180, 0.35),
    inset 0 -7px 16px 0 rgba(0, 0, 0, 0.60);
}

.gallery-item-image {
  position: relative;
  height: 215px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 20, 25, 0.5);
  z-index: 1;
}

/* 3D Glass Vignette & Reflection on Image */
.gallery-item-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 255, 200, 0.12) 0%,
    transparent 20%,
    transparent 75%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 750ms cubic-bezier(0.16, 1, 0.3, 1), filter 750ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-item-img {
  transform: scale(1.08);
  filter: saturate(115%) contrast(104%);
}

.gallery-item-emoji {
  font-size: 3rem;
  opacity: 0.5;
}

.gallery-item-camera {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  color: var(--color-text-muted);
  opacity: 0.5;
}

/* Media count badge (Top Right 3D dark pill) */
.gallery-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
}

.gallery-card-badge span {
  display: inline-flex;
  padding: 0.28rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: #ffffff;
  background: rgba(2, 12, 14, 0.78);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 255, 200, 0.35);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(0, 255, 200, 0.35),
    inset 0 -1px 0 rgba(0, 255, 180, 0.25);
}

/* Video indicator: Center Red 3D Play Button */
.gallery-video-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 22px rgba(239, 68, 68, 0.75),
    0 6px 16px rgba(0, 0, 0, 0.6);
  z-index: 5;
  transition: all var(--transition-base);
}

.gallery-item:hover .gallery-video-indicator {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.95), 0 4px 18px rgba(0, 0, 0, 0.65);
}

/* Card info overlay with 3D glass shelf effect */
.gallery-item-overlay {
  padding: 1.25rem 1.35rem 1.45rem;
  background: linear-gradient(
    180deg,
    rgba(0, 255, 200, 0.04) 0%,
    rgba(2, 9, 12, 0.85) 100%
  );
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-top: 1px solid rgba(0, 255, 200, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 200, 0.15),
    0 -8px 24px rgba(0, 0, 0, 0.60);
  position: relative;
  z-index: 2;
}

.gallery-overlay-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.gallery-overlay-meta .badge {
  background: rgba(0, 255, 200, 0.16);
  color: #00f0cf;
  border: 1px solid rgba(0, 255, 200, 0.45);
  box-shadow: 0 0 10px rgba(0, 255, 200, 0.25), inset 0 1px 0 rgba(0, 255, 200, 0.35);
  font-size: 0.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.gallery-overlay-date {
  font-size: 0.76rem;
  color: rgba(220, 235, 245, 0.6);
}

.gallery-item-overlay h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
}

.gallery-overlay-desc {
  font-size: 0.82rem;
  color: rgba(220, 235, 245, 0.65);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bottom CTA Pill button matching mockup */
.btn-gallery-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-full);
  background: 
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.12) 0%,
      rgba(0, 212, 170, 0.08) 50%,
      rgba(4, 18, 22, 0.6) 100%
    ),
    var(--glass-recipe);
  border: 1.5px solid rgba(0, 255, 200, 0.5);
  color: #00F0CF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 0 24px rgba(0, 255, 200, 0.22), inset 0 1px 1px rgba(0, 255, 200, 0.3);
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-gallery-cta:hover {
  background: 
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.22) 0%,
      rgba(0, 212, 170, 0.14) 50%,
      rgba(4, 18, 22, 0.75) 100%
    ),
    var(--glass-recipe);
  border-color: #00F0CF;
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 36px rgba(0, 255, 200, 0.45), inset 0 1px 1.5px rgba(0, 255, 200, 0.4);
}

/* ============================================
   Cinema Lightbox Modal — Liquid Glass
   ============================================ */

body:has(.gallery-cinema-backdrop),
html:has(.gallery-cinema-backdrop) {
  overflow: hidden !important;
}

.gallery-cinema-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  animation: fadeIn 0.25s ease-out;
  overscroll-behavior: contain;
}

.gallery-cinema-modal {
  width: 95%;
  max-width: 960px;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  background: 
    linear-gradient(
      135deg,
      rgba(0, 229, 255, 0.06) 0%,
      rgba(0, 212, 170, 0.04) 50%,
      rgba(12, 48, 82, 0.15) 100%
    ),
    var(--glass-recipe);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), var(--glass-inset);
  animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top Bar */
.cinema-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.85rem var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.cinema-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.cinema-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cinema-top-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cinema-counter-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cinema-icon-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.cinema-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
}

.cinema-close-btn:hover {
  background: rgba(255, 77, 106, 0.15);
  color: var(--color-danger);
  border-color: rgba(255, 77, 106, 0.25);
}

/* Stage */
.cinema-stage {
  position: relative;
  flex: 1;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.cinema-video-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinema-iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.cinema-direct-video {
  max-width: 100%;
  max-height: 500px;
  border-radius: var(--radius-sm);
}

.cinema-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.cinema-main-img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.cinema-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.cinema-caption-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-style: italic;
  text-align: center;
}

/* Placeholder */
.gallery-modal-placeholder {
  text-align: center;
  padding: var(--space-3xl);
}

.gallery-modal-placeholder span {
  font-size: 4rem;
  display: block;
  margin-bottom: var(--space-md);
}

.gallery-modal-placeholder p {
  color: var(--color-text-muted);
}

/* Navigation buttons */
.cinema-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  cursor: pointer;
  z-index: 5;
}

.cinema-nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cinema-nav-prev { left: 0.75rem; }
.cinema-nav-next { right: 0.75rem; }

/* Filmstrip */
.cinema-filmstrip-container {
  padding: 0.65rem var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.cinema-filmstrip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.cinema-filmstrip::-webkit-scrollbar {
  display: none;
}

.cinema-thumb-btn {
  flex-shrink: 0;
  width: 56px;
  height: 42px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.cinema-thumb-btn.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 12px rgba(0, 212, 170, 0.25);
}

.cinema-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cinema-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.cinema-thumb-play {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
}

/* Bottom Info */
.cinema-bottom-info {
  padding: 0.85rem var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.cinema-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.cinema-date {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.cinema-summary-count {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cinema-description {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid::before,
  .gallery-grid::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-image {
    height: 200px;
  }

  .gallery-cinema-modal {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .cinema-main-img {
    max-height: 350px;
  }
}
/* ============================================
   Team Card — Liquid Glass Premium
   ============================================ */

.team-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: var(--space-lg);
}

.team-card-leader {
  border-color: rgba(215, 184, 102, 0.45);
  box-shadow: var(--liquid-shadow), 0 0 24px rgba(215, 184, 102, 0.12), var(--liquid-inset);
}

.team-card-leader:hover {
  border-color: rgba(215, 184, 102, 0.65);
  box-shadow: var(--liquid-shadow-hover), 0 0 35px rgba(215, 184, 102, 0.25), var(--liquid-inset);
}

.team-card-avatar {
  flex-shrink: 0;
}

/* 3D Embossed Sphere */
.team-card-avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #00F0CF;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.32) 0%, rgba(0, 221, 184, 0.22) 50%, rgba(2, 18, 16, 0.7) 100%);
  border: 1.5px solid rgba(0, 255, 210, 0.45);
  box-shadow: 
    0 8px 18px -4px rgba(0, 0, 0, 0.6),
    0 0 16px rgba(0, 255, 210, 0.25),
    inset 0 2px 3px rgba(255, 255, 255, 0.6),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card-leader .team-card-avatar-placeholder {
  color: #f5d076;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.35) 0%, rgba(215, 184, 102, 0.25) 50%, rgba(30, 20, 5, 0.7) 100%);
  border-color: rgba(215, 184, 102, 0.55);
  box-shadow: 
    0 8px 18px -4px rgba(0, 0, 0, 0.6),
    0 0 18px rgba(215, 184, 102, 0.3),
    inset 0 2px 3px rgba(255, 255, 255, 0.65),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.5);
}

.team-card:hover .team-card-avatar-placeholder {
  transform: scale(1.1) translateY(-2px);
}

.team-card-info {
  flex: 1;
  min-width: 0;
}

.team-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

/* 3D Jewel Badges */
.team-card-division {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 255, 210, 0.35);
  color: #00F0CF;
  background: radial-gradient(100% 100% at 50% 0%, rgba(0, 255, 210, 0.22) 0%, rgba(0, 255, 210, 0.05) 100%);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.team-card-role {
  display: inline-flex;
  padding: 0.2rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.role-highlight {
  color: #f5d076;
  background: radial-gradient(100% 100% at 50% 0%, rgba(215, 184, 102, 0.25) 0%, rgba(215, 184, 102, 0.06) 100%);
  border-color: rgba(215, 184, 102, 0.4);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.35),
    0 0 12px rgba(215, 184, 102, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.team-card-school {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card-bio {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-card-social {
  margin-top: 0.35rem;
}

/* 3D Glass Pill Link */
.team-card-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: 
    radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%),
    rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card-ig-link:hover {
  color: #ffffff;
  border-color: rgba(236, 72, 153, 0.5);
  background: radial-gradient(100% 100% at 50% 0%, rgba(236, 72, 153, 0.3) 0%, rgba(236, 72, 153, 0.1) 100%);
  box-shadow: 
    0 6px 16px rgba(236, 72, 153, 0.35),
    0 0 16px rgba(236, 72, 153, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .team-card {
    padding: var(--space-md);
    gap: 0.75rem;
  }

  .team-card-avatar-placeholder {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .team-card-name {
    font-size: 0.95rem;
    white-space: normal;
  }

  .team-card-school {
    white-space: normal;
    font-size: 0.75rem;
  }

  .team-card-bio {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .team-card {
    padding: 0.85rem;
  }

  .team-card-badges {
    gap: 0.3rem;
  }

  .team-card-division,
  .team-card-role {
    font-size: 0.62rem;
    padding: 0.15rem 0.5rem;
  }
}
/* ============================================
   About Page — Liquid Glass Premium
   ============================================ */

/* --- Page Hero (Shared across pages) --- */
.page-hero {
  padding: calc(var(--navbar-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 212, 170, 0.12), transparent 55%),
    radial-gradient(circle at 10% 25%, rgba(0, 229, 255, 0.08), transparent 45%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(232, 184, 77, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero-title {
  margin-top: var(--space-md);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(
    90deg,
    #00DDB8,
    #00F0CF 45%,
    #4DD7E8
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-subtitle {
  max-width: 640px;
  margin: var(--space-md) auto 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* --- Story Section --- */
.about-story {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-story-content h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.about-story-content p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-story-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-story-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg);
  text-align: center;
}

.about-story-year {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #00F0CF;
  line-height: 1;
  text-shadow: 0 0 16px rgba(0, 255, 210, 0.4);
}

.about-story-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.35rem;
}

/* --- Vision & Mission --- */
.about-vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.about-vm-card {
  padding: var(--space-2xl);
}

/* 3D Jewel Icon Box */
.about-vm-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  color: #00F0CF;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.35) 0%, rgba(0, 221, 184, 0.22) 50%, rgba(2, 20, 18, 0.7) 100%);
  border: 1.5px solid rgba(0, 255, 210, 0.45);
  box-shadow: 
    0 8px 22px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(0, 255, 210, 0.3),
    inset 0 2px 3px rgba(255, 255, 255, 0.6),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.45);
  margin-bottom: var(--space-lg);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-vm-card:hover .about-vm-icon {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 255, 210, 0.45),
    inset 0 2px 3px rgba(255, 255, 255, 0.8);
}

.about-vm-icon-gold {
  color: #f5d076;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.35) 0%, rgba(215, 184, 102, 0.25) 50%, rgba(30, 20, 5, 0.7) 100%);
  border-color: rgba(215, 184, 102, 0.55);
  box-shadow: 
    0 8px 22px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(215, 184, 102, 0.3),
    inset 0 2px 3px rgba(255, 255, 255, 0.6),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.45);
}

.about-vm-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
  color: #ffffff;
}

.about-vm-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

.about-vm-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-vm-card ul li {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.6;
}

.about-vm-card ul li::before {
  content: '✓';
  color: #00F0CF;
  font-weight: 800;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(0, 255, 210, 0.6));
}

/* --- Values --- */
.about-value-card {
  padding: var(--space-xl);
  text-align: center;
}

.about-value-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-md);
  color: #00F0CF;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.32) 0%, rgba(0, 221, 184, 0.2) 50%, rgba(2, 20, 18, 0.7) 100%);
  border: 1.5px solid rgba(0, 255, 210, 0.4);
  box-shadow: 
    0 8px 18px rgba(0, 0, 0, 0.5),
    0 0 16px rgba(0, 255, 210, 0.25),
    inset 0 2px 3px rgba(255, 255, 255, 0.55),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-value-card:hover .about-value-icon {
  transform: scale(1.1) translateY(-2px);
}

.about-value-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.about-value-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* --- Division Tabs (MemberSchools) --- */
.about-div-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

/* 3D Glass Tab Pills */
.about-div-tab {
  padding: 0.6rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.75);
  background: 
    radial-gradient(100% 100% at 50% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%),
    rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 8px 18px -4px rgba(0, 0, 0, 0.45),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.about-div-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 255, 210, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px -4px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(0, 255, 210, 0.2),
    inset 0 1.2px 0 rgba(255, 255, 255, 0.55);
}

.about-div-tab.active {
  background: 
    radial-gradient(100% 100% at 50% 0%, rgba(0, 255, 210, 0.28) 0%, rgba(0, 255, 210, 0.08) 100%),
    rgba(0, 221, 184, 0.12);
  border-color: rgba(0, 255, 210, 0.55);
  color: #00F0CF;
  box-shadow: 
    0 12px 24px -4px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(0, 255, 210, 0.35),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* Division blocks */
.about-division-block {
  margin-bottom: var(--space-3xl);
}

.about-division-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.about-division-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.about-division-header p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .about-story {
    grid-template-columns: 1fr;
  }

  .about-vm-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: calc(var(--navbar-height) + var(--space-2xl)) 0 var(--space-2xl);
  }
}
/* ============================================
   Articles Page — Liquid Glass Premium
   ============================================ */

/* Filter Buttons */
.articles-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.articles-filter-btn {
  padding: 0.6rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(4, 18, 22, 0.65);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1px solid rgba(0, 255, 200, 0.15);
  box-shadow: 
    0 8px 18px -4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(0, 255, 200, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.articles-filter-btn:hover {
  background: rgba(0, 255, 200, 0.08);
  border-color: rgba(0, 255, 200, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px -4px rgba(0, 0, 0, 0.6),
    0 0 16px rgba(0, 255, 200, 0.25),
    inset 0 1px 0 rgba(0, 255, 200, 0.3);
}

.articles-filter-btn.active {
  background: 
    radial-gradient(100% 100% at 50% 0%, rgba(0, 255, 200, 0.22) 0%, rgba(4, 18, 22, 0.8) 100%),
    rgba(0, 255, 200, 0.08);
  border-color: rgba(0, 255, 200, 0.6);
  color: #00F0CF;
  box-shadow: 
    0 12px 24px -4px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(0, 255, 200, 0.35),
    inset 0 1px 0 rgba(0, 255, 200, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* Article Detail */
.article-detail {
  max-width: 800px;
  margin: 0 auto;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.article-detail-meta-item svg {
  color: #00F0CF;
  filter: drop-shadow(0 0 6px rgba(0, 255, 210, 0.4));
}

.article-detail-cover-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
  border: 1.5px solid var(--liquid-border);
  box-shadow: var(--liquid-shadow), var(--liquid-inset);
}

.article-detail-cover-img {
  width: 100%;
  object-fit: cover;
  max-height: 420px;
}

.article-detail-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.article-detail-content p {
  margin-bottom: var(--space-lg);
}

.article-detail-content strong {
  color: var(--color-text);
  font-weight: 600;
}

.article-detail-back {
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
/* ============================================
   Programs & Agenda Page — Liquid Glass Styling
   ============================================ */

.programs-page-switcher {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.programs-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(4, 18, 22, 0.65);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1px solid rgba(0, 255, 200, 0.16);
  box-shadow: 
    0 8px 18px -4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(0, 255, 200, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.programs-tab-btn:hover {
  background: rgba(0, 255, 200, 0.08);
  border-color: rgba(0, 255, 200, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 
    0 12px 24px -4px rgba(0, 0, 0, 0.6),
    0 0 16px rgba(0, 255, 200, 0.22),
    inset 0 1px 0 rgba(0, 255, 200, 0.3);
}

.programs-tab-btn.active {
  background: 
    radial-gradient(100% 100% at 50% 0%, rgba(0, 255, 200, 0.22) 0%, rgba(4, 18, 22, 0.82) 100%),
    rgba(0, 255, 200, 0.10);
  border-color: rgba(0, 255, 200, 0.65);
  color: #00F0CF;
  box-shadow: 
    0 12px 24px -4px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(0, 255, 200, 0.35),
    inset 0 1px 0 rgba(0, 255, 200, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.programs-tab-counter {
  font-size: 0.725rem;
  background: rgba(0, 255, 200, 0.18);
  border: 1px solid rgba(0, 255, 200, 0.35);
  color: #00F0CF;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

.programs-tab-btn.active .programs-tab-counter {
  background: #00F0CF;
  color: #031317;
  font-weight: 700;
}

.programs-section-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) 0;
}

.programs-divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 200, 0.25), transparent);
}

.programs-events-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
}

.programs-empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: rgba(4, 18, 22, 0.50);
  border: 1px dashed rgba(0, 255, 200, 0.25);
  border-radius: var(--radius-xl);
  max-width: 600px;
  margin: var(--space-2xl) auto 0;
  color: var(--color-text-muted);
}
/* ============================================
   Registration Page — Liquid Glass Premium
   ============================================ */

.reg-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

/* Steps */
.reg-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-2xl);
}

.reg-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.4;
  transition: all var(--transition-base);
}

.reg-step.active {
  opacity: 1;
}

.reg-step-num {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  background: radial-gradient(circle at 35% 25%, rgba(0, 255, 200, 0.08) 0%, rgba(3, 14, 18, 0.6) 60%, rgba(0, 0, 0, 0.7) 100%);
  border: 1px solid rgba(0, 255, 200, 0.14);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(0, 255, 200, 0.15),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.reg-step.active .reg-step-num {
  background: radial-gradient(circle at 35% 25%, rgba(0, 255, 200, 0.25) 0%, rgba(0, 221, 184, 0.15) 50%, rgba(2, 20, 18, 0.85) 100%);
  border-color: rgba(0, 255, 210, 0.55);
  color: #00F0CF;
  box-shadow: 
    0 6px 18px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(0, 255, 210, 0.35),
    inset 0 1.5px 2px rgba(0, 255, 200, 0.45),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.4);
  transform: scale(1.1);
}

.reg-step span {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
}

.reg-step.active span {
  color: #ffffff;
}

.reg-step-arrow {
  color: rgba(255, 255, 255, 0.3);
}

/* Form */
.reg-form {
  padding: var(--space-2xl);
}

.reg-form-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.reg-form-step h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 0;
}

.reg-form-step h3 svg {
  color: var(--color-primary);
}

.reg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.reg-form-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
  margin-top: var(--space-sm);
}

/* Success */
.reg-success {
  max-width: 500px;
  margin: 0 auto;
}

.reg-success-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.reg-success h1 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.reg-success p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.reg-success-note {
  margin-top: var(--space-md);
  font-size: 1.15rem;
  color: var(--color-gold) !important;
}

/* Responsive */
@media (max-width: 600px) {
  .reg-form-row {
    grid-template-columns: 1fr;
  }

  .reg-steps {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .reg-step span {
    display: none;
  }
}
/* ============================================
   Contact Page — Liquid Glass Premium
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.contact-info > p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-info-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

/* 3D Jewel Contact Icon */
.contact-info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: #00F0CF;
  background: radial-gradient(circle at 35% 25%, rgba(0, 255, 200, 0.25) 0%, rgba(0, 221, 184, 0.12) 50%, rgba(2, 20, 18, 0.85) 100%);
  border: 1.5px solid rgba(0, 255, 210, 0.42);
  box-shadow: 
    0 8px 18px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(0, 255, 210, 0.2),
    inset 0 1.5px 2px rgba(0, 255, 200, 0.45),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 
    0 12px 24px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(0, 255, 210, 0.4),
    inset 0 2px 3px rgba(0, 255, 200, 0.65);
}

.contact-info-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: #ffffff;
}

.contact-info-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Social */
.contact-social h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* 3D Glass Social Links */
.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(4, 18, 22, 0.65);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1px solid rgba(0, 255, 200, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 
    0 8px 18px -4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(0, 255, 200, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-social-link:hover {
  background: rgba(0, 255, 200, 0.08);
  border-color: rgba(0, 255, 200, 0.5);
  color: #00F0CF;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 24px -4px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 255, 200, 0.25),
    inset 0 1px 0 rgba(0, 255, 200, 0.3);
}

/* 3D Form Wrapper */
.contact-form-wrapper {
  padding: var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
}

.contact-success {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.contact-success svg {
  color: #00F0CF;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 12px rgba(0, 255, 210, 0.5));
}

.contact-success h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.contact-success p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

/* 3D Sunken Map Frame */
.contact-map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--liquid-border);
  box-shadow: var(--liquid-shadow), var(--liquid-inset);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   ROHIS Kabupaten Banyumas — Admin CMS Styles
   Ultra-Professional, Clean & Responsive
   ============================================ */

/* --- Login Page --- */
.admin-login-page {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) 0;
}

.admin-login-wrapper {
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
}

.admin-login-card {
  padding: var(--space-2xl);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 45%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-bottom: 1px solid rgba(0, 255, 180, 0.10);
  border-radius: var(--radius-xl);
  box-shadow:
    0 35px 80px -10px rgba(0, 0, 0, 0.85),
    0 16px 36px -4px rgba(0, 0, 0, 0.55),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.10),
    inset 0 0 24px 0 rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.admin-login-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.admin-login-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(0, 255, 200, 0.25) 0%, rgba(4, 16, 20, 0.8) 70%);
  border: 2px solid rgba(0, 255, 200, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 0 24px rgba(0, 255, 200, 0.35), inset 0 1px 2px rgba(0, 255, 200, 0.4);
}

.admin-login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-login-header h2 {
  font-size: 1.6rem;
  color: var(--color-text);
  margin: var(--space-sm) 0;
}

.admin-login-header p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.admin-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
}

.admin-alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.input-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-password-wrapper .form-input {
  padding-right: 2.75rem;
}

.btn-password-toggle {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.btn-password-toggle:hover {
  color: var(--color-text);
}

.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.login-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.btn-login {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
}

.admin-login-footer {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 255, 200, 0.15);
}

.btn-back-home {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.btn-back-home:hover {
  color: #00F0CF;
}

/* --- Admin Layout --- */
.admin-layout {
  min-height: 100vh;
  background: transparent;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Topbar */
.admin-topbar {
  background: linear-gradient(
    180deg,
    rgba(0, 255, 200, 0.03) 0%,
    rgba(2, 9, 12, 0.85) 100%
  );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.60),
    inset 0 -1px 0 rgba(0, 255, 180, 0.10);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.admin-brand h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--color-text);
  font-weight: 700;
}

.admin-status-badge {
  font-size: 0.725rem;
  color: var(--color-primary-light);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  box-shadow: 0 0 8px var(--color-primary-light);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.cloud-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.cloud-connected {
  color: #00F0CF;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.cloud-connecting {
  color: #facc15;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cloud-offline {
  color: #f87171;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.saving-tag {
  background: rgba(0, 255, 200, 0.15);
  color: #00F0CF;
  border: 1px solid rgba(0, 255, 200, 0.3);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
}

.dot-yellow { background-color: #facc15 !important; box-shadow: 0 0 8px #facc15 !important; }
.dot-red { background-color: #f87171 !important; box-shadow: 0 0 8px #f87171 !important; }

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-danger-ghost {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  border-radius: var(--radius-md);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-danger-ghost:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ffffff;
  border-color: #ef4444;
}

/* Sidebar & Content */
.admin-container {
  display: flex;
  flex: 1;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.admin-sidebar {
  width: 260px;
  background: linear-gradient(
    180deg,
    rgba(0, 255, 200, 0.02) 0%,
    rgba(2, 8, 10, 0.90) 100%
  );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-right: 1px solid rgba(0, 255, 200, 0.14);
  box-shadow:
    inset -1px 0 0 rgba(0, 255, 200, 0.10),
    inset 0 0 20px rgba(0, 0, 0, 0.50);
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.admin-nav-item:hover {
  background: rgba(0, 255, 200, 0.08);
  border-color: rgba(0, 255, 200, 0.25);
  color: #ffffff;
  transform: translateX(4px);
}

.admin-nav-item.active {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 200, 0.20) 0%,
    rgba(0, 212, 170, 0.12) 100%
  );
  color: #00F0CF;
  border: 1px solid rgba(0, 255, 200, 0.40);
  border-left: 3.5px solid #00F0CF;
  font-weight: 600;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(0, 255, 200, 0.35),
    inset 0 -1px 0 rgba(0, 255, 180, 0.20);
}

.nav-counter {
  margin-left: auto;
  font-size: 0.75rem;
  background: rgba(0, 255, 200, 0.15);
  border: 1px solid rgba(0, 255, 200, 0.3);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  color: #00F0CF;
}

.admin-nav-item.active .nav-counter {
  background: #00DDB8;
  color: #041315;
  font-weight: 700;
}

.admin-nav-separator {
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 255, 200, 0.25) 0%, rgba(0, 212, 170, 0.15) 100%);
  margin: var(--space-md) 0;
}

.admin-sidebar-footer {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(0, 255, 200, 0.15);
}

.org-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.period-label {
  font-size: 0.75rem;
  color: var(--color-gold-light);
  margin: 0;
}

/* Content Area */
.admin-content {
  flex: 1;
  padding: var(--space-2xl);
  overflow-y: auto;
}

.tab-pane {
  animation: fadeIn 0.25s ease-out;
}

.admin-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.admin-header-row h2 {
  font-size: 1.75rem;
  color: var(--color-text);
  margin: 0 0 0.35rem 0;
}

.admin-header-row p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.quick-actions {
  display: flex;
  gap: 0.5rem;
}

/* Overview Stats Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.admin-stat-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 45%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-bottom: 1px solid rgba(0, 255, 180, 0.10);
  box-shadow:
    0 24px 60px -8px rgba(0, 0, 0, 0.80),
    0 8px 24px -4px rgba(0, 0, 0, 0.55),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.10),
    inset 0 0 20px 0 rgba(0, 0, 0, 0.40);
  transition:
    transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 350ms ease;
  will-change: transform, box-shadow;
}

.admin-stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-top-color: rgba(0, 255, 200, 0.80);
  box-shadow:
    0 35px 80px -8px rgba(0, 0, 0, 0.90),
    0 16px 36px -4px rgba(0, 0, 0, 0.65),
    0 0 30px rgba(0, 255, 200, 0.28),
    inset 0 1.5px 0 0 rgba(0, 255, 200, 0.50),
    inset 0 4px 10px 0 rgba(0, 255, 200, 0.20),
    inset 0 -2px 0 0 rgba(0, 255, 180, 0.30);
}

/* 3D Embossed Stat Icon (no white glare) */
.stat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: 
    0 8px 18px rgba(0, 0, 0, 0.45),
    inset 0 1.5px 2px rgba(0, 255, 200, 0.4),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.admin-stat-card:hover .stat-card-icon {
  transform: scale(1.1) translateY(-2px);
}

.stat-icon-emerald { 
  background: radial-gradient(circle at 35% 25%, rgba(0, 255, 200, 0.25) 0%, rgba(5, 150, 105, 0.35) 50%, rgba(2, 25, 20, 0.7) 100%);
  color: #00F0CF; 
  border: 1.5px solid rgba(0, 255, 210, 0.45);
  box-shadow: 0 0 18px rgba(0, 255, 210, 0.25);
}

.stat-icon-blue { 
  background: radial-gradient(circle at 35% 25%, rgba(0, 220, 255, 0.25) 0%, rgba(59, 130, 246, 0.35) 50%, rgba(10, 20, 45, 0.7) 100%);
  color: #60a5fa; 
  border: 1.5px solid rgba(59, 130, 246, 0.45);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.25);
}

.stat-icon-gold { 
  background: radial-gradient(circle at 35% 25%, rgba(245, 208, 118, 0.25) 0%, rgba(212, 168, 67, 0.35) 50%, rgba(35, 25, 8, 0.7) 100%);
  color: #f5d076; 
  border: 1.5px solid rgba(215, 184, 102, 0.45);
  box-shadow: 0 0 18px rgba(215, 184, 102, 0.25);
}

.stat-icon-purple { 
  background: radial-gradient(circle at 35% 25%, rgba(0, 255, 200, 0.25) 0%, rgba(5, 150, 105, 0.35) 50%, rgba(2, 25, 20, 0.7) 100%);
  color: #00F0CF; 
  border: 1.5px solid rgba(0, 255, 210, 0.45);
  box-shadow: 0 0 18px rgba(0, 255, 210, 0.25);
}

.stat-icon-rose { 
  background: radial-gradient(circle at 35% 25%, rgba(251, 113, 133, 0.25) 0%, rgba(244, 63, 94, 0.35) 50%, rgba(45, 10, 20, 0.7) 100%);
  color: #fb7185; 
  border: 1.5px solid rgba(244, 63, 94, 0.45);
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.25);
}

.stat-count {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.1;
  text-shadow: 0 0 16px rgba(0, 255, 210, 0.25);
}

.stat-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: var(--space-md);
  margin-top: 0.35rem;
}

.stat-card-link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: #00F0CF;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color var(--transition-fast);
}

.stat-card-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 210, 0.5);
}

/* 3D Sync Banner */
.admin-sync-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) var(--space-2xl);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 45%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-bottom: 1px solid rgba(0, 255, 180, 0.10);
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 60px -8px rgba(0, 0, 0, 0.80),
    0 8px 24px -4px rgba(0, 0, 0, 0.55),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.10),
    inset 0 0 20px 0 rgba(0, 0, 0, 0.40);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.admin-sync-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(0, 255, 200, 0.16) 0%,
    transparent 45%,
    rgba(0, 255, 180, 0.08) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}

.sync-banner-content {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.sync-banner-icon {
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.sync-banner-content h4 {
  margin: 0 0 0.25rem 0;
  color: #ffffff;
}

.sync-banner-content p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  max-width: 750px;
}

/* Overview Grid */
.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--space-xl);
}

.overview-panel {
  padding: var(--space-xl);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 45%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-bottom: 1px solid rgba(0, 255, 180, 0.10);
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 60px -8px rgba(0, 0, 0, 0.80),
    0 8px 24px -4px rgba(0, 0, 0, 0.55),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.10),
    inset 0 0 20px 0 rgba(0, 0, 0, 0.40);
  position: relative;
  overflow: hidden;
}

.overview-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(0, 255, 200, 0.08) 0%,
    transparent 50%,
    rgba(0, 255, 180, 0.04) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
}

.panel-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #ffffff;
}

.btn-link-sm {
  background: none;
  border: none;
  color: #00F0CF;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-link-sm:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 200, 0.5);
}

.overview-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.overview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(0, 255, 200, 0.04);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(0, 255, 200, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.overview-item:hover {
  background: rgba(0, 255, 200, 0.09);
  border-top-color: rgba(0, 255, 200, 0.65);
  transform: translateX(4px);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.45),
    inset 0 1.5px 0 rgba(0, 255, 200, 0.35);
}

.overview-item-title strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.2rem;
}

.overview-item-meta {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

/* Filter Bar */
.admin-filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
}

.search-input-wrapper svg {
  position: absolute;
  left: 0.85rem;
  color: #00F0CF;
  opacity: 0.75;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.65rem 2.2rem 0.65rem 2.5rem;
  background: rgba(4, 18, 22, 0.65);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1.5px solid rgba(0, 255, 200, 0.2);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.50);
  transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
  background: rgba(0, 255, 200, 0.08);
  border-color: rgba(0, 255, 210, 0.65);
  border-top-color: rgba(0, 255, 210, 0.85);
  box-shadow: 0 0 0 3px rgba(0, 255, 210, 0.20), inset 0 1px 2px rgba(0, 255, 210, 0.35);
}

.btn-clear-search {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.btn-clear-search:hover {
  color: #00F0CF;
}

.filter-select-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-select-wrapper label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* 3D Liquid Glass Table */
.admin-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 45%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-bottom: 1px solid rgba(0, 255, 180, 0.10);
  box-shadow:
    0 24px 60px -8px rgba(0, 0, 0, 0.80),
    0 8px 24px -4px rgba(0, 0, 0, 0.55),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.10),
    inset 0 0 20px 0 rgba(0, 0, 0, 0.40);
  position: relative;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th {
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: rgba(4, 18, 22, 0.85);
  color: #ffffff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 255, 200, 0.2);
}

.admin-table td {
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid rgba(0, 255, 200, 0.08);
  color: var(--color-text);
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: background 0.25s ease;
}

.admin-table tbody tr:hover {
  background: rgba(0, 255, 200, 0.045);
}

.table-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.table-slug, .table-sub, .table-speaker {
  display: block;
  font-size: 0.775rem;
  color: var(--color-text-secondary);
  margin-top: 0.15rem;
}

.table-addr {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.table-ig-link {
  color: #00F0CF !important;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.table-ig-link:hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(0, 255, 200, 0.5);
}

.badge-completed {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

/* 3D Neon Glass Action Buttons */
.btn-icon {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 200, 0.08) 0%,
    rgba(4, 18, 22, 0.65) 100%
  );
  border: 1px solid rgba(0, 255, 200, 0.22);
  border-top: 1px solid rgba(0, 255, 200, 0.45);
  border-bottom: 1px solid rgba(0, 255, 180, 0.35);
  color: var(--color-text);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(0, 255, 200, 0.30);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 200, 0.16) 0%,
    rgba(0, 212, 170, 0.16) 100%
  );
  border-color: rgba(0, 255, 200, 0.55);
  color: #00F0CF;
  transform: translateY(-2px);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(0, 255, 200, 0.30);
}

.btn-icon-edit:hover {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.60);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.40);
}

.btn-icon-delete:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.60);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.40);
}

/* 3D Liquid Glass Gallery Grid */
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.admin-gallery-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 45%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1.5px solid rgba(0, 255, 200, 0.18);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-radius: var(--radius-xl);
  box-shadow:
    0 20px 50px -8px rgba(0, 0, 0, 0.75),
    0 6px 18px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(0, 255, 200, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  transition:
    transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 350ms ease;
  position: relative;
}

.admin-gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 255, 200, 0.5);
  box-shadow:
    0 30px 70px -8px rgba(0, 0, 0, 0.85),
    0 0 25px rgba(0, 255, 200, 0.2),
    inset 0 1px 0 rgba(0, 255, 200, 0.3);
}

.admin-gallery-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background: rgba(4, 18, 22, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 255, 200, 0.12);
}

.admin-gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.admin-gallery-card:hover .admin-gallery-preview img {
  transform: scale(1.08);
}

.admin-gallery-placeholder {
  font-size: 2.5rem;
}

.gallery-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

.admin-gallery-info {
  padding: var(--space-md);
  flex: 1;
}

.admin-gallery-info h4 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem 0;
  line-height: 1.4;
  color: #ffffff;
}

.gallery-date {
  font-size: 0.775rem;
  color: var(--color-text-secondary);
}

.admin-gallery-actions {
  padding: 0 var(--space-md) var(--space-md);
  display: flex;
  gap: 0.5rem;
}

/* 3D Liquid Glass Subpanels in Team */
.admin-subpanel {
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 45%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-bottom: 1px solid rgba(0, 255, 180, 0.10);
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 60px -8px rgba(0, 0, 0, 0.80),
    0 8px 24px -4px rgba(0, 0, 0, 0.55),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.10),
    inset 0 0 20px 0 rgba(0, 0, 0, 0.40);
  position: relative;
  overflow: hidden;
}

.subpanel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
}

.subpanel-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #ffffff;
}

.subpanel-header p {
  margin: 0.2rem 0 0 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* 3D Liquid Glass Settings Layout */
.settings-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: var(--space-xl);
}

.settings-card {
  padding: var(--space-xl);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 45%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(0, 255, 200, 0.14);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-bottom: 1px solid rgba(0, 255, 180, 0.10);
  border-radius: var(--radius-xl);
  box-shadow:
    0 24px 60px -8px rgba(0, 0, 0, 0.80),
    0 8px 24px -4px rgba(0, 0, 0, 0.55),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.25),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.10),
    inset 0 0 20px 0 rgba(0, 0, 0, 0.40);
  position: relative;
  overflow: hidden;
}

.settings-card h3 {
  margin: 0 0 var(--space-lg) 0;
  font-size: 1.2rem;
  color: #ffffff;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
}

.settings-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.backup-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.backup-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 50%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1.5px solid rgba(0, 255, 200, 0.18);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-radius: var(--radius-lg);
  box-shadow:
    0 16px 40px -6px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(0, 255, 200, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  gap: var(--space-md);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.backup-box:hover {
  transform: translateY(-3px);
  background: rgba(0, 255, 200, 0.06);
  border-color: rgba(0, 255, 200, 0.45);
  box-shadow:
    0 24px 50px -6px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(0, 255, 200, 0.15),
    inset 0 1px 0 rgba(0, 255, 200, 0.25);
}

.backup-box strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.backup-box p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.70);
}

.backup-box .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.backup-danger-box {
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  border-top: 1.5px solid rgba(239, 68, 68, 0.55);
  background:
    linear-gradient(
      135deg,
      rgba(239, 68, 68, 0.08) 0%,
      rgba(4, 18, 22, 0.7) 45%,
      rgba(2, 9, 11, 0.85) 100%
    );
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow:
    0 16px 40px -6px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(239, 68, 68, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.backup-danger-box:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.65);
  box-shadow:
    0 24px 50px -6px rgba(239, 68, 68, 0.35),
    inset 0 1px 0 rgba(239, 68, 68, 0.40);
}

.file-upload-label {
  cursor: pointer;
}

/* Modals */
body:has(.admin-modal-backdrop),
html:has(.admin-modal-backdrop) {
  overflow: hidden !important;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  animation: fadeIn 0.2s ease-out;
  overscroll-behavior: contain;
  overflow-y: auto;
}

/* 3D True Liquid Glass Modal */
.admin-modal {
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  margin: auto;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: 
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.88) 50%,
      rgba(2, 8, 10, 0.95) 100%
    );
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(0, 255, 200, 0.18);
  border-top: 1.5px solid rgba(0, 255, 200, 0.40);
  border-bottom: 1px solid rgba(0, 255, 180, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: 
    0 45px 100px -10px rgba(0, 0, 0, 0.95),
    0 18px 40px -4px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(0, 255, 200, 0.15),
    inset 0 1.2px 0 0 rgba(0, 255, 200, 0.30),
    inset 0 -1px 0 0 rgba(0, 255, 180, 0.12),
    inset 0 0 24px 0 rgba(0, 0, 0, 0.50);
  position: relative;
}

.admin-modal::-webkit-scrollbar {
  width: 6px;
}

.admin-modal::-webkit-scrollbar-track {
  background: rgba(4, 18, 22, 0.4);
  border-radius: var(--radius-full);
}

.admin-modal::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 200, 0.28);
  border-radius: var(--radius-full);
}

.admin-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 200, 0.55);
}

.admin-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: linear-gradient(180deg, rgba(0, 255, 200, 0.12) 0%, rgba(0, 255, 180, 0.04) 50%, transparent 100%);
  pointer-events: none;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0, 255, 200, 0.18);
}

.admin-modal-header h3 {
  margin: 0;
  font-size: 1.35rem;
  color: #ffffff;
}

.btn-close-modal {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast);
}

.btn-close-modal:hover {
  color: #00F0CF;
}

.admin-modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.admin-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 255, 200, 0.15);
}

/* 3D Liquid Glass Toast */
.admin-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    135deg,
    rgba(0, 255, 200, 0.08) 0%,
    rgba(4, 18, 22, 0.75) 55%,
    rgba(2, 9, 11, 0.90) 100%
  );
  backdrop-filter: blur(24px) saturate(190%) contrast(110%);
  -webkit-backdrop-filter: blur(24px) saturate(190%) contrast(110%);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(0, 255, 200, 0.18),
    inset 0 1px 0 rgba(0, 255, 200, 0.30),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 99999;
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.admin-toast-success {
  border: 1px solid rgba(0, 255, 200, 0.50);
  color: #ffffff;
}
.admin-toast-success svg { color: #00F0CF; }

.admin-toast-warning {
  border: 1px solid rgba(245, 158, 11, 0.50);
  color: #ffffff;
}
.admin-toast-warning svg { color: #fbbf24; }

.admin-toast-error {
  border: 1px solid rgba(239, 68, 68, 0.50);
  color: #ffffff;
}
.admin-toast-error svg { color: #f87171; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .admin-container {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 255, 200, 0.15);
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .admin-nav-item {
    width: auto;
  }

  .admin-content {
    padding: var(--space-lg);
  }
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .admin-header-row {
    flex-direction: column;
  }

  .admin-topbar {
    padding: 0.75rem 1rem;
  }
}

/* =========================================================
   MULTI-MEDIA GALLERY MANAGER (FOTO & VIDEO)
   ========================================================= */

.admin-modal-lg {
  max-width: 780px;
}

.admin-gallery-count-badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(4, 16, 20, 0.88);
  border: 1px solid rgba(0, 255, 200, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.40), 0 0 10px rgba(0, 255, 200, 0.20);
  backdrop-filter: blur(8px);
  color: #00F0CF;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.admin-gallery-desc-snippet {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.admin-media-manager-box {
  background:
    linear-gradient(
      140deg,
      rgba(0, 255, 200, 0.04) 0%,
      rgba(4, 18, 22, 0.65) 50%,
      rgba(2, 9, 11, 0.80) 100%
    );
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1.5px solid rgba(0, 255, 200, 0.18);
  border-top: 1.5px solid rgba(0, 255, 200, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(0, 255, 200, 0.15), 0 10px 30px rgba(0, 0, 0, 0.50);
  padding: var(--space-lg);
  margin-top: var(--space-sm);
}

.media-manager-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0, 255, 200, 0.15);
}

.media-manager-title {
  margin: 0;
  font-size: 1.05rem;
  color: #ffffff;
}

.media-manager-sub {
  margin: 0.25rem 0 0 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.add-media-form-box {
  background: rgba(4, 18, 22, 0.60);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 255, 200, 0.15);
  border-top: 1.5px solid rgba(0, 255, 200, 0.30);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.media-type-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.media-type-btn {
  background: rgba(0, 255, 200, 0.05);
  border: 1px solid rgba(0, 255, 200, 0.18);
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.media-type-btn:hover {
  background: rgba(0, 255, 200, 0.12);
  color: #ffffff;
}

.media-type-btn.active {
  background: linear-gradient(135deg, rgba(0, 255, 200, 0.30) 0%, rgba(0, 212, 170, 0.20) 100%);
  border-color: #00F0CF;
  color: #00F0CF;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(0, 255, 200, 0.35);
}

.add-media-row-action {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.add-media-row-action .form-input {
  flex: 1;
}

.btn-add-media {
  white-space: nowrap;
  padding: 0.6rem 1.25rem;
}

/* Media List Items */
.admin-media-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-media-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.05) 0%,
      rgba(4, 18, 22, 0.65) 100%
    );
  border: 1px solid rgba(0, 255, 200, 0.15);
  border-top: 1.5px solid rgba(0, 255, 200, 0.30);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(0, 255, 200, 0.15);
  transition: all var(--transition-fast);
}

.admin-media-card:hover {
  border-color: rgba(0, 255, 200, 0.45);
  border-top-color: rgba(0, 255, 200, 0.75);
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55), 0 0 14px rgba(0, 255, 200, 0.20);
}

.admin-media-card.is-cover {
  border-color: rgba(0, 255, 200, 0.60);
  border-top-color: rgba(0, 255, 200, 0.85);
  background:
    linear-gradient(
      135deg,
      rgba(0, 255, 200, 0.14) 0%,
      rgba(4, 18, 22, 0.75) 100%
    );
  box-shadow: 0 0 16px rgba(0, 255, 200, 0.25);
}

.admin-media-thumb {
  position: relative;
  width: 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(4, 18, 22, 0.6);
  border: 1px solid rgba(0, 255, 200, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-media-no-thumb {
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-type-tag {
  position: absolute;
  top: 2px;
  left: 2px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
  line-height: 1.2;
}

.media-type-tag.tag-image {
  background: rgba(0, 255, 200, 0.85);
  color: #041014;
}

.media-type-tag.tag-video {
  background: rgba(0, 221, 184, 0.90);
  color: #041014;
}

.cover-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: #00F0CF;
  color: #041014;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.admin-media-details {
  flex: 1;
  min-width: 0;
}

.admin-media-top-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.admin-media-num {
  font-size: 0.725rem;
  font-weight: 600;
  color: #00F0CF;
}

.text-gold-sm {
  font-size: 0.725rem;
  color: var(--color-gold);
  font-weight: 600;
}

.admin-media-caption {
  font-size: 0.85rem;
  color: var(--color-text);
  margin: 0 0 0.2rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-media-url-hint {
  display: block;
  font-size: 0.725rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-media-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.admin-empty-media {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  border: 1px dashed rgba(0, 255, 200, 0.22);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  background: rgba(0, 255, 200, 0.02);
}

.admin-empty-media p {
  margin: 0 0 0.25rem 0;
  color: var(--color-text-secondary);
}

@media (max-width: 640px) {
  .add-media-row-action {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-media-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-media-thumb {
    width: 100%;
    height: 120px;
  }
  .admin-media-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.admin-drive-tip {
  margin-top: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: rgba(0, 255, 200, 0.06);
  border: 1px solid rgba(0, 255, 200, 0.25);
  border-radius: var(--radius-md);
  font-size: 0.775rem;
  color: #99f6e4;
  line-height: 1.45;
}

.admin-drive-tip u {
  text-decoration-color: #00F0CF;
  font-weight: 600;
}

/* Article Cover Preview & Table Thumbnail */
.admin-cover-preview {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.admin-cover-preview-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 0.4rem;
}

.admin-cover-preview-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(4, 18, 22, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px dashed rgba(0, 255, 200, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(0, 255, 200, 0.15);
}

.admin-cover-preview-box img {
  width: 140px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0, 255, 200, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.50);
}

.article-table-title-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.article-table-thumb {
  width: 54px;
  height: 38px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(4, 18, 22, 0.6);
  border: 1px solid rgba(0, 255, 200, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-table-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-table-thumb-empty {
  font-size: 1.1rem;
  opacity: 0.5;
  color: #00F0CF;
}


