/* nexalia.world */

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

:root {
    --nxl-plum: #4b2a51;
    --nxl-plum-soft: #6a4072;
    --nxl-peach: #f0a067;
    --nxl-peach-light: #fbe0cc;
    --nxl-ink: #2a1d2c;
    --nxl-mute: #75637a;
    --nxl-edge: #eadde9;
    --nxl-bg: #fbf7f9;
    --nxl-white: #ffffff;
    --nxl-font: Tahoma, Verdana, Segoe, sans-serif;
}

body {
    background: var(--nxl-bg);
    color: var(--nxl-ink);
    font-family: var(--nxl-font);
    line-height: 1.55;
}

/* шапка */
.nxl-top {
    padding: 12px 16px 0;
    text-align: center;
}

.nxl-top_brand {
    display: inline-block;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .05em;
    text-decoration: none;
    color: var(--nxl-white);
    background: var(--nxl-plum);
    border-radius: 24px;
}

.nxl-top_brand:hover {
    background: var(--nxl-plum-soft);
}

/* заголовок */
.nxl-heading {
    max-width: 880px;
    margin: 0 auto;
    padding: 38px 20px 28px;
    text-align: center;
    font-size: clamp(25px, 4.2vw, 44px);
    font-weight: 700;
    line-height: 1.22;
    color: var(--nxl-plum);
}

.nxl-heading_key {
    color: var(--nxl-peach);
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 6px;
}

/* відео */
.nxl-scene {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

#nxl_holder {
    position: relative;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    border: 4px solid var(--nxl-peach-light);
    border-radius: 24px;
}

#nxl_video {
    display: block;
    width: 100%;
    height: auto;
}

#nxl_gate {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-align: center;
    color: var(--nxl-plum);
    background: var(--nxl-peach);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(240, 160, 103, .35), 0 16px 34px rgba(0, 0, 0, .3);
    transition: transform .2s ease, opacity .25s ease, visibility .25s ease;
}

#nxl_gate:hover {
    transform: translate(-50%, -50%) scale(1.06);
}

.nxl-gate_bars {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 28px;
}

.nxl-gate_bar {
    display: block;
    width: 5px;
    height: 28px;
    border-radius: 5px;
    background: var(--nxl-plum);
    animation: nxlBars 1.2s ease-in-out infinite;
}

.nxl-gate_bar:nth-child(2) { animation-delay: .2s; }
.nxl-gate_bar:nth-child(3) { animation-delay: .4s; }
.nxl-gate_bar:nth-child(4) { animation-delay: .6s; }

@keyframes nxlBars {
    0%, 100% { transform: scaleY(.4); }
    50% { transform: scaleY(1); }
}

.nxl-gate_text {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.nxl-gate_hint {
    display: block;
    font-size: 10px;
    color: var(--nxl-plum-soft);
}

.nxl-gate_off {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#nxl_fs {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 20;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    border-radius: 50%;
    background: rgba(75, 42, 81, .75);
}

#nxl_fs:hover {
    background: var(--nxl-plum);
}

#nxl_fs svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--nxl-peach-light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#nxl_holder:fullscreen,
#nxl_holder:-webkit-full-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
}

#nxl_holder:fullscreen #nxl_video,
#nxl_holder:-webkit-full-screen #nxl_video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 520px) {
    #nxl_gate {
        width: 116px;
        height: 116px;
    }
    .nxl-gate_hint {
        display: none;
    }
}

/* форма */
.nxl-buy {
    padding: 44px 16px 0;
}

.nxl-buy_inner {
    max-width: 560px;
    margin: 0 auto;
}

.nxl-form {
    padding: 26px 22px 22px;
    background: var(--nxl-white);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(75, 42, 81, .1);
}

.nxl-form_title {
    margin-bottom: 14px;
    text-align: center;
    font-size: 22px;
    line-height: 1.3;
    color: var(--nxl-plum);
}

.nxl-form_pic {
    display: flex;
    justify-content: center;
}

.nxl-form_pic img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .nxl-form_pic img { max-height: 230px; }
}

@media (max-width: 480px) {
    .nxl-form_pic img { max-height: 190px; }
}

.nxl-form_stock {
    margin: 12px 0 18px;
    text-align: center;
}

.nxl-form_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--nxl-plum);
    background: var(--nxl-peach-light);
    border-radius: 24px;
}

.nxl-form_dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nxl-plum);
}

.nxl-form_trap {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.nxl-form_field {
    margin-bottom: 14px;
}

.nxl-form_label {
    display: block;
    margin: 0 0 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--nxl-mute);
}

.nxl-form_input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--nxl-font);
    font-size: 16px;
    color: var(--nxl-ink);
    background: var(--nxl-bg);
    border: 2px solid var(--nxl-edge);
    border-radius: 24px;
    outline: none;
    transition: border-color .2s ease;
}

.nxl-form_input::placeholder {
    color: #b3a3b6;
}

.nxl-form_input:focus {
    border-color: var(--nxl-peach);
}

.nxl-form_send {
    width: 100%;
    margin-top: 6px;
    padding: 16px;
    cursor: pointer;
    font-family: var(--nxl-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--nxl-white);
    background: var(--nxl-plum);
    border: 0;
    border-radius: 24px;
    transition: background .2s ease;
}

.nxl-form_send:hover {
    background: var(--nxl-plum-soft);
}

.nxl-form_note {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
    color: var(--nxl-mute);
}

/* підвал */
.nxl-foot {
    margin-top: 48px;
    padding: 28px 20px 24px;
    text-align: center;
    background: var(--nxl-white);
    border-top: 1px solid var(--nxl-edge);
}

.nxl-foot_inner {
    max-width: 880px;
    margin: 0 auto;
}

.nxl-foot_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.nxl-foot_nav a {
    padding: 4px 14px;
    font-size: 12px;
    color: var(--nxl-plum);
    text-decoration: none;
    background: var(--nxl-bg);
    border-radius: 24px;
}

.nxl-foot_nav a:hover {
    background: var(--nxl-peach-light);
}

.nxl-foot_contact {
    margin-bottom: 10px;
    font-size: 12px;
    font-style: normal;
    line-height: 1.8;
    color: var(--nxl-ink);
}

.nxl-foot_contact a {
    color: var(--nxl-plum);
}

.nxl-foot_copy {
    font-size: 12px;
    color: var(--nxl-mute);
}

.nxl-foot_note {
    max-width: 760px;
    margin: 10px auto 0;
    font-size: 11px;
    line-height: 1.7;
    color: #9a8a9d;
}

.nxl-form_tel {
    letter-spacing: .03em;
}
