* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.score-board {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    gap: 20px;
}

.score {
    background: #f0f0f0;
    padding: 15px 25px;
    border-radius: 8px;
    min-width: 100px;
}

.score h3 {
    color: #667eea;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.score p {
    font-size: 2em;
    color: #333;
    font-weight: bold;
}

.game-info {
    font-size: 1.2em;
    color: #667eea;
    margin-bottom: 20px;
    font-weight: bold;
    height: 30px;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    gap: 5px;
    margin-bottom: 30px;
    background: #333;
    padding: 5px;
    border-radius: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.cell {
    width: 100px;
    height: 100px;
    background: white;
    border: none;
    font-size: 2.5em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cell:hover {
    background: #f9f9f9;
    transform: scale(1.05);
}

.cell.x {
    color: #667eea;
}

.cell.o {
    color: #764ba2;
}

.cell.disabled {
    cursor: not-allowed;
}

.reset-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.reset-btn:active {
    transform: translateY(0);
}
