
    :root {
      --black: #0A0A0A;
      --white: #FFFFFF;
      --off: #F2F1EE;
      --orange: #FF5500;
      --font-display: 'Unbounded', sans-serif;
      --font-body: 'DM Sans', sans-serif;
      --radius: 0.75em;
      --radius-pill: 6em;
    }

    html { font-family: var(--font-body); background: var(--black); color: var(--black); -webkit-font-smoothing: antialiased; font-weight: 300; }
    body { min-height: 100vh; }

    /* Dark screens default to white text */
    #screen-landing,
    #screen-quiz,
    .quiz-header,
    .quiz-footer,
    .download-box,
    .modal-header { color: var(--white); }
    .hidden { display: none !important; }

    /* ─── HAMBURGER MENU ────────────────────── */
    .hamburger-btn {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1000;
      width: 40px;
      height: 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      background: rgba(0,0,0,0.45);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 10px;
      cursor: pointer;
      backdrop-filter: blur(16px) saturate(1.2);
      -webkit-backdrop-filter: blur(16px) saturate(1.2);
      box-shadow: 0 2px 12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
      transition: background 0.15s, box-shadow 0.15s;
    }
    .hamburger-btn:hover {
      background: rgba(0,0,0,0.6);
      box-shadow: 0 4px 18px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .hamburger-btn span {
      display: block;
      width: 18px;
      height: 1.5px;
      background: rgba(255,255,255,0.9);
      border-radius: 2px;
      transition: transform 0.2s, opacity 0.2s;
    }
    .hamburger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .hamburger-btn.open span:nth-child(2) { opacity: 0; }
    .hamburger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
    .menu-overlay {
      position: fixed;
      inset: 0;
      z-index: 999;
      background: rgba(10,10,10,0.97);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
    }
    .menu-overlay.open { opacity: 1; pointer-events: all; }
    .menu-overlay a {
      font-family: var(--font-body);
      font-size: clamp(18px, 3vw, 24px);
      font-weight: 300;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      padding: 10px 0;
      transition: color 0.12s;
    }
    .menu-overlay a:hover { color: var(--orange); }
    .menu-overlay .menu-coffee { color: var(--orange); }
    .menu-overlay .menu-divider {
      width: 32px;
      height: 1px;
      background: rgba(255,255,255,0.1);
      margin: 8px 0;
    }

    /* ─── LANDING ───────────────────────────── */
    #screen-landing {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 80px 32px 0;
      background: var(--black);
      text-align: center;
      overflow: hidden;
    }

    /* ── Intro screen ──────────────────────────────────────────────────────── */
    #screen-intro {
      min-height: 100vh;
      background: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 48px 32px;
    }
    .intro-inner {
      max-width: 620px;
      width: 100%;
    }
    .intro-speaker {
      font-family: var(--font-display);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--orange);
      margin-bottom: 28px;
    }
    .intro-text {
      font-family: var(--font-body);
      font-size: clamp(20px, 3.5vw, 30px);
      font-weight: 300;
      line-height: 1.65;
      color: var(--white);
      min-height: 2em;
    }
    .intro-cursor {
      display: inline-block;
      color: var(--orange);
      animation: blink 0.75s step-end infinite;
      margin-left: 2px;
      font-weight: 300;
    }
    @keyframes blink {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0; }
    }
    .intro-start {
      margin-top: 48px;
      background: var(--orange);
      border: none;
      color: var(--white);
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 16px 40px;
      border-radius: 100px;
      cursor: pointer;
      transition: opacity 0.15s, transform 0.12s;
      animation: pulse-btn 1.8s ease-in-out infinite;
    }
    .intro-start:hover {
      opacity: 0.88;
      transform: scale(1.03);
      animation: none;
    }
    @keyframes pulse-btn {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0.55; }
    }

    .landing-globe { font-size: 24px; margin-bottom: 20px; opacity: 0.4; }

    /* Consistent emoji treatment across all screens */
    .option-emoji,
    .card-flag,
    .visa-chip-icon,
    .visa-card-icon { opacity: 0.75; }

    .landing-title {
      font-family: var(--font-display);
      font-size: clamp(32px, 8.5vw, 100px);
      font-weight: 900;
      letter-spacing: -0.03em;
      line-height: 0.92;
      color: var(--white);
      text-transform: uppercase;
    }

    .landing-title .gradient { color: var(--orange); }

    .country-cta {
      display: inline-flex;
      align-items: center;
      gap: 14px;
      background: var(--orange);
      border: none;
      padding: 18px 40px;
      border-radius: var(--radius-pill);
      font-family: var(--font-display);
      font-size: 15px;
      font-weight: 700;
      color: var(--white);
      cursor: pointer;
      transition: background 0.15s, transform 0.12s;
      margin-top: 40px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      line-height: 1;
    }

    .country-cta:hover { background: var(--white); color: var(--black); transform: scale(1.025); }
    .country-cta-arrow { transition: transform 0.15s; }
    .country-cta:hover .country-cta-arrow { transform: translateX(4px); }

    .coming-soon-label {
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: rgba(255,255,255,0.25);
      margin-top: 52px;
      margin-bottom: 12px;
    }

    /* ─── TICKER ────────────────────────────── */
    .ticker-wrap {
      width: 100vw;
      overflow: hidden;
      padding: 8px 0 40px;
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
      mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
    }

    .ticker-track {
      display: flex;
      width: max-content;
      animation: ticker-scroll 44s linear infinite;
    }

    .ticker-track:hover { animation-play-state: paused; }

    @keyframes ticker-scroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    .loc-chip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 18px;
      margin: 12px 6px;
      border-radius: var(--radius-pill);
      font-family: var(--font-display);
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
      color: rgba(255,255,255,0.35);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      border: 1px solid rgba(255,255,255,0.12);
    }

    /* ─── QUIZ ──────────────────────────────── */
    #screen-quiz {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background: #0066EE; /* overridden per question by JS */
      transition: background-color 0.35s ease;
    }

    .quiz-header {
      background: var(--black);
      padding: 14px 32px 0;
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .quiz-header-inner { max-width: 720px; margin: 0 auto; }

    .quiz-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

    .quiz-back {
      background: none;
      border: none;
      font-size: 12px;
      color: rgba(255,255,255,0.6);
      cursor: pointer;
      font-family: var(--font-body);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      padding: 12px 8px;
      min-height: 44px;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: color 0.12s;
    }
    .quiz-back:hover { color: var(--white); }

    .quiz-counter {
      font-size: 12px;
      color: rgba(255,255,255,0.55);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .progress-bar-track { height: 2px; background: rgba(255,255,255,0.1); }
    .progress-bar-fill { height: 100%; background: var(--white); transition: width 0.4s ease; }

    .quiz-body {
      flex: 1;
      padding: 52px 32px 120px;
      max-width: 720px;
      margin: 0 auto;
      width: 100%;
    }

    .question-card { animation: fadeIn 0.22s ease; }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes pulse-glow {
      0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
      50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
    }
    .dot-pulse { animation: pulse-glow 2s ease-in-out infinite; }

    .question-text {
      font-family: var(--font-display);
      font-size: clamp(26px, 4.5vw, 52px);
      font-weight: 900;
      color: var(--white);
      margin-bottom: 6px;
      line-height: 1;
      letter-spacing: -0.02em;
      text-transform: uppercase;
    }

    .question-hint {
      font-size: 14px;
      color: rgba(255,255,255,0.75);
      margin-bottom: 36px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .options-list { display: flex; flex-direction: column; }

    .option-row {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 18px 24px;
      border: 1.5px solid rgba(255,255,255,0.2);
      border-radius: var(--radius);
      margin-bottom: 10px;
      cursor: pointer;
      transition: background 0.12s, border-color 0.12s, transform 0.1s;
      user-select: none;
      background: transparent;
    }

    .option-row:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); transform: scale(1.01); }
    .option-row.selected { background: var(--white); border-color: var(--white); }
    .option-row.selected .option-label { color: var(--black); }
    .option-row.selected .option-sub { color: rgba(0,0,0,0.5); }

    .option-emoji { font-size: 20px; width: 28px; text-align: center; flex-shrink: 0; }
    .option-text-wrap { flex: 1; }

    .option-label {
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 700;
      color: var(--white);
      line-height: 1.1;
      text-transform: uppercase;
      letter-spacing: 0.01em;
      transition: color 0.12s;
    }
    .option-sub { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; transition: color 0.12s; }

    .option-check {
      width: 20px;
      height: 20px;
      border: 1.5px solid rgba(255,255,255,0.35);
      border-radius: 50%;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.12s, border-color 0.12s;
    }
    .option-row.selected .option-check { background: var(--black); border-color: var(--black); }
    .option-check::after {
      content: '';
      width: 4px;
      height: 8px;
      border: 1.5px solid white;
      border-top: none;
      border-left: none;
      transform: rotate(45deg) translateY(-1px);
      opacity: 0;
      transition: opacity 0.1s;
    }
    .option-row.selected .option-check::after { opacity: 1; }

    .quiz-footer {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--black);
      border-top: 1px solid rgba(255,255,255,0.1);
      padding: 16px 32px;
    }

    .quiz-footer-inner { width: 100%; max-width: 720px; margin: 0 auto; display: flex; justify-content: flex-end; }

    .btn-next {
      background: transparent;
      color: var(--white);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      padding: 14px 36px;
      border: 1.5px solid rgba(255,255,255,0.3);
      border-radius: var(--radius-pill);
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      line-height: 1;
    }
    .btn-next:disabled { opacity: 0.2; cursor: not-allowed; }
    .btn-next:not(:disabled):hover { background: var(--white); border-color: var(--white); color: var(--black); transform: scale(1.03); }

    /* ─── RESULTS ───────────────────────────── */
    #screen-results { min-height: 100vh; background: var(--black); padding: 64px 32px 80px; }

    .results-header {
      max-width: 1100px;
      margin: 0 auto 40px;
      padding-bottom: 24px;
      border-bottom: 1px solid rgba(255,255,255,0.1);
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .results-title {
      font-family: var(--font-display);
      font-size: clamp(28px, 4.5vw, 56px);
      font-weight: 900;
      letter-spacing: -0.03em;
      color: var(--white);
      text-transform: uppercase;
      line-height: 1;
    }

    .results-subtitle {
      font-size: 11px;
      color: rgba(255,255,255,0.3);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .results-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      max-width: 1100px;
      margin: 0 auto;
    }

    @media (max-width: 900px) { .results-grid { grid-template-columns: 1fr; } }

    /* ─── LOADING STATE ─────────────────────── */
    #results-loading {
      position: fixed;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      background: var(--black);
      z-index: 10;
    }

    .loading-label {
      font-family: var(--font-display);
      font-size: clamp(18px, 3vw, 28px);
      font-weight: 900;
      color: var(--white);
      text-transform: uppercase;
      letter-spacing: -0.02em;
    }

    .loading-dots {
      display: flex;
      gap: 10px;
    }

    .loading-dots span {
      font-size: 28px;
      animation: earthBounce 1.2s ease-in-out infinite;
      display: inline-block;
    }
    .loading-dots span:nth-child(2) { animation-delay: 0.2s; }
    .loading-dots span:nth-child(3) { animation-delay: 0.4s; }

    @keyframes earthBounce {
      0%, 100% { transform: translateY(0) rotate(0deg);   opacity: 0.5; }
      40%       { transform: translateY(-14px) rotate(180deg); opacity: 1; }
      60%       { transform: translateY(-8px) rotate(270deg);  opacity: 1; }
    }

    .loading-countries {
      font-size: 16px;
      color: var(--orange);
      letter-spacing: 0.01em;
      font-weight: 300;
      min-height: 24px;
      transition: opacity 0.2s;
      font-style: italic;
    }

    /* card background = country color, set via JS */
    .country-card {
      overflow: hidden;
      border-radius: var(--radius);
      opacity: 0;
      transform: translateY(48px) scale(0.96);
      color: var(--white);
      transition: transform 0.15s;
      position: relative;
      display: flex;
      flex-direction: column;
    }
    .country-card:hover { transform: scale(1.02); }
    .country-card.card-visible {
      animation: cardReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .country-card.card-visible:nth-child(2) { animation-delay: 0.18s; }
    .country-card.card-visible:nth-child(3) { animation-delay: 0.36s; }
    .country-card.card-visible:nth-child(4) { animation-delay: 0.54s; }
    .country-card.card-visible:nth-child(5) { animation-delay: 0.72s; }
    .country-card.card-visible:nth-child(6) { animation-delay: 0.90s; }

    @keyframes cardReveal {
      from { opacity: 0; transform: translateY(48px) scale(0.96); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }

    .country-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
      transform: translateX(-100%);
      pointer-events: none;
    }
    .country-card.card-visible::after {
      animation: shimmer 0.9s ease forwards;
    }
    .country-card.card-visible:nth-child(2)::after { animation-delay: 0.18s; }
    .country-card.card-visible:nth-child(3)::after { animation-delay: 0.36s; }
    .country-card.card-visible:nth-child(4)::after { animation-delay: 0.54s; }
    .country-card.card-visible:nth-child(5)::after { animation-delay: 0.72s; }
    .country-card.card-visible:nth-child(6)::after { animation-delay: 0.90s; }

    @keyframes shimmer {
      0%   { transform: translateX(-100%); }
      100% { transform: translateX(200%); }
    }

    .card-rank-bar {
      padding: 20px 20px 12px;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.6);
      background: transparent;
    }

    /* rank classes kept as fallback but overridden by inline styles */
    .rank-1 { }
    .rank-2 { }
    .rank-3 { }
    .rank-4 { }
    .rank-5 { }
    .rank-6 { }

    .card-body { padding: 20px; flex: 1; }

    .card-flag { font-size: 36px; margin-bottom: 10px; display: block; line-height: 1; }

    .card-name {
      font-family: var(--font-display);
      font-size: 26px;
      font-weight: 900;
      color: var(--white);
      letter-spacing: -0.02em;
      margin-bottom: 6px;
      text-transform: uppercase;
      line-height: 1;
    }

    .card-tagline { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 20px; line-height: 1.5; }

    .score-section { margin-bottom: 20px; }

    .score-label {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 6px;
    }
    .score-label span:first-child {
      font-size: 10px;
      font-weight: 600;
      color: rgba(255,255,255,0.4);
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .score-value {
      font-family: var(--font-display);
      font-size: 44px;
      font-weight: 900;
      color: var(--white);
      letter-spacing: -0.03em;
      line-height: 1;
    }

    .score-bar-track { height: 2px; background: rgba(255,255,255,0.2); }
    .score-bar-fill {
      height: 100%;
      background: var(--white);
      width: 0%;
      transition: width 0.8s ease;
    }

    .card-divider { height: 1px; background: rgba(255,255,255,0.15); margin: 16px 0; }

    .companion-pills { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
    .companion-pill {
      display: flex; align-items: center; gap: 8px;
      padding: 6px 10px;
      background: rgba(0,0,0,0.25);
      border-radius: 8px;
      font-size: 12px;
      color: rgba(255,255,255,0.9);
    }
    .companion-pill .cp-label { flex: 1; color: rgba(255,255,255,0.6); font-size: 11px; }
    .companion-pill .cp-diff {
      font-size: 11px; font-weight: 700; padding: 2px 7px;
      border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em;
    }
    .cp-diff.easy     { background: rgba(60,200,100,0.25); color: #7ef7a0; }
    .cp-diff.moderate { background: rgba(255,180,0,0.2);   color: #ffd666; }
    .cp-diff.complex  { background: rgba(255,80,80,0.2);   color: #ff9999; }
    .cp-diff.strict   { background: rgba(200,0,200,0.2);   color: #f0aaff; }

    .card-section-label {
      font-size: 9px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: rgba(255,255,255,0.4);
      margin-bottom: 8px;
    }

    .visa-chip {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      background: rgba(0,0,0,0.2);
      padding: 10px 14px;
      margin-bottom: 8px;
      border-radius: var(--radius);
    }
    .visa-chip-icon { font-size: 16px; flex-shrink: 0; }
    .visa-chip-text { flex: 1; min-width: 0; }
    .visa-chip-name { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.02em; }
    .visa-chip-detail { font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.4; }

    .cost-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(0,0,0,0.2);
      padding: 6px 14px;
      font-size: 11px;
      font-weight: 500;
      color: var(--white);
      margin-top: 6px;
      border-radius: var(--radius-pill);
    }

    .pros-cons { display: flex; flex-direction: column; gap: 6px; }
    .pro-item, .con-item { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; line-height: 1.5; color: var(--white); }
    .con-item { color: rgba(255,255,255,0.55); }
    .pro-icon, .con-icon { font-style: normal; flex-shrink: 0; font-weight: 700; }
    .con-icon { color: rgba(255,255,255,0.3); }

    .timeline-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(0,0,0,0.2);
      padding: 6px 14px;
      font-size: 10px;
      font-weight: 500;
      margin-top: 12px;
      border-radius: var(--radius-pill);
      color: rgba(255,255,255,0.5);
    }


    /* ─── DOWNLOAD BOX ──────────────────────── */
    .download-box {
      max-width: 1100px;
      margin: 20px auto 0;
      background: var(--black);
      border-radius: var(--radius);
      padding: 28px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .download-text h3 {
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 4px;
      text-transform: uppercase;
      letter-spacing: -0.02em;
      line-height: 1;
    }
    .download-text p { font-size: 12px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; }

    .download-actions { display: flex; gap: 10px; flex-wrap: wrap; }

    .btn-download {
      background: var(--white);
      color: var(--black);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      padding: 14px 28px;
      border: none;
      border-radius: var(--radius-pill);
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      line-height: 1;
    }
    .btn-download:hover { background: var(--orange); color: var(--white); }

    .btn-sheets {
      background: transparent;
      color: var(--white);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      padding: 14px 28px;
      border: 1.5px solid rgba(255,255,255,0.25);
      border-radius: var(--radius-pill);
      cursor: pointer;
      transition: background 0.15s, color 0.15s, border-color 0.15s;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      line-height: 1;
    }
    .btn-sheets:hover { background: var(--white); color: var(--black); border-color: var(--white); }

    /* ─── TOAST ─────────────────────────────── */
    .toast {
      position: fixed;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%) translateY(16px);
      background: var(--white);
      color: var(--black);
      padding: 16px 24px;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.5;
      text-align: center;
      z-index: 1000;
      opacity: 0;
      transition: opacity 0.2s, transform 0.2s;
      pointer-events: none;
      max-width: 90vw;
      text-align: center;
      line-height: 1.5;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    .btn-restart {
      background: none;
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 100px;
      color: rgba(255,255,255,0.55);
      font-size: 12px;
      font-weight: 500;
      cursor: pointer;
      font-family: var(--font-body);
      margin: 36px auto 0;
      display: block;
      padding: 10px 24px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      transition: color 0.12s, border-color 0.12s;
    }
    .btn-restart:hover { color: var(--white); border-color: rgba(255,255,255,0.45); }

    /* ─── BREAKDOWN MODAL ───────────────────── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(10,10,10,0.85);
      z-index: 2000;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 40px 16px 80px;
      overflow-y: auto;
    }
    .modal-overlay.hidden { display: none !important; }

    .modal-box { background: var(--white); width: 100%; max-width: 680px; border-radius: var(--radius); overflow: hidden; }


    .modal-header {
      padding: 28px;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      color: var(--white);
      /* background set per-country via JS */
    }
    .modal-header-left { display: flex; align-items: center; gap: 16px; }
    .modal-header-flag { font-size: 36px; line-height: 1; }
    .modal-header-name { font-family: var(--font-display); font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: -0.02em; }
    .modal-header-tagline { font-size: 12px; opacity: 0.75; letter-spacing: 0.04em; margin-top: 6px; line-height: 1.5; max-width: 340px; text-transform: none; }

    .modal-score-badge {
      font-family: var(--font-display);
      font-size: 32px;
      font-weight: 900;
      letter-spacing: -0.04em;
      white-space: nowrap;
      color: var(--white);
    }
    .modal-close {
      background: none;
      border: none;
      color: rgba(255,255,255,0.5);
      font-size: 20px;
      cursor: pointer;
      padding: 4px 8px;
      font-family: var(--font-body);
      line-height: 1;
      margin-left: 16px;
      transition: color 0.12s;
    }
    .modal-close:hover { color: var(--white); }

    .modal-body { padding: 28px; display: flex; flex-direction: column; gap: 28px; background: var(--white); }

    .modal-section-title {
      font-size: 9px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: rgba(0,0,0,0.3);
      border-bottom: 1px solid rgba(0,0,0,0.08);
      padding-bottom: 10px;
      margin-bottom: 16px;
    }

    .dim-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
    .dim-label {
      width: 140px;
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(0,0,0,0.35);
      flex-shrink: 0;
    }
    .dim-bar-track { flex: 1; height: 2px; background: rgba(0,0,0,0.08); }
    .dim-bar-fill { height: 100%; background: var(--black); width: 0; transition: width 0.6s ease; }
    .dim-bar-fill.low  { background: #DD0033; }
    .dim-bar-fill.mid  { background: rgba(0,0,0,0.3); }
    .dim-bar-fill.high { background: var(--black); }
    .dim-bar-fill.rainbow  { background: linear-gradient(to right, #FF0018, #FFA52C, #FFFF41, #008018, #0000F9, #86007D); }
    .dim-value { width: 28px; text-align: right; font-size: 11px; font-weight: 700; flex-shrink: 0; }

    .visa-card { padding: 14px 16px; margin-bottom: 8px; display: flex; gap: 12px; align-items: flex-start; background: var(--off); border-radius: var(--radius); }
    .visa-card.best { background: var(--black); }
    .visa-card.best .visa-card-name { color: var(--white); }
    .visa-card.best .visa-card-meta { color: rgba(255,255,255,0.45); }
    .visa-card-icon { font-size: 20px; flex-shrink: 0; }
    .visa-card-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
    .visa-card-meta { font-size: 12px; color: rgba(0,0,0,0.55); margin-top: 3px; line-height: 1.5; }
    .visa-best-tag { font-size: 10px; font-weight: 700; background: var(--orange); color: var(--white); padding: 2px 6px; text-transform: uppercase; letter-spacing: 0.1em; margin-left: 8px; vertical-align: middle; }
    .visa-age-warn { display: inline-block; font-size: 11px; font-weight: 600; background: #DD0033; color: var(--white); padding: 2px 7px; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

    .pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
    .pc-item { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; line-height: 1.5; color: var(--black); }
    .pc-icon { flex-shrink: 0; font-weight: 700; font-size: 12px; margin-top: 1px; }
    .pc-icon.pro { color: var(--black); }
    .pc-icon.con { color: rgba(0,0,0,0.25); }

    .modal-cost-row { display: flex; gap: 2px; flex-wrap: wrap; background: rgba(0,0,0,0.06); }
    .modal-cost-item { background: var(--white); padding: 16px 20px; flex: 1; min-width: 130px; }
    .modal-cost-item label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(0,0,0,0.55); display: block; margin-bottom: 6px; }
    .modal-cost-item span { font-size: 16px; font-weight: 700; letter-spacing: -0.5px; }

    .modal-timeline { padding: 16px 20px; font-family: var(--font-display); font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--white); background: var(--black); text-align: center; }

    .modal-dl-btn {
      width: 100%;
      background: var(--orange);
      color: var(--white);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      padding: 18px;
      border: none;
      border-radius: 0;
      cursor: pointer;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      transition: background 0.15s;
      line-height: 1;
    }
    .modal-dl-btn:hover { background: var(--black); }

    .btn-breakdown {
      width: 100%;
      background: rgba(0,0,0,0.15);
      color: rgba(255,255,255,0.6);
      font-size: 10px;
      font-weight: 600;
      padding: 13px 20px;
      border: none;
      border-top: 1px solid rgba(255,255,255,0.1);
      cursor: pointer;
      font-family: var(--font-body);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      transition: color 0.12s, background 0.12s;
      text-align: center;
    }
    .btn-breakdown:hover { color: var(--white); background: rgba(0,0,0,0.25); }

    /* ─── ANCESTRY SEARCH ───────────────────── */
    .ancestry-search-wrap { position: relative; margin-bottom: 12px; }
    .ancestry-input {
      width: 100%; padding: 14px 16px; border: 2px solid rgba(255,255,255,0.3);
      border-radius: var(--radius); background: rgba(255,255,255,0.12);
      color: var(--white); font-family: var(--font-body); font-size: 15px;
      outline: none; transition: border-color 0.15s;
    }
    .ancestry-input::placeholder { color: rgba(255,255,255,0.45); }
    .ancestry-input:focus { border-color: rgba(255,255,255,0.7); }
    .ancestry-dropdown {
      position: absolute; top: calc(100% + 6px); left: 0; right: 0;
      background: #1a1a1a; border: 1px solid rgba(255,255,255,0.15);
      border-radius: var(--radius); max-height: 220px; overflow-y: auto;
      z-index: 50; display: none;
    }
    .ancestry-dropdown.open { display: block; }
    .ancestry-dropdown-item {
      padding: 11px 16px; cursor: pointer; display: flex; align-items: center;
      gap: 10px; font-size: 14px; color: var(--white); transition: background 0.1s;
    }
    .ancestry-dropdown-item:hover { background: rgba(255,255,255,0.08); }
    .ancestry-dropdown-item.selected { background: rgba(255,85,0,0.2); }
    .ancestry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; min-height: 0; }
    .ancestry-tag {
      display: inline-flex; align-items: center; gap: 6px;
      background: var(--orange); color: var(--white);
      padding: 6px 12px; border-radius: var(--radius-pill);
      font-size: 13px; font-weight: 600;
    }
    .ancestry-tag-remove {
      background: none; border: none; color: var(--white); cursor: pointer;
      font-size: 16px; line-height: 1; padding: 0; opacity: 0.75;
    }
    .ancestry-tag-remove:hover { opacity: 1; }
    .ancestry-skip {
      width: 100%; padding: 12px; border: 2px solid rgba(255,255,255,0.2);
      border-radius: var(--radius); background: transparent; color: rgba(255,255,255,0.55);
      font-family: var(--font-body); font-size: 13px; cursor: pointer;
      transition: border-color 0.15s, color 0.15s; text-align: center;
      letter-spacing: 0.04em; margin-top: 4px;
    }
    .ancestry-skip:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

    /* ─── RESPONSIVE ────────────────────────── */
    @media (max-width: 680px) {
      #screen-intro { padding: 48px 24px 40px; justify-content: flex-start; padding-top: 72px; }
      .intro-inner { max-width: 100%; }
      .intro-text { font-size: clamp(18px, 5.5vw, 24px); line-height: 1.7; }
      .intro-start { width: 100%; text-align: center; }

      .download-box { flex-direction: column; align-items: flex-start; }
      .quiz-body { padding: 24px 16px 100px; }
      #screen-results { padding: 40px 20px 80px; }
      .results-header { flex-direction: column; gap: 4px; }
      .pc-grid { grid-template-columns: 1fr; }

      /* Compact quiz options so more fit on screen */
      .question-text { font-size: clamp(20px, 6vw, 32px); margin-bottom: 4px; }
      .question-hint { font-size: 12px; margin-bottom: 18px; }
      .option-row { padding: 11px 14px; gap: 12px; margin-bottom: 7px; }
      .option-emoji { font-size: 18px; width: 24px; }
      .option-label { font-size: 14px; }
      .option-sub { font-size: 11px; margin-top: 1px; }
      .option-check { width: 18px; height: 18px; }
      .loading-countries { height: 52px; min-height: unset; text-align: center; padding: 0 24px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
      .download-text h3 { font-size: 14px; line-height: 1.3; }
      .visa-card-name { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
      .visa-best-tag { display: inline-block; margin-left: 0; margin-top: 0; }
      .modal-header { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
      .modal-header-left { width: 100%; }
      .modal-header > div:last-child { width: 100%; justify-content: space-between; }
      .dim-row { flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
      .dim-label { width: 100%; margin-bottom: 2px; }
      .dim-bar-track { flex: 1; }
      .dim-value { width: auto; }
    }

    .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

    /* ─── DATA FRESHNESS + DISCLAIMER ───────── */
    .data-freshness {
      text-align: center;
      margin: 40px auto 0;
      max-width: 640px;
      padding: 0 16px 8px;
    }
    .freshness-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 100px;
      padding: 5px 14px;
      font-size: 11px;
      color: rgba(255,255,255,0.5);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      font-family: 'Barlow Condensed','Arial Narrow',sans-serif;
      font-weight: 600;
    }
    .freshness-dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #4ade80;
      flex-shrink: 0;
    }
    .disclaimer {
      margin-top: 14px;
      font-size: 12px;
      color: rgba(255,255,255,0.6);
      line-height: 1.6;
    }
    .disclaimer a { color: rgba(255,255,255,0.6); text-decoration: underline; }
    @keyframes wiggle {
      0%, 100% { transform: rotate(0deg); }
      25% { transform: rotate(-12deg); }
      75% { transform: rotate(12deg); }
    }
    .coffee-cup {
      display: inline-block;
      animation: wiggle 1.8s ease-in-out infinite;
    }

/* ─── SEO CONTENT SECTION (crawler-only) ───────── */
.seo-section {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.seo-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.seo-heading {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}
.seo-body {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.seo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75em;
  overflow: hidden;
}
.seo-stat {
  background: #111;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.seo-stat-num {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FF5500;
  line-height: 1;
}
.seo-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}
.seo-blog-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}
.seo-blog-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.seo-blog-list li {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 14px 0;
}
.seo-blog-list li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.seo-blog-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.12s;
}
.seo-blog-list a:hover {
  color: #fff;
}
@media (max-width: 600px) {
  .seo-section { padding: 60px 20px 80px; }
  .seo-stats { grid-template-columns: 1fr; }
}
