body {
    font-family: Arial, sans-serif;
    background-color: #0d0d0d;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
    min-height: 100vh;
    justify-content: center;
}

.game-container {
    max-width: 400px;
    width: 90%;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.5);
}

h1, h2, h3 {
    color: #ff0066;
}

input[type="email"] {
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #ff0066;
    width: 80%;
    background-color: #222;
    color: white;
    font-size: 1em;
}

button {
    margin: 10px 5px;
    padding: 10px 20px;
    background-color: #ff0066;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #e6005c;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.cell {
    background-color: #333;
    padding-top: 100%;
    position: relative;
    border-radius: 8px;
    cursor: pointer;
}

.cell::after {
    content: attr(data-content);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: #00ff99;
}

.hidden {
    display: none;
}

#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d0d0d;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

#intro-title {
    font-size: 2.5em;
    color: #ff0066;
    opacity: 0;
    transform: scale(0.2);
    font-weight: 900; /* Extra bold */
    -webkit-text-stroke: 0.5px yellow; /* Very light thin yellow border */
    text-shadow: 
        0 0 1px yellow,
        0 0 2px yellow; /* Subtle glow */
    animation: introGrow 3s ease-out forwards, introBlink 3s ease-out forwards;
}

@keyframes introGrow {
    from { transform: scale(0.2); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes introBlink {
    0% { opacity: 0; }
    10% { opacity: 1; }
    20% { opacity: 0; }
    30% { opacity: 1; }
    40% { opacity: 0; }
    50% { opacity: 1; }
    60% { opacity: 0; }
    70% { opacity: 1; }
    80% { opacity: 0; }
    90% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes stayStill {
    from { opacity: 1; }
    to { opacity: 1; }
}

#countdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    padding: 30px 50px;
    border-radius: 15px;
    color: #00ff99;
    font-size: 3em;
    z-index: 10000;
}

#rules-section {
    background-color: #262626;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

@media (max-width: 500px) {
    .game-container {
        width: 95%;
    }

    .cell::after {
        font-size: 1.5em;
    }

    button {
        padding: 8px 15px;
    }
}
