  @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

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

  body {
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    font-family: 'Press Start 2P', monospace;
  }

  #gameWrapper {
    position: relative;
    width: 400px;
    height: 600px;
    border: 4px solid #e94560;
    box-shadow: 0 0 40px #e9456088, 0 0 80px #e9456033;
    overflow: hidden;
    border-radius: 4px;
  }

  canvas {
    display: block;
    width: 100%;
    height: 100%;
  }

  #overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 30, 0.85);
    gap: 24px;
    transition: opacity 0.3s;
  }

  #overlay.hidden { opacity: 0; pointer-events: none; }

  #overlay h1 {
    font-size: 28px;
    color: #f5e642;
    text-shadow: 3px 3px 0 #b8a800, 0 0 20px #f5e64288;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.4;
  }

  #overlay .subtitle {
    font-size: 9px;
    color: #e94560;
    text-align: center;
    line-height: 2;
    letter-spacing: 1px;
  }

  #overlay .score-display {
    font-size: 11px;
    color: #00f5ff;
    text-shadow: 0 0 10px #00f5ff;
    text-align: center;
    line-height: 2.2;
  }

  #startBtn {
    background: #e94560;
    border: none;
    color: #fff;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 14px 28px;
    cursor: pointer;
    letter-spacing: 2px;
    box-shadow: 4px 4px 0 #a02040;
    transition: transform 0.1s, box-shadow 0.1s;
  }

  #startBtn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #a02040;
  }

  #startBtn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #a02040;
  }

  .bird-emoji {
    font-size: 48px;
    animation: bounce 0.8s ease-in-out infinite alternate;
  }

  @keyframes bounce {
    from { transform: translateY(-8px) rotate(-5deg); }
    to   { transform: translateY(8px)  rotate(5deg); }
  }

  #score-hud {
    position: absolute;
    top: 16px;
    left: 0; right: 0;
    text-align: center;
    font-size: 22px;
    color: #fff;
    text-shadow: 2px 2px 0 #000, 0 0 12px rgba(255,255,255,0.4);
    pointer-events: none;
    z-index: 10;
  }