body {
    background: #030308;
    color: white;
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    overflow: hidden;
    user-select: none;
  }
  #gameCanvas { display: block; background: #0a0a14; cursor: crosshair; }
  .btn-primary:hover { background: #ffc766; transform: translateY(-2px); box-shadow: 0 0 32px rgba(218,167,75,0.8); }

  .flash-screen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 100;
  }
  .flash-screen.flash { opacity: 0.35; }

  .arcade-hud {
    position: absolute;
    padding: 12px 20px;
    background: rgba(0,0,0,0.78);
    border: 2px solid rgba(218,167,75,0.4);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(218,167,75,0.2);
  }
  .arcade-hud .label {
    font-size: 10px;
    letter-spacing: 3px;
    color: #888;
  }
  .arcade-hud .value {
    font-family: 'Courier New', monospace;
    font-weight: 900;
    font-size: 26px;
    color: #daa74b;
    text-shadow: 0 0 15px rgba(218,167,75,0.8);
  }

  #questionBanner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 28px;
    background: rgba(0,0,0,0.92);
    border: 2px solid #daa74b;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(218,167,75,0.4);
    max-width: 800px;
    width: calc(100% - 340px);
    text-align: center;
    z-index: 15;
  }
  #questionBanner .cat {
    font-size: 10px;
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 4px;
  }
  #questionBanner .q {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
  }
  #questionBanner .timer {
    font-family: monospace;
    font-size: 18px;
    color: #daa74b;
    font-weight: 900;
  }
  #questionBanner.flash { animation: qflash 0.4s infinite; }
  @keyframes qflash {
    0%, 100% { border-color: #daa74b; }
    50% { border-color: #ef4444; box-shadow: 0 0 40px rgba(239,68,68,0.8); }
  }

  /* Answer buttons */
  .answer-btn {
    padding: 14px 18px;
    background: rgba(10,10,22,0.92);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #e5e5e5;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s;
    backdrop-filter: blur(6px);
  }
  .answer-btn:hover:not(:disabled) {
    background: rgba(218,167,75,0.18);
    border-color: rgba(218,167,75,0.7);
    transform: translateY(-2px);
  }
  .answer-btn:disabled { cursor: not-allowed; }
  .answer-btn.correct {
    background: rgba(34,197,94,0.3) !important;
    border-color: #22c55e !important;
    box-shadow: 0 0 25px rgba(34,197,94,0.8);
  }
  .answer-btn.wrong {
    background: rgba(239,68,68,0.25) !important;
    border-color: #ef4444 !important;
  }
  .answer-btn .letter {
    color: #daa74b;
    font-weight: 900;
    margin-right: 8px;
  }

  .combo-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    font-weight: 900;
    color: #daa74b;
    text-shadow: 0 0 40px rgba(218,167,75,1), 0 0 80px rgba(218,167,75,0.6);
    pointer-events: none;
    animation: comboPop 0.9s ease-out forwards;
    z-index: 150;
  }
  @keyframes comboPop {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
    30% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    60% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -60%) scale(0.9); }
  }

  /* POWER SHOT banner */
  .power-banner {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 80px;
    font-weight: 900;
    color: #ff6b00;
    text-shadow: 0 0 40px #ff6b00, 0 0 80px #ffb060, 0 0 120px #ff0000;
    letter-spacing: 6px;
    pointer-events: none;
    z-index: 200;
    opacity: 0;
    animation: powerPop 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  @keyframes powerPop {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(-15deg); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1.2) rotate(3deg); }
    40% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1.05) rotate(0deg); }
    100% { opacity: 0; transform: translate(-50%, -60%) scale(1.1); }
  }

  /* ============ DRAG POWER METER ============ */
  .power-bar {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 28px;
    background: rgba(0,0,0,0.92);
    border: 3px solid rgba(218,167,75,0.6);
    border-radius: 15px;
    overflow: hidden;
box-shadow: 0 0 30px rgba(218,167,75,0.5);
    z-index: 50;
  }
  .power-bar .fill {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, #22c55e 0%, #a3e635 45%, #eab308 70%, #f97316 88%, #ef4444 100%);
    box-shadow: 0 0 26px rgba(218,167,75,0.95);
    transition: width 0.03s linear;
  }
  .power-bar .tick {
    position: absolute;
    top: 0; bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.22);
    z-index: 3;
  }

  .instruction-pill {
    position: absolute;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    color: #daa74b;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
    background: rgba(0,0,0,0.8);
    padding: 8px 24px;
    border-radius: 20px;
    border: 1px solid rgba(218,167,75,0.5);
text-shadow: 0 0 10px rgba(218,167,75,0.8);
    z-index: 50;
    white-space: nowrap;
  }
  .wind-box .label {
    font-size: 10px;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 4px;
  }
  .wind-box .wind-arrow {
    font-size: 32px;
    color: #4a9eff;
    text-shadow: 0 0 15px rgba(74,158,255,0.8);
    transition: transform 0.3s;
  }
  .wind-box .wind-speed {
    font-family: monospace;
    font-size: 16px;
    font-weight: 900;
    color: #4a9eff;
  }

  /* Streak flames (moved below the question banner so they don't overlap) */
  .power-charge {
    position: absolute;
    top: 148px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 15;
  }
  .power-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
  }
  .power-dot.filled {
    background: radial-gradient(circle, #ffb060, #ff6b00);
    border-color: #ff6b00;
    box-shadow: 0 0 20px #ff6b00;
    animation: dotPulse 0.8s infinite alternate;
  }
  @keyframes dotPulse {
    from { box-shadow: 0 0 12px #ff6b00; }
    to { box-shadow: 0 0 25px #ffb060, 0 0 40px #ff6b00; }
  }

  .big-pop {
    position: absolute;
    font-weight: 900;
    font-size: 44px;
    pointer-events: none;
    z-index: 120;
    animation: bigPop 1.1s ease-out forwards;
    text-shadow: 0 0 30px currentColor;
  }
  @keyframes bigPop {
    0% { opacity: 1; transform: translate(-50%, 0) scale(0.6); }
    40% { opacity: 1; transform: translate(-50%, -50px) scale(1.3); }
    100% { opacity: 0; transform: translate(-50%, -140px) scale(1); }
  }

  #startScreen, #gameOverScreen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px 50px;
    text-align: center;
    max-width: 620px;
    background: rgba(5,5,15,0.97);
    border: 2px solid rgba(218,167,75,0.5);
    border-radius: 18px;
    box-shadow: 0 0 60px rgba(218,167,75,0.3);
    z-index: 300;
  }
  @keyframes borderPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(218,167,75,0.3); }
    50% { box-shadow: 0 0 40px rgba(218,167,75,0.7); }
  }
  .glowing { animation: borderPulse 1.5s infinite; }
