/* Lights Out specific styles */
.lights-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1; /* Makes it a square */
    margin: 2rem auto;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
}

.light {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    border: 2px solid #222;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px #000;
}

.light.on {
    background: #4ade80; /* neon green */
    border-color: #86efac;
    box-shadow: 0 0 15px #4ade80, inset 0 0 20px #22c55e;
}

.light:hover {
    transform: scale(1.05);
}

.light.on:hover {
    box-shadow: 0 0 25px #4ade80, inset 0 0 20px #22c55e;
}

.light:active {
    transform: scale(0.95);
}

.win-message {
    text-align: center;
    margin-top: 1rem;
    animation: fadeIn 0.5s ease-out forwards;
}

.win-message h2 {
    color: #818cf8;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

.win-message.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #a5b4fc;
}
