/* ── Design Tokens ── */
  :root {
    /* Dark base */
    --bg:          #12101a;
    --bg2:         #1a1726;
    --bg3:         #221f32;
    --surface:     #2a2740;
    --surface2:    #332f4a;

    /* Purple accent (matching inner-page CSS: purple, #CBC3E3) */
    --purple:      purple;
    --purple2:     rgb(223, 95, 223);
    --purple-dim:  rgb(231, 187, 231);
    --purple-border: rgb(118, 85, 118);

    /* Warm orange accent (from style3.css: #fed5a4, #e98307) */
    --orange:      #e98307;
    --orange2:     #fed5a4;

    /* Text */
    --text:        #f0eeff;
    --text2:       #b8b0d8;
    --text3:       #7a7098;

    /* Borders */
    --border:      rgba(203,195,227,0.18);
    --border2:     rgba(203,195,227,0.08);

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;
    --font-deva:    'Noto Sans', sans-serif;

    --r:  6px;
    --r2: 14px;
  }

  /* ── Reset ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { font-size: 16px; scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; }

  /* Subtle noise texture overlay */
  body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
  }
  main, nav, footer, section { position: relative; z-index: 1; }

  /* ── NAV ── */
  .nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(18,16,26,0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border2);
    padding: 0 clamp(1rem, 5vw, 3rem);
    height: 62px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo {
    display: flex; align-items: center; gap: 10px;
  }
  /* Logo image — swap the circle mark */
  .nav-logo-img {
    height: 34px;
    width: auto;
    display: block;
  }
  /* Fallback mark if image fails to load */
  .nav-logo-fallback {
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--purple), var(--orange));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-deva);
    font-size: 17px;
    color: #fff;
    font-weight: 500;
    flex-shrink: 0;
  }
  .nav-logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
  }
  .nav-logo-deva {
    font-family: var(--font-deva);
    font-size: 20px;
    color: var(--text);
    font-weight: 300;
    margin-top: -3px;
    display: block;
  }
  .nav-links {
    display: flex; gap: 2rem; align-items: center;
    list-style: none;
  }
  .nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--text2);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--purple2); }
  .nav-games-btn {
    background: linear-gradient(135deg, var(--purple), #6d28d9);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    transition: opacity 0.2s !important;
  }
  .nav-games-btn:hover { opacity: 0.85; color: #fff !important; }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
  .hamburger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: 0.3s; }
  .mobile-menu {
    display: none;
    position: fixed; top: 62px; left: 0; right: 0; z-index: 99;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem clamp(1rem,5vw,3rem);
    flex-direction: column; gap: 1rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-size: 15px; color: var(--text2); font-weight: 400;
    padding: 0.5rem 0; border-bottom: 1px solid var(--border2);
    transition: color 0.2s;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--purple2); }

  /* ── SECTION LABELS (shared) ── */
  .section-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--purple2);
    font-weight: 500;
    margin-bottom: 0.5rem;
  }
  .section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2.5rem;
    line-height: 1.15;
  }

  /* ── PILLARS (first content after nav) ── */
  .pillars {
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 3rem) clamp(2rem, 4vw, 4rem);
  }
  .pillars-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
    margin-bottom: 2.5rem;
  }
  .pillars-header-left {}
  .pillars-desc {
    font-size: 14px;
    color: var(--text3);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    align-self: flex-end;
  }

  /* 2-row × 3-col grid */
  .pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    overflow: hidden;
  }
  .pillar {
    background: var(--bg2);
    padding: 2.2rem 1.8rem 2rem;
    transition: background 0.25s;
    display: flex; flex-direction: column;
    cursor: pointer;
  }
  .pillar:hover { background: var(--bg3); }

  /* Hover gradient bar at top — white-to-purple, matching style3.css hover pattern */
  .pillar::before {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--purple), var(--purple2));
    margin: -2.2rem -1.8rem 1.8rem;
    transition: width 0.3s ease;
  }
  .pillar:hover::before { width: calc(100% + 3.6rem); }

  .pillar-icon {
    font-size: 28px;
    margin-bottom: 1rem;
    line-height: 1;
  }
  .pillar-tag {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 0.9rem;
  }
  .tag-purple  { background: rgba(15, 1, 14, 0.12); color: var(--purple2); border: 1px solid var(--purple); }
  .tag-orange  { background: rgba(233,131,7,0.12); color: var(--orange); border: 1px solid rgba(233,131,7,0.25); }
  .tag-teal    { background: rgba(26,110,110,0.15); color: #5dbcbc; border: 1px solid rgba(26,110,110,0.25); }

  .pillar-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.3rem;
    line-height: 1.15;
  }
  .pillar-deva {
    font-family: var(--font-deva);
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 0.03em;
  }
  .pillar-desc {
    font-size: 13.5px;
    color: var(--text2);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.4rem;
  }
  .pillar-links {
    display: flex; flex-direction: column; gap: 5px;
    margin-bottom: 1.4rem;
  }
  .pillar-link {
    font-size: 14px;
    color: whitesmoke;
    display: flex; align-items: center; gap: 6px;
    transition: color 0.15s;
    padding: 2px 0;
  }
  .pillar-link::before {
    content: '→';
    font-size: 11px;
    color: var(--purple);
    transition: transform 0.15s;
    flex-shrink: 0;
  }
  .pillar:hover .pillar-link { color: var(--text2); }
  .pillar-link:hover { color: white !important; }
  .pillar-link:hover::before { transform: translateX(3px); }
  .pillar-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--purple2);
    border-bottom: 1px solid rgba(167,139,250,0.3);
    padding-bottom: 1px;
    transition: gap 0.2s, border-color 0.2s;
    margin-top: auto;
    align-self: flex-start;
  }
  .pillar:hover .pillar-cta { gap: 10px; border-color: var(--purple2); }

  /* ── TOOLS STRIP ── */
  .tools-strip {
    background: var(--surface);
    border-top: 1px solid var(--border2);
    border-bottom: 1px solid var(--border2);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 5vw, 3rem);
  }
  .tools-inner { max-width: 1140px; margin: 0 auto; }
  .tools-strip .section-label { color: var(--orange); }
  .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
  }
  .tool-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border2);
    border-radius: var(--r);
    padding: 1.1rem 1.3rem;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    display: block;
  }
  .tool-card:hover {
    background: rgba(139,92,246,0.08);
    border-color: rgba(139,92,246,0.35);
    transform: translateY(-2px);
  }
  .tool-card-icon { font-size: 20px; margin-bottom: 0.6rem; }
  .tool-card-title { font-size: 13.5px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
  .tool-card-desc { font-size: 11.5px; color: var(--text3); font-weight: 300; line-height: 1.5; }

  /* ── FEATURED ── */
  .featured {
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 5vw, 3rem);
  }
  .featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
  }
  .feature-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    padding: 2.5rem;
    display: flex; flex-direction: column;
  }
  .feature-tag {
    font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.12em; font-weight: 500;
    margin-bottom: 1rem;
  }
  .ft-orange { color: var(--orange); }
  .ft-teal   { color: #5dbcbc; }
  .ft-purple { color: var(--purple2); }
  .feature-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }
  .feature-desc {
    font-size: 13.5px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
  }
  .feature-links {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 1.5rem;
  }
  .feature-link {
    font-size: 14px; color: var(--text);
    display: flex; align-items: center; gap: 6px;
    transition: color 0.15s;
  }
  .feature-link::before { content: '→'; color: var(--purple); font-size: 11px; }
  .feature-link:hover { color: var(--purple2); }
  .feature-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500;
    color: var(--purple2);
    border-bottom: 1px solid rgba(167,139,250,0.3);
    padding-bottom: 1px; align-self: flex-start;
    transition: gap 0.2s;
  }
  .feature-cta:hover { gap: 10px; }

  .sidebar-cards { display: flex; flex-direction: column; gap: 1rem; }
  .side-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.4rem 1.6rem;
    display: block;
    transition: background 0.2s, border-color 0.2s;
    flex: 1;
  }
  .side-card:hover { background: var(--bg3); border-color: rgba(139,92,246,0.3); }
  .side-card-tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; margin-bottom: 0.5rem; }
  .side-card-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; line-height: 1.25; }
  .side-card-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }

  /* ── GAMES ── */
  .games {
    background: var(--bg2);
    border-top: 1px solid var(--border2);
  }
  .games-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 5vw, 3rem);
  }
  .games .section-label { color: var(--orange); }
  .games-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .game-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 13px;
    color: var(--text2);
    font-weight: 400;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .game-chip:hover {
    background: var(--purple-dim);
    border-color: rgba(139,92,246,0.4);
    color: var(--purple2);
  }
  .game-chip-icon { font-size: 15px; }

  /* ── MARATHI + HINDI BAR ── */
  .lang-bar {
    max-width: 1140px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 5vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .lang-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--r2);
    padding: 2rem;
    display: flex; gap: 1.5rem; align-items: flex-start;
    transition: border-color 0.2s, background 0.2s;
  }
  .lang-card:hover { background: var(--bg3); border-color: rgba(139,92,246,0.35); }
  .lang-glyph {
    font-family: var(--font-deva);
    font-size: 42px;
    font-weight: 500;
    line-height: 1;
    color: var(--purple2);
    opacity: 0.6;
    flex-shrink: 0;
    width: 52px;
    text-align: center;
  }
  .lang-title { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 5px; }
  .lang-desc { font-size: 13px; color: var(--text2); line-height: 1.55; margin-bottom: 1rem; }
  .lang-links { display: flex; flex-direction: column; gap: 5px; }
  .lang-link { font-size: 12px; color: var(--text3); transition: color 0.15s; }
  .lang-link:hover { color: var(--purple2); }

  /* ── FOOTER ── */
  .footer {
    background: var(--bg);
    border-top: 1px solid var(--border2);
    color: var(--text3);
    padding: clamp(2.5rem,5vw,4rem) clamp(1rem,5vw,3rem) 2rem;
  }
  .footer-inner {
    max-width: 1140px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  }
  .footer-logo {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
  }
  .footer-tagline { font-size: 13px; line-height: 1.6; max-width: 260px; color: var(--text2); }
  .footer-col-title {
    font-size: 14px; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--text1);
    font-weight: 500; margin-bottom: 1rem;
    opacity: 0.6;
  }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .footer-links a { font-size: 13px; color: var(--text2); transition: color 0.15s; }
  .footer-links a:hover { color: var(--purple2); }
  .footer-bottom {
    max-width: 1140px; margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border2);
    font-size: 12px; color: var(--text3);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
    opacity: 0.6;
  }

  /* ── Animations ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .pillar {
    animation: fadeUp 0.55s ease both;
  }
  .pillar:nth-child(1) { animation-delay: 0.05s; }
  .pillar:nth-child(2) { animation-delay: 0.12s; }
  .pillar:nth-child(3) { animation-delay: 0.19s; }
  .pillar:nth-child(4) { animation-delay: 0.26s; }
  .pillar:nth-child(5) { animation-delay: 0.33s; }
  .pillar:nth-child(6) { animation-delay: 0.40s; }

  /* ── Responsive ── */
  @media (max-width: 960px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .pillar-grid { grid-template-columns: 1fr 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 620px) {
    .pillar-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .games-grid { gap: 8px; }
    .lang-bar { grid-template-columns: 1fr; }
  }

/* ── Glossary Specifics ── */

.glossary-header {
    padding: 80px 20px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.glossary-subtitle {
    font-size: 16px;
    color: var(--text2);
    margin-bottom: 30px;
}

.search-container {
    max-width: 500px;
    margin: 0 auto;
}

.vachmi-input {
    width: 100%;
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 14px 24px;
    border-radius: 30px;
    color: var(--text);
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}

.vachmi-input:focus {
    border-color: var(--purple);
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 40px clamp(1rem, 5vw, 3rem);
    max-width: 1200px;
    margin: 0 auto;
}

.asana-card {
    background: var(--bg2);
    padding: 30px;
    border-radius: var(--r2);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s;
}

.asana-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-border);
    background: var(--bg3);
}

