/* Base layout */
:root {
    --text-primary: #f6f7fb;
    --text-subtle: #e5e7ef;
    --accent: rgba(255, 255, 255, 0.082);
    --scrim-top: rgba(5, 8, 20, 0.144);
    --scrim-bottom: rgba(5, 8, 20, 0.349);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --font: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--text-primary);
    display: grid;
    place-items: stretch;
    background: #04060f;
    overflow: hidden;
}

.background {
    position: fixed;
    inset: 0;
    background: url('Leagues 6 Upscaled.jpg') center center / cover no-repeat;
    filter: saturate(1) contrast(1) brightness(1);
    transform: scale(1);
    z-index: 0;
}

.scrim {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, var(--scrim-top), var(--scrim-bottom));
    mix-blend-mode: multiply;
    z-index: 1;
}

.layout {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.5rem, 3vw, 1rem);
}

.hero {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 0.9rem;
    text-align: center;
    text-shadow: var(--shadow);
    padding-top: clamp(1.5rem, 4vw, 3rem);
}

.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
}

.hero .tagline {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-subtle);
    max-width: 38ch;
}

.footer {
    display: grid;
    gap: 0.4rem;
    justify-items: center;
    padding-bottom: clamp(0.75rem, 2vw, 1.5rem);
    text-align: center;
}

.update-note {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(245, 246, 250, 0.82);
    letter-spacing: 0.01em;
}

.countdown {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    color: rgba(245, 246, 250, 0.18);
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    opacity: 0.55;
    transition: opacity 200ms ease;
    pointer-events: none;
    user-select: none;
}

.countdown:hover {
    opacity: 0.75;
}

@media (max-width: 600px) {
    .countdown {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }
}
