:root {
    --black: #020101;
    --ink: #080304;
    --red: #c8000b;
    --red-hot: #ff101e;
    --blood: #450006;
    --text: #fff7f4;
    --muted: #b9a3a0;
    --line: rgba(255, 255, 255, 0.16);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 50% 34%, rgba(200, 0, 11, 0.2), transparent 28rem),
        linear-gradient(180deg, #050203 0%, #130003 48%, #030101 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

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

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px clamp(16px, 5vw, 72px);
    background: rgba(2, 1, 1, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(68px, 8vw, 92px);
    aspect-ratio: 1;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.countdown-hero {
    display: grid;
    place-items: center;
    align-content: center;
    gap: clamp(1rem, 3vw, 1.8rem);
    min-height: 0;
    padding: clamp(0.7rem, 1.4vw, 1.1rem) 16px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 16, 30, 0.3), transparent 18rem),
        linear-gradient(180deg, #4a0006 0%, #1d0003 52%, #020101 100%);
    color: var(--text);
}

.timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.4rem, 1.2vw, 0.8rem);
    width: min(560px, 100%);
    margin-top: 0;
    color: var(--text);
}

.timer span {
    display: grid;
    place-items: center;
    min-height: clamp(62px, 6vw, 86px);
    padding: 0.42rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(200, 0, 11, 0.88), rgba(20, 1, 3, 0.95));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

.timer strong {
    font-family: Bebas Neue, Impact, sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 0.9;
}

.timer small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.9rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(180deg, var(--red-hot), var(--red));
    color: #fff;
    box-shadow: 0 16px 42px rgba(200, 0, 11, 0.45);
}

.image-panel,
.notes-visual {
    position: relative;
    overflow: hidden;
    background: #020101;
}

.image-panel img,
.image-panel video {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
}

.video-panel video {
    display: block;
    width: 100%;
    min-height: clamp(360px, 58vw, 820px);
    background: #020101;
}

.video-panel img {
    display: block;
    width: 100%;
    min-height: clamp(360px, 58vw, 820px);
    background: #020101;
}

.bottle-panel img {
    min-height: clamp(520px, 70vw, 980px);
    object-position: center center;
}

.vault-panel img {
    min-height: clamp(420px, 58vw, 760px);
    object-position: center center;
}

.notes-visual {
    background: #020101;
}

.notes-visual picture,
.notes-visual img {
    display: block;
    width: 100%;
}

.notes-visual img {
    object-fit: cover;
}

.preorder-section {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
    gap: clamp(1rem, 3vw, 3rem);
    align-items: start;
    padding: clamp(1.75rem, 4vw, 3.5rem) max(16px, calc((100vw - 1180px) / 2));
    background:
        linear-gradient(180deg, rgba(69, 0, 6, 0.78), #020101 42%),
        radial-gradient(circle at 50% 0, rgba(255, 16, 30, 0.22), transparent 30rem);
}

.preorder-copy {
    max-width: 560px;
}

.layout-label.red {
    margin-bottom: 0.45rem;
    color: rgba(255, 16, 30, 0.62);
    font-size: clamp(2.1rem, 4.2vw, 4.1rem);
    line-height: 0.95;
}

.preorder-copy h2 {
    margin: 0 0 0.65rem;
    font-family: Bebas Neue, Impact, sans-serif;
    font-size: clamp(2.8rem, 5.8vw, 5.2rem);
    font-weight: 400;
    line-height: 0.92;
    text-transform: uppercase;
    text-shadow: 0 3px 0 rgba(200, 0, 11, 0.6);
}

.preorder-copy p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 2, 3, 0.88);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.44);
}

.lead-form label {
    display: grid;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.lead-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text);
    font: inherit;
    padding: 0.8rem 0.9rem;
}

.lead-form input:focus {
    outline: 2px solid rgba(255, 16, 30, 0.42);
    border-color: var(--red-hot);
}

.lead-form input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.lead-form input[type="number"]::-webkit-outer-spin-button,
.lead-form input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.lead-form input.is-invalid {
    border-color: var(--red-hot);
}

.field-error {
    min-height: 1rem;
    color: #ff9ba3;
    font-size: 0.78rem;
    line-height: 1.35;
}

.checkbox {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    column-gap: 0.8rem;
    row-gap: 0.45rem;
    align-items: start;
}

.checkbox input {
    width: 18px;
    min-height: 18px;
    margin-top: 0.15rem;
}

.checkbox > span:not(.field-error) {
    min-width: 0;
    line-height: 1.35;
}

.checkbox .field-error {
    grid-column: 1 / -1;
    min-height: 0;
}

.lead-form .button {
    grid-column: 1 / -1;
    width: 100%;
    border: 0;
    cursor: pointer;
}

.lead-form .button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.alert {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 1000;
    width: min(560px, calc(100% - 32px));
    margin: 0;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -18px) scale(0.98);
    transition: opacity 220ms ease, transform 220ms ease;
}

.alert.is-visible {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.alert.success {
    background: rgba(4, 42, 18, 0.96);
    color: #9bf2b7;
}

.alert.error {
    background: rgba(74, 0, 8, 0.96);
    color: #ffb1b8;
}

.site-footer {
    padding: 2rem max(16px, calc((100vw - 1180px) / 2)) 3rem;
    color: var(--muted);
    background: #020101;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .preorder-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding-inline: 12px;
    }

    .countdown-hero {
        min-height: 0;
        padding-inline: 12px;
        padding-top: 1.55rem !important;
        padding-bottom: 0.65rem;
        background:
            radial-gradient(circle at 50% 0%, rgba(255, 16, 30, 0.34), transparent 10rem),
            linear-gradient(180deg, #540006 0%, #1b0003 64%, #020101 100%);
    }

    .timer {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.32rem;
        width: min(330px, 100%);
        margin-top: 0;
    }

    .timer span {
        min-height: 50px;
        padding: 0.3rem;
    }

    .timer strong {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }

    .timer small {
        font-size: 0.55rem;
    }

    .image-panel img,
    .image-panel video {
        min-height: 440px;
    }

    .video-panel video,
    .bottle-panel img,
    .vault-panel img {
        object-position: center center;
    }

    .vault-panel img {
        height: auto;
        min-height: 0;
        object-fit: contain;
    }

    .lead-form {
        grid-template-columns: 1fr;
    }
}
