    @import url('https://fonts.googleapis.com/css2?family=Bangers&family=Nunito:wght@700;900&display=swap');

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

    body {
      background: #0a0a1a;
      overflow: hidden;
      font-family: 'Nunito', sans-serif;
      user-select: none;
    }

    /* ===== PRELOADER ===== */
    #preloader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: linear-gradient(135deg, #1a0533 0%, #0d1b4b 50%, #0a2a1a 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 24px;
    }

    .pre-logo {
      font-family: 'Bangers', cursive;
      font-size: 72px;
      letter-spacing: 6px;
      background: linear-gradient(135deg, #ff6b35, #ffd700, #ff1493);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: logoPulse 1s ease-in-out infinite alternate;
      filter: drop-shadow(0 0 30px #ff6b35aa);
    }

    @keyframes logoPulse {
      from {
        transform: scale(1);
        filter: drop-shadow(0 0 20px #ff6b35aa);
      }

      to {
        transform: scale(1.06);
        filter: drop-shadow(0 0 50px #ffd700cc);
      }
    }

    .pre-balloon {
      font-size: 80px;
      animation: preBalloon 1.2s ease-in-out infinite alternate;
    }

    @keyframes preBalloon {
      from {
        transform: translateY(0) rotate(-8deg);
      }

      to {
        transform: translateY(-20px) rotate(8deg);
      }
    }

    .pre-bar-wrap {
      width: 320px;
      height: 16px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      border: 2px solid rgba(255, 255, 255, 0.2);
      overflow: hidden;
    }

    .pre-bar {
      height: 100%;
      background: linear-gradient(90deg, #ff6b35, #ffd700, #ff1493);
      border-radius: 20px;
      width: 0%;
      transition: width 0.08s linear;
      box-shadow: 0 0 20px #ffd700;
    }

    .pre-tip {
      color: rgba(255, 255, 255, 0.6);
      font-size: 14px;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    /* ===== CANVAS ===== */
    #gameCanvas {
      display: block;
      cursor: crosshair;
    }

    /* ===== OVERLAYS ===== */
    .overlay {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(6px);
    }

    .overlay h1 {
      font-family: 'Bangers', cursive;
      font-size: 80px;
      letter-spacing: 6px;
      background: linear-gradient(135deg, #ff6b35, #ffd700);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 4px 20px #ff6b35aa);
      margin-bottom: 8px;
    }

    .overlay .tagline {
      color: rgba(255, 255, 255, 0.7);
      font-size: 18px;
      margin-bottom: 32px;
      letter-spacing: 2px;
    }

    .btn-play {
      padding: 18px 64px;
      font-family: 'Bangers', cursive;
      font-size: 36px;
      letter-spacing: 4px;
      border: none;
      border-radius: 60px;
      cursor: pointer;
      background: linear-gradient(135deg, #ff6b35, #ffd700);
      color: #1a0a00;
      box-shadow: 0 8px 40px #ff6b35aa, 0 0 0 4px rgba(255, 215, 0, 0.3);
      transition: transform 0.15s, box-shadow 0.15s;
      position: relative;
      overflow: hidden;
    }

    .btn-play::after {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 60%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      animation: btnShine 2.5s infinite;
    }

    @keyframes btnShine {
      0% {
        left: -100%;
      }

      40%,
      100% {
        left: 150%;
      }
    }

    .btn-play:hover {
      transform: scale(1.08);
      box-shadow: 0 12px 60px #ff6b35cc, 0 0 0 6px rgba(255, 215, 0, 0.4);
    }

    .btn-play:active {
      transform: scale(0.96);
    }

    .score-display {
      color: #fff;
      font-size: 28px;
      margin-bottom: 12px;
    }

    .score-display span {
      font-family: 'Bangers', cursive;
      font-size: 56px;
      color: #ffd700;
      filter: drop-shadow(0 0 12px #ffd700);
    }

    .hiscore-display {
      color: rgba(255, 255, 255, 0.5);
      font-size: 16px;
      margin-bottom: 28px;
    }

    #startScreen,
    #gameOverScreen {
      display: flex;
    }

    #gameOverScreen {
      display: none;
    }

    /* ===== HUD ===== */
    #hud {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      padding: 14px 28px;
      display: none;
      justify-content: space-between;
      align-items: center;
      z-index: 50;
      pointer-events: none;
    }

    .hud-score {
      font-family: 'Bangers', cursive;
      font-size: 42px;
      color: #ffd700;
      filter: drop-shadow(0 2px 12px #ffd700aa);
      letter-spacing: 3px;
    }

    .hud-lives {
      font-size: 28px;
      filter: drop-shadow(0 2px 8px rgba(255, 50, 50, 0.8));
    }

    .hud-level {
      font-family: 'Bangers', cursive;
      font-size: 28px;
      color: #aef;
      letter-spacing: 2px;
    }

    /* ===== COMBO POPUP ===== */
    .combo-pop {
      position: fixed;
      font-family: 'Bangers', cursive;
      font-size: 52px;
      pointer-events: none;
      z-index: 200;
      animation: comboPop 0.9s forwards ease-out;
      white-space: nowrap;
    }

    @keyframes comboPop {
      0% {
        transform: scale(0.5) translateY(0);
        opacity: 1;
      }

      60% {
        transform: scale(1.2) translateY(-40px);
        opacity: 1;
      }

      100% {
        transform: scale(1) translateY(-80px);
        opacity: 0;
      }
    }

    /* ===== FLOATING SCORE ===== */
    .float-score {
      position: fixed;
      font-family: 'Bangers', cursive;
      font-size: 26px;
      color: #ffd700;
      pointer-events: none;
      z-index: 200;
      animation: floatUp 0.8s forwards ease-out;
      text-shadow: 0 2px 8px #000;
    }

    @keyframes floatUp {
      0% {
        transform: translateY(0);
        opacity: 1;
      }

      100% {
        transform: translateY(-70px);
        opacity: 0;
      }
    }

    /* mute btn */
    #muteBtn {
      position: fixed;
      bottom: 18px;
      right: 18px;
      z-index: 300;
      font-size: 28px;
      cursor: pointer;
      background: rgba(0, 0, 0, 0.4);
      border: 2px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      width: 52px;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }

    #muteBtn:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    #howToPlay {
      position: fixed;
      inset: 0;
      z-index: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.82);
      backdrop-filter: blur(8px);
    }

    .howToPlay {
      background: linear-gradient(145deg, #1a0a3a, #0d2060, #0a2a18);
      border: 2px solid rgba(255, 215, 0, 0.35);
      border-radius: 24px;
      padding: 36px 40px;
      width: 90%;
      box-shadow: 0 0 60px rgba(255, 150, 0, 0.2);
      text-align: center;
      font-family: 'Nunito', sans-serif;
      color: #fff;
      position: relative;
    }

    /* Container */
    .howToPlay-box {
      text-align: center;
    }

    /* Top emoji */
    .emoji-top {
      font-size: 52px;
      margin-bottom: 4px;
    }

    /* Title */
    .title {
      font-family: 'Bangers', cursive;
      font-size: 46px;
      letter-spacing: 4px;
      background: linear-gradient(135deg, #ff6b35, #ffd700);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 20px;
    }

    /* Steps */
    .steps {
      display: flex;
      flex-direction: column;
      gap: 14px;
      text-align: left;
      margin-bottom: 28px;
    }

    .step-item {
      display: flex;
      align-items: center;
      gap: 14px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      padding: 12px 16px;
    }

    .step-icon {
      font-size: 32px;
      min-width: 42px;
      text-align: center;
    }

    /* Text styles */
    .highlight {
      color: #ffd700;
    }

    .danger {
      color: #ff4444;
    }

    .desc {
      color: rgba(255, 255, 255, 0.75);
      font-size: 14px;
    }

    /* Balloon section */
    .balloon-box {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 14px;
      margin-bottom: 24px;
    }

    .balloon-title {
      font-family: 'Bangers', cursive;
      font-size: 20px;
      letter-spacing: 2px;
      color: #aef;
      margin-bottom: 10px;
    }

    .balloon-list {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.8);
    }

    .points {
      color: #ffd700;
    }

    /* Combo */
    .combo-box {
      background: rgba(255, 100, 0, 0.12);
      border: 1px solid rgba(255, 150, 0, 0.3);
      border-radius: 10px;
      padding: 10px 14px;
      margin-bottom: 24px;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.8);
    }

    /* Button */
    .play-btn {
      padding: 14px 52px;
      font-family: 'Bangers', cursive;
      font-size: 30px;
      letter-spacing: 3px;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      background: linear-gradient(135deg, #ff6b35, #ffd700);
      color: #1a0a00;
      box-shadow: 0 6px 30px rgba(255, 150, 0, 0.5);
      transition: transform 0.15s;
    }

    .play-btn:hover {
      transform: scale(1.07);
    }