/* ===== CSS Variables — Soviet/China parody palette ===== */
    :root {
      --red-dark: #5c0a0a;
      --red: #8b1a1a;
      --red-bright: #c41e3a;
      --china-red: #de2910;
      --black: #0d0d0d;
      --gold: #d4af37;
      --gold-light: #f0d78c;
      --cream: #f5f0e6;
      --cream-muted: #c9b896;
      --shadow: rgba(0, 0, 0, 0.45);
      --border-thick: 3px;
      --radius: 14px;
      --font-display: "Impact", "Arial Black", "Haettenschweiler", sans-serif;
      --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-body);
      background: var(--black);
      color: var(--cream);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ===== Utility ===== */
    .container {
      width: min(1140px, 92vw);
      margin: 0 auto;
    }

    .section {
      padding: 4rem 0;
    }

    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 4vw, 2.4rem);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--gold-light);
      text-align: center;
      margin-bottom: 0.75rem;
      text-shadow: 2px 2px 0 var(--red-dark);
    }

    .section-sub {
      text-align: center;
      color: var(--cream-muted);
      max-width: 720px;
      margin: 0 auto 2.5rem;
      font-size: 0.95rem;
    }

    .disclaimer-small {
      font-size: 0.75rem;
      color: var(--cream-muted);
      opacity: 0.85;
      margin-top: 1rem;
      line-height: 1.5;
    }

    .legal-block {
      background: var(--red-dark);
      border: var(--border-thick) solid var(--gold);
      border-radius: var(--radius);
      padding: 1.25rem;
      font-size: 0.8rem;
      color: var(--cream-muted);
      text-align: center;
      margin-top: 2rem;
    }

    /* ===== Navbar ===== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: linear-gradient(180deg, rgba(13,13,13,0.98) 0%, rgba(92,10,10,0.95) 100%);
      border-bottom: var(--border-thick) solid var(--gold);
      padding: 0.6rem 0;
    }

    .navbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .nav-brand {
      font-family: var(--font-display);
      font-size: clamp(0.85rem, 2.5vw, 1.1rem);
      color: var(--gold-light);
      text-decoration: none;
      letter-spacing: 0.06em;
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      gap: 1rem;
      list-style: none;
      flex-wrap: wrap;
      justify-content: center;
    }

    .nav-links a {
      color: var(--cream);
      text-decoration: none;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      transition: color 0.2s, transform 0.2s;
    }

    .nav-links a:hover { color: var(--gold-light); transform: translateY(-2px); }

    /* Pulsing CTA in navbar */
    .nav-cta {
      display: inline-block;
      background: linear-gradient(135deg, var(--china-red), var(--red-bright));
      color: var(--cream) !important;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      border: 2px solid var(--gold);
      font-family: var(--font-display);
      font-size: clamp(0.65rem, 2vw, 0.85rem);
      letter-spacing: 0.03em;
      animation: ctaPulse 1.5s ease-in-out infinite;
      box-shadow: 0 4px 12px var(--shadow);
    }

    .nav-cta:hover {
      background: linear-gradient(135deg, var(--gold), var(--gold-light));
      color: var(--black) !important;
      transform: scale(1.05);
    }

    .nav-cta-short { display: none; }

    @media (max-width: 640px) {
      .nav-cta-long { display: none; }
      .nav-cta-short { display: inline; }
    }

    @keyframes ctaPulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.08); }
    }

    /* ===== Hero ===== */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6rem 0 4rem;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background: url('banner.png') center center / cover no-repeat;
      animation: heroZoom 20s ease-in-out infinite alternate;
      z-index: 0;
    }

    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        180deg,
        rgba(13,13,13,0.75) 0%,
        rgba(92,10,10,0.85) 50%,
        rgba(13,13,13,0.92) 100%
      );
    }

    @keyframes heroZoom {
      from { transform: scale(1); }
      to { transform: scale(1.12); }
    }

    .hero-content {
      position: relative;
      z-index: 1;
      text-align: center;
      padding: 2rem;
    }

    .hero-particles {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      opacity: 0.65;
    }

    .hero-glow {
      position: absolute;
      width: 60vmin;
      height: 60vmin;
      left: 50%;
      top: 40%;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(222, 41, 16, 0.25) 0%, transparent 70%);
      z-index: 1;
      pointer-events: none;
      animation: glowPulse 4s ease-in-out infinite;
    }

    @keyframes glowPulse {
      0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
      50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.15); }
    }

    .hero-badge {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 0.65rem 0.85rem;
      justify-content: center;
      align-items: center;
      margin-bottom: 1.75rem;
      perspective: 600px;
    }

    .badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      background: rgba(13, 13, 13, 0.88);
      border: 2px solid var(--gold);
      padding: 0.4rem 0.95rem;
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 700;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
      animation: badgeFloat 3.2s ease-in-out infinite;
      animation-delay: calc(var(--i, 0) * 0.35s);
      transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
      cursor: default;
    }

    .badge-pill:hover {
      transform: translateY(-6px) scale(1.06);
      border-color: var(--china-red);
      box-shadow: 0 8px 24px rgba(222, 41, 16, 0.35);
      animation-play-state: paused;
    }

    @keyframes badgeFloat {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      25% { transform: translateY(-7px) rotate(-1.5deg); }
      75% { transform: translateY(-4px) rotate(1.5deg); }
    }

    .badge-logo-wrap {
      padding: 0.25rem;
      animation: badgeFloat 3.2s ease-in-out infinite, logoRing 2.5s ease-in-out infinite;
      animation-delay: calc(var(--i, 0) * 0.35s), 0s;
    }

    @keyframes logoRing {
      0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
      50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
    }

    .hero-logo {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      padding: 0;
      animation: logoWobble 6s ease-in-out infinite;
    }

    @keyframes logoWobble {
      0%, 100% { transform: rotate(0deg); }
      50% { transform: rotate(8deg); }
    }

    .badge-ticker {
      color: var(--gold-light);
      font-family: var(--font-display);
      letter-spacing: 0.06em;
      animation: badgeFloat 3.2s ease-in-out infinite, tickerShine 2s ease-in-out infinite;
      animation-delay: calc(var(--i, 0) * 0.35s), 0s;
      background: linear-gradient(135deg, rgba(92, 10, 10, 0.95), rgba(13, 13, 13, 0.9));
    }

    @keyframes tickerShine {
      0%, 100% { filter: brightness(1); }
      50% { filter: brightness(1.35); text-shadow: 0 0 12px rgba(240, 215, 140, 0.6); }
    }

    .badge-date .badge-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--china-red);
      display: inline-block;
      animation: dotBlink 1.2s ease-in-out infinite;
    }

    @keyframes dotBlink {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(1.5rem, 5vw, 2.8rem);
      line-height: 1.15;
      color: var(--cream);
      text-shadow: 3px 3px 0 var(--red-dark), 0 0 40px rgba(212, 175, 55, 0.3);
      margin-bottom: 1rem;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-title-accent {
      display: inline-block;
      color: var(--gold-light);
      animation: titleShimmer 3s ease-in-out infinite;
    }

    @keyframes titleShimmer {
      0%, 100% { filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3)); }
      50% { filter: drop-shadow(0 0 14px rgba(222, 41, 16, 0.5)); }
    }

    .hero-sub {
      font-size: clamp(0.9rem, 2.5vw, 1.05rem);
      color: var(--cream-muted);
      max-width: 680px;
      margin: 0 auto 1.5rem;
    }

    .hero-tagline {
      font-style: italic;
      color: var(--gold-light);
      margin-bottom: 2rem;
      font-size: 1rem;
      animation: taglinePulse 2.5s ease-in-out infinite;
    }

    @keyframes taglinePulse {
      0%, 100% { opacity: 0.85; }
      50% { opacity: 1; letter-spacing: 0.02em; }
    }

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

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

    .btn-glow {
      position: relative;
      overflow: hidden;
    }

    .btn-glow::after {
      content: '';
      position: absolute;
      inset: -2px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
      transform: translateX(-100%);
      animation: btnShine 3s ease-in-out infinite;
    }

    @keyframes btnShine {
      0% { transform: translateX(-100%); }
      40%, 100% { transform: translateX(100%); }
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
    }

    .btn {
      display: inline-block;
      padding: 0.85rem 1.6rem;
      font-family: var(--font-display);
      font-size: 0.95rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: var(--radius);
      border: var(--border-thick) solid var(--gold);
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--china-red), var(--red-bright));
      color: var(--cream);
      box-shadow: 0 6px 20px var(--shadow);
    }

    .btn-primary:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: 0 10px 28px rgba(196, 30, 58, 0.5);
    }

    .btn-secondary {
      background: transparent;
      color: var(--gold-light);
    }

    .btn-secondary:hover {
      background: var(--gold);
      color: var(--black);
      transform: translateY(-3px);
    }

    /* ===== Cards ===== */
    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
    }

    .card {
      background: linear-gradient(145deg, var(--red-dark), var(--black));
      border: var(--border-thick) solid var(--gold);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: 0 8px 24px var(--shadow);
      opacity: 0;
      transform: translateY(20px);
      transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    }

    .card.visible {
      animation: cardFadeIn 0.6s ease forwards;
    }

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

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 14px 32px rgba(212, 175, 55, 0.2);
      border-color: var(--china-red);
    }

    .card h3 {
      font-family: var(--font-display);
      color: var(--gold-light);
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
    }

    .card p { font-size: 0.9rem; color: var(--cream-muted); }

    /* Chinese accent stripe on some cards */
    .card-accent::before {
      content: '';
      display: block;
      height: 4px;
      background: linear-gradient(90deg, var(--china-red), var(--gold));
      border-radius: 2px;
      margin-bottom: 1rem;
    }

    /* ===== Shill-to-Earn reward list ===== */
    .reward-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .reward-item {
      background: rgba(92, 10, 10, 0.6);
      border: 2px solid var(--gold);
      border-radius: var(--radius);
      padding: 1rem;
      text-align: center;
      transition: transform 0.25s, background 0.25s;
    }

    .reward-item:hover {
      transform: scale(1.03);
      background: rgba(139, 26, 26, 0.8);
    }

    .reward-item .amount {
      font-family: var(--font-display);
      font-size: 1.3rem;
      color: var(--gold-light);
    }

    .reward-item .label { font-size: 0.85rem; margin-top: 0.25rem; }

    /* ===== Calculator ===== */
    .calculator-wrap {
      background: linear-gradient(160deg, var(--red-dark) 0%, var(--black) 100%);
      border: var(--border-thick) solid var(--gold);
      border-radius: var(--radius);
      padding: 2rem;
      box-shadow: 0 12px 40px var(--shadow);
    }

    .calc-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .form-group label {
      display: block;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--gold);
      margin-bottom: 0.35rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 0.65rem 0.85rem;
      background: var(--black);
      border: 2px solid var(--cream-muted);
      border-radius: 8px;
      color: var(--cream);
      font-size: 0.95rem;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--gold);
    }

    .calc-result-box {
      background: linear-gradient(135deg, var(--china-red), var(--red-dark));
      border: var(--border-thick) solid var(--gold-light);
      border-radius: var(--radius);
      padding: 1.5rem;
      text-align: center;
      margin-top: 1.5rem;
      transform: scale(0.95);
      opacity: 0;
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s;
    }

    .calc-result-box.show {
      opacity: 1;
      transform: scale(1);
      animation: resultPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes resultPop {
      0% { transform: scale(0.8); opacity: 0; }
      70% { transform: scale(1.05); }
      100% { transform: scale(1); opacity: 1; }
    }

    .calc-result-box .big-text {
      font-family: var(--font-display);
      font-size: clamp(1rem, 3vw, 1.4rem);
      color: var(--cream);
      margin: 0.5rem 0;
    }

    .calc-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      margin: 1rem 0;
      font-size: 0.9rem;
    }

    .calc-stats span {
      background: rgba(0,0,0,0.4);
      padding: 0.4rem 0.8rem;
      border-radius: 6px;
    }

    .rank-badge {
      display: inline-block;
      margin-top: 0.75rem;
      padding: 0.5rem 1.2rem;
      background: var(--gold);
      color: var(--black);
      font-family: var(--font-display);
      border-radius: 999px;
    }

    /* ===== Mechanics flow ===== */
    .flow-steps {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      margin-top: 2rem;
    }

    .flow-step {
      flex: 1 1 180px;
      max-width: 220px;
      background: var(--red-dark);
      border: 2px solid var(--gold);
      border-radius: var(--radius);
      padding: 1.25rem;
      text-align: center;
      position: relative;
    }

    .flow-step::after {
      content: '→';
      position: absolute;
      right: -1.2rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--gold);
      font-size: 1.2rem;
      display: none;
    }

    @media (min-width: 900px) {
      .flow-step:not(:last-child)::after { display: block; }
    }

    .flow-step h4 {
      font-family: var(--font-display);
      color: var(--gold-light);
      margin-bottom: 0.5rem;
      font-size: 0.95rem;
    }

    .flow-step p { font-size: 0.8rem; color: var(--cream-muted); }

    /* ===== Reward table ===== */
    .reward-table-wrap {
      overflow-x: auto;
      margin-top: 1.5rem;
    }

    table.reward-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
    }

    .reward-table th,
    .reward-table td {
      border: 2px solid var(--gold);
      padding: 0.75rem 1rem;
      text-align: left;
    }

    .reward-table th {
      background: var(--red-dark);
      color: var(--gold-light);
      font-family: var(--font-display);
    }

    .reward-table tr:nth-child(even) { background: rgba(92, 10, 10, 0.4); }

    /* ===== Multiplier cards ===== */
    .multiplier-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 0.75rem;
      margin-top: 1.5rem;
    }

    .multiplier-card {
      background: var(--black);
      border: 2px solid var(--cream-muted);
      border-radius: 10px;
      padding: 0.75rem;
      text-align: center;
      font-size: 0.85rem;
      transition: border-color 0.2s, transform 0.2s;
    }

    .multiplier-card:hover {
      border-color: var(--china-red);
      transform: translateY(-2px);
    }

    .multiplier-card .mult-value {
      font-family: var(--font-display);
      font-size: 1.4rem;
      color: var(--gold-light);
    }

    /* ===== Pool flow visual ===== */
    .pool-flow {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin: 2rem 0;
      font-size: 0.85rem;
    }

    .pool-flow-item {
      background: var(--red-dark);
      border: 2px solid var(--gold);
      padding: 0.6rem 1rem;
      border-radius: 8px;
      text-align: center;
    }

    .pool-flow-arrow { color: var(--gold); font-size: 1.2rem; }

    /* ===== Verification form ===== */
    .verify-form {
      max-width: 560px;
      margin: 0 auto;
    }

    .verify-form .form-group { margin-bottom: 1rem; }

    .mock-confirm {
      display: none;
      background: rgba(212, 175, 55, 0.15);
      border: 2px solid var(--gold);
      border-radius: var(--radius);
      padding: 1.25rem;
      margin-top: 1rem;
      text-align: center;
      animation: cardFadeIn 0.5s ease forwards;
    }

    .mock-confirm.show { display: block; }

    /* ===== Status checker ===== */
    .status-checker {
      max-width: 480px;
      margin: 2rem auto 0;
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .status-checker input { flex: 1; min-width: 180px; }

    .status-result {
      margin-top: 1rem;
      padding: 1rem;
      border-radius: var(--radius);
      text-align: center;
      font-weight: 700;
      display: none;
    }

    .status-result.show { display: block; animation: cardFadeIn 0.4s ease; }

    /* ===== Mission cards ===== */
    .mission-card {
      position: relative;
    }

    .mission-difficulty {
      display: inline-block;
      font-size: 0.7rem;
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      margin-top: 0.5rem;
      font-weight: 700;
    }

    .diff-easy { background: #2d5a27; color: #b8e0b0; }
    .diff-medium { background: #5a4a1a; color: var(--gold-light); }
    .diff-hard { background: var(--red-bright); color: var(--cream); }

    /* ===== Leaderboard ===== */
    .leaderboard-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1.5rem;
      font-size: 0.85rem;
    }

    .leaderboard-table th,
    .leaderboard-table td {
      border: 1px solid var(--gold);
      padding: 0.65rem;
      text-align: left;
    }

    .leaderboard-table th {
      background: var(--red-dark);
      color: var(--gold-light);
    }

    .leaderboard-table tr:hover { background: rgba(139, 26, 26, 0.5); }

    /* ===== Rules list ===== */
    .rules-list {
      list-style: none;
      max-width: 700px;
      margin: 0 auto;
    }

    .rules-list li {
      padding: 0.75rem 0 0.75rem 1.5rem;
      border-bottom: 1px solid rgba(212, 175, 55, 0.3);
      position: relative;
    }

    .rules-list li::before {
      content: '★';
      position: absolute;
      left: 0;
      color: var(--china-red);
    }

    /* ===== Footer ===== */
    footer {
      background: var(--red-dark);
      border-top: var(--border-thick) solid var(--gold);
      padding: 2.5rem 0;
      text-align: center;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: center;
      margin: 1rem 0;
    }

    .footer-links a {
      color: var(--gold-light);
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 600;
    }

    .footer-links a:hover { text-decoration: underline; }

    /* ===== Parody banner ===== */
    .parody-banner {
      background: var(--black);
      border-bottom: 1px solid var(--gold);
      text-align: center;
      padding: 0.4rem;
      font-size: 0.7rem;
      color: var(--cream-muted);
    }

    /* ===== Responsive nav ===== */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .navbar-inner { justify-content: space-between; }
      .flow-step::after { display: none !important; }
    }

    @media (min-width: 769px) {
      .nav-mobile-toggle { display: none; }
    }

    /* ===== Interactive enhancements ===== */
    .navbar {
      transition: padding 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
    }

    .navbar-scrolled {
      padding: 0.35rem 0;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(12px);
    }

    .nav-links a.active {
      color: var(--gold-light);
      position: relative;
    }

    .nav-links a.active::after {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      bottom: -4px;
      height: 2px;
      background: var(--china-red);
      animation: navUnderline 0.3s ease;
    }

    @keyframes navUnderline {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }

    .section-title,
    .section-sub,
    .reward-item,
    .flow-step,
    .multiplier-card,
    .pool-flow-item {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .section-title.is-visible,
    .section-sub.is-visible,
    .reward-item.is-visible,
    .flow-step.is-visible,
    .multiplier-card.is-visible,
    .pool-flow-item.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .hero-title {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
    }

    .hero-title.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .hero-content {
      transition: transform 0.1s linear;
    }

    .hero-bg {
      will-change: transform;
    }

    .btn,
    .nav-cta,
    .badge-pill {
      position: relative;
      overflow: hidden;
    }

    .ripple {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.35);
      transform: scale(0);
      animation: rippleOut 0.6s ease-out forwards;
      pointer-events: none;
    }

    @keyframes rippleOut {
      to { transform: scale(2.5); opacity: 0; }
    }

    .pool-flow-item.pool-active {
      border-color: var(--china-red);
      transform: scale(1.08);
      box-shadow: 0 0 20px rgba(222, 41, 16, 0.4);
      transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    }

    .leaderboard-table tr.lb-highlight td {
      background: rgba(212, 175, 55, 0.15);
      animation: lbPulse 0.6s ease;
    }

    @keyframes lbPulse {
      0% { background: rgba(222, 41, 16, 0.3); }
      100% { background: rgba(212, 175, 55, 0.15); }
    }

    .rank-badge.rank-pop {
      animation: rankPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes rankPop {
      0% { transform: scale(0.8); }
      70% { transform: scale(1.12); }
      100% { transform: scale(1); }
    }

    .result-flash {
      animation: resultFlash 0.6s ease;
    }

    @keyframes resultFlash {
      0%, 100% { color: var(--cream); }
      50% { color: var(--gold-light); text-shadow: 0 0 20px rgba(240, 215, 140, 0.8); }
    }

    .card.visible:hover {
      transform: translateY(-6px);
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .hero-particles { display: none; }
      .badge-pill { animation: none !important; }
    }
