:root {
    --gold: #e2b45f;
    --gold-light: #f5d28e;
    --gold-dim: #c6a66b;
    --deep: #060408;
    --dark: #0d0a10;
    --plasma: #80d4ed;
    --plasma-glow: rgba(74, 179, 212, 0.3);
    --sand: #ead2a8;
    --parchment: #e0c58d;
    --crimson: #f19a91;
    --smoke: rgba(255,255,255,0.06);
    --text: #f0e5d2;
    --text-dim: #c7b9a3;
    --text-bright: #fff3dc;
    --control-border: #a48b68;
    --focus: #a4e6fa;
    color-scheme: dark;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--deep);
    color: var(--text);
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
  }

  /* NOISE TEXTURE OVERLAY */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background: linear-gradient(to bottom, rgba(6,4,8,0.98), rgba(6,4,8,0.96));
    border-bottom: 1px solid rgba(201,148,58,0.2);
    backdrop-filter: blur(12px);
  }

  .nav-logo {
    font-family: 'Cinzel Decorative', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    text-decoration: none;
    text-shadow: 0 0 20px rgba(201,148,58,0.4);
    cursor: pointer;
  }

  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
  }

  .nav-links a {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
    cursor: pointer;
  }

  .nav-links a:hover, .nav-links a.active {
    color: var(--gold);
    text-shadow: 0 0 12px rgba(201,148,58,0.5);
  }
  .nav-links a.active { text-decoration: underline; text-underline-offset: 6px; }

  .nav-cta {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--deep);
    background: var(--gold);
    border: none;
    padding: 10px 22px;
    cursor: pointer;
    transition: all 0.3s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }
  .nav-cta:hover {
    background: var(--gold-light);
    box-shadow: 0 0 20px rgba(201,148,58,0.6);
  }

  /* PAGES */
  .page { display: none; min-height: 100vh; }
  .page.active { display: block; }

  /* ============================================
     LANDING PAGE
  ============================================ */
  #page-home {
    position: relative;
    overflow: hidden;
  }

  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 40px 80px;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,148,58,0.08) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 80% 20%, rgba(74,179,212,0.06) 0%, transparent 60%),
      radial-gradient(ellipse 60% 80% at 20% 50%, rgba(139,26,26,0.05) 0%, transparent 70%),
      linear-gradient(180deg, #060408 0%, #0d0812 40%, #100a06 100%);
  }

  /* Animated stars */
  .stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--dur, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
  }
  @keyframes twinkle {
    0%, 100% { opacity: var(--min-op, 0.1); }
    50% { opacity: var(--max-op, 0.8); }
  }

  /* Galaxy canvas */
  #galaxyCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .hero-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 8px;
    color: var(--plasma);
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s ease 0.3s forwards;
  }

  .hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(64px, 10vw, 120px);
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 8px;
    line-height: 0.9;
    text-shadow: 0 0 40px rgba(201,148,58,0.4), 0 0 80px rgba(201,148,58,0.15);
    opacity: 0;
    animation: fadeUp 1s ease 0.6s forwards;
    position: relative;
  }



  .hero-tagline {
    font-family: 'EB Garamond', serif;
    font-size: clamp(18px, 2.5vw, 26px);
    font-style: italic;
    color: var(--sand);
    margin-top: 24px;
    max-width: 700px;
    opacity: 0;
    animation: fadeUp 1s ease 0.9s forwards;
  }

  .hero-divider {
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 32px auto;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
  }

  .hero-desc {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 620px;
    opacity: 0;
    animation: fadeUp 1s ease 1.4s forwards;
    line-height: 1.9;
  }

  .hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 48px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s ease 1.6s forwards;
  }

  .btn-primary {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--deep);
    border: none;
    padding: 16px 40px;
    cursor: pointer;
    transition: all 0.3s;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    position: relative;
    overflow: hidden;
  }
  .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
  }
  .btn-primary:hover::before { transform: translateX(100%); }
  .btn-primary:hover {
    background: var(--gold-light);
    box-shadow: 0 0 30px rgba(201,148,58,0.5);
    transform: translateY(-2px);
  }

  .btn-outline {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--control-border);
    padding: 16px 40px;
    cursor: pointer;
    transition: all 0.3s;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  }
  .btn-outline:hover {
    background: rgba(201,148,58,0.08);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201,148,58,0.2);
    transform: translateY(-2px);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* SCROLL INDICATOR */
  .scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s ease 2.5s forwards;
  }
  .scroll-hint span {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 4px;
    color: var(--text-dim);
  }
  .scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.8); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
  }

  /* HOME SECTIONS */
  .home-pillars {
    padding: 100px 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(201,148,58,0.1);
  }

  .pillar-card {
    background: var(--dark);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
  }
  .pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
  }
  .pillar-card:hover::before { opacity: 1; }
  .pillar-card:hover { background: #120e18; transform: translateY(-4px); }

  .pillar-number {
    font-family: 'Cinzel Decorative', serif;
    font-size: 60px;
    color: var(--gold-dim);
    line-height: 1;
    margin-bottom: 16px;
  }
  .pillar-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .pillar-text {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.8;
  }

  /* KICKSTARTER SECTION */
  .kickstarter-section {
    padding: 100px 80px;
    background: linear-gradient(135deg, #0d0a10 0%, #100b08 100%);
    position: relative;
    overflow: hidden;
  }
  .kickstarter-section::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,148,58,0.06), transparent 70%);
  }

  .section-label {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 6px;
    color: var(--plasma);
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(32px, 4vw, 52px);
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 24px;
  }

  .section-body {
    font-size: 18px;
    color: var(--text);
    line-height: 1.9;
    max-width: 680px;
  }

  .ks-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
  }

  .ks-image-placeholder {
    aspect-ratio: 4/3;
    background: rgba(201,148,58,0.05);
    border: 1px solid rgba(201,148,58,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
  }
  .ks-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 1px;
    background: linear-gradient(135deg, rgba(201,148,58,0.03) 0%, transparent 60%);
  }
  .placeholder-icon { font-size: 48px; opacity: 0.3; }
  .placeholder-text {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--text-dim);
  }

  .ks-details { display: flex; flex-direction: column; gap: 32px; }

  .ks-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ks-stat {
    background: rgba(201,148,58,0.05);
    border: 1px solid rgba(201,148,58,0.12);
    padding: 20px;
    text-align: center;
  }
  .ks-stat-value {
    font-family: 'Cinzel Decorative', serif;
    font-size: 28px;
    color: var(--gold);
    display: block;
  }
  .ks-stat-label {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
  }

  /* DUAL UNIVERSE TEASER */
  .dual-universe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
  }
  .universe-panel {
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .universe-panel:first-child {
    background: linear-gradient(135deg, #0d0a06 0%, #120c04 100%);
    border-right: 1px solid rgba(201,148,58,0.2);
  }
  .universe-panel:last-child {
    background: linear-gradient(135deg, #06080d 0%, #040a12 100%);
  }
  .universe-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
  }
  .universe-panel:first-child::before {
    background: radial-gradient(ellipse at 50% 100%, rgba(201,148,58,0.1), transparent 70%);
  }
  .universe-panel:last-child::before {
    background: radial-gradient(ellipse at 50% 100%, rgba(74,179,212,0.08), transparent 70%);
  }
  .universe-panel:hover::before { opacity: 1; }

  .universe-bg-text {
    position: absolute;
    top: 20px; right: 20px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 80px;
    color: rgba(255,255,255,0.02);
    line-height: 1;
    pointer-events: none;
  }

  .universe-tag {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 5px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .universe-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 16px;
  }
  .universe-panel:last-child .universe-title { color: var(--plasma); }
  .universe-desc {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 400px;
    margin-bottom: 32px;
  }
  .universe-link {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 4px;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: gap 0.3s;
    cursor: pointer;
  }
  .universe-panel:last-child .universe-link { color: var(--plasma); }
  .universe-link:hover { gap: 20px; }
  .universe-link::after { content: '→'; }

  /* ============================================
     BOARD GAME PAGE
  ============================================ */
  .page-header {
    padding: 160px 80px 80px;
    background: linear-gradient(180deg, #060408 0%, #0d0a10 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  .page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,148,58,0.3), transparent);
  }

  .page-header-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(40px, 6vw, 80px);
    color: var(--gold);
    text-shadow: 0 0 40px rgba(201,148,58,0.3);
    margin-bottom: 16px;
  }
  .page-header-sub {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--text-dim);
  }

  .section {
    padding: 80px;
    background: var(--dark);
  }
  .section:nth-child(even) {
    background: #0a0810;
  }

  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
  }

  .three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
  }

  .card {
    background: rgba(201,148,58,0.03);
    border: 1px solid rgba(201,148,58,0.1);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .card:hover { border-color: rgba(201,148,58,0.25); background: rgba(201,148,58,0.06); }
  .card:hover::before { opacity: 1; }

  .card-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
  }
  .card-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .card-text {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.8;
  }

  /* image placeholders */
  .img-placeholder {
    background: rgba(201,148,58,0.04);
    border: 1px dashed rgba(201,148,58,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-dim);
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
  }
  .img-placeholder .ph-icon { font-size: 32px; opacity: 0.4; }
  .img-placeholder-aspect-4-3 { aspect-ratio: 4/3; }
  .img-placeholder-aspect-16-9 { aspect-ratio: 16/9; }
  .img-placeholder-aspect-1-1 { aspect-ratio: 1/1; }
  .img-placeholder-aspect-3-4 { aspect-ratio: 3/4; }

  /* FACTION GRID */
  .faction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(201,148,58,0.08);
    margin-top: 60px;
  }
  .faction-tile {
    background: var(--dark);
    padding: 40px 32px;
    transition: all 0.3s;
    cursor: default;
  }
  .faction-tile:hover { background: #130f1a; }
  .faction-type {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 4px;
    color: var(--plasma);
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .faction-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
  }
  .faction-desc {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.7;
  }

  /* RESOURCE TRACKER */
  .resource-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }
  .resource-row {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .resource-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--text-dim);
    width: 100px;
    flex-shrink: 0;
  }
  .resource-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.05);
    position: relative;
  }
  .resource-fill {
    height: 100%;
    background: linear-gradient(to right, var(--gold-dim), var(--gold));
    transition: width 0.5s;
  }
  .resource-dots {
    display: flex;
    gap: 6px;
  }
  .dot {
    width: 10px; height: 10px;
    border: 1px solid rgba(201,148,58,0.3);
    border-radius: 50%;
  }
  .dot.filled { background: var(--gold); border-color: var(--gold); }

  /* BLOCKQUOTE */
  blockquote {
    border-left: 2px solid var(--gold);
    padding: 20px 32px;
    margin: 32px 0;
    background: rgba(201,148,58,0.03);
    font-style: italic;
    color: var(--sand);
    font-size: 19px;
    line-height: 1.8;
  }
  blockquote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--text-dim);
    text-transform: uppercase;
  }

  /* TURN STRUCTURE */
  .turn-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(201,148,58,0.12);
    margin-top: 40px;
    overflow: hidden;
  }
  .turn-step {
    padding: 28px 24px;
    border-right: 1px solid rgba(201,148,58,0.08);
    position: relative;
  }
  .turn-step:last-child { border-right: none; }
  .turn-step-num {
    font-family: 'Cinzel Decorative', serif;
    font-size: 32px;
    color: var(--gold-dim);
    display: block;
    margin-bottom: 8px;
  }
  .turn-step-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .turn-step-text {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.6;
  }

  /* ============================================
     VIDEO GAME PAGE
  ============================================ */
  .vg-hero {
    background: linear-gradient(180deg, #04060d 0%, #060408 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 80px 48px;
    position: relative;
    overflow: hidden;
  }
  .vg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 60% at 70% 50%, rgba(74,179,212,0.06), transparent),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(139,26,26,0.04), transparent);
  }

  .vg-hero-content { position: relative; width: 100%; max-width: 800px; margin-inline: auto; }
  .vg-hero-label {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 6px;
    color: var(--plasma);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .vg-hero-label::before, .vg-hero-label::after {
    content: '';
    width: 32px; height: 1px;
    flex-shrink: 0;
    background: var(--plasma);
  }

  .vg-showcase { padding: 0 clamp(24px, 5vw, 80px) 64px; background: var(--deep); }
  .vg-showcase img {
    display: block;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid rgba(201,148,58,0.12);
  }

  .vg-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
  }

  .vg-feature {
    background: rgba(74,179,212,0.03);
    border: 1px solid rgba(74,179,212,0.08);
    padding: 32px;
    transition: all 0.3s;
  }
  .vg-feature:hover {
    background: rgba(74,179,212,0.06);
    border-color: rgba(74,179,212,0.2);
  }
  .vg-feature-icon { font-size: 32px; margin-bottom: 16px; }
  .vg-feature-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--plasma);
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .vg-feature-text { font-size: 18px; color: var(--text-dim); line-height: 1.8; }

  /* ============================================
     LORE PAGE
  ============================================ */
  .lore-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 160px 80px 80px;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139,26,26,0.08), transparent),
                linear-gradient(180deg, #060408, #0d0a10);
    position: relative;
  }
  .lore-chapters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(139,26,26,0.1);
  }
  .lore-chapter {
    background: var(--dark);
    padding: 60px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }
  .lore-chapter:hover { background: #110d14; }
  .lore-chapter-num {
    font-family: 'Cinzel Decorative', serif;
    font-size: 80px;
    color: var(--crimson);
    line-height: 1;
    margin-bottom: 16px;
  }
  .lore-chapter-title {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
  }
  .lore-chapter-text {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.9;
  }
  .lore-chapter-text p { margin-bottom: 16px; }

  /* LORE REVEAL */
  .lore-warning {
    background: rgba(139,26,26,0.08);
    border: 1px solid rgba(139,26,26,0.2);
    border-left: 3px solid var(--crimson);
    padding: 32px 40px;
    margin: 40px 0;
  }
  .lore-warning-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 4px;
    color: var(--crimson);
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .lore-warning-text {
    font-size: 18px;
    color: var(--text);
    font-style: italic;
    line-height: 1.8;
  }

  /* ============================================
     KICKSTARTER PAGE
  ============================================ */
  .ks-page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 160px 80px 80px;
    background: linear-gradient(180deg, #060408 0%, #0c0808 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .ks-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 40% at 50% 80%, rgba(201,148,58,0.06), transparent);
  }

  .ks-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(201,148,58,0.12);
    overflow: hidden;
    margin-top: 60px;
  }
  .ks-tier {
    padding: 40px 28px;
    border-right: 1px solid rgba(201,148,58,0.08);
    transition: background 0.3s;
    position: relative;
  }
  .ks-tier:last-child { border-right: none; }
  .ks-tier.featured {
    background: rgba(201,148,58,0.05);
  }
  .ks-tier.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0; left: 0; right: 0;
    background: var(--gold);
    color: var(--deep);
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 3px;
    text-align: center;
    padding: 6px;
    font-weight: 700;
  }
  .ks-tier.featured { padding-top: 52px; }
  .ks-tier:hover { background: rgba(201,148,58,0.04); }
  .ks-tier-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .ks-tier-price {
    font-family: 'Cinzel Decorative', serif;
    font-size: 40px;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 20px;
  }
  .ks-tier-price span {
    font-size: 18px;
    color: var(--text-dim);
    font-family: 'Cinzel', serif;
  }
  .ks-tier-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ks-tier-items li {
    font-size: 18px;
    color: var(--text-dim);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
  }
  .ks-tier-items li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold-dim);
    font-size: 18px;
    top: 5px;
  }

  /* PROGRESS BAR */
  .ks-progress-section {
    padding: 60px 80px;
    background: #0a0810;
    border-top: 1px solid rgba(201,148,58,0.08);
    border-bottom: 1px solid rgba(201,148,58,0.08);
  }
  .ks-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    margin: 24px 0;
    position: relative;
    overflow: hidden;
  }
  .ks-progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--gold-dim), var(--gold), var(--gold-light));
    width: 0%;
    animation: fillBar 2s ease 0.5s forwards;
    box-shadow: 0 0 12px rgba(201,148,58,0.5);
  }
  @keyframes fillBar { to { width: 73%; } }
  .ks-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .ks-progress-stats {
    display: flex;
    gap: 48px;
  }
  .ks-prog-stat { text-align: center; }
  .ks-prog-val {
    font-family: 'Cinzel Decorative', serif;
    font-size: 32px;
    color: var(--gold);
    display: block;
  }
  .ks-prog-label {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--text-dim);
    text-transform: uppercase;
  }

  /* ============================================
     ABOUT PAGE
  ============================================ */
  .about-section {
    padding: 80px;
  }
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(201,148,58,0.06);
    margin-top: 60px;
  }
  .team-member {
    background: var(--dark);
    padding: 40px;
    transition: background 0.3s;
  }
  .team-member:hover { background: #120f18; }
  .team-avatar {
    width: 80px; height: 80px;
    background: rgba(201,148,58,0.08);
    border: 1px solid rgba(201,148,58,0.15);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
  }
  .team-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
  }
  .team-role {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--plasma);
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .team-bio { font-size: 18px; color: var(--text-dim); line-height: 1.7; }

  /* ============================================
     CONTACT PAGE
  ============================================ */
  .contact-section {
    padding: 160px 80px 80px;
    background: var(--dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    min-height: 100vh;
    align-items: start;
  }
  .contact-info { padding-top: 20px; }
  .contact-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(201,148,58,0.08);
  }
  .contact-icon { font-size: 24px; flex-shrink: 0; }
  .contact-label {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .contact-value {
    font-size: 18px;
    color: var(--gold);
    text-decoration: none;
  }
  .contact-value:hover { color: var(--gold-light); }

  .contact-form { display: flex; flex-direction: column; gap: 20px; }
  .form-group { display: flex; flex-direction: column; gap: 8px; }
  .form-label {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--text-dim);
    text-transform: uppercase;
  }
  .form-input, .form-textarea, .form-select {
    background: var(--dark);
    border: 1px solid var(--control-border);
    color: var(--text);
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
  }
  .form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--focus);
    background: var(--dark);
  }
  .form-textarea { min-height: 120px; resize: vertical; }
  .form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); opacity: 1; }
  .form-select option { color: var(--text); background: var(--dark); }

  /* FOOTER */
  footer {
    background: #030205;
    border-top: 1px solid rgba(201,148,58,0.12);
    padding: 60px 80px 40px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
  }
  .footer-brand { }
  .footer-logo {
    font-family: 'Cinzel Decorative', serif;
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
  }
  .footer-tagline {
    font-size: 18px;
    color: var(--text-dim);
    font-style: italic;
    line-height: 1.7;
    max-width: 280px;
  }
  .footer-col-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-links a {
    font-size: 18px;
    color: var(--text-dim);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
  }
  .footer-links a:hover { color: var(--gold); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-copy {
    font-size: 18px;
    color: var(--text-dim);
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
  }

  /* SOCIAL ICONS */
  .social-links { display: flex; gap: 16px; }
  .social-link {
    width: 36px; height: 36px;
    border: 1px solid rgba(201,148,58,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
  }
  .social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,148,58,0.08);
  }

  /* UTILITIES */
  h2.section-heading {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(28px, 3.5vw, 46px);
    color: var(--gold);
    margin-bottom: 24px;
  }
  h3.sub-heading {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201,148,58,0.12);
  }
  p.body-text {
    font-size: 20px;
    color: var(--text-dim);
    line-height: 1.9;
    margin-bottom: 20px;
  }
  .gold { color: var(--gold); }
  .plasma { color: var(--plasma); }
  .sep {
    width: 80px; height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin: 32px 0;
  }
  .full-width { grid-column: 1 / -1; }
  .text-center { text-align: center; }
  .text-center .sep { margin: 32px auto; }

  /* Responsive hints */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .home-pillars, .two-col, .ks-layout, .three-col, .faction-grid,
    .dual-universe, .lore-chapters, .turn-steps, .ks-tiers,
    .team-grid, .footer-grid, .vg-feature-grid, .contact-section {
      grid-template-columns: 1fr;
    }
    nav, .section, .page-header, .about-section, footer {
      padding-left: 24px;
      padding-right: 24px;
    }
    .kickstarter-section, .vg-hero { padding: 60px 24px; }
    .lore-chapter { padding: 40px 24px; }
  }

  /* SCROLL ANIMATIONS */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }


    @keyframes pulseDot {
      0%,100% { opacity:1; transform:scale(1); }
      50% { opacity:0.4; transform:scale(0.6); }
    }

