    /* ── odyssey-x.css ── */

    :root {
      --gold:        #c8a84b;
      --gold-bright: #f0d060;
      --gold-dim:    #7a6020;
      --purple-dark: #1a1228;
      --purple-mid:  #2a1e40;
      --purple-card: rgba(20,14,38,0.82);
      --cyan:        #4aeadc;
      --cyan-dim:    #2a9990;
      --text:        #d8cfc0;
      --text-dim:    #8a8070;
    }

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

    html, body {
      width: 100%; min-height: 100vh;
      background: var(--purple-dark);
      font-family: 'IM Fell English', Georgia, serif;
      color: var(--text);
      overflow-x: hidden;
    }

    /* ── Background image ── */
    #bg {
      position: fixed; inset: 0;
      background: url('/images/odyssey-x-bg-image-1.png') center center / cover no-repeat;
      z-index: 0;
      filter: brightness(0.55) saturate(0.7);
    }
    #bg-overlay {
      position: fixed; inset: 0;
      background: linear-gradient(to right,
        rgba(15,8,30,0.92) 0%,
        rgba(15,8,30,0.60) 45%,
        rgba(15,8,30,0.30) 100%);
      z-index: 1;
    }

    /* ── Layout ── */
    #app {
      position: relative; z-index: 2;
      display: grid;
      grid-template-columns: 420px 1fr;
      grid-template-rows: auto auto 1fr auto;
      min-height: 100vh;
      padding: 16px 28px 24px;
      gap: 16px 20px;
    }

    /* ── Header ── */
    #header {
      grid-column: 1 / -1;
      grid-row: 2;
      text-align: center;
      padding: 6px 0 4px;
    }
    #header h1 {
      font-family: 'Cinzel Decorative', serif;
      font-size: clamp(1.6rem, 3.5vw, 2.6rem);
      color: var(--gold);
      letter-spacing: 0.08em;
      text-shadow: 0 0 40px rgba(200,168,75,0.5), 0 2px 4px rgba(0,0,0,0.8);
      line-height: 1.2;
    }
    #header .subtitle {
      font-family: 'Cinzel', serif;
      font-size: 0.78rem;
      color: var(--gold-dim);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      margin-top: 4px;
    }

    /* ── Left panel: Waypoints log ── */
    #left-panel {
      grid-column: 1;
      grid-row: 3;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    #waypoints-card {
      background: var(--purple-card);
      border: 1px solid rgba(200,168,75,0.25);
      border-radius: 14px;
      padding: 18px 16px;
      backdrop-filter: blur(10px);
      flex: 1;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    #waypoints-card h2 {
      font-family: 'Cinzel', serif;
      font-size: 0.68rem;
      color: var(--gold-dim);
      letter-spacing: 0.22em;
      text-transform: uppercase;
      margin-bottom: 12px;
      padding-bottom: 8px;
      border-bottom: 1px solid rgba(200,168,75,0.15);
    }
    #waypoints-list {
      flex: 1;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 8px;
      scrollbar-width: thin;
      scrollbar-color: var(--gold-dim) transparent;
    }
    .waypoint-entry {
      font-size: 0.82rem;
      color: var(--text-dim);
      line-height: 1.4;
      padding: 6px 0;
      border-bottom: 1px solid rgba(200,168,75,0.08);
      animation: fadeSlideIn 0.5s ease forwards;
      opacity: 0;
    }
    .waypoint-entry.gold { color: var(--gold); }
    .waypoint-entry .wp-label {
      font-family: 'Cinzel', serif;
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--gold-dim);
      margin-bottom: 2px;
    }
    .waypoint-entry .tx-link {
      display: inline-block;
      margin-top: 3px;
      font-family: 'Cinzel', serif;
      font-size: 0.60rem;
      color: var(--cyan);
      text-decoration: none;
      letter-spacing: 0.05em;
    }
    .waypoint-entry .tx-link:hover { color: var(--cyan-dim); text-decoration: underline; }

    /* ── Bottom: Storyline bar ── */
    #story-bar {
      grid-column: 1 / -1;
      grid-row: 4;
      background: rgba(10,6,24,0.85);
      border: 1px solid rgba(200,168,75,0.2);
      border-radius: 12px;
      padding: 16px 24px;
      backdrop-filter: blur(8px);
      min-height: 70px;
      display: flex;
      align-items: center;
    }
    #story-text {
      font-size: clamp(1.15rem, 2vw, 1.45rem);
      font-style: italic;
      color: var(--cyan);
      line-height: 1.65;
      letter-spacing: 0.01em;
      transition: opacity 0.4s;
    }
    #story-text.fading { opacity: 0; }

    /* ── Right side: main narrative / golden phrase ── */
    #right-panel {
      grid-column: 2;
      grid-row: 3;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 16px;
    }

    /* Start button */
    #start-section {
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 1;
    }
    #start-btn {
      font-family: 'Cinzel Decorative', serif;
      font-size: 1.1rem;
      color: var(--purple-dark);
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 60%, var(--gold) 100%);
      border: none;
      border-radius: 50px;
      padding: 18px 54px;
      cursor: pointer;
      letter-spacing: 0.1em;
      box-shadow: 0 0 40px rgba(200,168,75,0.4), 0 4px 20px rgba(0,0,0,0.6);
      transition: transform 0.2s, box-shadow 0.2s;
      text-shadow: none;
    }
    #start-btn:hover {
      transform: scale(1.04);
      box-shadow: 0 0 60px rgba(200,168,75,0.65), 0 4px 24px rgba(0,0,0,0.7);
    }
    #start-btn:active { transform: scale(0.98); }
    #start-btn:disabled {
      opacity: 0.5; cursor: not-allowed; transform: none;
    }

    /* Answer card (shown mid-journey) */
    #answer-card {
      display: none;
      background: var(--purple-card);
      border: 1px solid rgba(200,168,75,0.3);
      border-radius: 14px;
      padding: 22px 26px;
      backdrop-filter: blur(12px);
      animation: fadeSlideIn 0.6s ease forwards;
    }
    #answer-card.visible { display: block; }
    #answer-card .location-name {
      font-family: 'Cinzel', serif;
      font-size: 0.7rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--gold-dim);
      margin-bottom: 8px;
    }
    #answer-card .question {
      font-size: 0.92rem;
      font-style: italic;
      color: var(--gold);
      margin-bottom: 12px;
      line-height: 1.5;
    }
    #answer-card .answer-text {
      font-size: 0.88rem;
      color: var(--text);
      line-height: 1.7;
    }
    #answer-card .sitrep {
      margin-top: 12px;
      font-family: 'Cinzel', serif;
      font-size: 0.62rem;
      color: var(--text-dim);
      letter-spacing: 0.1em;
    }

    /* Golden phrase */
    #golden-section {
      display: none;
      text-align: center;
      padding: 30px;
      animation: goldenReveal 2s ease forwards;
    }
    #golden-section.visible { display: block; }
    #golden-label {
      font-family: 'Cinzel', serif;
      font-size: 0.7rem;
      color: var(--gold-dim);
      letter-spacing: 0.3em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }
    #golden-text {
      font-family: 'IM Fell English', serif;
      font-size: clamp(1.05rem, 1.8vw, 1.3rem);
      color: var(--gold-bright);
      line-height: 1.9;
      font-style: italic;
      text-shadow: 0 0 30px rgba(240,208,96,0.3);
      max-width: 660px;
      margin: 0 auto;
    }
    #golden-total {
      margin-top: 20px;
      font-family: 'Cinzel', serif;
      font-size: 0.65rem;
      color: var(--gold-dim);
      letter-spacing: 0.2em;
    }

    /* Oracle thinking */
    #oracle-section {
      display: none;
      text-align: center;
      padding: 20px;
    }
    #oracle-section.visible { display: flex; flex-direction: column; align-items: center; gap: 14px; }
    .oracle-spinner {
      width: 48px; height: 48px;
      border: 3px solid var(--gold-dim);
      border-top-color: var(--gold);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }
    #oracle-section p {
      font-family: 'Cinzel', serif;
      font-size: 0.72rem;
      color: var(--gold);
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }

    /* ── Decorative Greek border corners ── */
    .corner {
      position: fixed;
      width: 80px; height: 80px;
      z-index: 10;
      pointer-events: none;
      opacity: 0.4;
    }
    .corner svg { fill: var(--gold); }
    .corner.tl { top: 8px;  left: 8px;  }
    .corner.tr { top: 8px;  right: 8px;  transform: scaleX(-1); }
    .corner.bl { bottom: 8px; left: 8px;  transform: scaleY(-1); }
    .corner.br { bottom: 8px; right: 8px; transform: scale(-1,-1); }

    /* ── Top bar ── */
    .top-bar {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 4px 0 0;
      margin-bottom: 4px;
    }

    .logo-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .logo-img {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1.5px solid var(--cyan-dim);
      object-fit: cover;
    }

    .logo-text {
      font-family: 'Cinzel', serif;
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--cyan);
      letter-spacing: 0.1em;
      text-shadow: 0 0 12px rgba(74,234,220,0.35);
    }

    .network-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(15,8,30,0.8);
      border: 1px solid rgba(200,168,75,0.25);
      border-radius: 6px;
      padding: 7px 16px;
      backdrop-filter: blur(6px);
    }

    .network-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gold);
      box-shadow: 0 0 8px rgba(200,168,75,0.8);
      animation: pulse 2s ease-in-out infinite;
    }

    .network-text {
      font-family: 'Cinzel', serif;
      font-size: 0.6rem;
      color: rgba(216,207,192,0.45);
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .network-text span {
      color: var(--gold);
    }

    /* ── Status indicator ── */
    #status-dot {
      display: inline-block;
      width: 8px; height: 8px;
      border-radius: 50%;
      background: var(--text-dim);
      margin-right: 6px;
      vertical-align: middle;
      transition: background 0.3s;
    }
    #status-dot.active  { background: var(--cyan); animation: pulse 1.4s infinite; }
    #status-dot.done    { background: var(--gold); }
    #status-dot.error   { background: #e05050; }

    /* ── Animations ── */
    @keyframes fadeSlideIn {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes goldenReveal {
      0%   { opacity: 0; transform: scale(0.96); }
      100% { opacity: 1; transform: scale(1); }
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0.3; }
    }

    /* ── Responsive ── */
    @media (max-width: 800px) {
      #app { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr auto; }
      #left-panel  { grid-column: 1; grid-row: 4; }
      #right-panel { grid-column: 1; grid-row: 3; }
    }

    /* ══════════════════════════════════════════════════════
       PAYMENT GATE
    ══════════════════════════════════════════════════════ */

    #payment-gate {
      position: fixed; inset: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(10, 6, 24, 0.75);
      backdrop-filter: blur(6px);
    }

    #payment-card {
      background: rgba(20, 14, 38, 0.95);
      border: 1px solid rgba(200, 168, 75, 0.35);
      border-radius: 20px;
      padding: 44px 42px 36px;
      max-width: 460px;
      width: 90%;
      text-align: center;
      box-shadow: 0 0 80px rgba(200,168,75,0.15), 0 20px 60px rgba(0,0,0,0.7);
      animation: gateReveal 0.6s ease forwards;
    }

    @keyframes gateReveal {
      from { opacity: 0; transform: translateY(20px) scale(0.97); }
      to   { opacity: 1; transform: translateY(0)    scale(1);    }
    }

    .pc-anchor {
      font-size: 2.4rem;
      margin-bottom: 10px;
      display: block;
      filter: drop-shadow(0 0 16px rgba(200,168,75,0.5));
    }

    .pc-title {
      font-family: 'Cinzel Decorative', serif;
      font-size: 1.8rem;
      color: var(--gold);
      letter-spacing: 0.1em;
      text-shadow: 0 0 30px rgba(200,168,75,0.4);
      margin-bottom: 6px;
    }

    .pc-subtitle {
      font-family: 'Cinzel', serif;
      font-size: 0.72rem;
      color: var(--gold-dim);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .pc-divider {
      width: 60px;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
      margin: 0 auto 20px;
    }

    .pc-desc {
      font-family: 'IM Fell English', Georgia, serif;
      font-size: 0.92rem;
      font-style: italic;
      color: var(--text);
      line-height: 1.7;
      margin-bottom: 24px;
    }

    .pc-price-badge {
      display: inline-block;
      background: rgba(200,168,75,0.12);
      border: 1px solid rgba(200,168,75,0.3);
      border-radius: 50px;
      padding: 8px 24px;
      font-family: 'Cinzel', serif;
      font-size: 1.2rem;
      color: var(--gold-bright);
      letter-spacing: 0.08em;
      margin-bottom: 20px;
    }
    .pc-price-badge span {
      font-size: 0.65rem;
      color: var(--gold-dim);
      letter-spacing: 0.2em;
      margin-left: 6px;
      vertical-align: middle;
    }

    .mm-status {
      font-family: 'Cinzel', serif;
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      color: var(--text-dim);
      min-height: 1.4em;
      margin-bottom: 16px;
      transition: color 0.3s;
    }
    .mm-status.waiting { color: var(--cyan); }
    .mm-status.success { color: var(--gold); }
    .mm-status.error   { color: #e06060;    }

    #pay-btn {
      font-family: 'Cinzel Decorative', serif;
      font-size: 0.95rem;
      color: var(--purple-dark);
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 60%, var(--gold) 100%);
      border: none;
      border-radius: 50px;
      padding: 16px 40px;
      width: 100%;
      cursor: pointer;
      letter-spacing: 0.08em;
      box-shadow: 0 0 30px rgba(200,168,75,0.35), 0 4px 16px rgba(0,0,0,0.5);
      transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
      margin-bottom: 14px;
    }
    #pay-btn:hover:not(:disabled) {
      transform: scale(1.03);
      box-shadow: 0 0 50px rgba(200,168,75,0.55), 0 4px 20px rgba(0,0,0,0.6);
    }
    #pay-btn:active:not(:disabled) { transform: scale(0.98); }
    #pay-btn:disabled { opacity: 0.45; cursor: not-allowed; }

    .pc-note {
      font-family: 'Cinzel', serif;
      font-size: 0.6rem;
      color: var(--text-dim);
      letter-spacing: 0.1em;
    }
    .pc-note a { color: var(--cyan-dim); text-decoration: none; }
    .pc-note a:hover { text-decoration: underline; }

    /* ── Footer ── */
    .page-footer {
      position: relative;
      z-index: 3;
      width: 100%;
      background: rgba(10,6,24,0.92);
      border-top: 1px solid rgba(200,168,75,0.15);
      padding: 14px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .footer-copy {
      font-family: 'Cinzel', serif;
      font-size: 0.6rem;
      color: rgba(138,128,112,0.5);
      letter-spacing: 0.08em;
    }

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

    .footer-links a {
      font-family: 'Cinzel', serif;
      font-size: 0.6rem;
      font-weight: 600;
      color: var(--cyan-dim);
      text-decoration: none;
      letter-spacing: 0.08em;
      opacity: 0.7;
      transition: opacity 0.2s;
    }

    .footer-links a:hover { opacity: 1; }