.devanagari-text {
    font-family: var(--font-deva);
    font-size: 1.8rem;
    color: var(--purple2);
    margin-bottom: 8px;
}

.transliteration {
    font-size: 0.85rem;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.meaning {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--orange2);
    margin: 12px 0;
}

.breakdown-box {
    font-size: 0.9rem;
    color: var(--text2);
    background: var(--surface);
    padding: 12px;
    border-radius: var(--r);
    border-left: 3px solid var(--purple);
    margin-bottom: 15px;
}

.tag-pill {
    align-self: flex-start;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

/* ── Marathi Index Specifics ── */

.index-card {
    min-height: 320px;
    justify-content: flex-start;
    text-decoration: none !important; /* Ensure links don't get default underlines */
}

.index-card-header {
        padding: 1.4rem 1.5rem 1.1rem;
        border-bottom: 1px solid var(--b1);
}

.index-card-links {
        padding: 0.4rem 0;
        flex: 1;
}

.marathi-subtitle {
    font-family: var(--font-deva); /* Using Noto Sans */
    font-size: 18px;
    color: var(--purple2); /* Using existing purple accent */
    margin-bottom: 1rem;
    opacity: 0.8;
}

.sanskrit-subtitle {
    font-family: var(--font-deva); /* Using Noto Sans */
    font-size: 18px;
    color: var(--purple2); /* Using existing purple accent */
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Ensure the grid is responsive for the index layout */
.pillars .pillar-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.topic-link {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      padding: 0.55rem 1.5rem;
      font-size: 15px;
      color: var(--t2);
      border-bottom: 1px solid var(--b2);
      transition: background 0.15s, color 0.15s;
      line-height: 1.45;
}

.topic-link:last-child { border-bottom: none; }

.topic-link::before {
      content: '→';
      font-size: 11px;
      color: var(--gold3, #c89440);
      flex-shrink: 0;
      margin-top: 2px;
      transition: transform 0.15s, color 0.15s;
}

.topic-link:hover {
      background: var(--bg3);
      color: var(--white, #fff);
}

.topic-link:hover::before {
      transform: translateX(3px);
      color: var(--gold, #e8b96a);
}


/* ════════════════════════════════════════════════════
   VACHMI BUTTON SYSTEM
   Usage:
     Primary    — <button class="v-btn">Label</button>
     Secondary  — <button class="v-btn v-btn--secondary">Label</button>
     Ghost      — <button class="v-btn v-btn--ghost">Label</button>
     Ghost Pur  — <button class="v-btn v-btn--ghost-purple">Label</button>
     Subtle     — <button class="v-btn v-btn--subtle">Label</button>
     Success    — <button class="v-btn v-btn--success">Label</button>
     Danger     — <button class="v-btn v-btn--danger">Label</button>
     Teal       — <button class="v-btn v-btn--teal">Label</button>
     Small      — add v-btn--sm
     Large      — add v-btn--lg
     Full width — add v-btn--full
     Disabled   — add attribute disabled
 
   Works on <button>, <input type="button">, <a>
   .button (legacy) is aliased to the same base style.
   ════════════════════════════════════════════════════ */
 
.v-btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 22px;
  font-family: 'DM Sans', 'Outfit', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: 24px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.12s ease,
    box-shadow 0.2s ease;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  background: linear-gradient(135deg, var(--gold3, #c89440), var(--gold, #e8b96a));
  color: #1a0e00;
  box-shadow: 0 2px 8px rgba(232,185,106,0.20);
}
 
.v-btn:hover,
.button:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232,185,106,0.28);
  color: #1a0e00;
  text-decoration: none;
}
 
.v-btn:active,
.button:active {
  transform: translateY(0);
  box-shadow: none;
}
 
.v-btn:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--gold, #e8b96a);
  outline-offset: 3px;
}
 
.v-btn:disabled,
.v-btn--disabled,
.button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
 
/* Secondary — purple */
.v-btn--secondary {
  background: linear-gradient(135deg, var(--purple, purple), var(--purple2, purple));
  color: #fff;
  box-shadow: 0 2px 8px rgba(124,92,191,0.22);
}
.v-btn--secondary:hover { color: #fff; box-shadow: 0 6px 18px rgba(124,92,191,0.32); }
 
/* Ghost gold */
.v-btn--ghost {
  background: transparent;
  border-color: var(--gold-border, rgba(232,185,106,0.35));
  color: var(--gold, #e8b96a);
  box-shadow: none;
}
.v-btn--ghost:hover {
  background: var(--gold-dim, rgba(232,185,106,0.10));
  border-color: var(--gold, #e8b96a);
  color: var(--gold2, #f5d497);
  box-shadow: none;
  opacity: 1;
}
 
/* Ghost purple */
.v-btn--ghost-purple {
  background: transparent;
  border-color: var(--purple-line, rgba(124,92,191,0.30));
  color: var(--purple2, #9d7fe0);
  box-shadow: none;
}
.v-btn--ghost-purple:hover {
  background: var(--purple-dim, rgba(124,92,191,0.12));
  border-color: var(--purple2, #9d7fe0);
  color: #fff;
  box-shadow: none;
  opacity: 1;
}
 
/* Subtle dark surface */
.v-btn--subtle {
  background: var(--bg3, #1a1828);
  border-color: var(--b1, rgba(255,255,255,0.08));
  color: var(--t1, #f2f0ff);
  box-shadow: none;
}
.v-btn--subtle:hover {
  background: var(--bg4, #201e30);
  border-color: var(--gold-border, rgba(232,185,106,0.25));
  color: var(--gold2, #f5d497);
  box-shadow: none;
  opacity: 1;
}
 
/* Success green */
.v-btn--success {
  background: linear-gradient(135deg, #22863a, #2ea04b);
  color: #fff;
  box-shadow: 0 2px 8px rgba(46,160,75,0.22);
}
.v-btn--success:hover { color: #fff; box-shadow: 0 6px 18px rgba(46,160,75,0.30); }
 
/* Danger red */
.v-btn--danger {
  background: linear-gradient(135deg, #b91c1c, #dc2626);
  color: #fff;
  box-shadow: 0 2px 8px rgba(220,38,38,0.22);
}
.v-btn--danger:hover { color: #fff; box-shadow: 0 6px 18px rgba(220,38,38,0.30); }
 
/* Teal */
.v-btn--teal {
  background: linear-gradient(135deg, #0e7a8a, #12a0b8);
  color: #fff;
  box-shadow: 0 2px 8px rgba(18,160,184,0.22);
}
.v-btn--teal:hover { color: #fff; box-shadow: 0 6px 18px rgba(18,160,184,0.30); }
 
/* Sizes */
.v-btn--sm { padding: 6px 14px; font-size: 12px; border-radius: 20px; }
.v-btn--lg { padding: 13px 32px; font-size: 15px; border-radius: 28px; letter-spacing: 0.04em; }
 
/* Full width */
.v-btn--full { width: 100%; display: flex; }
 
/* Mobile tap targets */
@media (max-width: 768px) {
  .v-btn, .button { padding: 11px 20px; font-size: 14px; }
  .v-btn--sm { padding: 8px 14px; font-size: 12.5px; }
}

/* ── Leaderboard Grid Layout ── */
#leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

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

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

/* ── Card ── */
.leaderboard-table {
  background: #1a1025;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.12);
}

/* ── Table ── */
.leaderboard-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

/* ── Title row (colspan td = table caption) ── */
.leaderboard-table tr:first-child td[colspan] {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 11px 14px;
  letter-spacing: 0.04em;
  border: none;
}

/* ── Header row ── */
.leaderboard-table thead tr {
  background: linear-gradient(135deg, var(--purple), var(--purple2));
}

.leaderboard-table thead th {
  color: #fff;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border: none;
  letter-spacing: 0.03em;
  font-size: 13px;
}

/* ── Body rows ── */
.leaderboard-table tbody tr {
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
  transition: background 0.15s;
}

.leaderboard-table tbody tr:last-child { border-bottom: none; }

.leaderboard-table tbody tr:nth-child(odd)  { background: rgba(124, 58, 237, 0.06); }
.leaderboard-table tbody tr:nth-child(even) { background: rgba(124, 58, 237, 0.02); }
.leaderboard-table tbody tr:hover           { background: rgba(249, 115, 22, 0.1); }

/* ── Body cells ── */
.leaderboard-table tbody td {
  padding: 9px 14px;
  color: #d4c8f0;
  border: none;
  vertical-align: middle;
}

/* ── Rank column ── */
.leaderboard-table tbody td:first-child {
  color: var(--purple-dim);
  font-weight: 700;
  font-size: 13px;
  width: 32px;
  text-align: center;
}

