:root {
    --ybc-red: #D02034;
    --black: #000000;
    --white: #FFFFFF;
    --bg-color: #000000;
    --text-color: #FFFFFF;
    --sub-text-color: rgba(255, 255, 255, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --dark-gradient: linear-gradient(180deg, #000000 0%, #1a0406 100%);
    --light-gradient: linear-gradient(180deg, #FFFFFF 0%, #F5F5F5 100%);
}

[data-theme="light"] {
    --bg-color: #FFFFFF;
    --text-color: #000000;
    --sub-text-color: rgba(0, 0, 0, 0.8);
    --border-color: rgba(0, 0, 0, 0.1);
    --dark-gradient: var(--light-gradient);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: var(--font-body);
    background: var(--bg-color);
    background: var(--dark-gradient);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    text-align: center;
}

/* Background Texture/Grain effect */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    animation: fadeIn 1.5s ease-out;
}

/* Hero Section */
.hero-section {
    margin-bottom: 3rem;
    padding-top: 1rem;
}

.logo-wrapper {
    margin-bottom: 2rem;
}

.brand-logo {
    width: 80px;
    height: auto;
    /* Optional: Slight glow or shadow if needed, but keeping minimal as requested */
}

.main-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.sub-heading {
    font-size: 1.1rem;
    color: var(--sub-text-color);
    font-weight: 500;
}

/* Countdown Section */
.countdown-section {
    margin: 4rem 0;
}

.timer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

.separator {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--ybc-red);
    margin-top: 0.2rem;
    opacity: 0.8;
}

.time-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--ybc-red);
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* Message Section */
.message-section {
    margin-bottom: 4rem;
}

.brand-message {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--ybc-red);
}

.strategic-line {
    font-size: 0.9rem;
    color: var(--sub-text-color);
    font-style: italic;
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

/* Illustration Section */
.illustration-section {
    margin: 2rem 0;
}

.youth-illustration {
    max-width: 100%;
    height: auto;
    width: 600px;
    filter: grayscale(100%);
    /* Start minimal */
    transition: filter 0.3s ease;
}

.youth-illustration:hover {
    filter: grayscale(0%);
    /* Color on hover */
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.05);
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: rgba(208, 32, 52, 0.2);
}

.toggle-icon {
    font-size: 1.2rem;
}

/* Footer */
.footer-section {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--sub-text-color);
}

.footer-brand {
    font-weight: 600;
    color: var(--text-color);
    margin-top: 0.5rem;
}

.hidden {
    display: none;
}

#launch-message {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--ybc-red);
    margin-top: 1rem;
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-heading {
        font-size: 2.2rem;
    }

    .time-number {
        font-size: 2.5rem;
    }

    .separator {
        font-size: 2rem;
        margin-top: 0;
    }

    .time-block {
        min-width: 60px;
    }

    .timer-container {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1.2rem;
    }

    .hero-section {
        margin-bottom: 2rem;
    }

    .brand-logo {
        width: 60px;
        margin-bottom: 1rem;
    }

    .main-heading {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .sub-heading {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Timer: Switch to 2x2 Grid on Mobile for better space */
    .timer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        justify-content: center;
        max-width: 280px;
        /* Constrain width to keep it centered and tight */
        margin: 0 auto;
    }

    .separator {
        display: none;
        /* Hide separators in grid mode */
    }

    .time-block {
        min-width: auto;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        /* Subtle background for blocks */
        padding: 1rem 0.5rem;
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .time-number {
        font-size: 2.2rem;
    }

    .time-label {
        font-size: 0.65rem;
        margin-top: 0.2rem;
    }

    .brand-message {
        font-size: 1.3rem;
        margin-top: 1rem;
    }

    .strategic-line {
        font-size: 0.8rem;
    }

    .footer-section {
        font-size: 0.75rem;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }

    .toggle-icon {
        font-size: 1rem;
    }
}