* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.content:hover {
    transform: translateY(-5px);
}

.logo h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.construction-message h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #444;
}

.underline {
    height: 3px;
    width: 100px;
    background: linear-gradient(90deg, #009688, #4CAF50);
    margin: 0 auto 25px;
}

.construction-message p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.countdown {
    margin: 30px 0;
}

#launch-date {
    font-size: 2.5rem;
    font-weight: 300;
    color: #009688;
    letter-spacing: 3px;
    animation: pulse 2s infinite;
}

.social-links {
    margin-top: 30px;
}

.social-icon {
    font-size: 1.5rem;
    margin: 0 10px;
    color: #555;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #009688;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 30px;
    }
    
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .construction-message h2 {
        font-size: 1.4rem;
    }
    
    #launch-date {
        font-size: 2rem;
    }
}

/* Play Button Styles */
#play-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 150, 136, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0.6;
    display: block !important; /* Force visibility */
    pointer-events: auto !important; /* Ensure clicks are registered */
}

#play-button:hover {
    opacity: 1;
    transform: scale(1.05);
    background-color: rgba(0, 150, 136, 0.9);
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-button:hover {
    color: #000;
}

#game-container {
    margin-top: 20px;
}

#math-question {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

#answer-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#submit-answer {
    background-color: #009688;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#submit-answer:hover {
    background-color: #00796b;
}

#result-container {
    margin-top: 20px;
    text-align: center;
}

#result-message {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#score {
    font-weight: bold;
    color: #009688;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    #play-button {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    #math-question {
        font-size: 1.3rem;
    }
}