body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #bc0a0f;
    font-family: 'Pacifico', cursive;
    margin: 0;
    min-height: 100vh;
    justify-content: center;
    background: linear-gradient(135deg, #bc0a0f, #ffccdd);
}

h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 48px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.start-container {
    text-align: center;
    padding: 20px;
}

.game-container {
    margin: 20px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    grid-gap: 5px;
    background-color: #33001a;
    padding: 5px;
    border-radius: 10px;
    margin: 20px auto;
}

.cell {
    width: 100px;
    height: 100px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.cell:hover {
    background-color: #ffccdd;
}

.x-mark::before,
.x-mark::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 12px;
    background: linear-gradient(45deg, #ff0080, #bc0a0f);
    border-radius: 6px;
}

.x-mark::before {
    transform: rotate(45deg);
}

.x-mark::after {
    transform: rotate(-45deg);
}

.o-mark::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(#bc0a0f, #ff0080);
    clip-path: polygon(50% 35%, 60% 20%, 75% 25%, 85% 40%, 50% 80%, 15% 40%, 25% 25%, 40% 20%);
}

#status {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

button {
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Pacifico', cursive;
    background-color: #ff0080;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(255, 0, 128, 0.3);
}

select {
    padding: 8px;
    margin: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 2px solid #ff0080;
    font-family: 'Pacifico', cursive;
}

.back-button {
    background-color: #660033;
    margin-top: 10px;
}

.back-button:hover {
    background-color: #4d0025;
}
