/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
    --color-ink: #7ee5fc; /* banner background, hero overlay */
    --color-bg: #7ee5fc;
    --color-text: #1c2024;
    --color-muted: #5b6470;
    --color-accent: #000; /* CTA + footer accent */
    --color-accent-hover: #7ee5fc;
    --max-width: 1080px;
    --space: 1rem;
    --radius: 10px;
    --font-display: "Anton", system-ui, Impact, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

a {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ==========================================================================
   Top banner
   ========================================================================== */
.top-banner {
    background: var(--color-ink);
    color: #f4f6f8;
}

.top-banner__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: .85rem var(--space);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: .01em;
}

.brand__mark {
    color: var(--color-accent);
}

.top-banner__rules {
    color: #c7ccd6;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}

    .top-banner__rules:hover {
        color: #fff;
        text-decoration: underline;
    }

/* ==========================================================================
   Main
   ========================================================================== */
.site-main {
    flex: 1 0 auto;
    display:flex;
    flex-direction: column;
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
    position: relative;
    /* Fallback color + gradient sit ON TOP of the image so it still looks
       right before you add wwwroot/images/hero.jpg */
    background-color: var(--color-ink);
    background-image: linear-gradient(160deg, rgba(21,19,33,.25), rgba(21,19,33,.55)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    flex: 1 0 auto;
    justify-content:center;
    align-items:center;
    flex-direction:column;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero__content {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 6rem) var(--space);
    text-align: center;
    color: #fff;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 400; /* Anton is already heavy */
    font-size: clamp(2.4rem, 8vw, 5rem);
    line-height: 1.02;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

.hero__message {
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    color: #e7e9ee;
    margin: 0 auto 2rem;
    max-width: 34rem;
}

/* Responsive 16:9 Vimeo embed */
.video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto 2.25rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
    background: #000;
}

    .video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

/* CTA button */
.btn-enter {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    padding: 1rem 2.25rem;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(255,255,255,.45);
    transition: transform .12s ease, background-color .12s ease;
}

    .btn-enter:hover {
        background: var(--color-accent-hover);
        transform: translateY(-2px);
    }

    .btn-enter:active {
        transform: translateY(0);
    }

.btn-enter--sm {
    font-size: .95rem;
    padding: .6rem 1.4rem;
    box-shadow: none;
}

/* ---- Enter page stub ----------------------------------------------------- */
.enter-page__inner {
    max-width: 700px;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 5rem) var(--space);
    text-align: center;
}

    .enter-page__inner h1 {
        font-family: var(--font-display);
        font-size: 2.5rem;
        text-transform: uppercase;
    }

/* ==========================================================================
   Footer (accent color) with abbreviated legal
   ========================================================================== */
.site-footer {
    background: var(--color-accent);
    color: #fff;
    flex-shrink: 0;
}

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem var(--space);
}

.legal {
    margin: 0 0 .75rem;
    font-size: .8rem;
    line-height: 1.5;
    color: #fff;
}

    .legal a {
        color: #fff;
        text-decoration: underline;
    }

.site-footer__copy {
    margin: 0;
    font-size: .8rem;
    color: #ffe1e7;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
