.ttt-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
}

.ttt-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
  font-size: 1.1rem;
}

#my-symbol {
  font-weight: bold;
  color: #667eea;
}

.turn-mine {
  color: #2ecc71;
  font-weight: bold;
}

.turn-opponent {
  color: #888;
}

.ttt-board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 8px;
}

.ttt-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.ttt-cell:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.ttt-cell-x {
  color: #667eea;
}

.ttt-cell-o {
  color: #e74c3c;
}

.ttt-cell-winner {
  background: rgba(46, 204, 113, 0.3) !important;
  animation: pulse 0.5s ease-in-out infinite alternate;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

.ttt-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.ttt-scores {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.player-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  min-width: 120px;
}

.player-score-me {
  border: 2px solid #667eea;
}

.player-name {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.player-points {
  font-size: 2rem;
  font-weight: bold;
}

.game-status {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.game-status.win {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.game-status.lose {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.game-status.draw {
  background: rgba(241, 196, 15, 0.2);
  color: #f1c40f;
}

/* Mobile responsive */
@media (max-width: 400px) {
  .ttt-board {
    grid-template-columns: repeat(3, 80px);
    grid-template-rows: repeat(3, 80px);
  }

  .ttt-cell {
    font-size: 2.5rem;
  }
}
