/* Add this to style.css */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
    background-size: 400% 400%;
    animation: backgroundMove 10s infinite;
    z-index: -1;
}

@keyframes backgroundMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.title {
    font-size: 3em;
    font-weight: bold;
    color: #0ff;
    text-shadow: 0 0 20px #0ff;
    animation: pulse 1.5s infinite;
    margin-bottom: 20px;
}

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

#scoreboard {
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin-bottom: 20px;
}

.score {
    display: flex;
    align-items: center;
    font-size: 1.5em;
}

.player-icon {
    font-size: 2em;
    margin-right: 10px;
}

.player-x {
    color: #f00;
    text-shadow: 0 0 10px #f00;
}

.player-o {
    color: #00f;
    text-shadow: 0 0 10px #00f;
}

#game {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #222;
    border: 2px solid #0ff;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

.cell:empty:hover {
    background-color: #555;
}

.bold {
    font-weight: bold;
    font-size: 2.5em;
    animation: bounce 1s ease-in-out 3;
}

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

.x {
    color: #f00;
    text-shadow: 0 0 10px #f00;
    animation: lightUp 0.3s ease-in-out;
}

.o {
    color: #00f;
    text-shadow: 0 0 10px #00f;
    animation: lightUp 0.3s ease-in-out;
}

@keyframes lightUp {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

#notification {
    margin-top: 20px;
    font-size: 1.5em;
    color: green;
}

#reset {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    background-color: #0ff;
    color: #000;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#reset:hover {
    background-color: #0aa;
}
