/* ════════════════════════════════════════════════════════════
   SHAMYA AI VAULT  ·  PREMIUM DARK THEME
   Color Palette:
     Background    #0a0b0f  (near-black with blue tint)
     Surface       #111218  (deep navy-black)
     Card          #16181f  (raised card)
     Card2         #1c1e28  (lifted element)
     Hover         #232637  (interactive hover)
     Gold          #d4a843  /  #f0c060  (primary accent)
     Cyan          #22d3ee  (action / highlight)
     Violet        #9b6dff  (secondary accent)
     Emerald       #10b981  (success / live)
     Rose          #f87171  (warning / delete)
     Amber         #fbbf24  (bonus / warm)
     Muted         #4a4d5e  (disabled)
     Soft          #8890aa  (secondary text)
     White         #e8eaf6  (primary text)
════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* ── SURFACES ── */
  --bg:          #0a0b0f;
  --ink:         #0d0f15;
  --card:        #16181f;
  --card2:       #1c1e28;
  --card-hover:  #232637;
  --line:        rgba(255,255,255,0.07);
  --line2:       rgba(255,255,255,0.13);

  /* ── TEXT ── */
  --white:  #e8eaf6;
  --soft:   #8890aa;
  --muted:  #4a4d5e;

  /* ── ACCENT PALETTE ── */
  --gold:       #d4a843;
  --gold2:      #f0c060;
  --gold-glow:  rgba(212,168,67,.22);
  --cyan:       #22d3ee;
  --cyan2:      #67e8f9;
  --cyan-glow:  rgba(34,211,238,.18);
  --violet:     #9b6dff;
  --violet2:    #c4a9ff;
  --emerald:    #10b981;
  --rose:       #f87171;
  --amber:      #fbbf24;
  --blue:       #6366f1;

  /* ── TYPOGRAPHY ── */
  --body: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', 'JetBrains Mono', 'Fira Code', monospace;

  /* ── LAYOUT ── */
  --nav:  60px;
  --sb:   246px;
  --r:    14px;
  --r-sm: 9px;
  --r-xs: 6px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--white);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ════════════════════════════════════════════════════════════
   ACCESS GATE
════════════════════════════════════════════════════════════ */

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(ellipse at 50% 30%, #0f1120 0%, var(--bg) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gate-card {
  width: 100%;
  max-width: 460px;
  background: var(--ink);
  border: 1px solid var(--line2);
  border-radius: var(--r);
  padding: 44px 38px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 24px 60px rgba(0,0,0,0.8),
    0 0 60px var(--cyan-glow);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: gatePop 0.28s cubic-bezier(0.16,1,0.3,1);
}

@keyframes gatePop {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.gate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan), var(--gold));
}

.gate-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.06) 0%, transparent 70%);
  pointer-events: none;
}

.gate-gem {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--gold2) 0%, var(--gold) 55%, #8a5a10 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 1rem;
  color: #000;
  margin: 0 auto 18px;
  box-shadow: 0 4px 24px var(--gold-glow), 0 0 0 1px rgba(255,255,255,.08);
}

.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 13px;
  background: rgba(34,211,238,.08);
  border: 1px solid rgba(34,211,238,.22);
  border-radius: 20px;
  font-size: 0.67rem;
  color: var(--cyan2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.gate-title {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 30%, var(--gold2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gate-desc {
  font-size: 0.83rem;
  color: var(--soft);
  margin-bottom: 28px;
  font-weight: 300;
  line-height: 1.65;
}

.gate-input-wrap {
  margin-bottom: 14px;
  text-align: left;
}

.gate-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: var(--r-sm);
  color: #fff;
  font-family: var(--body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.gate-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34,211,238,.15);
}

.gate-error {
  background: rgba(248,113,113,.10);
  border: 1px solid rgba(248,113,113,.28);
  color: var(--rose);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  margin-bottom: 14px;
  display: none;
  text-align: left;
  line-height: 1.5;
}

.shake { animation: shakeAnim 0.35s ease; }
@keyframes shakeAnim {
  0%, 100% { transform: translateX(0); }
  20%,  60% { transform: translateX(-8px); }
  40%,  80% { transform: translateX(8px); }
}

.user-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(212,168,67,.14);
  border: 1px solid rgba(212,168,67,.28);
  color: var(--gold2);
}

.logout-link {
  font-size: 0.7rem;
  color: var(--rose);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
  font-family: var(--body);
  font-weight: 600;
  transition: opacity 0.15s;
}
.logout-link:hover { opacity: 0.75; text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   APP SHELL
════════════════════════════════════════════════════════════ */

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── TOPBAR ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--nav);
  background: rgba(10,11,15,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 22px;
  gap: 8px;
  flex-shrink: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
  margin-right: 12px;
}

.logo-gem {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--gold2) 0%, var(--gold) 55%, #7a4800 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 0.72rem;
  color: #000;
  box-shadow: 0 2px 14px var(--gold-glow);
  flex-shrink: 0;
}

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

