    /* === DESIGN SYSTEM === */
    :root {
      --bg: #0d0500;
      --surface: #1a0a00;
      --gold-accent: #c9a96e;
      --bright-gold: #f0c070;
      --earth-brown: #8B6914;
      --hell-red: #cc2200;
      --hell-amber: #ff6b35;
      --text-primary: #f2f2eb;
      --text-muted: #8a7a65;
      --font-display: 'Cinzel', serif;
      --font-body: 'Inter', sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-body);
      background-color: #000;
      color: var(--text-primary);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      margin: 0;
      display: flex;
      justify-content: center;
    }

    #app-container {
      width: 100%;
      max-width: 480px;
      min-height: 100vh;
      background-color: var(--bg);
      position: relative;
      overflow-x: hidden;
      box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
    }

    /* Tablets: fill the screen, no black side bars */
    @media (min-width: 600px) {
      #app-container {
        max-width: 100vw;
        box-shadow: none;
      }
    }

    h1,
    h2,
    h3 {
      font-family: var(--font-display);
      font-weight: normal;
      color: var(--gold-accent);
    }

    h1 {
      font-size: 3rem;
      text-align: center;
      margin: 40px 0 10px;
      text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    }

    .subtitle {
      text-align: center;
      color: var(--text-muted);
      font-size: 1.1rem;
      margin-bottom: 40px;
    }

    /* === FORM ELEMENTS === */
    .form-group {
      margin-bottom: 20px;
      text-align: left;
    }

    label {
      display: block;
      margin-bottom: 8px;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    input,
    textarea {
      width: 100%;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(201, 169, 110, 0.3);
      color: var(--text-primary);
      padding: 14px 16px;
      border-radius: 8px;
      font-family: var(--font-body);
      font-size: 1.1rem;
      transition: border-color 0.3s ease;
    }

    input:focus,
    textarea:focus {
      outline: none;
      border-color: var(--gold-accent);
      background: rgba(255, 255, 255, 0.08);
    }

    #form-above input,
    #tombstone-name {
      background: rgba(255, 255, 255, 0.12) !important;
      border: 1px solid rgba(0, 0, 0, 0.4) !important;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    #tombstone-name.engraved {
      background: transparent !important;
      border-color: transparent !important;
      box-shadow: none !important;
      pointer-events: none;
    }

    button {
      width: 100%;
      background: var(--earth-brown);
      color: #fff;
      border: none;
      padding: 16px;
      border-radius: 8px;
      font-family: var(--font-body);
      font-weight: 600;
      font-size: 1.1rem;
      cursor: pointer;
      transition: background 0.3s ease, transform 0.1s ease;
      position: relative;
    }

    button:hover {
      background: var(--bright-gold);
      color: #000;
    }

    button:active {
      transform: scale(0.98);
    }

    #btn-go-deeper,
    #btn-go-hell {
      background: var(--bg) !important;
      border: 1px solid var(--earth-brown) !important;
      color: #fff !important;
      transition: all 0.3s ease;
    }

    #btn-go-deeper:hover {
      background: #1a0a00 !important;
      border-color: var(--gold-accent) !important;
      color: #fff !important;
      box-shadow: 0 0 15px rgba(201, 169, 110, 0.3);
      text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }

    @keyframes pulse-hell-glow {
      0%, 100% {
        box-shadow: 0 0 8px var(--hell-red), 0 0 15px var(--hell-amber);
        text-shadow: 0 0 5px #fff, 0 0 8px var(--hell-amber);
      }
      50% {
        box-shadow: 0 0 12px var(--hell-red), 0 0 25px var(--hell-amber);
        text-shadow: 0 0 8px #fff, 0 0 12px var(--hell-amber);
      }
    }

    #btn-go-hell:hover {
      background: #1a0500 !important;
      border-color: var(--hell-amber) !important;
      color: #fff !important;
      animation: pulse-hell-glow 3s infinite ease-in-out;
    }

    /* === SCROLL JOURNEY PANELS === */
    .journey-panel {
      min-height: 100vh;
      width: 100%;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding: 20px;
      /* SEAMLESS EDGE BLEND: Fades the top and bottom into black */
      box-shadow: inset 0 15vh 15vh -2vh #000, inset 0 -15vh 15vh -2vh #000;
    }

    .panel-content {
      position: relative;
      z-index: 10;
      width: 100%;
      max-width: 500px;
      padding: 40px;
      text-align: center;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    }

    #panel-above {
      background-image: url('../images/bg_above-opt.webp');
      box-shadow: inset 0 -15vh 15vh -2vh #000;
    }

    #panel-below {
      background-image: url('../images/bg_middle-opt.webp');
      display: none;
    }

    #panel-hell {
      background-image: url('../images/bg_bottom2-opt.webp');
      display: none;
      justify-content: flex-start;
      /* Move content to upper half */
      padding-top: 12vh;
      /* Less aggressive edge fade so we don't lose the roots and bottom cards */
      box-shadow: inset 0 6vh 8vh -2vh #000, inset 0 -6vh 8vh -2vh #000;
    }

    /* === HELL FIRE ATMOSPHERE (Compositor-only CSS animations) === */
    @keyframes hell-colour-pulse {
      0%, 100% { filter: brightness(0.95) saturate(1.2); }
      50%      { filter: brightness(1.03) saturate(1.4); }
    }
    @keyframes hell-scale {
      0%, 100% { transform: scale(1.002); }
      50%      { transform: scale(1.005); }
    }

    /* Smooth continuous rise — no direction reversals that cause stalling */
    @keyframes spark-rise {
      0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
      5%   { opacity: 1; }
      100% { transform: translateY(-100vh) translateX(var(--drift)) scale(0.3); opacity: 0; }
    }

    /* Irregular flicker — asymmetric to avoid looking mechanical */
    @keyframes spark-flicker {
      0%   { box-shadow: 0 0 3px 1px var(--spark-colour); }
      20%  { box-shadow: 0 0 5px 2px var(--spark-colour); }
      40%  { box-shadow: 0 0 2px 1px var(--spark-colour); }
      60%  { box-shadow: 0 0 6px 3px var(--spark-colour); }
      80%  { box-shadow: 0 0 3px 1px var(--spark-colour); }
      100% { box-shadow: 0 0 4px 2px var(--spark-colour); }
    }

    .hell-sparks {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
      z-index: 2;
    }

    .spark {
      position: absolute;
      bottom: -5%;
      width: var(--size);
      height: calc(var(--size) * 1.6); /* Elongated vertically — motion blur feel */
      border-radius: 50% 50% 40% 40%;
      /* Hot white core fading to spark colour */
      background: radial-gradient(circle at 50% 40%, #fff 0%, var(--spark-colour) 50%, transparent 100%);
      box-shadow: 0 0 4px 1px var(--spark-colour);
      animation:
        spark-rise var(--speed) var(--delay) cubic-bezier(0.2, 0.6, 0.4, 1) infinite,
        spark-flicker var(--flicker, 0.4s) ease-in-out infinite;
      will-change: transform, opacity;
    }

    /* The fire overlay layer — now GPU-composited, no SVG filter */
    #panel-hell::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;

      /* Same background as parent */
      background-image: inherit;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;

      /* Compositor-only animation — zero main-thread repaints */
      animation: hell-colour-pulse 1.2s ease-in-out infinite,
                 hell-scale 1.7s ease-in-out infinite;
      will-change: filter, transform;

      /* ONLY reveal the glow where the fire is */
      -webkit-mask-image: url('../images/bg_bottom2_fire-opt.webp');
      mask-image: url('../images/bg_bottom2_fire-opt.webp');

      -webkit-mask-size: cover;
      mask-size: cover;

      -webkit-mask-position: center;
      mask-position: center;

      -webkit-mask-repeat: no-repeat;
      mask-repeat: no-repeat;

      pointer-events: none;
      z-index: 1;
    }

    /* === EXPORT FORMATTING === */
    .exporting #app-container {
      width: 1024px !important;
      max-width: none !important;
      margin: 0 auto;
    }
    .exporting .journey-panel {
      min-height: auto !important;
      height: 1024px !important; /* 1:1 Square locked to phone height to preserve vertical text/background offset */
      aspect-ratio: 1 / 1;
      overflow: hidden;
      padding: 0 !important;
    }
    .exporting .panel-content {
      transform: translateY(30px) !important;
    }
    .exporting #panel-above {
      background-image: url('../images/above-wide-opt.webp') !important;
      background-size: cover !important;
      background-position: center bottom !important;
      padding-top: 20px !important;
    }
    .exporting #panel-below {
      background-image: url('../images/underground-wide-opt.webp') !important;
      background-size: cover !important;
      background-position: center bottom !important;
    }
    .exporting #panel-hell {
      justify-content: center !important;
      padding-top: 0 !important;
      background-image: url('../images/hellbgwide-opt.webp') !important;
      background-size: cover !important;
      background-position: center bottom !important;
    }
    .exporting #panel-hell::before {
      -webkit-mask-image: url('../images/hellbgwide-fire2-opt.webp') !important;
      mask-image: url('../images/hellbgwide-fire2-opt.webp') !important;
    }
    .exporting .action-scroll {
        display: none !important; /* Hide action buttons in final snapshot */
      }
      .exporting #hell-date {
        color: #ffcccc !important;
        text-shadow: 0 4px 15px rgba(255,0,0,0.8), 0 2px 5px rgba(0,0,0,0.9) !important;
      }
      .exporting #res-hell p:last-child {
        color: #ffffff !important;
        font-weight: 700 !important;
        text-shadow: 0 2px 10px #000000, 0 0 15px rgba(255, 100, 0, 0.8) !important;
      }
      /* Watermark: force bottom-right in export snapshots */
      .exporting #watermark {
        position: absolute !important;
        left: auto !important;
        right: 18px !important;
        bottom: 18px !important;
        text-align: right !important;
        width: auto !important;
      }
      /* Tombstone: lock desktop dimensions during 1024px export */
      .exporting #tomb-engraving-box {
        width: 413px !important;
        padding: 14px 22px !important;
      }

    /* === SEO INTRO TEXT === */
    #panel-above::before {
      content: "";
      flex: 0 0 auto;
      height: 120px;
    }

    #seo-intro {
      position: relative;
      text-align: center;
      max-width: 400px;
      margin: 80px auto 0 auto;
      transform: translateY(40px);
      padding: 0 20px;
      opacity: 0.65;
    }
    #seo-h1 {
      font-size: 1.15rem;
      font-family: 'Forum', serif;
      color: var(--gold-accent);
      margin: 0 0 6px 0;
      font-weight: normal;
      letter-spacing: 1px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    }
    #seo-desc {
      font-size: 0.85rem;
      color: #a39587;
      line-height: 1.4;
      margin: 0;
      text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    }

    .trust-badge {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      margin-top: 12px;
      padding-top: 10px;
      border-top: 1px solid rgba(201, 169, 110, 0.15);
    }
    .trust-badge svg {
      flex-shrink: 0;
      color: #6db86b;
      filter: drop-shadow(0 0 3px rgba(109, 184, 107, 0.4));
    }
    .trust-badge span {
      font-size: 0.72rem;
      color: rgba(163, 149, 135, 0.85);
      line-height: 1.35;
      text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    }

    /* === WIDESCREEN DESKTOP OVERRIDES === */
    @media (min-width: 1024px) {

      #panel-above::before {
        display: none;
      }

      /* Drop the mobile constraint. Let it bleed edge-to-edge. */
      #app-container {
        max-width: 100vw;
      }

      /* Desktop optimized wide webp backgrounds */
      #panel-above {
        background-image: url('../images/above-wide-opt.webp');
        padding-top: 100px;
        /* Pushes content down ~50px from center */
      }

      #panel-below {
        background-image: url('../images/underground-wide-opt.webp');
      }

      #seo-intro {
        position: absolute;
        top: 220px;
        left: 50%;
        right: auto;
        margin: 0 0 0 280px;
        text-align: left;
        width: 340px;
        max-width: none;
        opacity: 1; /* Full opacity for legibility */
        background: rgba(13, 5, 0, 0.65); /* Dark semi-transparent background */
        backdrop-filter: blur(8px); /* Subtle glass effect */
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(201, 169, 110, 0.25); /* Gold accent border */
        border-radius: 8px;
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(201, 169, 110, 0.05);
      }
      
      #seo-intro #seo-h1 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        text-shadow: 0 2px 5px rgba(0,0,0,0.9);
        white-space: nowrap;
      }
      
      #seo-intro #seo-desc {
        font-size: 0.95rem;
        color: rgba(242, 242, 235, 0.9); /* Brighter primary text color */
      }

      #panel-hell {
        background-image: url('../images/hellbgwide-opt.webp');
      }
      
      #panel-hell::before {
        -webkit-mask-image: url('../images/hellbgwide-fire2-opt.webp');
        mask-image: url('../images/hellbgwide-fire2-opt.webp');
      }

      #exit-zone {
        background-image: url('../images/heaven-wide-opt.webp');
      }

      #tomb-engraving-box {
        width: 413px;
        padding: 14px 22px;
      }
    }

    /* === SCROLL ACTION WRAPPERS === */
    .action-scroll {
      margin-top: 20px;
      display: none;
      flex-direction: column;
      padding: 0 35px;
      gap: 12px;
      animation: fadeIn 1s ease forwards;
    }

    .action-scroll button {
      margin: 0 !important;
    }

    /* No custom tombstone CSS */

    /* === UI RESULTS === */
    #tomb-engraving-box {
      width: 336px;
      max-width: 100%;
      padding: 14px 15px;
    }

    .result-group {
      display: none;
      margin-top: 30px;
      animation: fadeOnly 1s ease forwards;
    }

    .runway-text {
      font-size: 1.2rem;
      margin-bottom: 5px;
      color: var(--text-primary);
    }

    .death-date {
      font-family: var(--font-display);
      font-size: 2.2rem;
      color: var(--bright-gold);
      line-height: 1.1;
      margin-bottom: 10px;
    }

    .epitaph-text {
      font-style: italic;
      color: var(--gold-accent);
    }

    .nuclear-text {
      font-size: 1.1rem;
      color: var(--hell-amber);
      margin-bottom: 5px;
    }

    .nuclear-date {
      font-family: var(--font-display);
      font-size: 2rem;
      color: var(--hell-red);
      line-height: 1.1;
      margin-bottom: 10px;
    }

    .interest-cost {
      font-size: 0.95rem;
      color: #ff9999;
      margin-top: 10px;
      opacity: 0.9;
    }

    /* Export Wrapper - Wraps Background Panels */
    #export-container {
      width: 100%;
      position: relative;
    }

    /* === SHARE & MONETIZATION (Bottom Area) === */
    .share-thumb {
      width: 86px;
      height: 134px;
      border-radius: 8px;
      background-size: cover;
      background-position: center;
      border: 2px solid rgba(255,255,255,0.2);
      cursor: pointer;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding-bottom: 10px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }
    .share-thumb::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
      pointer-events: none;
    }
    .share-thumb span {
      position: relative;
      z-index: 2;
      font-size: 0.6rem;
      font-family: var(--font-body);
      font-weight: 600;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 0;
      text-shadow: 0 1px 3px rgba(0,0,0,0.8);
      white-space: nowrap;
    }
    .share-thumb:hover {
      border-color: var(--bright-gold);
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(240, 192, 112, 0.4);
    }
    
    .share-drawer {
      display: flex;
      flex-direction: column;
      gap: 15px;
      text-align: center;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transform: translateY(-10px);
      transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
      position: absolute;
      top: 60px;
      left: 0px;
      right: 0px;
      z-index: 50;
      background: rgba(0, 25, 60, 0.4);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(120, 220, 255, 0.4);
      box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 0 15px rgba(0, 150, 255, 0.2);
      border-radius: 12px;
      padding: 0 15px;
    }
    
    .share-drawer.open {
      max-height: 450px;
      opacity: 1;
      transform: translateY(0);
      padding: 20px;
      pointer-events: auto;
    }

    #exit-zone {
      background-image: url('../images/bg_heaven-opt.webp');
      background-size: cover;
      background-position: center top;
      padding: 100px 20px 60px;
      position: relative;
      box-shadow: inset 0 15vh 15vh -2vh #000;
      overflow-x: hidden;
    }

    #exit-zone .monetization-content {
      position: relative;
      z-index: 10;
      color: #111;
    }

    /* Earth Overlay Pill CSS */
    #flee-earth-link {
      position: absolute;
      bottom: 150px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 20;
      text-decoration: none;
    }

    .flee-pill {
      background: rgba(0, 25, 60, 0.4);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(120, 220, 255, 0.4);
      padding: 12px 32px;
      border-radius: 40px;
      text-align: center;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 0 15px rgba(0, 150, 255, 0.2);
      transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
      animation: earthlyFloat 6s ease-in-out infinite;
    }

    .flee-pill:hover {
      background: rgba(0, 35, 80, 0.7);
      border-color: rgba(120, 255, 255, 0.8);
      box-shadow: 0 8px 30px rgba(0,0,0,0.7), inset 0 0 20px rgba(0, 200, 255, 0.4), 0 0 40px rgba(80, 220, 255, 0.5);
      transform: scale(1.05);
    }

    .flee-pill .flee-text {
      display: block;
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.9);
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 4px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    }

    .flee-pill .flee-cta {
      display: block;
      font-size: 1.25rem;
      color: #fff;
      font-weight: 700;
      text-shadow: 0 0 15px rgba(100, 200, 255, 0.8), 0 2px 4px rgba(0,0,0,0.8);
    }

    @keyframes earthlyFloat {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-8px) scale(1); }
    }

    #exit-zone .cards-heading {
      font-size: 2.2rem;
    }

    @keyframes heavenly-fall-1 {
      0% {
        opacity: 0;
        transform: scale(0.6) translateY(-20px);
        box-shadow: none;
      }

      20% {
        opacity: 1;
        transform: scale(1.2) translateY(4px);
        box-shadow: 0 0 8px #fff, 0 0 15px var(--bright-gold);
      }

      100% {
        opacity: 0;
        transform: scale(0.6) translateY(100px);
        box-shadow: none;
      }
    }

    @keyframes heavenly-fall-2 {
      0% {
        opacity: 0;
        transform: scale(0.6) translateY(-15px);
        box-shadow: none;
      }

      25% {
        opacity: 1;
        transform: scale(1.2) translateY(-2.5px);
        box-shadow: 0 0 8px #fff, 0 0 15px var(--bright-gold);
      }

      100% {
        opacity: 0;
        transform: scale(0.6) translateY(35px);
        box-shadow: none;
      }
    }

    @keyframes heavenly-fall-3 {
      0% {
        opacity: 0;
        transform: scale(0.6) translateY(-25px);
        box-shadow: none;
      }

      20% {
        opacity: 1;
        transform: scale(1.2) translateY(-11px);
        box-shadow: 0 0 8px #fff, 0 0 15px var(--bright-gold);
      }

      100% {
        opacity: 0;
        transform: scale(0.6) translateY(45px);
        box-shadow: none;
      }
    }

    .sp {
      position: relative;
      display: inline-block;
    }

    .sp::before,
    .sp::after {
      content: '';
      position: absolute;
      background-color: #fff;
      border-radius: 50%;
      pointer-events: none;
    }

    .sp-1::before {
      top: 5px;
      left: -20px;
      width: 6px;
      height: 6px;
      animation: heavenly-fall-1 12s linear infinite 0s;
    }

    .sp-1::after {
      bottom: 12px;
      right: -15px;
      width: 4px;
      height: 4px;
      animation: heavenly-fall-2 6s linear infinite 1.2s;
    }

    .sp-2::before {
      top: -5px;
      left: -10px;
      width: 3px;
      height: 3px;
      animation: heavenly-fall-3 7s linear infinite 0.5s;
    }

    .sp-2::after {
      bottom: 8px;
      right: -5px;
      width: 5px;
      height: 5px;
      animation: heavenly-fall-1 5.5s linear infinite 1.8s;
    }

    .sp-3::before {
      bottom: -5px;
      left: 15px;
      width: 4px;
      height: 4px;
      animation: heavenly-fall-2 6.5s linear infinite 0.8s;
    }

    .sp-3::after {
      top: 2px;
      right: -25px;
      width: 7px;
      height: 7px;
      animation: heavenly-fall-3 8s linear infinite 0.2s;
    }

    /*.sp-4::before {
      top: -10px;
      left: -10px;
      width: 5px;
      height: 5px;
      animation: heavenly-fall-1 5s linear infinite 1s;
    }*/

    .sp-4::after {
      bottom: 0px;
      right: -20px;
      width: 4px;
      height: 4px;
      animation: heavenly-fall-2 7.5s linear infinite 2.2s;
    }

    #exit-zone .contextual-tip {
      color: #444;
    }


    #exit-zone .reco-card {
      background: rgba(255, 255, 255, 0.25);
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    #exit-zone .reco-card:hover {
      border-color: rgba(255, 255, 255, 0.6);
      background: rgba(255, 255, 255, 0.33);
      transform: translateY(-8px) scale(1.03);
      box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2), 
        0 0 20px rgba(255, 255, 255, 0.6), 
        0 0 40px var(--bright-gold),
        0 0 80px rgba(240, 192, 112, 0.3);
      z-index: 5;
    }

    #exit-zone .card-btn {
      background: #111;
      color: #fff;
      text-shadow: none;
    }

    #exit-zone .card-btn:hover {
      background: #333;
    }

    #exit-zone .card-title {
      color: #111;
      text-shadow: none;
    }

    #exit-zone .card-sub {
      color: #222;
      text-shadow: none;
      font-weight: 500;
    }

    #exit-zone .commission-note {
      color: #ffffff;
      text-shadow: none;
    }

    #exit-zone .upsell-section {
      background: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      border: 1px solid rgba(0, 0, 0, 0.15);
    }

    #exit-zone .upsell-title {
      color: #111;
      text-shadow: none;
    }

    #exit-zone .btn-outline {
      border-color: #111;
      color: #111;
      text-shadow: none;
    }

    #exit-zone .btn-outline:hover {
      background: rgba(0, 0, 0, 0.05);
    }

    #exit-zone footer {
      position: absolute;
      bottom: 20px;
      left: 0;
      width: 100%;
      color: rgba(255, 255, 255, 0.6);
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
      border: none;
      font-size: 0.85rem;
      z-index: 20;
      text-align: center;
      line-height: 1.6;
    }

    .monetization-content {
      max-width: 860px;
      margin: 0 auto;
      text-align: center;
    }

    .btn-share {
      background: var(--gold-accent);
      color: #000;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      border-radius: 30px;
      padding: 16px;
      font-size: 1.2rem;
      margin-bottom: 40px;
    }

    .btn-share:hover {
      background: var(--bright-gold);
    }

    .contextual-tip {
      font-style: italic;
      color: var(--gold-accent);
      font-size: 0.95rem;
      text-align: center;
      margin: 0 auto 40px;
      line-height: 1.5;
    }

    .contextual-tip a {
      color: var(--bright-gold);
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .cards-heading {
      font-family: var(--font-display);
      font-size: 3.2rem;
      font-weight: 600;
      color: #ffffff;
      text-align: center;
      margin-bottom: 32px;
      line-height: 1.25;
      text-shadow:
        2px 2px 6px rgba(0, 0, 0, 0.85),
        0   4px 18px rgba(0, 0, 0, 0.65),
        0   0  40px rgba(0, 0, 0, 0.3);
      letter-spacing: 1px;
    }

    /* ===== PERSONALIZED RECO TEASER ===== */
    .reco-teaser {
      max-width: 860px;
      margin: 0 auto 28px;
      padding: 22px 30px;
      background: rgba(255, 255, 255, 0.27);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid rgba(255, 255, 255, 0.45);
      box-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.6);
      border-radius: 16px;
      display: flex;
      align-items: center;
      gap: 18px;
      pointer-events: none;
      user-select: none;
    }

    .reco-teaser-icon {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      filter: drop-shadow(0 0 8px rgba(201,169,110,0.55));
    }

    .reco-teaser-copy {
      flex: 1;
      text-align: left;
    }

    .reco-teaser-copy strong {
      display: block;
      font-family: 'Forum', serif;
      font-size: 1.1rem;
      color: #1a1208;
      margin-bottom: 2px;
      font-weight: normal;
    }

    .reco-teaser-copy span {
      font-size: 0.82rem;
      color: #4a3a22;
    }

    .reco-teaser-badge {
      flex-shrink: 0;
      background: rgba(201,169,110,0.18);
      border: 1px solid rgba(201,169,110,0.5);
      color: #7a5c20;
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 5px 12px;
      border-radius: 20px;
    }

    /* ===== TOOL TILE (single luxury card) ===== */
    .tool-tile {
      display: flex;
      align-items: center;
      gap: 20px;
      width: 100%;
      max-width: 680px;
      margin: 36px auto 48px;
      padding: 22px 28px;
      background: rgba(255, 255, 255, 0.18);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(201, 169, 110, 0.25);
      border-radius: 14px;
      box-shadow:
        0 8px 32px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.5);
      text-decoration: none;
      cursor: pointer;
      transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    }

    .tool-tile:hover {
      border-color: rgba(201, 169, 110, 0.55);
      box-shadow:
        0 12px 40px rgba(0,0,0,0.1),
        0 0 0 1px rgba(201, 169, 110, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.6);
    }

    /* Icon — no circle, no halo, just the SVG */
    .tool-tile-icon {
      flex-shrink: 0;
      width: 56px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .tool-tile-icon svg {
      width: 48px;
      height: 48px;
    }

    /* Text block */
    .tool-tile-body {
      flex: 1;
      text-align: left;
      min-width: 0;
    }

    .tool-tile-title {
      font-family: 'Forum', serif;
      font-size: 1.2rem;
      color: #1a1208;
      margin-bottom: 4px;
      font-weight: normal;
      line-height: 1.3;
    }

    .tool-tile-desc {
      font-size: 0.82rem;
      color: #5a4a30;
      line-height: 1.5;
    }

    /* CTA — pill button */
    .tool-tile-cta {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      background: #1a1208;
      color: #f0c870;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 8px;
      white-space: nowrap;
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }

    .tool-tile:hover .tool-tile-cta {
      background: #2a1e0a;
      box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
    }

    .tool-tile-cta svg {
      width: 14px;
      height: 14px;
    }

    /* Mobile: stack vertically */
    @media (max-width: 640px) {
      .tool-tile {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px 20px;
        margin-bottom: 36px;
      }
      .tool-tile-body {
        text-align: center;
      }
    }


    /* ===== CAROUSEL FULL-WIDTH SECTION ===== */
    .carousel-section {
      margin-bottom: 48px;
      margin-top: 8px;
    }

    /* ===== BLOG CAROUSEL ===== */
    .blog-carousel-wrap {
      position: relative;
      margin-bottom: 48px;
      user-select: none;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .blog-carousel-track {
      overflow: hidden;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.15);
    }

    .blog-slides {
      display: flex;
      border-radius: 20px;
      /* Calm, cinematic sweep based on the Golden Ratio (1.618s) */
      transition: transform 1.62s cubic-bezier(0.45, 0, 0.15, 1);
      will-change: transform;
    }

    .blog-slide {
      flex: 0 0 100%;
      display: flex;
      flex-direction: row;
      min-height: 340px;
      background: rgba(255,255,255,0.18);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
    }

    .blog-slide-thumb {
      flex: 0 0 46%;
      min-height: 340px;
      position: relative;
      overflow: hidden;
      border-radius: 14px;

      /* ── Gilded gold CSS frame ── */
      padding: 18px;
      background: #c9a84c; /* fallback */
      background-image: linear-gradient(
        135deg,
        #bf953f 0%,
        #fcf6ba 18%,
        #b38728 34%,
        #fbf5b7 50%,
        #aa771c 66%,
        #f5e198 82%,
        #bf953f 100%
      );

      /* Carved 3-D depth: inset shadow + outer drop + highlight on top-left lip */
      box-shadow:
        inset 0  0  18px rgba(0, 0, 0, 0.45),
        inset 3px 3px  4px rgba(255, 255, 255, 0.55),
        inset -3px -3px 4px rgba(0, 0, 0, 0.35),
        0 10px 30px rgba(0, 0, 0, 0.5),
        0  0  12px rgba(200, 160, 50, 0.3);

      /* Ridge border simulates the frame's outer wooden bead */
      border: 5px ridge #8a5c14;
    }

    .blog-slide-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.7s ease;
      /* dark inner lip where frame meets canvas */
      border: 2px solid #3a2006;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
      box-sizing: border-box;
    }

    .blog-slide:hover .blog-slide-thumb img {
      transform: scale(1.03);
    }

    .blog-slide-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 36px 38px;
      text-align: left;
    }

    .blog-slide-label {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: rgba(30,20,10,0.55);
      margin-bottom: 12px;
    }

    .blog-slide-title {
      font-family: 'Forum', serif;
      font-size: 1.85rem;
      line-height: 1.2;
      color: #1a1208;
      margin-bottom: 14px;
      font-weight: normal;
    }

    .blog-slide-desc {
      font-size: 0.95rem;
      color: #3a2e1e;
      line-height: 1.65;
      margin-bottom: 28px;
      flex-grow: 1;
    }

    .blog-slide-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #1a1208;
      color: #f0c870;
      padding: 13px 24px;
      border-radius: 10px;
      font-size: 0.88rem;
      font-weight: 700;
      letter-spacing: 0.8px;
      text-decoration: none;
      text-transform: uppercase;
      transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
      align-self: flex-start;
    }

    .blog-slide-cta:hover {
      background: #2e1f08;
      box-shadow: 0 6px 20px rgba(201,169,110,0.4);
      transform: translateY(-2px);
    }

    .blog-slide-cta svg {
      transition: transform 0.2s ease;
    }

    .blog-slide-cta:hover svg {
      transform: translateX(3px);
    }

    /* Carousel controls */
    .carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 46px;
      height: 46px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.85);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 18px rgba(0,0,0,0.25);
      color: #1a1208;
      z-index: 10;
      transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    }

    .carousel-arrow:hover {
      background: rgba(255,255,255,1);
      box-shadow: 0 6px 24px rgba(0,0,0,0.35);
      transform: translateY(-50%) scale(1.08);
    }

    .carousel-arrow.prev { left: -23px; }
    .carousel-arrow.next { right: -23px; }

    /* Dot indicators */
    .carousel-dots {
      display: flex;
      width: max-content;
      justify-content: center;
      gap: 12px;
      margin: 20px auto 0;
      background: rgba(255, 255, 255, 0.5);
      padding: 8px 16px;
      border-radius: 20px;
      border: 1px solid rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .carousel-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(10, 15, 25, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.5);
      cursor: pointer;
      padding: 0;
      transition: background 0.25s, transform 0.25s, border-color 0.25s;
    }

    .carousel-dot.active {
      background: #c9a96e;
      border-color: #c9a96e;
      transform: scale(1.35);
      box-shadow: 0 0 10px rgba(201, 169, 110, 0.6);
    }

    /* Mobile stacked layout */
    @media (max-width: 640px) {
      .blog-slide { flex-direction: column; min-height: unset; }
      .blog-slide-thumb { flex: unset; min-height: 200px; }
      .blog-slide-body { padding: 24px 22px; }
      .blog-slide-title { font-size: 1.45rem; }
      .carousel-arrow.prev { left: -10px; }
      .carousel-arrow.next { right: -10px; }
    }

    .reco-card:hover {
      border-color: rgba(255, 255, 255, 0.2);
    }

    .card-icon {
      font-size: 1.8rem;
      margin-top: 4px;
      margin-bottom: 4px;
      opacity: 0.8;
    }

    .card-title {
      font-weight: 600;
      font-size: 0.95rem;
      margin-bottom: auto;
      color: var(--text-primary);
      white-space: normal;
    }

    .card-sub {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 20px;
      flex-grow: 1;
    }

    .card-btn {
      display: inline-block;
      padding: 10px 16px;
      background: rgba(255, 255, 255, 0.1);
      color: var(--text-primary);
      text-decoration: none;
      border-radius: 6px;
      font-size: 0.9rem;
      font-weight: 500;
      transition: background 0.2s ease;
      margin-bottom: 12px;
    }

    .card-btn:hover {
      background: rgba(255, 255, 255, 0.2);
    }

    .commission-note {
      font-size: 9px;
      color: rgba(255, 255, 255, 0.3);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .upsell-section {
      text-align: center;
      margin: 60px 0;
      padding: 40px 20px;
      background: rgba(201, 169, 110, 0.05);
      border-radius: 12px;
      border: 1px solid rgba(201, 169, 110, 0.15);
    }

    .upsell-title {
      font-family: var(--font-display);
      font-size: 2rem;
      margin-bottom: 10px;
      color: var(--gold-accent);
    }

    .upsell-sub {
      font-size: 0.95rem;
      color: var(--text-muted);
      margin-bottom: 24px;
      max-width: 400px;
      margin-inline: auto;
    }

    .btn-outline {
      background: transparent;
      border: 1px solid var(--gold-accent);
      color: var(--gold-accent);
      padding: 14px 24px;
      display: inline-block;
      text-decoration: none;
      border-radius: 8px;
    }

    .btn-outline:hover {
      background: rgba(201, 169, 110, 0.1);
      color: var(--bright-gold);
    }

    .email-capture {
      text-align: center;
      margin: 40px 0;
    }

    .email-form {
      display: flex;
      max-width: 400px;
      margin: 0 auto 10px;
      gap: 8px;
    }

    .email-form input {
      flex-grow: 1;
      margin-bottom: 0;
    }

    .email-form button {
      width: auto;
      padding: 0 20px;
      white-space: nowrap;
    }

    .adsense-container {
      margin: 60px 0;
      text-align: center;
      min-height: 90px;
      background: rgba(255, 255, 255, 0.02);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .ad-label {
      position: absolute;
      top: -18px;
      left: 0;
      right: 0;
      font-size: 9px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    footer {
      text-align: center;
      font-size: 11px;
      color: #4a3a2a;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 30px;
      margin-top: 40px;
    }

    #watermark {
      position: absolute;
      bottom: 18px;
      right: 18px;
      font-family: 'Cinzel', serif;
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #c9a96e;
      text-shadow: 0 1px 6px rgba(0,0,0,0.9), 0 0 20px rgba(201,169,110,0.3);
      opacity: 1;
      display: none;
      z-index: 20;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeOnly {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* === MOBILE OPTIMIZATIONS === */
    @media (max-width: 600px) {
      .panel-content {
        padding: 30px 20px;
      }

      h1 {
        font-size: 2.2rem;
      }

      h2 {
        font-size: 1.8rem !important;
      }

      .death-date,
      .nuclear-date {
        font-size: 1.8rem !important;
      }

      .journey-panel {
        padding: 20px 10px;
      }

      #exit-zone {
        padding: 100px 20px 60px;
      }

      .form-group input {
        padding: 12px 14px;
        font-size: 1rem;
      }

      button {
        padding: 14px;
        font-size: 1rem;
      }
    }

    /* === GLOBAL NAVIGATION DROPDOWN === */
/* Hide SEO intro during screenshot export */
body.exporting #seo-intro { display: none !important; }

