/* FancyNavbar (Vanilla) — matches the user's React design */
/* UPDATED: bigger brand logo + brand text for readability */

:root{
  --gold: #eab308;
  --gold-soft:#facc15;
  --text:#eaeaea;
  --bg:#0b0b0b;
  --ring: rgba(234,179,8,.15);
}

.fancy-header{ position: sticky; top:12px; z-index: 1000; }

.fancy-shell{
  position: relative;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin: 0 auto;
  max-width: 112rem; /* ~max-w-7xl */
  height: 78px; /* JS will shrink to 62px on scroll */
  padding: 0 14px;
  border-radius: 2rem;
  background: rgba(11,11,11,.70);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid rgba(234,179,8,.15);
  box-shadow: 0 10px 40px -10px rgba(234,179,8,.25);
}

.fancy-shell .hover-ring{
  pointer-events:none; position:absolute; inset:0; border-radius:2rem;
  background: radial-gradient(180px 180px at var(--mx,50%) var(--my,50%), rgba(250,204,21,0.10), transparent 60%);
}

.fancy-shell .glow{
  pointer-events:none; position:absolute; inset:-1px; z-index:-1; border-radius:2rem;
  background: linear-gradient(90deg, rgba(202,138,4,.10), rgba(234,179,8,.10), rgba(202,138,4,.10));
  filter: blur(16px);
}

/* Brand */
.brand{ display:flex; align-items:center; gap:12px; padding-left:8px; text-decoration:none; }
.brand .logo svg{ width:44px; height:44px; } /* was 36x36 -> bigger for readability */
.brand .txt{ line-height:1; font-weight:800; color:#fff; font-size:1.1rem; }
.brand .txt .gold{ color:var(--gold-soft); }

/* Center menu */
.menu{ display:none; align-items:center; justify-content:center; gap:8px; }
.menu a{
  position:relative; display:inline-flex; align-items:center; gap:8px;
  padding: 10px 16px; border-radius: 16px; text-decoration:none;
  color:#d1d5db; font-weight:700; font-size:14px;
  border:1px solid transparent;
}
.menu a:hover{ color: var(--gold-soft); }
.menu a.active{ border-color: rgba(234,179,8,.35); }
.menu a .underline{
  position:absolute; left:16px; right:16px; bottom:6px; height:2px; border-radius:2px;
  background: var(--gold-soft); transform: scaleX(0); transform-origin:left; transition: transform .25s ease;
}
.menu a.active .underline{ transform: scaleX(1); }

/* Right actions */
.actions{ display:flex; align-items:center; gap:12px; }
.actions .cta{
  display:none; padding: 10px 16px; border-radius:14px;
  color:#fde68a; font-weight:800; text-decoration:none;
  border:1px solid rgba(234,179,8,.35);
  background: rgba(234,179,8,.10);
}
.actions .cta:hover{ border-color: rgba(234,179,8,.6); background: rgba(234,179,8,.18); color:#fff7d6; }

.toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:14px;
  border:1px solid rgba(234,179,8,.25); background: transparent; color:#e5e7eb;
}
.toggle:hover{ border-color: rgba(234,179,8,.45); background: rgba(234,179,8,.10); cursor:pointer; }

/* Mobile sheet */
.sheet{ pointer-events:none; position: fixed; inset:0; z-index: 1100; transition: opacity .25s ease; opacity:0; }
.sheet.open{ opacity:1; pointer-events:auto; }
.sheet .scrim{ position:absolute; inset:0; background: rgba(0,0,0,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet .panel{
  position:absolute; inset-inline:12px; top:72px;
  background: rgba(11,11,11,.95); border:1px solid rgba(234,179,8,.20);
  border-radius: 22px; padding: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.45);
  transform: translateY(-8px); opacity:.0; transition: transform .25s ease, opacity .25s ease;
}
.sheet.open .panel{ transform: none; opacity: 1; }
.sheet .list{ list-style:none; margin:0; padding:0; }
.sheet .list li{ border-bottom:1px solid rgba(234,179,8,.10); }
.sheet .list li a{
  display:flex; align-items:center; gap:10px; padding:14px 6px; text-decoration:none;
  color:#e5e7eb; font-weight:700;
}
.sheet .list li a:hover{ color: var(--gold-soft); }
.sheet .list .cta{
  display:flex; align-items:center; justify-content:center; margin:10px 0 4px;
  padding:12px 14px; border-radius: 14px; text-decoration:none; font-weight:800;
  color:#fde68a; border:1px solid rgba(234,179,8,.35); background: rgba(234,179,8,.10);
}

/* Responsive */
@media (min-width: 768px){
  .fancy-shell{ padding-inline: 18px; }
  .menu{ display:flex; }
  .actions .cta{ display:inline-flex; }
  .toggle{ display:none; }
  .fancy-shell{ height: 78px; } /* initial desktop height remains, JS handles shrink */
  .brand .txt{ font-size:1.25rem; }
  .brand .logo svg{ width:48px; height:48px; } /* even bigger on desktop */
}