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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h1 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.game-info {
    margin-bottom: 1.5rem;
}

.current-player {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 0.5rem;
}

#current-player {
    font-weight: bold;
    color: #667eea;
}

.game-status {
    font-size: 1.1rem;
    font-weight: bold;
    min-height: 1.5rem;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    max-width: 300px;
    margin: 0 auto 1.5rem;
    background: #333;
    padding: 5px;
    border-radius: 10px;
}

.cell {
    width: 90px;
    height: 90px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.cell:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.cell.x {
    color: #e74c3c;
}

.cell.o {
    color: #3498db;
}

.cell.winning {
    background: #2ecc71;
    color: white;
}

.reset-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.reset-btn:hover {
    background: #5a67d8;
}

.winner {
    color: #2ecc71;
}

.draw {
    color: #f39c12;
}