:root {
    --gold-primary: #D4AF37;
    --gold-highlight: #F9E076;
    --gold-shadow: #AA8A2E;
    --bg-dark: #0a0a0a;
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --text-light: #e0e0e0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    /* Subtle texture or gradient could go here */
    background: radial-gradient(circle at center, #1a1a2e 0%, #000000 100%);
    color: var(--text-light);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 20px 30px, var(--gold-primary) 50%, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 50px 160px, rgba(212, 175, 55, 0.5) 50%, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3) 50%, rgba(0, 0, 0, 0));
    background-size: 200px 200px;
    background-repeat: repeat;
    opacity: 0.15;
    z-index: 0;
    animation: particles 60s linear infinite;
}

@keyframes particles {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-200px);
    }
}

.container {
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.2));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

.golden-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    background: linear-gradient(to right, var(--gold-shadow), var(--gold-highlight), var(--gold-primary), var(--gold-shadow));
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 5s linear infinite;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.25rem;
    color: #a0a0a0;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.time-segment:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
}

.time-value {
    font-family: var(--font-body);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-highlight);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.time-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.separator {
    font-size: 3rem;
    color: var(--gold-shadow);
    align-self: flex-start;
    margin-top: 1rem;
    display: none;
    /* Hidden on mobile/flex-wrap commonly, can enable for desktop if desired, but sticking to blocks is safer for responsiveness */
}

@media (min-width: 768px) {
    .separator {
        display: block;
    }

    .countdown-container {
        gap: 1rem;
    }

    .time-segment {
        min-width: 100px;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
}

.footer-text {
    font-size: 0.9rem;
    color: #555;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 4rem;
}

.separator-small {
    margin: 0 0.5rem;
    color: var(--gold-primary);
}

.credit-link {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.credit-link:hover {
    color: var(--gold-highlight);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Animations */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .golden-text {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .time-value {
        font-size: 2.5rem;
    }

    .time-segment {
        min-width: 80px;
        padding: 1rem;
    }

    .countdown-container {
        gap: 1rem;
    }
}