.logo-name {
  font-family: var(--body);
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, var(--gold2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── DESKTOP TABS ── */
.d-tabs { display: flex; gap: 2px; }

.dtab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.77rem;
  font-weight: 400;
  color: var(--soft);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--body);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.14s ease;
}

.dtab:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.dtab.on {
  color: var(--white);
  background: rgba(255,255,255,0.07);
  font-weight: 600;
}

.dtab.roadmap {
  color: var(--emerald);
  border: 1px solid rgba(16,185,129,.2);
  background: rgba(16,185,129,.05);
}
.dtab.roadmap:hover {
  background: rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.4);
  color: #fff;
}

.pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sp { flex: 1; }

.topbar-r {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── SEARCH BTN ── */
.search-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line2);
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.14s;
}
.search-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--soft);
}
.search-btn kbd {
  font-family: var(--mono);
  font-size: 0.64rem;
  padding: 1px 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  color: var(--muted);
}

/* ── CLOCK ── */
.clock {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── BOOK BTN ── */
.btn-book {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--gold), #aa7f28);
  color: #000;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 16px var(--gold-glow);
  transition: all 0.15s;
  flex-shrink: 0;
}
.btn-book:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px var(--gold-glow);
}

/* ── HAMBURGER ── */
.hbg {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  border-radius: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  cursor: pointer;
  flex-shrink: 0;
}
.hbg span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--soft);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}
.hbg.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   SHELL & SIDEBAR
════════════════════════════════════════════════════════════ */

.shell {
  display: flex;
  flex: 1;
  min-height: calc(100vh - var(--nav));
}

.sidebar {
  width: var(--sb);
  flex-shrink: 0;
  background: var(--ink);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: var(--nav);
  height: calc(100vh - var(--nav));
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 2px; }

.sb-body {
  flex: 1;
  padding: 20px 10px 14px;
}

.sb-lbl {
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 10px;
  margin: 18px 0 6px;
}
.sb-lbl:first-child { margin-top: 0; }

/* Sidebar nav buttons */
.nb {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.81rem;
  color: var(--soft);
  text-align: left;
  transition: all 0.12s ease;
  position: relative;
  text-decoration: none;
}

.nb:hover {
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

.nb.on {
  background: linear-gradient(90deg, rgba(34,211,238,.08) 0%, rgba(34,211,238,.02) 100%);
  color: var(--cyan);
  font-weight: 600;
}

.nb.on::before {
  content: '';
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.nb.roadmap { color: var(--emerald); }
.nb.roadmap:hover { background: rgba(16,185,129,.06); color: #fff; }

.nb-ic {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
}

.nb-ct {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  padding: 1px 6px;
  border-radius: 10px;
}

.sb-bars {
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sbr-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.69rem;
  color: var(--muted);
  margin-bottom: 4px;
}
.sbr-val { font-family: var(--mono); color: var(--soft); }

.sbr-track {
  height: 3px;
  background: var(--line2);
  border-radius: 2px;
  overflow: hidden;
}
.sbr-fill { height: 100%; border-radius: 2px; }

/* ── SIDEBAR FOOTER / PROFILE ── */
.sb-foot {
  border-top: 1px solid var(--line);
  padding: 12px;
}

.pc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r);
  background: var(--card2);
  border: 1px solid var(--line2);
}

.av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #6b3d00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.65rem;
  color: #000;
  flex-shrink: 0;
}
.av-n { font-size: 0.78rem; font-weight: 600; color: var(--white); }
.av-r { font-size: 0.62rem; color: var(--emerald); margin-top: 1px; }
.av-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
  flex-shrink: 0;
  margin-left: auto;
}

/* ── MOBILE OVERLAY ── */
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.mob-overlay.show { opacity: 1; pointer-events: all; }

/* ════════════════════════════════════════════════════════════
   MAIN CONTENT
════════════════════════════════════════════════════════════ */

.main {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
  background: var(--bg);
}

