:root {
    --black: #050506;
    --black-soft: #101116;
    --white: #f8f7f2;
    --muted: #c8c3b8;
    --lava-red: #e12b1f;
    --lava-red-dark: #78110c;
    --grass-green: #34b233;
    --grass-green-dark: #0f5a24;
    --royal-blue: #2457ff;
    --royal-blue-dark: #10256f;
    --gold: #d9a441;
    --gold-light: #ffe09a;
    --card: rgba(255, 255, 255, 0.075);
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.58);

    /* Replace this with your own GIF or image when ready.
       Example: url('../img/hero-city.gif') */
    --hero-image: linear-gradient(135deg, rgba(225, 43, 31, 0.44), rgba(36, 87, 255, 0.24)), url('../img/hero-placeholder.svg');
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(225, 43, 31, 0.15), transparent 28rem),
        radial-gradient(circle at bottom right, rgba(36, 87, 255, 0.16), transparent 30rem),
        var(--black);
    color: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.account-link {
    position: fixed;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.15rem;
    border: 1px solid rgba(255, 224, 154, 0.72);
    border-radius: 999px;
    color: #160f04;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, #9d6919);
    box-shadow: 0 14px 35px rgba(217, 164, 65, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.32);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 180ms ease, filter 180ms ease;
}

.account-link:hover,
.account-link:focus-visible,
.btn:hover,
.btn:focus-visible {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

.landing-page {
    overflow: hidden;
}

.hero {
    position: relative;
    min-height: 88vh;
    display: grid;
    place-items: center;
    padding: 7rem 1.25rem 5rem;
    isolation: isolate;
    border-bottom: 2px solid rgba(217, 164, 65, 0.55);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 5, 6, 0.94), rgba(5, 5, 6, 0.54), rgba(5, 5, 6, 0.88)),
        radial-gradient(circle at 25% 25%, rgba(225, 43, 31, 0.34), transparent 26rem),
        radial-gradient(circle at 80% 35%, rgba(52, 178, 51, 0.16), transparent 24rem),
        linear-gradient(to bottom, rgba(5, 5, 6, 0.2), rgba(5, 5, 6, 0.98));
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero__content {
    width: min(980px, 100%);
    text-align: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(217, 164, 65, 0.55);
    border-radius: 999px;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 900;
    background: rgba(0, 0, 0, 0.42);
}

h1 {
    font-size: clamp(3.5rem, 12vw, 9.5rem);
    line-height: 0.86;
    letter-spacing: -0.08em;
    text-transform: uppercase;
    color: var(--white);
    -webkit-text-stroke: 1px rgba(217, 164, 65, 0.5);
    text-shadow:
        0 7px 0 rgba(120, 17, 12, 0.62),
        0 18px 48px rgba(0, 0, 0, 0.9),
        0 0 32px rgba(225, 43, 31, 0.38);
}

