:root {
    --bg: #14030c;
    --bg2: #3a0820;
    --pink: #ff2e93;
    --rose: #ff7ab8;
    --wine: #8b0a3c;
    --gold: #e8b86d;
    --text: #fff1f7;
    --muted: #d9a3bd;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

html {
    height: 100%;
    scroll-behavior: auto
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden
}

#bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    transition: background .6s
}

#c {
    opacity: 0;
    transition: opacity 1s;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none
}

nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(env(safe-area-inset-top, 0px) + 18px) 5vw 18px;
    letter-spacing: .3em;
    font-size: 13px
}

nav b {
    font-weight: 600
}

nav span {
    border: 1px solid var(--rose);
    border-radius: 20px;
    padding: 3px 10px;
    color: var(--rose);
    letter-spacing: .1em
}

body.ready #c {
    opacity: 1
}

.bar {
    position: fixed;
    left: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--gold));
    z-index: 6;
    width: 0
}

section {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 7vw
}

section.r {
    justify-content: flex-end
}

.box {
    max-width: 430px;
    opacity: 0;
    transform: translateY(40px);
    transition: all .9s cubic-bezier(.2, .8, .2, 1)
}

.in .box {
    opacity: 1;
    transform: none
}

.tag {
    color: var(--rose);
    letter-spacing: .35em;
    font-size: 12px;
    margin-bottom: 16px;
    text-transform: uppercase
}

h1, h2 {
    font-weight: 200;
    line-height: 1.02;
    letter-spacing: -.02em
}

h1 {
    font-size: clamp(54px, 9vw, 120px)
}

h2 {
    font-size: clamp(36px, 5vw, 64px)
}

h1 em, h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--pink), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

p {
    margin-top: 20px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 17px
}

.stats {
    display: flex;
    gap: 28px;
    margin-top: 28px
}

.stats div {
    font-size: 30px;
    font-weight: 200
}

.stats small {
    display: block;
    font-size: 11px;
    color: var(--rose);
    letter-spacing: .2em;
    margin-top: 4px
}

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 16px 38px;
    border-radius: 40px;
    background: linear-gradient(90deg, var(--pink), var(--wine));
    color: #fff;
    text-decoration: none;
    letter-spacing: .2em;
    font-size: 13px;
    box-shadow: 0 10px 40px rgba(255, 46, 147, .45);
    transition: transform .3s
}

.btn:hover {
    transform: scale(1.06)
}

.hint {
    position: absolute;
    bottom: 34px;
    left: 7vw;
    font-size: 11px;
    letter-spacing: .3em;
    color: var(--rose);
    animation: p 2s infinite
}

@keyframes p {
    50% {
        opacity: .3
    }
}

footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
    font-size: 12px;
    color: var(--muted)
}

@media (max-width: 760px) {
    section, section.r {
        align-items: flex-end;
        justify-content: flex-start;
        padding-bottom: 9vh
    }

    .box {
        background: rgba(20, 3, 12, .55);
        backdrop-filter: blur(8px);
        padding: 20px;
        border-radius: 18px
    }
}

/* ---------- форма брони ---------- */
.book {
    margin-top: 30px
}

.book-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.book input[type="email"] {
    flex: 1 1 220px;
    min-width: 0;
    padding: 16px 22px;
    border-radius: 40px;
    border: 1px solid rgba(255, 122, 184, .4);
    background: rgba(20, 3, 12, .6);
    color: var(--text);
    font-size: 15px;
    outline: none;
    transition: border-color .3s, box-shadow .3s
}

.book input[type="email"]::placeholder {
    color: var(--muted);
    opacity: .7
}

.book input[type="email"]:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 46, 147, .25)
}

.book .btn {
    margin-top: 0;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap
}

.book .btn:disabled {
    opacity: .6;
    cursor: default;
    transform: none
}

.book.done .book-row {
    display: none
}

.hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0
}

.form-status {
    min-height: 1.4em;
    margin-top: 12px;
    font-size: 14px
}

.form-status.ok {
    color: var(--gold)
}

.form-status.err {
    color: var(--rose)
}

.book-note {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
    opacity: .75
}

/* ---------- плашка cookies ---------- */
.cookie {
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    z-index: 20;
    width: min(680px, calc(100% - 24px));
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(20, 3, 12, .82);
    border: 1px solid rgba(255, 122, 184, .3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    transform: translate(-50%, 30px);
    opacity: 0;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), opacity .4s
}

.cookie.show {
    transform: translate(-50%, 0);
    opacity: 1
}

.cookie p {
    margin: 0;
    flex: 1;
    font-size: 13px;
    line-height: 1.5
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0
}

.cookie-btn {
    padding: 9px 18px;
    border-radius: 30px;
    border: 1px solid transparent;
    background: linear-gradient(90deg, var(--pink), var(--wine));
    color: #fff;
    font: inherit;
    font-size: 12px;
    letter-spacing: .08em;
    cursor: pointer;
    white-space: nowrap
}

.cookie-btn.ghost {
    background: transparent;
    border-color: rgba(255, 122, 184, .5);
    color: var(--rose)
}

@media (max-width: 760px) {
    .cookie {
        flex-direction: column;
        align-items: stretch;
        gap: 12px
    }

    .cookie-actions {
        justify-content: stretch
    }

    .cookie-btn {
        flex: 1
    }

    .book .btn {
        width: 100%
    }
}


/* ---------- подтверждение возраста ---------- */
html.age-lock, html.age-lock body {
    overflow: hidden
}

html.age-lock body > *:not(.age) {
    visibility: hidden
}

.age {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(ellipse at 50% 30%, #3a0820, #14030c 75%);
    visibility: visible
}

.age-box {
    max-width: 420px;
    text-align: center
}

.age-badge {
    display: inline-block;
    border: 1px solid var(--rose);
    border-radius: 20px;
    padding: 4px 14px;
    color: var(--rose);
    letter-spacing: .1em;
    font-size: 13px
}

.age h2 {
    margin-top: 22px;
    font-size: clamp(30px, 6vw, 44px)
}

.age .btn {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    margin-top: 0
}

.age-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px
}

.age-no {
    background: none;
    border: 0;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline
}

.book-note a, .cookie a {
    color: var(--rose)
}

/* ---------- страница политики ---------- */
.doc {
    max-width: 760px;
    margin: 0 auto;
    padding: 90px 22px 60px
}

.doc h1 {
    font-size: clamp(32px, 6vw, 48px)
}

.doc h2 {
    font-size: 22px;
    font-weight: 400;
    margin-top: 36px;
    letter-spacing: 0
}

.doc p, .doc li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted)
}

.doc p {
    margin-top: 12px
}

.doc ul {
    margin: 10px 0 0 20px
}

.doc a {
    color: var(--rose)
}

.doc .todo {
    background: rgba(232, 184, 109, .15);
    color: var(--gold);
    padding: 0 4px;
    border-radius: 4px
}