/* ── PAGES ── */
.page {
  display: none;
  padding: 36px 36px 80px;
  max-width: 1240px;
  margin: 0 auto;
}
.page.on {
  display: block;
  animation: fadeUp 0.22s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ── PAGE HEADER ── */
.ph { margin-bottom: 30px; }

.crumb {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.crumb em { color: var(--soft); font-style: normal; }

.ptitle {
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.025em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pdesc {
  font-size: 0.87rem;
  color: var(--soft);
  font-weight: 300;
  line-height: 1.7;
  max-width: 580px;
}

/* ── TAGS ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid;
  vertical-align: middle;
  font-family: var(--body);
}
.tg  { background: rgba(212,168,67,.10); border-color: rgba(212,168,67,.28); color: var(--gold2); }
.tb  { background: rgba(99,102,241,.10); border-color: rgba(99,102,241,.28); color: #a5b4fc; }
.tt  { background: rgba(34,211,238,.10); border-color: rgba(34,211,238,.28); color: var(--cyan2); }
.tr  { background: rgba(248,113,113,.10); border-color: rgba(248,113,113,.28); color: var(--rose); }
.tv  { background: rgba(155,109,255,.10); border-color: rgba(155,109,255,.28); color: var(--violet2); }
.tgn { background: rgba(16,185,129,.10); border-color: rgba(16,185,129,.28); color: var(--emerald); }
.ta  { background: rgba(251,191,36,.10); border-color: rgba(251,191,36,.28); color: var(--amber); }

/* ════════════════════════════════════════════════════════════
   WELCOME BANNER
════════════════════════════════════════════════════════════ */

.banner {
  border: 1px solid var(--line2);
  border-radius: var(--r);
  background: linear-gradient(135deg, #141523 0%, #12131b 100%);
  padding: 32px 36px;
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.4), transparent);
}
.banner::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,109,255,.08), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.63rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ey-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.b-title {
  font-weight: 800;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  margin-bottom: 8px;
  line-height: 1.2;
  letter-spacing: -0.022em;
  background: linear-gradient(135deg, var(--white) 50%, var(--cyan2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.b-desc {
  font-size: 0.87rem;
  color: var(--soft);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--r-sm);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-g {
  background: linear-gradient(135deg, var(--cyan), #0891b2);
  color: #000;
  box-shadow: 0 2px 16px rgba(34,211,238,.3);
}
.btn-g:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(34,211,238,.4);
}

.btn-gh {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line2);
  color: var(--white);
}
.btn-gh:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.24);
}

.btn-gn {
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.28);
  color: var(--emerald);
}
.btn-gn:hover { background: rgba(16,185,129,.2); color: #fff; border-color: rgba(16,185,129,.5); }

.btn-sm { padding: 8px 18px; font-size: 0.79rem; }

/* ════════════════════════════════════════════════════════════
   FEATURE BOX
════════════════════════════════════════════════════════════ */

.fbox {
  border-radius: var(--r);
  padding: 26px 30px;
  margin-bottom: 28px;
  border: 1px solid;
  position: relative;
  overflow: hidden;
}
.fbox::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
}

.fbox-in { display: flex; align-items: flex-start; gap: 28px; justify-content: space-between; flex-wrap: wrap; }
.fbox-bd { flex: 1; min-width: 200px; }
.fbox-bd h3 { font-weight: 700; font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.fbox-bd p { font-size: 0.84rem; color: var(--soft); font-weight: 300; line-height: 1.65; margin-bottom: 14px; }

.flbl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 5px;
}

/* Feature box colour variants */
.fg  { background: rgba(34,211,238,.05);  border-color: rgba(34,211,238,.18); }
.fg::before { background: linear-gradient(90deg, var(--cyan), transparent); }
.fg .flbl.g { background: rgba(34,211,238,.12); color: var(--cyan2); }

