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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

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

.card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #7f8c8d;
}

.message-container {
    min-height: 200px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.get-message-btn {
    background: linear-gradient(135deg, #6c5ce7 0%, #a363d5 100%);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.get-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.6);
}

.get-message-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hidden {
    display: none;
}

#countdown {
    text-align: center;
}

.countdown-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #7f8c8d;
}

.timer {
    font-size: 4rem;
    color: #6c5ce7;
    font-weight: 600;
}

#message {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.message-text {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #2c3e50;
}

.message-source {
    font-size: 1.1rem;
    color: #6c5ce7;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.message-type {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .card {
        padding: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    .message-text {
        font-size: 1.3rem;
    }
}

.about-link {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.about-link:hover {
    opacity: 1;
}

.back-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
}

.about-content {
    text-align: left;
    padding: 20px 0;
}

.about-content section {
    margin-bottom: 30px;
}

.about-content h2 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.about-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-content ul, .about-content ol {
    color: #666;
    margin-left: 20px;
    margin-bottom: 15px;
}

.about-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.about-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.home-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.home-link:hover {
    opacity: 1;
}

.get-message-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.get-message-btn:hover {
    background-color: #357abd;
}

.main-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.main-footer .about-link {
    position: static;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.main-footer .about-link:hover {
    opacity: 1;
} 