/* Clean-URL pages: preserve original artwork and typography. */
a.btn-primary, a.btn-outline, a.universe-panel { text-decoration: none; }
a.btn-primary, a.btn-outline { display: inline-block; }
a.universe-panel { color: inherit; }
html:not(.js) .reveal { opacity: 1; transform: none; }
/* Keep moving stars behind readable copy, with the original galaxy still visible. */
.hero > .hero-eyebrow, .hero > .hero-tagline, .hero > .hero-desc,
.hero > .hero-actions, .hero > .hero-logo-img { position: relative; z-index: 1; }
.hero > .hero-eyebrow, .hero > .hero-tagline, .hero > .hero-desc {
  background: rgba(6, 4, 8, 0.88);
  box-shadow: 0 0 24px 16px rgba(6, 4, 8, 0.88);
  border-radius: 4px;
}
.hero .btn-outline { background: var(--deep); }
.hero .btn-outline:hover { background: var(--dark); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
/* An inset ring stays visible inside the original clipped button silhouettes. */
.btn-primary:focus-visible, .btn-outline:focus-visible,
.nav-cta:focus-visible {
  box-shadow: inset 0 0 0 3px var(--deep), inset 0 0 0 6px var(--focus);
}
main:focus { outline: none; }
.nav-toggle { display: none; }

/* Readable type must reflow rather than be shrunk to fit fixed containers. */
:root { --site-header-height: 82px; }
html { scroll-padding-top: calc(var(--site-header-height) + 24px); }
body { overflow-wrap: anywhere; }
nav { height: auto; min-height: 82px; padding: 12px 24px; gap: 20px; }
nav > a { flex-shrink: 0; }
.nav-logo-img { display: block; max-width: 168px; height: auto !important; }
.nav-links { gap: 20px; }
.nav-links a, .nav-cta { letter-spacing: 1px; }
.nav-links a { white-space: nowrap; }
.nav-cta { padding: 12px 18px; line-height: 1.4; flex-shrink: 0; }
.hero, .page-header, .vg-hero, .lore-hero, .contact-section {
  padding-top: calc(var(--site-header-height) + 48px);
}
.hero > .scroll-hint { position: relative; bottom: auto; left: auto; transform: none; margin-top: 36px; }
#page-kickstarter { padding-top: var(--site-header-height); }
.ks-page-hero { padding-top: 64px; }
.footer-bottom { flex-wrap: wrap; gap: 20px; }
.footer-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.contact-item > div, .member-profile > div, .vg-hero-content { min-width: 0; }
.form-input, .form-select, .form-textarea { width: 100%; min-width: 0; }
.btn-primary, .btn-outline { max-width: 100%; line-height: 1.5; letter-spacing: 2px; }
.ks-tier.featured { padding-top: 76px; }
/* The diamond is a decorative list marker, not reading text. */
.ks-tier-items li::before { font-size: 7px; }
.ks-tier.featured::before { letter-spacing: 1px; }
#subscribe-modal > div { max-height: calc(100dvh - 48px); overflow-y: auto; }

@media (max-width: 1350px) {
  .nav-toggle { display: block; margin-left: auto; font: 600 18px 'Cinzel', serif; color: var(--gold); background: var(--deep); border: 1px solid var(--gold-dim); padding: 10px; cursor: pointer; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 20px 24px; background: var(--dark); border-bottom: 1px solid var(--gold-dim); flex-direction: column; gap: 16px; max-height: calc(100dvh - var(--site-header-height)); overflow-y: auto; }
  .nav-links.open, html:not(.js) .nav-links { display: flex; }
  html:not(.js) .nav-links { position: static; max-height: none; width: 100%; }
  html:not(.js) { --site-header-height: 0px; }
  html:not(.js) nav { position: relative; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ks-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .footer-grid, .ks-tiers { grid-template-columns: minmax(0, 1fr); }
  .member-profile { grid-template-columns: minmax(0, 1fr) !important; padding: 32px 24px !important; gap: 28px !important; }
  .lore-hero, .ks-page-hero, .ks-progress-section { padding-left: 24px; padding-right: 24px; }
  .universe-panel { padding: 48px 24px; }
  .hero-eyebrow, .section-label, .vg-hero-label, .universe-tag { letter-spacing: 2px; }
}
@media (max-width: 600px) {
  :root { --site-header-height: 134px; }
  nav { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px 20px; }
  .nav-cta { grid-column: 1 / -1; width: 100%; }
  .nav-logo-img { max-width: 150px; }
  .nav-toggle { margin: 0; }
  .hero { padding-left: 24px; padding-right: 24px; }
  .hero-actions { width: 100%; }
  .hero-actions > * { width: 100%; text-align: center; }
  .btn-primary, .btn-outline { padding: 16px 24px; }
  .contact-section { gap: 40px; }
  #subscribe-modal > div { padding: 36px 24px !important; }
  html:not(.js) .nav-links { grid-column: 1 / -1; }
}
