:root {
    color-scheme: light;
    --bg: #efe3d3;
    --bg-soft: #f8f2ea;
    --ink: #1f1712;
    --muted: #6f6257;
    --line: rgba(31, 23, 18, 0.12);
    --accent: #db5e2d;
    --accent-dark: #b8471d;
    --accent-glow: rgba(219, 94, 45, 0.28);
    --panel: rgba(252, 246, 239, 0.9);
    --shadow: 0 30px 80px rgba(45, 28, 17, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 213, 156, 0.46), transparent 24%),
        radial-gradient(circle at 80% 0%, rgba(219, 94, 45, 0.18), transparent 28%),
        linear-gradient(180deg, #ead8c2 0%, var(--bg) 38%, #f5ede2 100%);
    font-family: "Manrope", Arial, sans-serif;
}

a {
    color: inherit;
}

.hero-header {
    position: relative;
    z-index: 3;
    background: rgba(255, 249, 242, 0.98);
    border-bottom: 1px solid rgba(31, 23, 18, 0.08);
    box-shadow: 0 8px 30px rgba(31, 23, 18, 0.08);
}

.hero-header__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 8px 22px 6px;
}

.hero-header__brand {
    width: min(240px, 52vw);
    max-width: 240px;
    height: auto;
    display: block;
}

.raffle-page main {
    overflow: clip;
}

.hero {
    position: relative;
    min-height: calc(100svh - 66px);
    display: grid;
    align-items: center;
    padding: 40px 22px;
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(17, 12, 8, 0.8), rgba(17, 12, 8, 0.45)),
        radial-gradient(circle at top right, rgba(219, 94, 45, 0.34), transparent 26%),
        url("https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
    transform: scale(1.03);
}

.hero__backdrop::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(17, 12, 8, 0), rgba(17, 12, 8, 0.55));
}

.hero__inner,
.info-strip,
.closing__content {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 430px);
    gap: 42px;
    align-items: center;
}

.hero__copy {
    max-width: 660px;
    color: #fff9f1;
}

.eyebrow {
    margin: 0 0 16px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
}

.hero h1,
.info-strip h2,
.closing h2,
.signup h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 0.96;
}

.hero h1 {
    font-size: clamp(3rem, 5.6vw, 5rem);
    max-width: 11ch;
}

.hero__lede {
    max-width: 34rem;
    margin: 24px 0 0;
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 249, 241, 0.86);
}

.hero__prize {
    display: grid;
    gap: 6px;
    max-width: 36rem;
    margin-top: 20px;
    padding-left: 16px;
    border-left: 3px solid rgba(255, 196, 128, 0.86);
    color: #fff4e7;
}

.hero__prize strong {
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero__prize span {
    font-size: 1rem;
    line-height: 1.65;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero__meta span {
    padding: 10px 14px;
    border: 1px solid rgba(255, 249, 241, 0.18);
    border-radius: 999px;
    background: rgba(255, 249, 241, 0.08);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.signup__panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background: var(--panel);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.signup__kicker {
    margin: 0 0 12px;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
}

.signup h2 {
    font-size: clamp(2.3rem, 5vw, 3.4rem);
    margin-bottom: 18px;
}

.raffle-form {
    display: grid;
    gap: 14px;
}

.raffle-form label {
    display: grid;
    gap: 8px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.raffle-form span {
    font-size: 0.95rem;
    font-weight: 700;
}

.raffle-form input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font: inherit;
}

.raffle-form input:focus {
    outline: 2px solid var(--accent-glow);
    border-color: rgba(219, 94, 45, 0.45);
}

.check {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px;
    margin-top: 4px;
}

.check input {
    min-height: auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.check span {
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 500;
    color: var(--muted);
}

button,
.closing a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
    box-shadow: 0 14px 30px rgba(180, 71, 29, 0.22);
}

button:hover,
.closing a:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.form-status {
    min-height: 24px;
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.form-status.is-error {
    color: #8c2f25;
}

.form-status.is-success {
    color: #22633b;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 800ms ease forwards;
}

.reveal--delay {
    animation-delay: 180ms;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 920px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 28px;
        padding-bottom: 54px;
    }

    .hero h1 {
        max-width: 12ch;
    }
}

@media (max-width: 640px) {
    .hero-header__inner {
        padding: 4px 12px 2px;
    }

    .hero-header__brand {
        width: 175px;
        max-width: 175px;
    }

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero__meta {
        gap: 10px;
    }

    .hero__meta span {
        width: 100%;
    }

    .signup__panel,
    .signup__panel {
        padding: 22px;
        border-radius: 24px;
    }
}
