*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    /* ─── SKIP LINK (ACCESSIBILITY) ──────────────────── */
    .skip-link {
      position: absolute;
      top: -100px;
      left: 0;
      background: var(--gold);
      color: var(--bg);
      padding: 0.8rem 1.5rem;
      text-decoration: none;
      font-weight: 600;
      z-index: 10000;
      border-radius: 0 0 var(--radius) 0;
    }

    .skip-link:focus {
      top: 0;
      outline: 3px solid var(--gold-lt);
      outline-offset: 2px;
    }

    /* ─── IMPROVED FOCUS INDICATORS ──────────────────── */
    a:focus-visible,
    button:focus-visible,
    summary:focus-visible {
      outline: 2px solid var(--gold-lt);
      outline-offset: 2px;
      border-radius: 2px;
    }

    :root {
      --bg:        #0b0d18;
      --bg2:       #10121f;
      --bg3:       #161929;
      --gold:      #c9933a;
      --gold-lt:   #e8b86d;
      --gold-glow: rgba(201,147,58,.18);
      --cream:     #f0e6d3;
      --muted:     #7a7f9a;
      --border:    rgba(201,147,58,.18);
      --white:     #ffffff;
      --nav-bg:    rgba(11,13,24,.85);
      --serif:     'Playfair Display', Georgia, serif;
      --sans:      'DM Sans', system-ui, sans-serif;
      --radius:    12px;
    }

    :root.light {
      --bg:        #f5f0e8;
      --bg2:       #ede7d9;
      --bg3:       #e4dccb;
      --gold:      #a86e1a;
      --gold-lt:   #c9851e;
      --gold-glow: rgba(168,110,26,.12);
      --cream:     #2a2010;
      --muted:     #7a6a50;
      --border:    rgba(168,110,26,.22);
      --white:     #1a1208;
      --nav-bg:    rgba(245,240,232,.88);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--sans);
      background: var(--bg);
      color: var(--cream);
      overflow-x: hidden;
      line-height: 1.65;
    }

    /* ─── NAV ─────────────────────────────────────────── */
    nav {
      position: relative; 
      padding: 0 clamp(1.5rem, 6vw, 5rem);
      height: 64px;
      background: var(--nav-bg);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      z-index: 1000;
    }

    .nav-inner {
      display: flex; 
      align-items: center; 
      justify-content: space-between;
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      height: 100%;
    }
	
    .nav-brand {
      font-family: var(--serif);
      font-size: 1.4rem;
      font-weight: 900;
      color: var(--gold-lt);
      text-decoration: none;
      letter-spacing: .02em;
    }

    .nav-links {
      display: flex; gap: 0; list-style: none;
    }

    .nav-links a {
      display: block;
      padding: .4rem .9rem;
      color: var(--muted);
      text-decoration: none;
      font-size: .85rem;
      font-weight: 500;
      letter-spacing: .04em;
      text-transform: uppercase;
      transition: color .2s;
    }

    .nav-links a:hover { color: var(--cream); }

    .nav-social {
      display: flex; gap: .2rem; list-style: none;
    }

    .nav-social a {
      display: flex; align-items: center; justify-content: center;
      width: 38px; height: 38px;
      color: var(--muted);
      font-size: 1.1rem;
      border-radius: 50%;
      transition: color .2s, background .2s;
    }

    .nav-social a:hover { color: var(--gold-lt); background: var(--gold-glow); }

    .hamburger {
      display: none;
      flex-direction: column; 
      gap: 4px; 
      cursor: pointer;
      background: none; 
      border: none; 
      padding: .5rem;
      z-index: 1001;
    }

    .hamburger span {
      display: block; 
      width: 22px; 
      height: 2px;
      background: var(--cream); 
      border-radius: 2px;
      transition: all .4s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translateY(6px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translateY(-6px);
    }

    /* ─── MOBILE NAV ──────────────────────────────────── */
    @media (max-width: 650px) {
      .hamburger { display: flex; z-index: 1001; position: relative; }
      .nav-inner { position: relative; }
      .nav-menu {
        display: none; flex-direction: column;
        position: fixed; 
        top: 64px; 
        left: 0; 
        right: 0;
        background: var(--bg2);
        border-bottom: 1px solid var(--border);
        padding: 1rem clamp(1.5rem, 6vw, 5rem);
        z-index: 1000;
        pointer-events: auto;
      }
      .nav-menu.open { display: flex; }
      .nav-links { flex-direction: column; }
      .nav-links a { font-size: .9rem; padding: .6rem .5rem; }
      .nav-social { margin-top: .5rem; }
    }

    @media (min-width: 651px) {
      .nav-menu { display: flex !important; align-items: center; gap: 1.5rem; }
    }

    /* ─── HERO ────────────────────────────────────────── */
	.hero {
	/* Remove min-height and flex alignment */
	  padding: 100px clamp(1.5rem, 6vw, 5rem) 60px; 
	  text-align: center;
	  position: relative;
	  overflow: hidden;
    }

    /* grid pattern overlay */
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(201,147,58,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,147,58,.06) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    }

    /* ambient glow */
    .hero::after {
      content: '';
      position: absolute;
      width: 700px; height: 700px;
      top: -100px; right: -200px;
      background: radial-gradient(circle, rgba(201,147,58,.12) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      position: relative; z-index: 1;
    }

    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: .6rem;
      font-size: .75rem; font-weight: 500; letter-spacing: .14em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 1.2rem;
    }

    .hero-eyebrow::before {
      content: '';
      display: block; width: 28px; height: 1px;
      background: var(--gold);
    }

    .hero-eyebrow a {
      color: var(--gold);
      text-decoration: none;
      transition: color .2s;
    }

    .hero-eyebrow a:hover {
      color: var(--gold-lt);
      text-decoration: underline;
    }

    h1 {
      font-family: var(--serif);
      font-size: clamp(3rem, 7vw, 5.5rem);
      font-weight: 900;
      line-height: 1.05;
      color: var(--white);
      margin-bottom: 1.5rem;
    }

    h1 em {
      font-style: italic;
      color: var(--gold-lt);
    }

    .hero-sub {
      font-size: 1.1rem;
      color: var(--muted);
      max-width: 600px;
      margin-bottom: 2.5rem;
      font-weight: 300;
    }

	.btn-group {
	  display: flex; 
	  flex-wrap: wrap; 
	  gap: 1rem;
	  justify-content: center; 
	}

    .btn {
      display: inline-flex; align-items: center; gap: .55rem;
      padding: .8rem 1.6rem;
      font-family: var(--sans);
      font-size: .9rem; font-weight: 500;
      border-radius: var(--radius);
      text-decoration: none;
      cursor: pointer;
      transition: transform .18s, box-shadow .18s, background .2s;
    }

    .btn-primary {
      background: var(--gold);
      color: #0b0d18;
      box-shadow: 0 0 0 0 var(--gold-glow);
    }

    .btn-primary:hover {
      background: var(--gold-lt);
      transform: translateY(-2px);
      box-shadow: 0 8px 32px rgba(201,147,58,.35);
    }

    .btn-ghost {
      background: transparent;
      color: var(--cream);
      border: 1px solid var(--border);
    }

    .btn-ghost:hover {
      background: var(--gold-glow);
      border-color: var(--gold);
      transform: translateY(-2px);
    }

    .android-nudge {
      margin-top: 1.2rem;
      font-size: .85rem;
      color: var(--muted);
      display: flex; align-items: center; gap: .45rem;
	  justify-content: center; 
    }

    .android-nudge i { color: #78c257; font-size: 1rem; }

    .android-nudge a {
      color: var(--gold-lt);
      text-decoration: none;
      font-weight: 500;
      transition: color .2s;
    }

    .android-nudge a:hover { color: var(--cream); text-decoration: underline; }

    /* ─── BOARD VISUAL ────────────────────────────────── */
    .board-visual {
      position: relative;
      display: flex; align-items: center; justify-content: center;
    }

    .board-wrap {
      position: relative;
      width: min(480px, 90vw);
      aspect-ratio: 1;
    }

    /* Outer ring */
    .board-wrap::before {
      content: '';
      position: absolute; inset: -20px;
      border-radius: 50%;
      border: 1px solid var(--border);
      animation: spin 30s linear infinite;
    }

    /* Glow */
    .board-wrap::after {
      content: '';
      position: absolute; inset: -40px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(201,147,58,.09) 0%, transparent 70%);
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    .board-svg-container {
      position: relative; z-index: 1;
      width: 100%; height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 2%;
    }

    .board-svg-container img {
      width: 75%;
      height: 75%;
      object-fit: contain;
    }

    /* ─── FEATURES ────────────────────────────────────── */
    .section {
      padding: 3rem clamp(1.5rem, 6vw, 3rem);
    }

    .section-label {
      text-align: center;
      font-size: .75rem; font-weight: 500; letter-spacing: .14em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 1rem;
    }

    .section-title {
      font-family: var(--serif);
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 900;
      text-align: center;
      color: var(--white);
      margin-bottom: 1rem;
    }

    .section-sub {
      text-align: center;
      color: var(--muted);
      font-size: 1rem;
      max-width: 700px;
      margin: 0 auto 3.5rem;
      font-weight: 300;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
      max-width: 1100px;
      margin: 0 auto;
    }

    .feature-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: calc(var(--radius) * 1.5);
      padding: 2rem;
      position: relative;
      overflow: hidden;
      transition: transform .25s, border-color .25s;
    }

    .feature-card::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      opacity: 0;
      transition: opacity .3s;
    }

    .feature-card:hover { transform: translateY(-4px); border-color: var(--gold); }
    .feature-card:hover::before { opacity: 1; }

    .feature-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .feature-icon {
      width: 48px; height: 48px;
      background: var(--gold-glow);
      border: 1px solid var(--border);
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
      color: var(--gold-lt);
      flex-shrink: 0;
    }

    .feature-title {
      font-family: var(--serif);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0;
    }

    .feature-desc {
      color: var(--muted);
      font-size: .9rem;
      font-weight: 300;
      line-height: 1.7;
    }

    /* ─── AWARDS ──────────────────────────────────────── */
    .awards-section {
      padding: 3rem clamp(1.5rem, 6vw, 5rem);
      background: var(--bg2);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .awards-inner {
      max-width: 1100px; margin: 0 auto;
      display: flex; align-items: center;
      flex-wrap: wrap; gap: 2rem;
    }

    .awards-label {
      font-size: .75rem; font-weight: 500; letter-spacing: .14em;
      text-transform: uppercase; color: var(--gold);
      white-space: nowrap;
    }

    .awards-divider {
      width: 1px; height: 40px;
      background: var(--border);
    }

    .award-item {
      display: flex; align-items: center; gap: .9rem;
      flex: 1; min-width: 220px;
    }

    .award-icon {
      font-size: 1.5rem; color: var(--gold-lt);
      flex-shrink: 0;
    }

    .award-text {
      font-size: .9rem; color: var(--muted); font-weight: 300;
    }

    .award-text a {
      color: var(--cream);
      text-decoration: none;
      font-weight: 500;
      transition: color .2s;
    }

    .award-text a:hover { color: var(--gold-lt); }

    /* ─── CTA ─────────────────────────────────────────── */
    .cta-section {
      padding: 3rem clamp(1.5rem, 6vw, 5rem);
      text-align: center;
      position: relative; overflow: hidden;
    }

    .cta-section::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,147,58,.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .cta-section h2 {
      font-family: var(--serif);
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 900;
      color: var(--white);
      margin-bottom: 1rem;
    }

    .cta-section p {
      color: var(--muted);
      font-size: 1rem;
      margin-bottom: 2.5rem;
      font-weight: 300;
    }

    /* ─── FOOTER ──────────────────────────────────────── */
    footer {
      padding: 2rem clamp(1.5rem, 6vw, 5rem);
      border-top: 1px solid var(--border);
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
    }

    footer p {
      font-size: .82rem; color: var(--muted);
    }

    footer a { color: var(--gold-lt); text-decoration: none; }
    footer a:hover { text-decoration: underline; }

    /* ─── ANIMATIONS ──────────────────────────────────── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeIn {
      from { opacity: 0; } to { opacity: 1; }
    }

    @keyframes floatBoard {
      0%, 100% { transform: translateY(0); }
      50%       { transform: translateY(-14px); }
    }

    .fade-up { animation: fadeUp .7s ease both; }
    .fade-up-2 { animation: fadeUp .7s .15s ease both; }
    .fade-up-3 { animation: fadeUp .7s .3s ease both; }
    .fade-up-4 { animation: fadeUp .7s .45s ease both; }

    .board-wrap { animation: floatBoard 6s ease-in-out infinite; }

    /* ─── RESPONSIVE ──────────────────────────────────── */
    @media (max-width: 900px) {
      .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-eyebrow { justify-content: center; }
      .hero-sub { margin-left: auto; margin-right: auto; }
      .btn-group { justify-content: center; }
      .board-visual { order: -1; }
      .board-wrap { width: min(280px, 70vw); }
      .awards-divider { display: none; }
      .downloads-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ─── THEME TOGGLE ────────────────────────────────── */
    .theme-toggle {
      display: flex; align-items: center; justify-content: center;
      width: 36px; height: 36px;
      background: var(--gold-glow);
      border: 1px solid var(--border);
      border-radius: 50%;
      color: var(--gold-lt);
      font-size: .95rem;
      cursor: pointer;
      flex-shrink: 0;
      transition: background .2s, border-color .2s, transform .2s, color .2s;
    }

    .theme-toggle:hover {
      background: var(--border);
      border-color: var(--gold);
      transform: rotate(20deg);
    }

    /* hide sun in dark mode, moon in light mode */
    :root .icon-sun    { display: none; }
    :root .icon-moon   { display: inline; }
    :root.light .icon-sun  { display: inline; }
    :root.light .icon-moon { display: none; }

    /* smooth all color transitions on theme switch */
    body, nav, .feature-card, .awards-section, footer {
      transition: background .3s, color .3s, border-color .3s;
    }

    /* ─── DICE DECORATION ─────────────────────────────── */
    .deco-dice {
      position: absolute;
      font-size: 1.8rem;
      opacity: .06;
      color: var(--gold);
      pointer-events: none;
      user-select: none;
    }

    /* ─── PAGE HEADER ─────────────────────────────────── */
    .page-header {		
      padding: 60px clamp(1.5rem, 6vw, 5rem) 4rem;
      text-align: center;
      position: relative;
      overflow: hidden;
      background: var(--bg2);
      border-bottom: 1px solid var(--border);
    }

    .page-header::before {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(201,147,58,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,147,58,.06) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
    }

    .page-header-inner {
      max-width: 800px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .page-header h1 {
      font-size: clamp(2.5rem, 6vw, 4rem);
      margin-bottom: 1rem;
    }

    .page-header .hero-eyebrow {
      justify-content: center;
    }

    .page-header .hero-sub {
      margin: 0 auto;
    }

    /* ─── DOWNLOADS SECTION ───────────────────────────── */
    .downloads-section {
      padding: 5rem clamp(1.5rem, 6vw, 5rem);
    }

    .downloads-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .downloads-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }

    .download-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: calc(var(--radius) * 1.5);
      padding: 2.5rem;
      position: relative;
      overflow: hidden;
      transition: transform .25s, border-color .25s;
    }

    .download-card.featured {
      background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
      border-color: var(--gold);
      border-width: 2px;
    }

    .download-card.featured::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--gold), transparent);
      opacity: 0.8;
    }

    .download-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.4rem 1rem;
      background: var(--gold-glow);
      border: 1px solid var(--border);
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gold-lt);
      margin-bottom: 1.5rem;
    }

    .download-title {
      font-family: var(--serif);
      font-size: 1.6rem;
      font-weight: 900;
      color: var(--white);
      margin-bottom: 0.8rem;
    }

    .download-desc {
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 1.8rem;
      font-weight: 300;
    }

    .version-list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .version-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.9rem 1.2rem;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      color: var(--cream);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      transition: background 0.2s, border-color 0.2s, transform 0.15s;
    }

    .version-item:hover {
      background: var(--gold-glow);
      border-color: var(--gold);
      transform: translateX(4px);
    }

    .version-item i {
      color: var(--gold-lt);
      font-size: 0.85rem;
    }

    .version-name {
      font-family: var(--sans);
    }

    .older-versions {
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border);
    }

    .older-versions summary {
      cursor: pointer;
      font-weight: 600;
      color: var(--gold-lt);
      font-size: 0.9rem;
      list-style: none;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      user-select: none;
      transition: color 0.2s;
    }

    .older-versions summary:hover {
      color: var(--cream);
    }

    .older-versions summary::-webkit-details-marker {
      display: none;
    }

    .older-versions summary i {
      font-size: 0.75rem;
      transition: transform 0.3s;
    }

    .older-versions[open] summary i {
      transform: rotate(180deg);
    }

    /* ─── SYSTEM REQUIREMENTS ─────────────────────────── */
    .requirements-card {
      background: var(--bg3);
    }

    .requirements-header {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      margin-bottom: 1.5rem;
    }

    .requirements-icon {
      width: 56px;
      height: 56px;
      background: var(--gold-glow);
      border: 1px solid var(--border);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: var(--gold-lt);
      flex-shrink: 0;
    }

    .requirements-header .download-title {
      margin-bottom: 0;
    }

    .requirements-list {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }

    .requirement-item {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      padding: 1rem 1.2rem;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
    }

    .requirement-label {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gold-lt);
    }

    .requirement-label i {
      font-size: 0.9rem;
    }

    .requirement-value {
      color: var(--cream);
      font-size: 0.95rem;
      font-weight: 400;
      line-height: 1.6;
      padding-left: 1.5rem;
    }

    /* ─── CHANGELOG SECTION ───────────────────────────── */
    .changelog-section {
      padding: 5rem clamp(1.5rem, 6vw, 5rem);
    }

    .changelog-container {
      max-width: 900px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .changelog-item {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: calc(var(--radius) * 1.5);
      overflow: hidden;
      transition: border-color 0.3s;
    }

    .changelog-item[open] {
      border-color: var(--gold);
    }

    .changelog-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.5rem 2rem;
      cursor: pointer;
      user-select: none;
      list-style: none;
      transition: background 0.2s;
    }

    .changelog-header:hover {
      background: var(--bg3);
    }

    .changelog-header::-webkit-details-marker {
      display: none;
    }

    .changelog-version {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .version-number {
      font-family: var(--serif);
      font-size: 1.4rem;
      font-weight: 900;
      color: var(--white);
      margin: 0;
      display: flex;
      align-items: center;
      gap: 0.8rem;
      flex-wrap: wrap;
    }

    .version-badge {
      display: inline-flex;
      align-items: center;
      padding: 0.3rem 0.8rem;
      background: var(--gold-glow);
      border: 1px solid var(--gold);
      border-radius: 12px;
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--gold-lt);
      flex-shrink: 0;
      font-family: var(--sans);
    }

    .version-badge.latest {
      background: var(--gold);
      color: var(--bg);
    }

    .version-date {
      font-size: 0.85rem;
      color: var(--muted);
      font-weight: 400;
    }

    .changelog-header i {
      color: var(--gold-lt);
      font-size: 1rem;
      transition: transform 0.3s;
    }

    .changelog-item[open] .changelog-header i {
      transform: rotate(180deg);
    }

    .changelog-content {
      padding: 0 2rem 2rem 2rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .changelog-category {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .changelog-category h4 {
      font-family: var(--sans);
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--gold-lt);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .changelog-category h4 i {
      font-size: 1rem;
    }

    .changelog-category ul {
      list-style: none;
      padding-left: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .changelog-category li {
      color: var(--cream);
      font-size: 0.95rem;
      line-height: 1.7;
      padding-left: 1.5rem;
      position: relative;
    }

    .changelog-category li::before {
      content: '▸';
      position: absolute;
      left: 0;
      color: var(--gold-lt);
      font-size: 0.8rem;
    }

    .changelog-category li strong {
      color: var(--white);
      font-weight: 500;
    }

    .changelog-category li ul {
      margin-top: 0.5rem;
      padding-left: 1rem;
    }

    .changelog-category a {
      color: var(--gold-lt);
      text-decoration: none;
      transition: color 0.2s;
    }

    .changelog-category a:hover {
      color: var(--cream);
      text-decoration: underline;
    }

    /* Older Versions Group */
    .older-versions-group {
      border-color: var(--border);
      background: var(--bg);
    }

    .older-summary {
      background: var(--bg2);
    }

    .older-versions-note {
      color: var(--muted);
      font-size: 0.9rem;
      font-style: italic;
      margin-bottom: 1rem;
    }

    .changelog-subitem {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      margin-bottom: 1rem;
      overflow: hidden;
    }

    .changelog-subheader {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 1.5rem;
      cursor: pointer;
      user-select: none;
      list-style: none;
      transition: background 0.2s;
    }

    .changelog-subheader:hover {
      background: var(--bg3);
    }

    .changelog-subheader::-webkit-details-marker {
      display: none;
    }

    .changelog-subheader .version-number {
      font-size: 1.1rem;
      margin-right: 1rem;
    }

    .changelog-subheader .version-date {
      font-size: 0.8rem;
    }

    .changelog-subcontent {
      padding: 0 1.5rem 1.5rem 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }

    @media (max-width: 768px) {
      .changelog-header {
        padding: 1.2rem 1.5rem;
      }

      .changelog-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
      }

      .version-number {
        font-size: 1.2rem;
      }

      .changelog-subheader {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
      }

      .changelog-subheader .version-number {
        margin-right: 0;
      }
    }



