@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/oswald-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Share Tech Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/share-tech-mono-latin.woff2') format('woff2');
}

*, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    :root {
      --bg: #0a0a0a;
      --bg-card: #111111;
      --bg-deep: #060606;
      --text: #d4d4d4;
      --text-dim: #6d6d6d;
      --orange: #b3560f;
      --orange-bright: #f7871f;
      --amber: #ffb04a;
      --cyan: #4aa3c7;
      --border: #262626;
      --font-display: 'Oswald', sans-serif;
      --font-mono: 'Share Tech Mono', monospace;
      --nav-h: 60px;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--nav-h);
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-mono);
      line-height: 1.7;
      overflow-x: hidden;
    }

    ::selection {
      background: rgba(247, 135, 31, 0.3);
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--nav-h);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 32px;
      background: rgba(10, 10, 10, 0.7);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--border);
      z-index: 1000;
      transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
    }

    nav.scrolled {
      background: rgba(10, 10, 10, 0.95);
      box-shadow: 0 2px 20px rgba(247, 135, 31, 0.05);
      border-bottom-color: var(--orange);
    }

    .nav-logo {
      font-family: var(--font-display);
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--orange-bright);
      letter-spacing: 3px;
      text-decoration: none;
      white-space: nowrap;
    }

    .nav-logo span {
      color: var(--text);
    }

    .nav-links {
      display: flex;
      gap: 24px;
      list-style: none;
    }

    .nav-links a {
      color: var(--text-dim);
      text-decoration: none;
      font-size: 0.78rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      transition: color 0.3s;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 1px;
      background: var(--orange-bright);
      transition: width 0.3s;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--orange-bright);
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
      width: 100%;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 8px;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text);
    }

    /* ── HERO ── */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 100px 24px 60px;
      overflow: hidden;
      background: radial-gradient(ellipse at center, #1a0e04 0%, #0a0a0a 70%);
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.07) 2px,
        rgba(0, 0, 0, 0.07) 4px
      );
      pointer-events: none;
      z-index: 1;
    }

    .vignette {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center, transparent 45%, var(--bg) 100%);
      pointer-events: none;
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 820px;
    }

    .hero-logo {
      width: min(560px, 82vw);
      height: auto;
      display: block;
      margin: 0 auto;
      filter: drop-shadow(0 0 40px rgba(247, 135, 31, 0.12));
    }

    .hero-tagline {
      font-size: clamp(0.9rem, 2vw, 1.15rem);
      color: var(--orange-bright);
      letter-spacing: 5px;
      text-transform: uppercase;
      margin: 8px 0 1em;
      font-weight: 400;
    }

    .hero-subtitle {
      font-size: 0.95rem;
      color: var(--text-dim);
      margin-top: 20px;
      line-height: 1.9;
    }

    .hero-cta-row {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 40px;
    }

    .btn {
      display: inline-block;
      padding: 13px 34px;
      border: 1px solid var(--orange);
      color: var(--orange-bright);
      text-decoration: none;
      font-size: 0.8rem;
      letter-spacing: 3px;
      text-transform: uppercase;
      transition: background 0.3s, box-shadow 0.3s, color 0.3s;
    }

    .btn:hover {
      background: rgba(247, 135, 31, 0.1);
      box-shadow: 0 0 20px rgba(247, 135, 31, 0.15);
    }

    .btn-ghost {
      border-color: var(--border);
      color: var(--text-dim);
    }

    .btn-ghost:hover {
      border-color: var(--text-dim);
      color: var(--text);
      background: rgba(255, 255, 255, 0.03);
      box-shadow: none;
    }

    /* ── STAT STRIP ── */
    .stat-strip {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0;
      margin-top: 56px;
      border: 1px solid var(--border);
      background: rgba(0, 0, 0, 0.4);
    }

    .stat {
      padding: 14px 28px;
      border-right: 1px solid var(--border);
      min-width: 140px;
    }

    .stat:last-child {
      border-right: none;
    }

    .stat-value {
      font-family: var(--font-display);
      font-size: 1.1rem;
      color: var(--amber);
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .stat-label {
      font-size: 0.65rem;
      color: var(--text-dim);
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    /* ── SECTIONS COMMON ── */
    section {
      padding: 100px 24px;
      position: relative;
    }

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

    .section-label {
      font-size: 0.7rem;
      color: var(--orange);
      letter-spacing: 6px;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.9rem, 5vw, 2.9rem);
      font-weight: 700;
      color: var(--text);
      letter-spacing: 3px;
      text-transform: uppercase;
      margin-bottom: 44px;
      position: relative;
      display: inline-block;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 60px;
      height: 2px;
      background: var(--orange);
    }

    .lead {
      max-width: 780px;
      font-size: 0.98rem;
      line-height: 1.95;
      margin-bottom: 22px;
    }

    .lead .hl {
      color: var(--orange-bright);
    }

    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    a.inline {
      color: var(--amber);
      text-decoration: none;
      border-bottom: 1px dotted rgba(255, 176, 74, 0.4);
    }

    a.inline:hover {
      color: var(--orange-bright);
      border-bottom-color: var(--orange-bright);
    }

    /* ── ABOUT ── */
    .about {
      background: linear-gradient(180deg, var(--bg) 0%, #0d0b09 100%);
      border-top: 1px solid var(--border);
    }

    .goal-list {
      list-style: none;
      margin-top: 32px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 12px;
    }

    .goal-list li {
      padding: 14px 18px 14px 20px;
      border-left: 2px solid var(--orange);
      background: rgba(255, 255, 255, 0.015);
      font-size: 0.85rem;
      line-height: 1.75;
      color: var(--text-dim);
    }

    .goal-list li b {
      display: block;
      color: var(--text);
      font-weight: normal;
      font-family: var(--font-display);
      letter-spacing: 1px;
      text-transform: uppercase;
      font-size: 0.9rem;
      margin-bottom: 2px;
    }

    /* ── STATUS ── */
    .status {
      border-top: 1px solid var(--border);
      background: linear-gradient(180deg, var(--bg) 0%, #0c0c0c 100%);
    }

    .status-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 18px;
      margin-bottom: 44px;
    }

    .status-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      padding: 26px 24px;
    }

    .status-card h3 {
      font-family: var(--font-display);
      font-size: 1rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text);
      margin-bottom: 12px;
      font-weight: 400;
    }

    .status-card ul {
      list-style: none;
      font-size: 0.8rem;
      color: var(--text-dim);
      line-height: 1.9;
    }

    .status-card li::before {
      content: '\203A ';
      color: var(--orange);
    }

    .status-note {
      max-width: 880px;
      margin-bottom: 36px;
      padding: 18px 22px;
      border: 1px solid var(--border);
      border-left: 3px solid var(--amber);
      background: rgba(255, 176, 74, 0.04);
      color: var(--text-dim);
      font-size: 0.86rem;
      line-height: 1.9;
    }

    /* ── ROADMAP ── */
    .roadmap {
      border-top: 1px solid var(--border);
      background: linear-gradient(180deg, #0c0c0c 0%, var(--bg) 100%);
    }

    .roadmap-intro {
      max-width: 880px;
      margin-bottom: 34px;
      color: var(--text-dim);
      font-size: 0.88rem;
      line-height: 1.9;
    }

    .roadmap-list {
      display: grid;
      gap: 16px;
    }

    .milestone {
      display: grid;
      grid-template-columns: 190px 1fr;
      gap: 28px;
      padding: 28px;
      border: 1px solid var(--border);
      background: var(--bg-card);
    }

    .milestone-current {
      border-color: var(--orange);
    }

    .milestone-version {
      font-family: var(--font-display);
      color: var(--orange-bright);
      font-size: 1.5rem;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .milestone-date {
      margin-top: 4px;
      color: var(--text-dim);
      font-size: 0.72rem;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .milestone h3 {
      margin-bottom: 10px;
      color: var(--text);
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .milestone ul {
      list-style: none;
      color: var(--text-dim);
      font-size: 0.8rem;
      line-height: 1.9;
    }

    .milestone li::before {
      content: '\203A ';
      color: var(--orange);
    }

    .roadmap-warning {
      max-width: 880px;
      margin-top: 26px;
      color: var(--text-dim);
      font-size: 0.78rem;
      line-height: 1.9;
    }

    .roadmap-followup {
      margin-top: 32px;
    }

    /* ── DOCS ── */
    .docs {
      border-top: 1px solid var(--border);
    }

    .doc-block {
      margin-bottom: 44px;
    }

    .doc-block h3 {
      font-family: var(--font-display);
      font-size: 1.15rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--orange-bright);
      margin-bottom: 14px;
      font-weight: 400;
    }

    .doc-block p {
      font-size: 0.88rem;
      color: var(--text-dim);
      line-height: 1.9;
      max-width: 820px;
      margin-bottom: 14px;
    }

    .table-wrap {
      overflow-x: auto;
      border: 1px solid var(--border);
      margin-bottom: 14px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.8rem;
      min-width: 520px;
    }

    th, td {
      text-align: left;
      padding: 11px 16px;
      border-bottom: 1px solid var(--border);
    }

    th {
      background: #131313;
      color: var(--amber);
      font-weight: normal;
      letter-spacing: 2px;
      text-transform: uppercase;
      font-size: 0.72rem;
    }

    td {
      color: var(--text-dim);
    }

    td code {
      color: var(--text);
    }

    tr:last-child td {
      border-bottom: none;
    }

    pre {
      background: var(--bg-deep);
      border: 1px solid var(--border);
      border-left: 2px solid var(--orange);
      padding: 16px 20px;
      overflow-x: auto;
      font-size: 0.82rem;
      color: var(--text);
      margin-bottom: 14px;
      line-height: 1.8;
    }

    pre .cmt {
      color: var(--text-dim);
    }

    code {
      font-family: var(--font-mono);
      color: var(--amber);
    }

    /* ── SCREENSHOTS ── */
    .screenshots {
      border-top: 1px solid var(--border);
      background: linear-gradient(180deg, var(--bg) 0%, #0c0c0c 100%);
    }

    .screenshots-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 16px;
    }

    .screenshot-item {
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border);
      cursor: pointer;
      transition: border-color 0.3s, transform 0.3s;
    }

    .screenshot-item:hover {
      border-color: var(--orange);
      transform: scale(1.02);
    }

    .screenshot-item img {
      display: block;
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    .screenshot-cap {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      padding: 18px 14px 8px;
      font-size: 0.72rem;
      letter-spacing: 1px;
      color: var(--text);
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
      opacity: 0;
      transition: opacity 0.3s;
    }

    .screenshot-item:hover .screenshot-cap {
      opacity: 1;
    }

    .ss-note {
      margin-top: 18px;
      font-size: 0.75rem;
      color: var(--text-dim);
      letter-spacing: 1px;
    }

    /* ── LIGHTBOX ── */
    .lightbox {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: rgba(0, 0, 0, 0.93);
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .lightbox.active {
      display: flex;
    }

    .lightbox img {
      max-width: 92vw;
      max-height: 90vh;
      object-fit: contain;
      border: 1px solid var(--border);
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 28px;
      font-size: 1.5rem;
      color: var(--text-dim);
      cursor: pointer;
      background: none;
      border: none;
      z-index: 2001;
      font-family: var(--font-mono);
    }

    .lightbox-close:hover {
      color: var(--orange-bright);
    }

    /* ── FAQ ── */
    .faq {
      border-top: 1px solid var(--border);
    }

    .faq-list {
      max-width: 880px;
    }

    .faq-item {
      border: 1px solid var(--border);
      background: var(--bg-card);
      margin-bottom: 10px;
    }

    .faq-q {
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      color: var(--text);
      font-family: var(--font-mono);
      font-size: 0.88rem;
      letter-spacing: 1px;
      padding: 16px 50px 16px 20px;
      cursor: pointer;
      position: relative;
      transition: color 0.3s;
    }

    .faq-q:hover,
    .faq-item.open .faq-q {
      color: var(--orange-bright);
    }

    .faq-q::after {
      content: '+';
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--orange);
      font-size: 1.2rem;
      transition: transform 0.3s;
    }

    .faq-item.open .faq-q::after {
      content: '\2212';
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
    }

    .faq-a p {
      padding: 0 20px 18px;
      font-size: 0.82rem;
      color: var(--text-dim);
      line-height: 1.9;
    }

    /* ── FOOTER ── */
    footer {
      border-top: 1px solid var(--orange);
      padding: 60px 24px 40px;
      text-align: center;
      background: var(--bg-deep);
    }

    .footer-logo {
      font-family: var(--font-display);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--orange-bright);
      letter-spacing: 5px;
      margin-bottom: 6px;
    }

    .footer-engine {
      font-size: 0.7rem;
      color: var(--text-dim);
      letter-spacing: 3px;
      text-transform: uppercase;
      margin-bottom: 22px;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 28px;
      list-style: none;
      margin-bottom: 26px;
    }

    .footer-links a {
      color: var(--text-dim);
      text-decoration: none;
      font-size: 0.75rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      transition: color 0.3s;
    }

    .footer-links a:hover {
      color: var(--orange-bright);
    }

    .footer-legal {
      font-size: 0.68rem;
      color: #3d3d3d;
      letter-spacing: 1px;
      max-width: 720px;
      margin: 0 auto;
      line-height: 1.9;
    }

    .moddb-widget {
      display: inline-block;
      margin: 0 auto 24px;
    }

    .moddb-widget img {
      display: block;
      max-width: 100%;
      height: auto;
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .nav-links {
        gap: 18px;
      }
    }

    @media (max-width: 768px) {
      nav {
        padding: 0 20px;
      }

      .hamburger {
        display: flex;
      }

      .nav-links {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.97);
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        border-bottom: 1px solid var(--border);
      }

      .nav-links.open {
        max-height: 420px;
        padding: 12px 0;
      }

      .nav-links li {
        text-align: center;
      }

      .nav-links a {
        display: block;
        padding: 12px 20px;
      }

      section {
        padding: 72px 20px;
      }

      .screenshots-grid {
        grid-template-columns: 1fr;
      }

      .stat {
        flex: 1 1 50%;
        min-width: 0;
        border-bottom: 1px solid var(--border);
      }

      .milestone {
        grid-template-columns: 1fr;
        gap: 14px;
      }

      .screenshot-cap {
        opacity: 1;
      }
    }
