/* Body and general styles */
body.cyber-mode {
    margin: 0;
    font-family: "Orbitron", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #340034 0%, #240090 50%, #1a005b 100%);
    color: #fff;
}

/* Game board styles */
.cyber-mode .board {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    grid-template-rows: repeat(3, 80px);
    gap: 10px;
    padding: 15px;
    max-width: 260px;
    margin: auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cyber-mode .cell {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: #1d1d1d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    animation: popIn 0.3s ease;
}

.cyber-mode .cell:hover {
    background-color: #2c2c2c;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

.cyber-mode .cell.x::before,
.cyber-mode .cell.o::before {
    content: "";
    position: absolute;
    font-size: 2rem;
    color: transparent;
    text-shadow: 0 0 10px transparent;
    border-radius: inherit;
}

.cyber-mode .cell.x::before {
    content: "X";
    color: #c5fefe;
    text-shadow: 0 0 10px #c5fefe, 0 0 20px #00ffff;
}

.cyber-mode .cell.o::before {
    content: "O";
    color: #ff9900;
    text-shadow: 0 0 10px #ff9900, 0 0 20px #ffcc00;
}

.cyber-mode .cell.winning {
    background-color: #444;
    box-shadow: 0 0 15px #ff00f9, 0 0 15px #00f9ff;
}

/* Button styles */
button.cyber-mode {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    background-color: #1a005b;
    border: none;
    border-radius: 5px;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cyber-mode button:hover {
    background-color: #240090;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

.cyber-mode button:active {
    background-color: #340034;
    transform: translateY(0);
    box-shadow: none;
}