    @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600;700&display=swap');

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

    html,
    body {
      overflow: hidden;
      height: 100%;
      width: 100%;
      position: relative;
      font-family: 'Exo 2', sans-serif;
      /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    }

    #container {
      width: 100%;
      height: 100%;
      position: relative;
    }

    #container #score {
      position: absolute;
      top: 40px;
      width: 100%;
      text-align: center;
      font-family: 'Orbitron', monospace;
      font-size: 12vh;
      font-weight: 900;
      transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      color: #fff;
      text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
      transform: translateY(-300px) scale(0.8);
      z-index: 10;
    }

    #container #game {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }

    .game-over {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.2);
      /* backdrop-filter: blur(20px); */
      z-index: 20;
    }

    .game-over * {
      transition: all 0.8s ease;
      opacity: 0;
      transform: translateY(-50px);
      color: #fff;
    }

    .game-over h2 {
      margin: 0 0 20px 0;
      font-size: 48px;
      font-weight: 700;
    }

    .game-over p {
      font-size: 18px;
      margin: 10px 0;
      text-align: center;
    }

    .game-ready {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.3);
      /* backdrop-filter: blur(10px); */
      z-index: 20;
      text-align: center;
    }

    .game-title {
      font-family: 'Orbitron', monospace;
      font-size: 48px;
      font-weight: 900;
      color: #fff;
      margin-bottom: 50px;
      text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
      opacity: 0;
      transform: translateY(-50px);
      transition: all 0.8s ease;
    }

    #start-button {
      transition: all 0.6s ease;
      opacity: 0;
      transform: translateY(-50px);
      border: 3px solid #fff;
      padding: 20px 40px;
      background: rgba(255, 255, 255, 0.3);
      color: #fff;
      font-size: 24px;
      font-weight: 600;
      cursor: pointer;
      border-radius: 50px;
      text-transform: uppercase;
      letter-spacing: 2px;
    }

    #start-button:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    }

    #instructions {
      position: absolute;
      width: 100%;
      top: 20vh;
      left: 0;
      text-align: center;
      transition: all 0.6s ease;
      opacity: 0;
      color: #fff;
      font-size: 18px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(20px);
      border-radius: 15px;
      z-index: 10;
    }

    #instructions.hide {
      opacity: 0 !important;
    }

    /* Game state styles */
    #container.playing #score,
    #container.resetting #score {
      transform: translateY(0px) scale(1);
    }

    #container.playing #instructions {
      opacity: 1;
    }

    #container.ready .game-title {
      opacity: 1;
      transform: translateY(0);
    }

    #container.ready #start-button {
      opacity: 1;
      transform: translateY(0);
    }

    #container.ended #score {
      transform: translateY(8vh) scale(1.2);
    }

    #container.ended .game-over * {
      opacity: 1;
      transform: translateY(0);
    }

    footer {
      position: absolute;
      bottom: 20px;
      width: 100%;
      text-align: center;
      color: rgba(255, 255, 255, 0.7);
      font-size: 24px;
      z-index: 10;
    }

    .perfect-message {
      position: absolute;
      top: 40%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.5);
      font-size: 32px;
      font-weight: bold;
      color: #00ff88;
      opacity: 0;
      animation: popUp 1s ease-out forwards;
      pointer-events: none;
      text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
    }

    @keyframes popUp {
      0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
      }

      50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
      }

      100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
      }
    }