.hero__lead {
    max-width: 780px;
    margin: 1.65rem auto 0;
    color: var(--muted);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero__stats span {
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 0 0 1px rgba(217, 164, 65, 0.08);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.intro-section {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 5rem 0 2rem;
}

.intro-copy {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.intro-copy h2,
.callout-section h2 {
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.intro-copy p:not(.section-kicker),
.callout-section p:not(.section-kicker) {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.04rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-card {
    min-height: 260px;
    padding: 1.6rem;
    border: 1px solid rgba(217, 164, 65, 0.34);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    opacity: 0.35;
    filter: blur(4px);
}

.feature-card--red::before { background: var(--lava-red); }
.feature-card--green::before { background: var(--grass-green); }
.feature-card--blue::before { background: var(--royal-blue); }

.feature-card__number {
    color: var(--gold-light);
    font-weight: 900;
    letter-spacing: 0.16em;
}

.feature-card h3 {
    margin-top: 0.8rem;
    font-size: 1.45rem;
    line-height: 1.12;
    text-transform: uppercase;
}

.feature-card p {
    margin-top: 0.8rem;
    color: var(--muted);
}

.callout-section {
    width: min(1180px, calc(100% - 2rem));
    margin: 2rem auto 5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid rgba(217, 164, 65, 0.42);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(225, 43, 31, 0.2), rgba(36, 87, 255, 0.14)),
        rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 1.5rem;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 180ms ease, filter 180ms ease;
    white-space: nowrap;
}

.btn--primary {
    color: #160f04;
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, #9d6919);
    box-shadow: 0 16px 42px rgba(217, 164, 65, 0.28);
}

@media (max-width: 850px) {
    .hero {
        min-height: 82vh;
        padding-top: 6rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .callout-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .account-link {
        top: 0.75rem;
        right: 0.75rem;
        min-height: 42px;
        padding: 0 0.95rem;
        font-size: 0.74rem;
    }

    .hero {
        padding: 5.5rem 1rem 4rem;
    }

    .hero__stats span {
        flex: 1 1 42%;
        text-align: center;
    }

    .callout-section,
    .btn {
        width: 100%;
    }
}

.cookie-consent {
    position: fixed;
    inset: auto 1rem 1rem auto;
    z-index: 50;
    width: min(620px, calc(100% - 2rem));
}

.cookie-consent__panel {
    padding: 1.25rem;
    border: 1px solid rgba(217, 164, 65, 0.62);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(225, 43, 31, 0.18), rgba(36, 87, 255, 0.16)),
        rgba(5, 5, 6, 0.96);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(12px);
}

.cookie-consent__header h2 {
    font-size: clamp(1.35rem, 4vw, 2.1rem);
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.cookie-consent__text,
.cookie-consent__warning,
.auth-note {
    margin-top: 0.9rem;
    color: var(--muted);
}

.cookie-consent__warning {
    padding: 0.8rem;
    border: 1px solid rgba(225, 43, 31, 0.5);
    border-radius: 16px;
    color: var(--white);
    background: rgba(225, 43, 31, 0.12);
    font-size: 0.92rem;
}

.cookie-options {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
    max-height: 320px;
    overflow: auto;
    padding-right: 0.35rem;
}

.cookie-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    cursor: pointer;
}

.cookie-option input {
    margin-top: 0.25rem;
    accent-color: var(--gold);
}

.cookie-option strong,
.cookie-option small {
    display: block;
}

.cookie-option small {
    margin-top: 0.15rem;
    color: var(--muted);
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn--ghost {
    color: var(--white);
    border: 1px solid rgba(217, 164, 65, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.btn--danger {
    color: var(--white);
    border: 1px solid rgba(225, 43, 31, 0.58);
    background: linear-gradient(135deg, rgba(225, 43, 31, 0.28), rgba(120, 17, 12, 0.72));
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.auth-shell {
    width: min(500px, 100%);
}

.auth-logo {
    display: block;
    margin-bottom: 1rem;
    color: var(--gold-light);
    text-align: center;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(225, 43, 31, 0.42);
}

.auth-card {
    padding: clamp(1.25rem, 5vw, 2rem);
    border: 1px solid rgba(217, 164, 65, 0.5);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(225, 43, 31, 0.18), rgba(36, 87, 255, 0.14)),
        rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-size: clamp(2.6rem, 10vw, 4.4rem);
    letter-spacing: -0.07em;
}

.auth-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.auth-form label {
    display: grid;
    gap: 0.4rem;
    color: var(--gold-light);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    min-height: 50px;
    padding: 0 0.95rem;
    border: 1px solid rgba(217, 164, 65, 0.35);
    border-radius: 14px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.38);
    outline: none;
}

.auth-form input:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.12);
}

.check-row {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.6rem !important;
    color: var(--muted) !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    font-size: 0.95rem !important;
}

.check-row input {
    accent-color: var(--gold);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    font-size: 0.92rem;
}

.auth-links a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 620px) {
    .cookie-consent {
        inset: auto 0.75rem 0.75rem 0.75rem;
        width: auto;
    }

    .cookie-consent__actions .btn {
        width: 100%;
    }

    .auth-links {
        flex-direction: column;
    }
}


/* Updated compact centered cookie consent flow */
.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 100;
    width: auto;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.38);
}

.cookie-consent[hidden],
.cookie-consent__compact[hidden],
.cookie-consent__step[hidden] {
    display: none !important;
}

.cookie-consent__panel {
    width: min(430px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(217, 164, 65, 0.72);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(225, 43, 31, 0.18), rgba(36, 87, 255, 0.14)),
        rgba(5, 5, 6, 0.98);
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(14px);
}

.cookie-consent__panel h2 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.cookie-consent__text {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.55;
}

.cookie-consent__actions--centered {
    justify-content: center;
    align-items: center;
}

.cookie-consent__actions .btn {
    min-height: 42px;
    padding: 0 1rem;
    font-size: 0.8rem;
}

.cookie-consent__step .cookie-consent__warning {
    text-align: left;
}

.cookie-options {
    text-align: left;
    max-height: min(340px, 45vh);
}

@media (max-width: 620px) {
    .cookie-consent {
        inset: 0;
        width: auto;
        padding: 0.75rem;
    }

    .cookie-consent__panel {
        width: min(430px, 100%);
    }

    .cookie-consent__actions .btn {
        width: 100%;
    }
}
