

      .game-container {
        max-width: 900px;
        width: 100%;
        background: #f9f6f0;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        overflow: hidden;
      }

      .header {
        background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
        color: white;
        padding: 30px;
        text-align: center;
      }

      .header h1 {
        font-size: 2.5em;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
      }

      .timer {
        font-size: 1.5em;
        font-weight: bold;
        color: #ffd700;
      }

      .content {
        padding: 40px;
      }

      .story {
        background: white;
        padding: 25px;
        border-radius: 10px;
        margin-bottom: 30px;
        border-left: 5px solid #8b4513;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      }

      .story p {
        line-height: 1.8;
        color: #333;
        font-size: 1.1em;
      }

      .puzzle {
        background: white;
        padding: 30px;
        border-radius: 10px;
        margin-bottom: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        display: none;
      }

      .puzzle.active {
        display: block;
        animation: fadeIn 0.5s;
      }


      .puzzle h2 {
        color: #8b4513;
        margin-bottom: 20px;
        font-size: 1.8em;
      }

      .puzzle-description {
        margin-bottom: 20px;
        color: #555;
        font-size: 1.1em;
        line-height: 1.6;
      }

      .options {
        display: grid;
        gap: 15px;
        margin-top: 20px;
      }

      .option {
        background: #f0e6d2;
        padding: 15px 20px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;
        border: 2px solid transparent;
        font-size: 1.05em;
      }

      .option:hover {
        background: #e6dcc8;
        transform: translateX(5px);
        border-color: #8b4513;
      }

      .input-group {
        margin-top: 20px;
      }

      .input-group input {
        width: 100%;
        padding: 15px;
        font-size: 1.1em;
        border: 2px solid #ddd;
        border-radius: 8px;
        margin-bottom: 15px;
      }

      .btn {
        background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
        color: white;
        padding: 15px 40px;
        border: none;
        border-radius: 8px;
        font-size: 1.1em;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      }

      .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
      }

      .feedback {
        margin-top: 20px;
        padding: 15px;
        border-radius: 8px;
        display: none;
        font-weight: bold;
      }

      .feedback.correct {
        background: #d4edda;
        color: #155724;
        border: 2px solid #c3e6cb;
        display: block;
      }

      .feedback.incorrect {
        background: #f8d7da;
        color: #721c24;
        border: 2px solid #f5c6cb;
        display: block;
      }

      .progress-bar {
        height: 8px;
        background: #ddd;
        border-radius: 10px;
        margin: 20px 0;
        overflow: hidden;
      }

      .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #8b4513, #ffd700);
        width: 0%;
        transition: width 0.5s;
      }

      .start-screen,
      .win-screen {
        text-align: center;
      }

      .win-screen {
        display: none;
      }

      .win-screen.active {
        display: block;
        animation: fadeIn 0.5s;
      }

      .win-screen h2 {
        color: #8b4513;
        font-size: 3em;
        margin-bottom: 20px;
      }

      .stats {
        background: white;
        padding: 20px;
        border-radius: 10px;
        margin-top: 20px;
        display: inline-block;
      }

      .stat-item {
        margin: 10px 0;
        font-size: 1.2em;
      }

      .word-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
        margin: 20px 0;
      }

      .word-item {
        background: #f0e6d2;
        padding: 12px;
        border-radius: 8px;
        cursor: pointer;
        text-align: center;
        border: 2px solid transparent;
        transition: all 0.3s;
      }

      .word-item:hover {
        border-color: #8b4513;
        transform: scale(1.05);
      }

      .word-item.selected {
        background: #8b4513;
        color: white;
      }

      .hint {
        background: #fff3cd;
        padding: 15px;
        border-radius: 8px;
        margin: 15px 0;
        border-left: 4px solid #ffc107;
        font-style: italic;
      }

