body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.container {
    max-width: 700px;
    padding: 40px;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.play-btn {
    background: #00e676;
    border: none;
    padding: 15px 40px;
    font-size: 1.3em;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.play-btn:hover {
    background: #00c853;
    transform: translateY(-3px);
}

.rules {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    line-height: 1.6;
}

/* MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    color: black;
    padding: 30px;
    border-radius: 12px;
    width: 300px;
    text-align: center;
    animation: pop 0.2s ease;
}

@keyframes pop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mode-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #667eea;
    color: white;
    transition: 0.2s;
}

.mode-btn:hover {
    background: #5568d3;
}

.close-btn {
    margin-top: 10px;
    background: #ccc;
    color: black;
}