.fb  { background: rgba(99,102,241,.05);  border-color: rgba(99,102,241,.18); }
.fb::before { background: linear-gradient(90deg, var(--blue), transparent); }
.fb .flbl.b { background: rgba(99,102,241,.12); color: #a5b4fc; }

.fa  { background: rgba(251,191,36,.04);  border-color: rgba(251,191,36,.15); }
.fa::before { background: linear-gradient(90deg, var(--amber), transparent); }
.fa .flbl.a { background: rgba(251,191,36,.12); color: var(--amber); }

.fr  { background: rgba(248,113,113,.04); border-color: rgba(248,113,113,.15); }
.fr::before { background: linear-gradient(90deg, var(--rose), transparent); }
.fr .flbl.r { background: rgba(248,113,113,.12); color: var(--rose); }

.ft  { background: rgba(34,211,238,.04);  border-color: rgba(34,211,238,.15); }
.ft::before { background: linear-gradient(90deg, var(--cyan), transparent); }
.ft .flbl.t { background: rgba(34,211,238,.12); color: var(--cyan2); }

/* ── TAGS inside fbox ── */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ════════════════════════════════════════════════════════════
   STATS ROW
════════════════════════════════════════════════════════════ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 20px;
  cursor: pointer;
  transition: all 0.14s;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line2);
  transition: background 0.14s;
}
.stat:hover {
  border-color: var(--line2);
  background: var(--card2);
  transform: translateY(-2px);
}
.stat:hover::before { background: linear-gradient(90deg, var(--cyan), transparent); }

.stat-n {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-l {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.stat-s {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--muted);
}

/* ════════════════════════════════════════════════════════════
   SECTION HEADERS
════════════════════════════════════════════════════════════ */

.sh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  margin-top: 8px;
}
.sh-t {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.sh-l {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.sh-c {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════
   RESOURCE CARDS
════════════════════════════════════════════════════════════ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.rc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
  transition: all 0.14s;
  position: relative;
  overflow: hidden;
}
.rc::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.14s, box-shadow 0.14s;
}
.rc:hover {
  background: var(--card2);
  border-color: rgba(34,211,238,.22);
  transform: translateX(2px);
}
.rc:hover::before {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.rc.static {
  cursor: default;
}
.rc.static:hover { transform: none; }
.rc.static:hover::before { background: transparent; box-shadow: none; }
.rc.static:hover { border-color: var(--line); background: var(--card); }

.rc-ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--card2);
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.rc-b { flex: 1; min-width: 0; }
.rc-n {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.rc-t {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
}

.rc-ar {
  font-size: 0.85rem;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.14s;
}
.rc:hover .rc-ar { color: var(--cyan); transform: translateX(2px); }

/* ════════════════════════════════════════════════════════════
   VIDEO EMBED
════════════════════════════════════════════════════════════ */

.vid {
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background: #000;
  position: relative;
}
.vid iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
}
.vid-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════
   DASHBOARD 2-COL LAYOUT
════════════════════════════════════════════════════════════ */

.d2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.dp {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
}
.dp-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Activity rows */
.arow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.arow:last-child { border-bottom: none; }
.adot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.atxt { flex: 1; font-size: 0.79rem; color: var(--soft); }
.atm  { font-family: var(--mono); font-size: 0.63rem; color: var(--muted); white-space: nowrap; }

/* Quick links */
.qlinks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ql {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: none;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--soft);
  font-size: 0.8rem;
  transition: all 0.12s;
}
.ql:hover {
  background: rgba(34,211,238,.05);
  border-color: rgba(34,211,238,.14);
  color: var(--cyan2);
}
.qi { font-size: 0.9rem; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   BONUS CARDS (BGRID)
════════════════════════════════════════════════════════════ */

.bgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.bc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.14s, background 0.14s;
}
.bc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line2);
  transition: background 0.14s;
}
.bc:hover { border-color: rgba(212,168,67,.28); background: var(--card2); }
.bc:hover::before { background: linear-gradient(90deg, var(--gold), transparent); }

.bc-ic {
  font-size: 1.7rem;
  margin-bottom: 2px;
}
.bc h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.bc sml {
  font-size: 0.78rem;
  color: var(--soft);
  line-height: 1.6;
  display: block;
}
.bc-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.bc-btn-dl {
  padding: 7px 13px;
  border-radius: var(--r-xs);
  background: rgba(212,168,67,.12);
  border: 1px solid rgba(212,168,67,.28);
  color: var(--gold2);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.14s;
  cursor: pointer;
  font-family: var(--body);
}
.bc-btn-dl:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.bc-lk {
  padding: 7px 13px;
  border-radius: var(--r-xs);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line2);
  color: var(--soft);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.14s;
}
.bc-lk:hover { background: rgba(255,255,255,.1); color: var(--white); }

/* ════════════════════════════════════════════════════════════
   CTA STRIP
════════════════════════════════════════════════════════════ */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, var(--card2) 0%, var(--card) 100%);
  border: 1px solid rgba(34,211,238,.16);
  border-radius: var(--r);
  padding: 22px 28px;
  margin-top: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.cta h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.cta p { font-size: 0.79rem; color: var(--soft); font-weight: 300; }

