:root {
    --primary-color: #10b981;
    --text-color: #333;
    --light-text-color: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
}

.logo {
    width: 90px;
    height: 90px;
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin-bottom: 3rem;
    font-weight: 300;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.timer-box {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-width: 90px;
    transition: transform 0.3s ease;
}

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

.timer-box span {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.timer-box .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--light-text-color);
    font-weight: 400;
    letter-spacing: 1px;
}

footer {
    position: absolute;
    bottom: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    p {
        font-size: 1rem;
    }
    .countdown {
        gap: 0.5rem;
    }
    .timer-box {
        padding: 0.8rem 1rem;
        min-width: 70px;
    }
    .timer-box span {
        font-size: 1.8rem;
    }
}

/* Footer Links */
.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-separator {
    color: #ccc;
    margin: 0 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.5s;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    position: relative;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #333;
}

.modal-content h2 {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.modal-content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--light-text-color);
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px; /* For scrollbar */
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
