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

    body {
      font-family: -apple-system, BlinkMacSystemFont, sans-serif;
      background: linear-gradient(135deg, #f5d76e, #f39c12);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }

    .container {
      background: white;
      border-radius: 1rem;
      padding: 1.5rem;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      max-width: 400px;
      width: 100%;
    }

    h1 {
      text-align: center;
      color: #d35400;
      margin-bottom: 1rem;
      font-size: 1.5rem;
    }

    .score {
      display: flex;
      justify-content: space-around;
      margin-bottom: 1rem;
      gap: 1rem;
    }

    .score-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: bold;
      color: #2c3e50;
    }

    .beer {
      font-size: 1.5rem;
    }

    .board {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.5rem;
      margin: 1rem 0;
      aspect-ratio: 1;
      max-width: 300px;
      margin-left: auto;
      margin-right: auto;
    }

    .cell {
      background: #f8f9fa;
      border: 2px solid #dee2e6;
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      cursor: pointer;
      transition: all 0.3s ease;
      min-height: 80px;
    }

    .cell:hover:not(.x):not(.o) {
      background: #fff3cd;
      transform: scale(1.05);
    }

    .cell.x {
      background: #fff3cd;
    }

    .cell.o {
      background: #d4edda;
    }

    .status {
      text-align: center;
      margin: 1rem 0;
      font-size: 1.1rem;
      font-weight: bold;
      color: #2c3e50;
      min-height: 1.5rem;
    }

    .btn {
      width: 100%;
      padding: 0.75rem;
      background: #d35400;
      color: white;
      border: none;
      border-radius: 0.5rem;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .btn:active {
      background: #a04000;
      transform: scale(0.98);
    }

    .winner {
      animation: celebration 0.5s ease-in-out infinite;
    }

    @keyframes celebration {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }
