  
    body {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      min-height: 100vh;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .game-container {
      background: rgba(255, 255, 255, 0.95);
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      margin-top: 50px;
    }

    header {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 20px;
      border-radius: 15px;
      margin-bottom: 30px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .word-display {
      font-size: 72px;
      font-weight: bold;
      color: #667eea;
      margin: 30px 0;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }

    .word-display.correct {
      color: #28a745;
      transform: scale(1.1);
    }

    .word-display.incorrect {
      color: #dc3545;
      animation: shake 0.3s;
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-10px); }
      75% { transform: translateX(10px); }
    }

    .form-control {
      height: 60px;
      font-size: 24px;
      border: 3px solid #667eea;
      border-radius: 10px;
      text-align: center;
    }

    .form-control:focus {
      border-color: #764ba2;
      box-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
    }

    .stats-box {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 20px;
      border-radius: 15px;
      margin: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .stats-number {
      font-size: 48px;
      font-weight: bold;
    }

    .progress {
      height: 30px;
      border-radius: 15px;
      background-color: #e9ecef;
      margin: 20px 0;
    }

    .progress-bar {
      background: linear-gradient(90deg, #28a745, #20c997);
      transition: width 0.5s ease;
      font-size: 16px;
      font-weight: bold;
    }

    .btn-difficulty {
      margin: 5px;
      padding: 10px 20px;
      font-size: 16px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .btn-difficulty:hover {
      transform: scale(1.05);
    }

    .btn-easy { background: #28a745; color: white; }
    .btn-medium { background: #ffc107; color: white; }
    .btn-hard { background: #dc3545; color: white; }

    .btn-restart {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      padding: 15px 30px;
      border: none;
      border-radius: 10px;
      font-size: 18px;
      font-weight: bold;
      cursor: pointer;
      margin-top: 20px;
      transition: all 0.3s ease;
    }

    .btn-restart:hover {
      transform: scale(1.05);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .message {
      font-size: 24px;
      font-weight: bold;
      min-height: 40px;
      margin: 20px 0;
    }

    .instructions {
      background: #f8f9fa;
      padding: 20px;
      border-radius: 15px;
      margin-top: 30px;
      border-left: 5px solid #667eea;
    }
  