:root {
    --vel-ink: #211913;
    --vel-gold: #cfa544;
    --vel-gold-deep: #9a7321;
    --vel-cream: #f3ede2;
    --vel-stone: #d9ccba;
    --white: #ffffff;
    --navy0: #070605;
    --shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
    --radius: 24px;
    --bg-veil: 0.48;
    --gate-img: 0.82;
    --gate-veil: 0.2;
    --gate-underlay: 0.56;
    --max: 920px;
    --font-head: "DM Sans", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-serif: "Playfair Display", Georgia, serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

html {
    background: var(--navy0);
}

body {
    margin: 0;
    color: var(--white);
    font: 500 16px/1.55 var(--font-body);
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.bg,
.bg-picture {
    position: fixed;
    inset: 0;
}

.bg {
    z-index: 0;
    background: var(--navy0);
    overflow: hidden;
    pointer-events: none;
}

.bg-picture {
    margin: 0;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 54% 78%;
    transform: scale(1.08);
    filter: blur(14px) saturate(0.76) contrast(1.03) brightness(0.58);
    opacity: 1;
}

.bg-veil,
.bg-noise,
.backdrop,
.gate-media,
.gate-veil,
.gate-underlay {
    position: absolute;
    inset: 0;
}

.bg-veil {
    background:
        radial-gradient(900px 520px at 16% 14%, rgba(207, 165, 68, 0.16), rgba(0, 0, 0, 0) 58%),
        radial-gradient(1000px 620px at 88% 96%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 62%),
        linear-gradient(
            180deg,
            rgba(7, 6, 5, calc(var(--bg-veil) - 0.02)) 0%,
            rgba(7, 6, 5, var(--bg-veil)) 55%,
            rgba(7, 6, 5, calc(var(--bg-veil) + 0.1)) 100%
        );
}

.bg-noise {
    opacity: 0.08;
    mix-blend-mode: screen;
    background-image:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.2), transparent 38%),
        radial-gradient(circle at 86% 84%, rgba(255, 255, 255, 0.12), transparent 44%);
    filter: blur(0.2px);
}

.backdrop {
    position: fixed;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px) saturate(0.95);
    pointer-events: auto;
}

.gate {
    width: min(var(--max), 94vw);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    background:
        radial-gradient(960px 460px at 14% -8%, rgba(207, 165, 68, 0.14), transparent 60%),
        radial-gradient(780px 360px at 100% 120%, rgba(255, 255, 255, 0.08), transparent 58%),
        linear-gradient(180deg, rgba(32, 25, 19, 0.4) 0%, rgba(8, 8, 8, 0.92) 100%);
    pointer-events: auto;
}

.gate-media {
    background-image: url("img/desktop-bg.jpg");
    background-size: cover;
    background-position: 54% 74%;
    transform: scale(1.08);
    filter: blur(10px) saturate(0.78) contrast(1.04) brightness(0.62);
    opacity: var(--gate-img);
    z-index: 0;
    pointer-events: none;
}

.gate-veil {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, calc(var(--gate-veil) + 0.08)) 0%,
            rgba(0, 0, 0, calc(var(--gate-veil) + 0.16)) 100%
        );
    z-index: 1;
    pointer-events: none;
}

.gate-underlay {
    background: rgba(0, 0, 0, var(--gate-underlay));
    z-index: 2;
    pointer-events: none;
}

.gate::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(207, 165, 68, 0.08);
    pointer-events: none;
}

.gate-inner {
    position: relative;
    z-index: 5;
    display: grid;
    gap: clamp(14px, 2vw, 18px);
    padding: clamp(18px, 3.2vw, 34px);
}

.brand,
.brand-left,
.actions {
    display: flex;
    align-items: center;
}

.brand {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.brand-left {
    gap: 0;
    min-width: 0;
    width: 52px;
    flex: 0 0 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand img {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
    background:
        radial-gradient(90px 70px at 30% 20%, rgba(207, 165, 68, 0.24), transparent 60%),
        linear-gradient(135deg, rgba(20, 17, 13, 0.95), rgba(46, 36, 28, 0.9));
}

.brand img.brand-lockup {
    width: 52px;
    max-width: 52px;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    object-fit: contain;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.42)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.14));
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    flex: 0 0 auto;
    margin-left: 2px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vel-gold);
    box-shadow: 0 0 0 4px rgba(207, 165, 68, 0.14);
}

h2 {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 950;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.copy {
    margin: 0;
    max-width: 74ch;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(15px, 2.2vw, 17px);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.copy strong {
    color: #f7deb0;
    font-family: var(--font-head);
    font-weight: 900;
}

.divider {
    height: 1px;
    opacity: 0.95;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    user-select: none;
    pointer-events: auto;
    transition: transform 0.12s ease, filter 0.14s ease, box-shadow 0.14s ease;
    font-family: var(--font-head);
    font-weight: 900;
    letter-spacing: 0.02em;
}

.btn.primary {
    color: #120f0c;
    background: linear-gradient(135deg, rgba(247, 222, 176, 1), rgba(207, 165, 68, 1));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.btn.primary:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.btn:focus-visible {
    outline: 2px solid #f7deb0;
    outline-offset: 3px;
}

.micro {
    color: rgba(255, 255, 255, 0.74);
    font-family: var(--font-body);
    font-size: 12px;
}

.legal-foot {
    position: fixed;
    z-index: 9997;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    padding: 4px 10px;
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-body);
    font-size: 12px;
    text-align: center;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

@keyframes popIn {
    from {
        transform: translateY(10px) scale(0.985);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.pop-animate {
    animation: popIn 0.18s ease-out both;
}

@media (max-width: 640px) {
    :root {
        --bg-veil: 0.34;
        --gate-img: 0.9;
        --gate-veil: 0.16;
        --gate-underlay: 0.62;
    }

    .bg-img {
        object-position: 54% 80%;
        transform: scale(1.12);
        filter: blur(12px) saturate(0.76) contrast(1.03) brightness(0.54);
    }

    .backdrop {
        padding: 14px;
        background: rgba(0, 0, 0, 0.14);
        backdrop-filter: blur(4px) saturate(0.94);
    }

    .gate-media {
        background-image: url("img/mobile-bg.jpg");
        background-position: 54% 76%;
        transform: scale(1.1);
        filter: blur(10px) saturate(0.78) contrast(1.04) brightness(0.56);
    }

    .badge {
        display: inline-flex;
        font-size: 11px;
        padding: 8px 11px;
    }

    .actions {
        gap: 10px;
    }

    .micro {
        width: 100%;
    }
}
