
  html, body {
    background: #020603;
    color: #4ade80;
    font-family: "JetBrains Mono", ui-monospace, monospace;
    margin: 0;
    overflow-x: hidden;
  }

  /* ---------- Matrix brine rain canvas ---------- */
  #matrixCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  /* ---------- Title glow ---------- */
  .title-glow {
    color: #ffffff;
    text-shadow:
      0 0 8px #4ade80,
      0 0 24px #22c55e,
      0 0 48px #22c55e;
  }
  .ticker-glow {
    color: #eab308;
    text-shadow: 0 0 10px rgba(234,179,8,0.8);
  }

  /* ---------- Badge capsules ---------- */
  .badge-capsule {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    border: 1px solid;
    white-space: nowrap;
  }
  .badge-gold {
    color: #eab308;
    border-color: rgba(234,179,8,0.6);
    background: rgba(234,179,8,0.08);
    box-shadow: 0 0 12px rgba(234,179,8,0.45), inset 0 0 8px rgba(234,179,8,0.15);
    animation: pulseGold 2.4s ease-in-out infinite;
  }
  .badge-green {
    color: #4ade80;
    border-color: rgba(34,197,94,0.6);
    background: rgba(34,197,94,0.08);
    box-shadow: 0 0 12px rgba(34,197,94,0.45), inset 0 0 8px rgba(34,197,94,0.15);
    animation: pulseGreen 2.4s ease-in-out infinite;
  }
  .badge-blue {
    color: #38bdf8;
    border-color: rgba(56,189,248,0.6);
    background: rgba(56,189,248,0.08);
    box-shadow: 0 0 12px rgba(56,189,248,0.45), inset 0 0 8px rgba(56,189,248,0.15);
    animation: pulseBlue 2.4s ease-in-out infinite;
  }
  @keyframes pulseGold { 50% { box-shadow: 0 0 22px rgba(234,179,8,0.8), inset 0 0 12px rgba(234,179,8,0.25); } }
  @keyframes pulseGreen { 50% { box-shadow: 0 0 22px rgba(34,197,94,0.8), inset 0 0 12px rgba(34,197,94,0.25); } }
  @keyframes pulseBlue { 50% { box-shadow: 0 0 22px rgba(56,189,248,0.8), inset 0 0 12px rgba(56,189,248,0.25); } }

  /* ---------- Terminal section boxes ---------- */
  .term-box {
    background: rgba(2,6,3,0.86);
    border: 1px solid rgba(34,197,94,0.35);
    box-shadow: 0 0 24px rgba(34,197,94,0.12), inset 0 0 40px rgba(34,197,94,0.04);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  .term-label {
    color: #eab308;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    font-weight: 700;
  }

  /* ---------- Feed rows ---------- */
  .feed-row {
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    color: #4ade80;
    border-bottom: 1px dashed rgba(34,197,94,0.15);
    animation: rowIn 0.45s ease-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .feed-row .amt { color: #22c55e; font-weight: 700; }
  @keyframes rowIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ---------- Progress bar ---------- */
  .progress-shell {
    height: 12px;
    border: 1px solid rgba(234,179,8,0.5);
    background: rgba(234,179,8,0.06);
    border-radius: 2px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80, #eab308);
    box-shadow: 0 0 12px rgba(34,197,94,0.7);
    transition: width 0.9s ease-out;
  }

  /* ---------- Game ---------- */
  #gameCanvas {
    touch-action: none;
    display: block;
    width: 100%;
    background:
      repeating-linear-gradient(0deg, rgba(34,197,94,0.05) 0 1px, transparent 1px 32px),
      repeating-linear-gradient(90deg, rgba(34,197,94,0.05) 0 1px, transparent 1px 32px),
      rgba(2,6,3,0.92);
    border: 1px solid rgba(34,197,94,0.35);
  }
  .ctrl-btn {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .smash-flash {
    position: absolute;
    pointer-events: none;
    font-size: 2.2rem;
    opacity: 0;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
  }
  .smash-flash.on {
    animation: flashUp 0.6s ease-out;
  }
  @keyframes flashUp {
    0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.6); }
    30%  { opacity: 1; transform: translate(-50%,-60%) scale(1.25); }
    100% { opacity: 0; transform: translate(-50%,-120%) scale(1); }
  }
  #scoreVal { color: #22c55e; text-shadow: 0 0 14px rgba(34,197,94,0.8); }

  /* ---------- CTA ---------- */
  .cta-btn {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    color: #020603;
    font-weight: 900;
    letter-spacing: 0.15em;
    box-shadow: 0 0 20px rgba(34,197,94,0.65), 0 0 60px rgba(34,197,94,0.3);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
  }
  .cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 34px rgba(74,222,128,0.9), 0 0 90px rgba(34,197,94,0.45);
  }
  .cta-btn:active { transform: translateY(0) scale(0.98); }
  .cta-pulse { animation: ctaPulse 2.6s ease-in-out infinite; }
  @keyframes ctaPulse { 50% { box-shadow: 0 0 40px rgba(74,222,128,1), 0 0 110px rgba(34,197,94,0.5); } }

  .mascot-img {
    border: 1px solid rgba(74,222,128,0.45);
    box-shadow: 0 0 30px rgba(34,197,94,0.35), inset 0 0 20px rgba(34,197,94,0.08);
    background: #020603;
  }

  .blink::after {
    content: "▊";
    animation: blink 1s steps(1) infinite;
    color: #4ade80;
  }
  @keyframes blink { 50% { opacity: 0; } }