/* ════════════════════════════════════════════════════════════
   TAGLINE
════════════════════════════════════════════════════════════ */

.tagline {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 28px 0 10px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

/* ════════════════════════════════════════════════════════════
   SEARCH MODAL
════════════════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px;
}
.modal-overlay.show { display: flex; }

.modal-card {
  width: 100%;
  max-width: 600px;
  background: var(--ink);
  border: 1px solid var(--line2);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.9), 0 0 40px var(--cyan-glow);
  animation: modalDrop 0.18s cubic-bezier(0.16,1,0.3,1);
}
@keyframes modalDrop {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.modal-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--body);
  font-size: 0.92rem;
}
.modal-input::placeholder { color: var(--muted); }
.modal-close {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line2);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 3px 8px;
  transition: all 0.12s;
}
.modal-close:hover { color: var(--white); background: rgba(255,255,255,.12); }

.modal-results {
  max-height: 460px;
  overflow-y: auto;
  padding: 8px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--soft);
  transition: all 0.12s;
  cursor: pointer;
}
.search-item:hover {
  background: rgba(34,211,238,.06);
  color: var(--white);
}
.search-item-cat {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════
   TOAST
════════════════════════════════════════════════════════════ */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 2000;
  background: var(--card2);
  border: 1px solid rgba(34,211,238,.3);
  color: var(--white);
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-size: 0.83rem;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,.7), 0 0 20px var(--cyan-glow);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.24s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
════════════════════════════════════════════════════════════ */

.mobnav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 400;
  background: rgba(10,11,15,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}

.mobnav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mnb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.12s;
}
.mnb.on { color: var(--cyan); }
.mnb.roadmap { color: var(--emerald); }
.mnb-ic { font-size: 1.15rem; }
.mnb-lbl { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.03em; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE / MOBILE
════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .d-tabs { display: none; }
  .topbar-r .clock { display: none; }
}

@media (max-width: 768px) {
  .hbg { display: flex; }
  .mob-overlay { display: block; }
  .mobnav { display: block; }

  .sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 500;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
    height: 100vh;
    top: 0;
  }
  .sidebar.open { transform: translateX(0); }

  .shell { flex-direction: column; }
  .page { padding: 22px 18px 80px; }
  .d2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .banner { padding: 22px 20px; }

  .btn-book { display: none; }
  .search-btn span:first-child { display: none; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bgrid { grid-template-columns: 1fr; }
  .d-tabs { display: none; }
}

/* ════════════════════════════════════════════════════════════
   BOOKING MODAL & CALENDAR TIME SLOT PICKER
════════════════════════════════════════════════════════════ */

.booking-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(4, 4, 8, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.booking-modal-overlay.show {
  display: flex;
}

.booking-modal-card {
  width: 100%;
  max-width: 600px;
  background: #0f1019;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--r);
  padding: 32px 30px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 50px rgba(201, 168, 76, 0.12);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: bookingPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bookingPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.booking-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--soft);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.12s;
}

.booking-modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(201, 168, 76, 0.14);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold2);
  margin-bottom: 10px;
}

.booking-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.booking-sub {
  font-size: 0.8rem;
  color: var(--soft);
  margin-bottom: 22px;
  line-height: 1.5;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 580px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.booking-group {
  margin-bottom: 14px;
  text-align: left;
}

.booking-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #c5c5dc;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-input, .booking-select, .booking-textarea {
  width: 100%;
  padding: 10px 14px;
  background: #151622;
  border: 1px solid var(--line2);
  border-radius: var(--r-sm);
  color: #fff;
  font-family: var(--body);
  font-size: 0.86rem;
  outline: none;
  transition: all 0.14s;
}

.booking-input:focus, .booking-select:focus, .booking-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

.slot-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.slot-btn {
  padding: 8px 6px;
  background: #181926;
  border: 1px solid var(--line2);
  border-radius: 6px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--mono);
  cursor: pointer;
  text-align: center;
  transition: all 0.12s;
}

.slot-btn:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  color: #fff;
}

.slot-btn.active {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.25), rgba(201, 168, 76, 0.1));
  border-color: var(--gold2);
  color: var(--gold2);
  font-weight: 700;
}

.booking-confirm-box {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--r-sm);
  padding: 24px 20px;
  text-align: center;
}

.booking-confirm-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

