    @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Noto+Sans+SC:wght@400;700&display=swap');

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      background: linear-gradient(to bottom, #1a2980, #26d0ce);
      font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
      overflow: hidden;
      user-select: none;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      flex-direction: column;
      position: relative;
    }

    /* Cloud background */
    .clouds {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      opacity: 0.3;
    }
    
    .cloud {
      position: absolute;
      background: rgba(255, 255, 255, 0.9);
      border-radius: 50%;
      filter: blur(5px);
      animation: float linear infinite;
    }
    
    @keyframes float {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100vw); }
    }

    .title-container {
      position: absolute;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(135deg, rgba(112, 193, 179, 0.8), rgba(58, 134, 255, 0.8));
      backdrop-filter: blur(8px);
      border-radius: 16px;
      padding: 18px 30px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 
                 0 0 0 3px rgba(255, 255, 255, 0.2),
                 0 0 0 6px rgba(112, 193, 179, 0.3);
      animation: fadeIn 0.6s ease-out;
      text-align: center;
      z-index: 10;
      min-width: 350px;
      border: 2px solid rgba(255, 255, 255, 0.4);
    }

    .title-container h2 {
      margin: 0 0 0.5rem;
      font-size: 1.8rem;
      color: white;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
      font-weight: 700;
      letter-spacing: 1px;
    }

    .title-container p {
      margin: 0;
      font-size: 1.6rem;
      color: white;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
      font-weight: 700;
      letter-spacing: 1px;
    }

    #gameCanvas {
      background: linear-gradient(to bottom, #a2d5f2 0%, #ffffff 60%, #a2d5f2 100%);
      border-radius: 18px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 
                  inset 0 0 20px rgba(255, 255, 255, 0.6);
      border: 5px solid #005f73;
      cursor: crosshair;
      margin-top: 120px;
      position: relative;
      z-index: 5;
    }

    #feedback-container {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0, 0, 0, 0.8);
      color: #fff;
      padding: 1.2rem 2.4rem;
      border-radius: 12px;
      font-size: 1.8rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      text-align: center;
      z-index: 100;
      backdrop-filter: blur(4px);
      border: 2px solid rgba(255, 255, 255, 0.3);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
      min-width: 300px;
    }
    
    #feedback-container.show {
      opacity: 1;
      animation: pulse 0.5s ease;
    }
    
    @keyframes pulse {
      0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0; }
      70% { transform: translate(-50%, -50%) scale(1.05); }
      100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
      to   { opacity: 1; transform: translateX(-50%) translateY(0);    }
    }
    
    .congrats-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.85);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 100;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.6s ease;
      backdrop-filter: blur(5px);
    }

    .congrats-overlay.show {
      opacity: 1;
      pointer-events: all;
    }

    .congrats-content {
      background: linear-gradient(135deg, rgba(58, 134, 255, 0.9), rgba(112, 193, 179, 0.9));
      padding: 3rem;
      border-radius: 20px;
      text-align: center;
      max-width: 80%;
      width: 500px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
      border: 3px solid rgba(255, 255, 255, 0.3);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
    }
    
    .congrats-content::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
      animation: rotate 10s linear infinite;
      z-index: -1;
    }
    
    @keyframes rotate {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    .congrats-content h2 {
      color: white;
      margin-top: 0;
      font-size: 2.8rem;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
      margin-bottom: 1.5rem;
    }

    .congrats-content p {
      color: white;
      font-size: 1.6rem;
      margin-bottom: 2rem;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .congrats-content button {
      background: linear-gradient(to right, #ff6b6b, #ff8e53);
      color: white;
      border: none;
      padding: 0.8rem 2.2rem;
      font-size: 1.4rem;
      border-radius: 50px;
      cursor: pointer;
      margin-top: 1rem;
      font-weight: bold;
      letter-spacing: 1px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      border: 2px solid rgba(255, 255, 255, 0.4);
    }

    .congrats-content button:hover {
      background: linear-gradient(to right, #ff8e53, #ff6b6b);
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }
    
    .congrats-content button:active {
      transform: translateY(1px);
    }
    
    .game-info {
      position: absolute;
      bottom: 20px;
      left: 20px;
      background: rgba(0, 0, 0, 0.4);
      color: white;
      padding: 10px 15px;
      border-radius: 10px;
      font-size: 1rem;
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Responsive adjustments */
    @media (max-width: 1000px) {
      #gameCanvas {
        width: 95%;
        height: auto;
        max-height: 75vh;
        margin-top: 100px;
      }
      
      .title-container {
        padding: 12px 20px;
        min-width: 300px;
      }
      
      .title-container h2 {
        font-size: 1.5rem;
      }
      
      .title-container p {
        font-size: 1.3rem;
      }
      
      .congrats-content {
        padding: 2rem;
        width: 90%;
      }
    }

    @media (max-width: 768px) {
      #gameCanvas {
        max-height: 65vh;
        margin-top: 90px;
      }
      
      .title-container {
        top: 10px;
        min-width: 280px;
        padding: 10px 15px;
      }
      
      .title-container h2 {
        font-size: 1.3rem;
      }
      
      .title-container p {
        font-size: 1.1rem;
      }
      
      .congrats-content h2 {
        font-size: 2.2rem;
      }
      
      .congrats-content p {
        font-size: 1.3rem;
      }
      
      .game-info {
        bottom: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 0.9rem;
      }
    }

    @media (max-width: 480px) {
      #gameCanvas {
        max-height: 60vh;
        margin-top: 80px;
      }
      
      .title-container {
        min-width: 250px;
        width: 90%;
        padding: 8px 12px;
      }
      
      .title-container h2 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
      }
      
      .title-container p {
        font-size: 1rem;
      }
      
      #feedback-container {
        min-width: 250px;
        font-size: 1.4rem;
        padding: 1rem 1.5rem;
      }
      
      .congrats-content {
        padding: 1.5rem;
      }
      
      .congrats-content h2 {
        font-size: 1.8rem;
      }
      
      .congrats-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
      }
      
      .congrats-content button {
        padding: 0.6rem 1.8rem;
        font-size: 1.2rem;
      }
      
      .game-info {
        position: static;
        margin-top: 10px;
        text-align: center;
        width: 90%;
      }
    }

    @media (max-height: 700px) and (orientation: landscape) {
      #gameCanvas {
        max-height: 85vh;
        margin-top: 70px;
      }
      
      .title-container {
        top: 5px;
        padding: 6px 10px;
      }
      
      .title-container h2 {
        font-size: 1.2rem;
      }
    }