body {
    background: radial-gradient(circle at top, #0a0e27, #050812);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: "Segoe UI", sans-serif;
    color: white;
}

.game-container {
    text-align: center;
    padding: 25px;
    border-radius: 18px;
    background: rgba(0,217,255,0.05);
    border: 1px solid rgba(0,217,255,0.3);
    box-shadow: 0 0 35px rgba(0,217,255,0.3);
    width: min(90vw, 360px);
}

#board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 20px auto;
}

.cell {
    aspect-ratio: 1;
    background: #0a1338;
    border-radius: 12px;
    font-size: clamp(36px, 8vw, 48px);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: inset 0 0 12px rgba(0,217,255,0.3);
}

.cell:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,217,255,0.6);
}

.x {
    color: #00d9ff;
    text-shadow: 0 0 10px #00d9ff;
}

.o {
    color: #ffd166;
    text-shadow: 0 0 10px #ffd166;
}

.scoreboard {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #00ff9c;
}

#status {
    margin: 15px;
    font-size: 16px;
    color: #00ff9c;
}

button {
    padding: 10px 22px;
    border-radius: 40px;
    border: none;
    background: linear-gradient(135deg, #00d9ff, #7c3aed);
    color: #050812;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,217,255,0.6);
}
