:root {
    --primary-color: #00A3E0;
    /* SpaceX Blue-ish */
    --accent-color: #ffffff;
    --bg-color: #0b0d17;
    --text-color: #e0e6ed;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Animation */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('moonbase_hero.png') no-repeat center center/cover;
}

.background-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 13, 23, 0.7);
    /* Overlay to make text readable */
    display: block;
}

/* Typography */
h1,
h2 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 4rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-top: 5vh;
    animation: fadeInDown 1.5s ease-out;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 163, 224, 0.5);
}

.main-quote {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-quote .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.main-quote footer {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    opacity: 0.8;
    font-style: italic;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    width: 100%;
}

.countdown-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.countdown-timer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 120px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 163, 224, 0.2);
}

.time-unit span {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
}

.time-unit label {
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.target-date {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Contradictions Section */
.contradictions {
    width: 100%;
    margin-bottom: 5vh;
}

.contradictions h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ff4d4d;
    /* Reddish for "Warning/Contradiction" vibe */
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
}

.subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quote-card {
    background: rgba(255, 77, 77, 0.05);
    border: 1px solid rgba(255, 77, 77, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 77, 77, 0.1);
}

.quote-card p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.quote-card .source {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 700;
    color: #ff4d4d;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .main-quote {
        font-size: 1.4rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .time-unit {
        min-width: 80px;
        padding: 1rem;
    }

    .time-unit span {
        font-size: 2rem;
    }

    .time-unit label {
        font-size: 0.8rem;
    }
}