
    :root {
      --black: #020001;
      --deep: #080003;
      --crimson: #7a0000;
      --red: #b02020;
      --gold: #8c7b50;
      --gold-dim: #5c5030;
      --gold-pale: #e8d090;
      --primary-text: #111111;
      --ash: #2e1212;
      --white: #ede5d5;
      --grey: #a0a0a0;
      --muted: #4a3030;

      /* EXACT fourmula.ai dark luxury colors */
      --menu: #dddddd;
      /* exact light grey background background color */
      --menu-colors: rgba(0, 0, 0, 0.1);
      --fonts-100: #1a1a1a;
      --fonts-64: rgba(26, 26, 26, 0.64);
      --fonts-20: rgba(0, 0, 0, 0.15);
    }

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

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }

    a {
      text-decoration: none;
    }

    body {
      background: var(--black);
      color: var(--white);
      font-family: 'Playfair Display', serif;
      overflow: hidden;
      height: 100dvh;
    }

    /* GATE & VIDEO */
    #story-intro {
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: #020001;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .intro-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(2, 0, 1, 0.4), rgba(2, 0, 1, 0.9)), url('assets/banner.png') no-repeat center center / cover;
      filter: grayscale(0.4) brightness(0.6) blur(2px);
      transform: scale(1.1);
      animation: slow-pan 60s infinite alternate ease-in-out;
    }

    @keyframes slow-pan {
      from {
        transform: scale(1.1) translate(0, 0);
      }

      to {
        transform: scale(1.2) translate(-2%, -2%);
      }
    }

    .intro-grain {
      position: absolute;
      inset: 0;
      background: url('https://grainy-gradients.vercel.app/noise.svg');
      opacity: 0.15;
      pointer-events: none;
      z-index: 1;
      mix-blend-mode: overlay;
    }

    .story-overlay {
      position: relative;
      z-index: 10;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 40px;
    }

    .lore-text {
      max-width: 800px;
      width: 100%; /* Ensures it spans the available space for perfect centering */
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      opacity: 0;
      transform: translateY(30px);
      animation: reveal-up 1.5s forwards cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
    }

    @keyframes reveal-up {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .intro-ch {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      letter-spacing: 12px;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 24px;
      opacity: 0.7;
    }

    .intro-title {
      font-family: 'Cinzel', serif;
      font-size: clamp(32px, 8vw, 80px);
      letter-spacing: 2px; /* Reduced from 6px */
      color: var(--white);
      font-weight: 700;
      text-transform: uppercase;
      line-height: 1;
      margin-bottom: 24px; /* Reduced to balance with bottom gap */
      text-shadow: 0 0 40px rgba(200, 168, 75, 0.2);
      white-space: nowrap;
    }

    .intro-verse {
      font-family: 'Playfair Display', serif;
      font-size: clamp(18px, 4vw, 24px);
      color: var(--grey);
      line-height: 1.8;
      max-width: 1000px;
      margin: 0 auto 32px; /* Halved massive 64px gap */
      opacity: 0.8;
      display: flex;
      flex-direction: column;
      align-items: center; /* Forces flex children to absolute center */
      text-align: center; /* Enforces text centering */
      gap: 4px;
      width: 100%;
    }

    .intro-verse p {
      white-space: nowrap;
      text-align: center; /* Double guarantee for centering */
    }

    .btn-descend {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: var(--gold);
      color: var(--black);
      height: 48px;
      padding: 0 28px;
      font-size: 20px;
      font-weight: 700;
      border-radius: 12px;
      border: 1px solid rgba(200, 168, 75, 0.2);
      box-shadow: 0 4px 0 var(--gold-dim);
      transition: all 0.2s ease;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Cinzel', serif;
      margin-top: 40px;
      pointer-events: all;
    }

    .btn-descend:hover {
      background-color: rgba(200, 168, 75, 0.95);
      transform: scale(1.02);
    }

    .btn-descend:active {
      transform: translateY(3px) scale(1.02);
      box-shadow: 0 1px 0 var(--gold-dim);
    }

    .btn-descend svg,
    .btn-huginn-primary svg,
    .nav-btn-primary svg {
      width: 16px;
      height: 16px;
      margin-left: 8px;
      transition: transform 0.2s ease;
    }

    .btn-descend:hover svg,
    .btn-huginn-primary:hover svg,
    .nav-btn-primary:hover svg {
      transform: translateX(4px);
    }
    }

    .btn-brutal-primary {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 14px;
      letter-spacing: 2px;
      text-decoration: none;
      text-transform: uppercase;
      color: var(--black);
      background: var(--gold);
      cursor: pointer;
      border: 3px solid var(--gold);
      padding: 16px 36px;
      box-shadow: 1px 1px 0px 0px var(--gold-dim), 2px 2px 0px 0px var(--gold-dim), 3px 3px 0px 0px var(--gold-dim), 4px 4px 0px 0px var(--gold-dim), 5px 5px 0px 0px var(--gold-dim);
      position: relative;
      transition: all 0.1s;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
    }

    .btn-brutal-primary:active {
      box-shadow: 0px 0px 0px 0px;
      top: 5px;
      left: 5px;
    }

    .btn-brutal-secondary {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 14px;
      letter-spacing: 2px;
      text-decoration: none;
      text-transform: uppercase;
      color: var(--gold);
      background: rgba(2, 0, 1, 0.8);
      cursor: pointer;
      border: 3px solid var(--gold);
      padding: 16px 36px;
      box-shadow: 1px 1px 0px 0px var(--gold-dim), 2px 2px 0px 0px var(--gold-dim), 3px 3px 0px 0px var(--gold-dim), 4px 4px 0px 0px var(--gold-dim), 5px 5px 0px 0px var(--gold-dim);
      position: relative;
      transition: all 0.1s;
      user-select: none;
      -webkit-user-select: none;
      touch-action: manipulation;
    }

    .btn-brutal-secondary:active {
      box-shadow: 0px 0px 0px 0px;
      top: 5px;
      left: 5px;
    }

    #intro-video-container {
      position: fixed;
      inset: 0;
      z-index: 9000;
      background: #000;
      display: none;
      opacity: 0;
      transition: opacity 1.5s ease;
      /* Add flex to ensure the video perfectly aligns in the absolute center on ALL mobile rendering engines */
      justify-content: center;
      align-items: center;
    }

    #intro-video-container.active {
      display: flex;
      opacity: 1;
    }

    #intro-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      background: #000;
    }

    /* Mobile: TikTok/Reels style — video completely fills the portrait screen */
    @media (max-width: 768px) {
      #intro-video-container.active {
        position: fixed;
        inset: 0;
      }

      #intro-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* Forces the video to completely fill the screen without letterboxing */
      }
    }

    .btn-skip {
      position: fixed;
      bottom: 40px;
      right: 40px;
      z-index: 10000;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 48px;
      padding: 0 28px;
      font-size: 18px;
      font-weight: 600;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background-color: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: var(--white);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
      border-radius: 12px;
      transition: all 0.2s ease;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Cinzel', serif;
      pointer-events: all;
    }

    .btn-skip:hover {
      border-color: rgba(255, 255, 255, 0.2);
      background-color: rgba(255, 255, 255, 0.1);
      transform: scale(1.02);
      color: #fff;
    }

    .btn-skip:active {
      transform: scale(0.98);
    }

    /* MAIN SITE */
    #main-site {
      opacity: 0;
      transition: opacity 2.5s ease;
      visibility: hidden;
      position: fixed;
      inset: 0;
      background: linear-gradient(rgba(2, 0, 1, 0.85), rgba(8, 0, 3, 0.92)), url('assets/banner.png') no-repeat center center / cover;
      overflow-y: auto;
      overflow-x: hidden;
    }

    #main-site.visible {
      opacity: 1;
      visibility: visible;
    }

    /* ══════════════════════════════════════════════════
       EXACT FOURMULA.AI NAV BAR STYLE (PILL IS CENTERED LOGO LEFT)
    ══════════════════════════════════════════════════ */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 999;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.25rem 2.5rem;
      pointer-events: none;
    }

    .header>* {
      pointer-events: auto;
    }

    .header__left {
      width: 10.75rem;
      display: flex;
      align-items: center;
    }

    .header__logo-img {
      width: 2.2rem;
      height: 2.2rem;
      color: var(--white);
      fill: currentColor;
    }

    .header__logo-text {
      font-family: 'Playfair Display', serif;
      font-size: 20px;
      font-weight: 900;
      letter-spacing: 2px;
      color: var(--white);
      margin-left: 0.5rem;
      text-transform: uppercase;
    }

    .header__main {
      z-index: 1000;
      grid-column-gap: 1.5rem;
      grid-row-gap: 1.5rem;
      background-color: rgba(2, 0, 1, 0.95);
      border-radius: 99rem;
      justify-content: center;
      align-items: center;
      height: 3rem;
      padding: 0.5rem 1rem;
      display: flex;
      position: relative;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .header__menu {
      grid-column-gap: 0.75rem;
      grid-row-gap: 0.75rem;
      cursor: pointer;
      justify-content: center;
      align-items: center;
      text-decoration: none;
      transition: opacity 0.2s;
      display: flex;
    }

    .header__menu:hover {
      opacity: 0.64;
    }

    .header__menu-txt {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #fff;
      width: 3rem;
      user-select: none;
    }

    .header__menu-icon {
      color: #fff;
      flex-flow: column;
      justify-content: center;
      align-items: center;
      width: 1.65rem;
      height: 1.65rem;
      display: flex;
      position: relative;
    }

    .header__menu-line {
      background-color: #fff;
      width: 1.25rem;
      height: 0.07rem;
      position: absolute;
    }

    .header__menu-line.is-top {
      transform: translateY(-0.2rem);
    }

    .header__menu-line.is-bottom {
      transform: translateY(0.2rem);
    }

    /* THE OTHER METADATA BUBBLES IN THE PILL */
    .header__theme {
      border: 1px solid rgba(255, 255, 255, 0.15);
      cursor: pointer;
      border-radius: 99rem;
      justify-content: center;
      align-items: center;
      width: 2rem;
      height: 2rem;
      transition: all 0.2s;
      display: flex;
    }

    .header__theme:hover {
      border-color: rgba(255, 255, 255, 0.6);
    }

    .header__prc {
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 99rem;
      justify-content: center;
      align-items: center;
      height: 2rem;
      padding: 0 0.55rem;
      display: flex;
    }

    .header__prc-txt {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      color: #fff;
      text-align: center;
      width: 2.5rem;
    }

    .header_right {
      grid-column-gap: 0.65rem;
      grid-row-gap: 0.65rem;
      justify-content: center;
      align-items: center;
      display: flex;
    }

    /* RIGHT SIDE USER BUBBLE AND GET WL BUTTON */
    .header_signin {
      border: 1px solid rgba(255, 255, 255, 0.15);
      width: 2rem;
      height: 2rem;
      color: var(--white);
      border-radius: 2rem;
      justify-content: center;
      align-items: center;
      transition: all 0.2s;
      display: flex;
    }

    .header_signin:hover {
      border-color: rgba(255, 255, 255, 0.6);
    }

    .header_signin-icon {
      justify-content: center;
      align-items: center;
      width: 1rem;
      height: 1rem;
      display: flex;
    }

    .btn-primary.u-btn.is-header-btn {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #000;
      background-color: #fff;
      border: 1px solid #fff;
      border-radius: 2rem;
      padding: 0.65rem 1.4rem;
      transition: all 0.25s ease;
      cursor: pointer;
      display: inline-block;
      text-align: center;
    }

    .btn-primary.u-btn.is-header-btn:hover {
      background-color: transparent;
      color: #fff;
      border-color: #fff;
    }

    /* DROPDOWN MENU */
    .menu {
      z-index: 998;
      pointer-events: none;
      justify-content: center;
      align-items: center;
      padding-top: 0.75rem;
      display: flex;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
    }

    .menu__wrap-main {
      justify-content: center;
      align-items: flex-start;
      width: 18rem;
      display: flex;
    }

    .menu__wrap {
      grid-column-gap: 2rem;
      grid-row-gap: 2rem;
      background-color: rgba(221, 221, 221, 0.94);
      color: #1a1a1a;
      pointer-events: auto;
      border-radius: 2rem;
      flex-flow: column;
      width: 15rem;
      height: 2.7rem;
      transform: translateY(1.25rem);
      padding: 0rem;
      display: flex;
      overflow: hidden;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .menu__item {
      grid-column-gap: 0.65rem;
      grid-row-gap: 0.65rem;
      flex-flow: column;
      width: 100%;
      display: flex;
      padding-left: 1.25rem;
      padding-right: 1.25rem;
    }

    .menu__item.is-lined {
      border-top: 1px solid rgba(0, 0, 0, 0.1);
      padding-top: 1.25rem;
    }

    .menu__item.is-last {
      padding-top: 1.5rem;
    }

    .menu__label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 8px;
      letter-spacing: 2px;
      color: rgba(0, 0, 0, 0.4);
      text-transform: uppercase;
      margin-bottom: 0.25rem;
    }

    .menu__list {
      grid-column-gap: 0.4rem;
      grid-row-gap: 0.4rem;
      flex-flow: column;
      display: flex;
    }

    .menu__list.is-row {
      grid-column-gap: 0.75rem;
      grid-row-gap: 0.75rem;
      flex-flow: row;
    }

    .menu__link {
      font-family: 'Playfair Display', serif;
      font-size: 20px;
      font-weight: 700;
      color: #1a1a1a;
      text-decoration: none;
      transition: all 0.25s;
    }

    .menu__link:hover {
      color: #000;
      transform: translateX(4px);
    }

    .menu__link.u-title-2 {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: rgba(0, 0, 0, 0.7);
    }

    .menu__link.u-title-2:hover {
      color: #000;
    }

    @media screen and (max-width: 767px) {
      .header {
        padding: 0.75rem 1.25rem;
      }

      .header__left {
        width: 8rem;
      }

      .header_right {
        display: none;
      }

      .menu__wrap {
        width: 15.5rem;
        transform: translateY(0.5rem);
      }
    }

    /* PAGE ARRANGEMENT */
    .page {
      display: none;
      flex-direction: column;
      align-items: center;
      padding: 140px 48px 160px;
      min-height: 100dvh;
      position: relative;
    }

    @keyframes fadeInPage {
      from {
        opacity: 0;
        transform: translateY(15px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .page.active {
      display: flex;
      animation: fadeInPage 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    #page-hero {
      position: relative;
      padding-top: 0;
      /* Removed hardcoded display: block so it can be hidden by .page display: none */
    }

    #page-hero.active {
      display: block; /* Override default .page.active display: flex so hero scrolls naturally */
    }

    .hero-centered {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      min-height: 100dvh;
      width: 100%;
      margin: 0 auto;
    }

    .hero-top-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    .scroll-indicator {
      display: none; /* Hidden on laptop because stats are fully visible on the first screen */
      color: rgba(237, 229, 213, 0.6);
      animation: bounce-indicator 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
    }

    @keyframes bounce-indicator {
      0%, 20%, 50%, 80%, 100% { transform: translateY(0); opacity: 0.6; }
      40% { transform: translateY(-15px); opacity: 1; }
      60% { transform: translateY(-7px); opacity: 1; }
    }

    .eyebrow {
      font-family: 'IBM Plex Mono', monospace;
      color: var(--gold);
      letter-spacing: 6px;
      text-transform: uppercase;
      font-size: 14px;
      margin-bottom: 24px;
    }

    .hero-title {
      font-family: 'Cinzel', serif;
      font-size: 56px;
      font-weight: 600;
      color: var(--white);
      letter-spacing: -0.025em;
      line-height: 1.1;
      margin-bottom: 32px;
    }

    .hero-title .accent {
      color: var(--gold);
    }

    .hero-lore-content {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 40px;
    }

    .hero-lore-p {
      font-family: 'Playfair Display', serif;
      color: var(--grey);
      font-size: 18px;
      line-height: 1.625;
      max-width: 672px;
      margin: 0 auto;
    }

    /* Stats Grid */
    .stats-grid {
      display: flex;
      gap: 40px;
      justify-content: center;
      width: 100%;
      margin-bottom: 24px;
    }
    .stat-item { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
    .stat-value { font-family: 'Cinzel', serif; font-size: 32px; color: var(--white); }
    .stat-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }

    .hero-buttons {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 80px;
    }

    /* Huginn Style Buttons */
    .btn-huginn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: var(--gold);
      color: var(--primary-text);
      height: 48px;
      padding: 0 28px;
      font-size: 20px;
      font-weight: 700;
      border-radius: 12px;
      border: 1px solid rgba(200, 168, 75, 0.2);
      box-shadow: 0 4px 0 var(--gold-dim);
      transition: all 0.2s ease;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Cinzel', serif;
    }

    .btn-huginn-primary:hover {
      background-color: rgba(200, 168, 75, 0.95);
      transform: scale(1.02);
    }

    .btn-huginn-primary:active {
      transform: translateY(3px) scale(1.02);
      box-shadow: 0 1px 0 var(--gold-dim);
    }

    .btn-huginn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 48px;
      padding: 0 28px;
      font-size: 20px;
      font-weight: 600;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background-color: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: var(--white);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15);
      border-radius: 12px;
      transition: all 0.2s ease;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Cinzel', serif;
    }

    .btn-huginn-secondary:hover {
      border-color: rgba(255, 255, 255, 0.2);
      background-color: rgba(255, 255, 255, 0.1);
      transform: scale(1.02);
      color: #fff;
    }

    .btn-huginn-secondary:active {
      transform: scale(0.98);
    }

    /* RESPONSIVE OVERRIDES */
    @media (max-width: 768px) {
      .intro-title {
        font-size: min(7vw, 32px); /* Slightly smaller so it has breathing room */
        padding: 0 20px; /* Hard guarantee it will NEVER touch the edges on any phone */
        margin-bottom: 16px;
      }

      .intro-verse {
        font-size: 16px;
        margin-bottom: 24px; /* Reduced to close massive gap */
        padding: 0 4px; /* Reduced padding to maximize space on tiny screens */
        text-align: center;
      }

      .intro-verse p {
        white-space: nowrap; /* Forced back into a single straight line */
        font-size: clamp(10px, 3.4vw, 16px); /* Increased size significantly */
        letter-spacing: -0.2px; /* Tightened slightly to ensure it still fits on tiny phones without breaking */
        line-height: 1.4; 
        margin-bottom: 4px;
      }

      .btn-descend {
        margin-top: 0; /* Removed redundant margin causing massive gap */
        height: 40px;
        font-size: 14px;
        padding: 0 20px;
      }

      #page-hero {
        padding-bottom: 20px;
        padding-top: 80px; /* Ensure padding on mobile */
      }

      .hero-centered {
        margin-top: 0;
        padding: 0 16px;
        align-items: center;
        text-align: center;
      }

      .hero-lore-content {
        align-items: center;
        gap: 0;
        margin-bottom: 32px;
      }

      .eyebrow {
        text-align: center;
        font-size: 10px; /* Scaled down */
        letter-spacing: 4px;
        margin-bottom: 16px;
      }

      .hero-title {
        font-size: min(9vw, 36px);
        margin-bottom: 24px;
        text-align: center;
        white-space: nowrap;
      }

      .hero-lore-p {
        font-size: 15px; 
        padding: 0 4px; /* Reduced padding to maximize space on tiny screens */
        line-height: 1.625;
        text-align: center;
        margin-bottom: 8px;
        white-space: normal;
      }
      
      .hero-lore-p:nth-child(1),
      .hero-lore-p:nth-child(3) {
        font-size: clamp(10px, 3.6vw, 15px); /* Perfectly scales down on tiny phones to prevent horizontal scrolling */
        white-space: nowrap; 
      }

      .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-bottom: 48px; /* Give breathing room before stats */
      }

      .hero-buttons > a {
        justify-content: center;
        font-size: 14px;
        height: 40px;
        padding: 0 20px;
        width: 100%;
        max-width: 260px; /* Ensures they look uniform and proportionate */
      }
      
      .mobile-break {
        display: none;
      }

      .stats-grid { 
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px; 
        padding: 24px;
        margin-top: 40px;
        margin-bottom: 80px;
        background: rgba(2, 0, 1, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
      }
      .stat-item { 
        flex: unset;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }
      .stat-item:nth-child(3) {
        grid-column: span 2;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
      }
      .stat-value {
        font-size: 26px; /* Slightly scaled down for mobile grid */
      }

      .page {
        padding: 120px 16px 40px;
      }

      .scripture-title {
        font-size: 28px;
        letter-spacing: 2px;
      }

      .scripture-body {
        font-size: 16px;
        text-align: left;
      }
      
      .faq-q {
        font-size: 18px;
        padding: 20px 0;
      }

      .scripture-verse {
        font-size: 18px; /* Down from 26px so it doesn't dominate tiny screens */
        margin: 40px 0;
        padding: 24px 0;
      }

      .wl-title {
        font-size: clamp(24px, 7vw, 40px); /* Massive original clamp(40px, 8vw, 84px) overflows small phones */
        letter-spacing: 6px; /* Halved letter spacing to prevent horizontal scroll */
      }

      .hero-top-content {
        position: relative;
        min-height: 100vh;
        min-height: 100dvh; /* Forces stats grid completely below the fold on mobile */
      }

      .scroll-indicator {
        display: block; /* Show arrow only on mobile */
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
      }

      .btn-skip {
        bottom: 40px; /* High enough to avoid Android nav bars */
        right: 20px; /* Restored back to the far right */
        transform: none; /* Removed horizontal centering */
        padding: 0 24px;
        font-size: 14px;
        white-space: nowrap;
      }

      .footer {
        padding: 48px 16px 32px 16px; /* Reduced side padding to give columns more room */
        gap: 24px; /* Pull the logo up towards the socials */
      }
      .footer-top {
        flex-direction: column;
        gap: 32px;
      }
      .footer-links-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Split space equally */
        gap: 16px;
        width: 100%;
      }
      .footer-col a {
        white-space: normal; /* Allow wrapping if needed on tiny screens */
        font-size: 10px;
        letter-spacing: 0px;
        line-height: 1.5;
      }
      .footer-bottom {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left !important;
        justify-content: flex-start !important;
        gap: 4px;
        width: 100% !important;
      }
      .footer-huge-logo {
        font-size: 15vw !important; /* Fixed overflow causing footer to slip out of bounds */
        letter-spacing: -0.02em; 
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        align-self: flex-start !important;
        width: 100% !important;
      }
      .ft-copy {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        align-self: flex-start !important;
        width: 100% !important;
      }

      .hero-stats {
        gap: 24px !important;
        flex-wrap: wrap;
      }

      .hero-stats>div {
        flex: 1 1 40%;
      }


    }

    /* SCRIPTURE / LORE */
    .scripture-wrap {
      max-width: 850px;
      width: 100%;
    }

    .scripture-sec {
      margin-bottom: 120px;
      text-align: center;
    }

    .scripture-header {
      font-family: 'Cinzel', serif;
      font-size: 20px;
      letter-spacing: 4px;
      color: var(--gold-dim);
      text-transform: uppercase;
      margin-bottom: 24px;
    }

    .scripture-title {
      font-family: 'Cinzel', serif;
      font-size: 56px;
      color: var(--white);
      text-transform: uppercase;
      margin-bottom: 48px;
      font-weight: 700;
      letter-spacing: 4px;
    }

    .scripture-body {
      font-size: 22px;
      line-height: 2;
      color: rgba(237, 229, 213, 0.85);
      font-style: italic;
      text-align: left;
      margin-bottom: 40px;
    }

    .scripture-body::first-letter {
      font-size: 72px;
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      color: var(--gold);
      float: left;
      line-height: 1;
      margin-right: 12px;
      margin-top: 8px;
    }

    .scripture-verse {
      font-family: 'Playfair Display', serif;
      font-size: 26px;
      color: var(--gold);
      line-height: 1.6;
      margin: 60px 0;
      font-style: italic;
      padding: 32px 0;
      border-top: 1px solid var(--ash);
      border-bottom: 1px solid var(--ash);
    }

    /* LEGAL PAGES */
    .legal-wrap {
      max-width: 800px;
      margin: 0 auto;
      padding: 120px 24px;
      text-align: left;
    }

    .legal-title {
      font-family: 'Cinzel', serif;
      font-size: 40px;
      color: var(--white);
      margin-bottom: 48px;
      letter-spacing: 2px;
    }

    .legal-section-title {
      font-family: 'Cinzel', serif;
      font-size: 20px;
      color: var(--gold);
      margin-top: 40px;
      margin-bottom: 16px;
    }

    .legal-body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      font-size: 15px;
      line-height: 1.7;
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 20px;
    }

    /* GET WL / ASCENSION */
    .wl-coming {
      text-align: center;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .wl-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(40px, 8vw, 84px);
      color: var(--white);
      text-transform: uppercase;
      letter-spacing: 12px;
    }

    .glitch-soon {
      position: relative;
      display: inline-block;
      color: var(--gold);
      text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
        -0.05em 0.05em 0 rgba(0, 0, 255, 0.75);
      animation: glitch-vibrate 300ms infinite;
    }

    .glitch-soon::before,
    .glitch-soon::after {
      content: attr(data-text);
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0.8;
    }

    .glitch-soon::before {
      animation: glitch-fracture 500ms infinite;
      clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
      transform: translate(-0.025em, -0.0125em);
      color: var(--crimson);
      z-index: -1;
    }

    .glitch-soon::after {
      animation: glitch-fracture 250ms infinite;
      clip-path: polygon(0 80%, 100% 20%, 100% 100%, 0 100%);
      transform: translate(0.0125em, 0.025em);
      color: var(--gold-pale);
      z-index: -2;
    }

    @keyframes glitch-vibrate {
      0% {
        transform: translate(0);
      }

      25% {
        transform: translate(-2px, 1px);
      }

      50% {
        transform: translate(2px, -1px);
      }

      75% {
        transform: translate(-1px, 2px);
      }

      100% {
        transform: translate(0);
      }
    }

    @keyframes glitch-fracture {
      0% {
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
        transform: translate(0);
      }

      2% {
        clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
        transform: translate(-5px);
      }

      4% {
        clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
        transform: translate(5px);
      }

      6% {
        clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
        transform: translate(0);
      }

      8% {
        clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
        transform: translate(-2px);
      }

      10% {
        clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
        transform: translate(2px);
      }

      12% {
        clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
        transform: translate(0);
      }

      14% {
        clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
        transform: translate(5px);
      }

      16% {
        clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
        transform: translate(-5px);
      }

      18% {
        clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
        transform: translate(0);
      }

      20% {
        clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
        transform: translate(5px);
      }

      100% {
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        transform: translate(0);
      }
    }

    /* FAQ */
    .faq-wrap {
      max-width: 800px;
      width: 100%;
    }

    .faq-item {
      border-bottom: 1px solid var(--ash);
      margin-bottom: 12px;
    }

    .faq-q {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 24px 0;
      background: transparent;
      border: none;
      text-align: left;
      font-family: 'Cinzel', serif;
      font-size: 26px;
      font-weight: 700;
      color: var(--white);
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height .4s ease;
      font-size: 18px;
      color: rgba(237, 229, 213, 0.65);
      line-height: 1.8;
      font-style: italic;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .faq-item.open .faq-a {
      max-height: 300px;
      padding-bottom: 32px;
    }

    /* GALLERY */
    .col-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 24px;
      width: 100%;
    }

    .nft-card {
      border: 1px solid var(--ash);
      background: rgba(2, 0, 1, 0.8);
      backdrop-filter: blur(10px);
    }

    .card-img {
      height: 280px;
      background: rgba(8, 0, 3, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
      color: var(--ash);
    }

    .card-info {
      padding: 20px;
    }

    .card-name {
      font-family: 'Playfair Display', serif;
      font-size: 18px;
      color: var(--white);
      font-weight: 700;
    }

    .card-tier {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 9px;
      letter-spacing: 3px;
      color: var(--gold-dim);
      text-transform: uppercase;
      margin-top: 8px;
    }

    /* GLOBAL FOOTER (BURNER.PRO STYLE) */
    .footer {
      position: relative;
      z-index: 10;
      padding: 64px 48px 32px 48px;
      background: rgba(2, 0, 1, 0.92); /* Restored original theme background */
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      flex-direction: column;
      gap: 64px;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      width: 100%;
    }

    .footer-links-grid {
      display: flex;
      gap: 120px;
    }

    .footer-col {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .footer-col a {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: color 0.3s ease;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .footer-col a:hover {
      color: var(--gold);
    }

    .footer-socials {
      display: flex;
      gap: 24px;
    }

    .ft-social-link {
      width: 32px;
      height: 32px;
      color: rgba(255, 255, 255, 0.7);
      transition: all .3s;
    }

    .ft-social-link:hover {
      color: var(--gold);
      transform: translateY(-2px);
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      width: 100%;
    }

    .footer-huge-logo {
      font-family: 'Cinzel', serif;
      font-size: clamp(60px, 16vw, 240px);
      line-height: 0.75;
      font-weight: 700;
      color: #fff;
      letter-spacing: -0.05em; /* Tight letter spacing for UNGDLY */
      margin-left: -0.05em;
    }

    .ft-copy {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 10px;
      letter-spacing: 2px;
      color: rgba(255, 255, 255, 0.4);
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    /* Navbar CSS */
    #custom-navbar {
      position: sticky;
      top: 20px;
      z-index: 50;
      width: 100%;
      pointer-events: none;
      /* Let clicks pass through empty areas */
      margin-bottom: -80px;
      /* Overlap content */
    }

    .nav-container {
      pointer-events: auto;
      position: relative;
      z-index: 60;
      margin: 0 auto;
      width: 100%;
      max-width: 1280px;
      /* max-w-7xl */
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-radius: 9999px;
      padding: 8px 16px;
      background-color: transparent;
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-container.scrolled {
      background-color: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 0 24px rgba(0, 0, 0, 0.6), 0 1px 1px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 4px rgba(0, 0, 0, 0.8), 0 16px 68px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
      width: 40%;
      min-width: 600px;
      transform: translateY(20px);
    }

    .nav-container.scrolled .nav-btn-primary svg {
      display: none;
    }

    @media (max-width: 1024px) {
      .nav-container.scrolled {
        width: 90%;
        min-width: unset;
        border-radius: 2rem;
      }
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: white;
      font-family: 'Cinzel', serif;
      font-weight: 700;
      font-size: 20px;
      letter-spacing: 1px;
    }

    .nav-logo img {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      object-fit: cover;
    }

    .nav-desktop-links {
      display: flex;
      flex: 1;
      justify-content: center;
      gap: 8px;
    }

    .nav-desktop-links a {
      padding: 8px 16px;
      text-decoration: none;
      color: #ccc;
      font-family: 'Cinzel', serif;
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 1px;
      border-radius: 9999px;
      white-space: nowrap;
      transition: all 0.2s;
      position: relative;
    }

    .nav-desktop-links a:hover {
      color: white;
      background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-buttons {
      display: flex;
      gap: 16px;
      align-items: center;
    }

    .nav-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-family: 'Cinzel', serif;
    }

    .nav-btn-primary {
      background-color: var(--gold);
      color: var(--black);
      height: 44px;
      padding: 0 24px;
      font-family: 'Cinzel', serif;
      font-size: 16px;
      font-weight: 700;
      border-radius: 12px;
      white-space: nowrap;
      border: 1px solid rgba(200, 168, 75, 0.2);
      box-shadow: 0 4px 0 var(--gold-dim);
      transition: all 0.2s ease;
    }

    .nav-btn-primary:hover {
      background-color: rgba(200, 168, 75, 0.95);
      transform: scale(1.02);
    }

    .nav-btn-primary:active {
      transform: translateY(3px) scale(1.02);
      box-shadow: 0 1px 0 var(--gold-dim);
    }

    .nav-btn-secondary {
      background-color: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(4px);
      color: white;
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 8px 20px;
      border-radius: 12px;
      transition: all 0.2s;
    }

    .nav-btn-secondary:hover {
      background-color: rgba(255, 255, 255, 0.1);
    }

    .mobile-nav {
      display: none;
    }

    .mobile-nav-toggle {
      background: none;
      border: none;
      color: white;
      cursor: pointer;
      padding: 8px;
    }

    .mobile-nav-toggle svg {
      width: 24px;
      height: 24px;
    }

    .mobile-nav-menu {
      position: absolute;
      top: 70px;
      left: 0;
      right: 0;
      background-color: #020001;
      /* Match body bg */
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 32px 16px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      box-shadow: 0 0 24px rgba(0, 0, 0, 0.6);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-nav-menu.open {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .mobile-nav-menu a {
      text-decoration: none;
      color: #ccc;
      font-family: 'Cinzel', serif;
      font-weight: 600;
      letter-spacing: 1px;
      font-size: 18px;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    @media (max-width: 1024px) {

      .nav-desktop-links,
      .nav-buttons {
        display: none;
      }

      .mobile-nav {
        display: block;
      }
    }
    /* Hide mobile breaks on desktop */
    @media (min-width: 769px) {
      .mobile-break { display: none; }
    }
    /* Hero Section Exact Requested Breakpoints */
    /* Mobile (< 640px) is covered by base styles and max-width: 768px overrides. 
       We will explicitly define the min-width tiers now. */
    
    @media (min-width: 640px) {
      .hero-title {
        font-size: 40px;
      }
      .hero-lore-p {
        font-size: 18px;
      }
      .hero-buttons {
        flex-direction: row;
      }
    }

    @media (min-width: 768px) {
      .hero-title {
        font-size: 48px;
      }
    }

    @media (min-width: 1024px) {
      .hero-title {
        font-size: 56px;
      }
    }
  