:root {
    --sky: #38acff;
    --cyan: #00e5ff;
    --red: #e52e2d;
    --red-deep: #b91c1c;
    --gold: #f5c542;
    --green: #76c935;
    --navy: #071428;
    --steel: #1a2a40;
    --panel: #12243a;
    --ink: #e8f4ff;
    --mute: #9bb3c9;
    --line: rgba(0, 229, 255, 0.18);
    --ok: #3dce8b;
    --danger: #ff6b7a;
    --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: Barlow, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(7, 20, 40, 0.55), rgba(7, 20, 40, 0.92)),
        radial-gradient(900px 420px at 80% -10%, rgba(56, 172, 255, 0.28), transparent 55%),
        radial-gradient(700px 380px at 0% 80%, rgba(229, 46, 45, 0.12), transparent 50%),
        #071428;
    min-height: 100vh;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3 {
    font-family: "Exo 2", Barlow, sans-serif;
    letter-spacing: 0.02em;
    margin: 0 0 12px;
}

.hw-site { min-height: 100vh; display: flex; flex-direction: column; }
.hw-stage { flex: 1; }
.hw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.hw-ident {
    position: sticky;
    top: 0;
    z-index: 30;
    overflow: visible;
    background: rgba(7, 20, 40, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.hw-ident-bar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}
.hw-mark {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    min-width: 0;
}
.hw-mark img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.hw-mark strong { display: block; font-size: 15px; letter-spacing: 0.08em; }
.hw-mark em { display: block; font-style: normal; color: var(--mute); font-size: 12px; }
.hw-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    color: var(--ink);
    cursor: pointer;
}

.hw-hud {
    margin-left: auto;
}
.hw-hud ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hw-hud li { flex: none; }
.hw-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--mute);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.hw-tab i { font-size: 14px; }
.hw-tab:hover { color: var(--ink); background: rgba(56, 172, 255, 0.12); }
.hw-tab.is-live { color: var(--cyan); background: rgba(0, 229, 255, 0.1); }
.hw-tab-shop {
    background: linear-gradient(180deg, var(--red), var(--red-deep));
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(229, 46, 45, 0.4);
    padding: 0 16px;
    min-height: 44px;
    font-size: 14px;
    margin-left: 6px;
}
.hw-tab-shop:hover { filter: brightness(1.08); color: #fff !important; }
.hw-hud-home .hw-tab.is-live { color: var(--sky); }
.hw-hud-outfit .hw-tab.is-live { color: var(--gold); }
.hw-hud-vect .hw-tab.is-live { color: var(--red); }
.hw-hud-contact .hw-tab.is-live { color: var(--green); }
.hw-hud-shop .hw-tab-shop { outline: 2px solid var(--gold); }

.hw-mast {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.hw-mast img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    filter: saturate(1.05);
}
.hw-brief {
    position: relative;
    margin: -92px auto 0;
    background: linear-gradient(180deg, rgba(18, 36, 58, 0.96), rgba(7, 20, 40, 0.98));
    border: 1px solid var(--line);
    border-radius: 22px 6px 22px 6px;
    padding: 28px 28px 24px;
    max-width: calc(var(--wrap) - 40px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.hw-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.hw-title { font-size: 36px; line-height: 1.15; }
.hw-lead { color: var(--mute); font-size: 16px; max-width: 70ch; }

.hw-intel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 18px;
    margin: 36px auto;
}
.hw-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
}
.hw-card h2 { font-size: 22px; }
.hw-card p { margin: 0 0 12px; color: var(--mute); }
.hw-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--gold);
}
.hw-offset { transform: translateY(18px); }

.hw-film {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 12px;
    margin: 12px auto 40px;
}
.hw-film img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line);
}
.hw-film img:first-child { height: 100%; min-height: 180px; grid-row: span 2; }

.hw-spread {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
    padding: 36px 0 20px;
}
.hw-spread figure {
    position: sticky;
    top: 92px;
    margin: 0;
}
.hw-spread img {
    width: 100%;
    border-radius: 18px 4px 18px 4px;
    border: 1px solid var(--line);
    object-fit: cover;
    min-height: 360px;
}
.hw-merit { list-style: none; margin: 20px 0 0; padding: 0; }
.hw-merit li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}
.hw-merit b {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(229, 46, 45, 0.18);
    color: var(--gold);
    font-family: "Exo 2", sans-serif;
}

.hw-roundel {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: center;
    padding: 32px 0 12px;
}
.hw-roundel > img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--cyan);
}
.hw-zigzag { margin: 12px 0 28px; }
.hw-zigzag article {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 18px;
    margin-bottom: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
}
.hw-zigzag article:nth-child(odd) { margin-right: 12%; border-radius: 4px 22px 4px 22px; }
.hw-zigzag article:nth-child(even) { margin-left: 12%; border-radius: 22px 4px 22px 4px; }
.hw-zigzag i {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(56, 172, 255, 0.16);
    color: var(--cyan);
    font-size: 22px;
}
.hw-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 8px 0 32px;
}
.hw-masonry img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

.hw-cinema {
    margin: 28px 0 20px;
}
.hw-cinema img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px 28px 8px 28px;
    border: 1px solid var(--line);
}
.hw-pins {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
}
.hw-pin {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}
.hw-pin:nth-child(2) { margin-left: 8%; }
.hw-pin:nth-child(3) { margin-left: 16%; }
.hw-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #fff;
}
.hw-badge.loc { background: var(--red); }
.hw-badge.mail { background: #2563eb; }
.hw-badge.tel { background: #059669; }
.hw-tips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.hw-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(255, 107, 122, 0.12);
    border: 1px solid var(--danger);
    color: #ffd6db;
    padding: 12px 14px;
    border-radius: 12px;
    margin: 12px 0 18px;
}
.hw-notes { list-style: none; margin: 0 0 22px; padding: 0; }
.hw-notes li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--mute);
}
.hw-notes i { color: var(--gold); margin-top: 4px; }
.hw-fx {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 18px;
}
.hw-fx button {
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--ink);
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 700;
}
.hw-fx button.is-on {
    background: var(--cyan);
    color: #071428;
    border-color: var(--cyan);
}
.hw-crates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 10px 8px 2px;
    align-content: start;
    scrollbar-gutter: stable;
    scrollbar-color: rgba(0, 229, 255, 0.35) rgba(7, 20, 40, 0.6);
}
.hw-crates::-webkit-scrollbar { width: 8px; }
.hw-crates::-webkit-scrollbar-track {
    background: rgba(7, 20, 40, 0.6);
    border-radius: 8px;
}
.hw-crates::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.35);
    border-radius: 8px;
}
.hw-crates::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 255, 0.55); }
.hw-crate {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    text-align: center;
}
.hw-crate.is-on {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.35);
}
.hw-crate img { width: 72px; height: 72px; margin: 0 auto 10px; object-fit: contain; }
.hw-crate-title { font-weight: 800; }
.hw-crate-price { color: var(--gold); font-size: 18px; margin-top: 6px; }
.hw-plan {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 32px;
}
.hw-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hw-field { display: flex; flex-direction: column; gap: 6px; }
.hw-field label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.hw-field input[type="text"],
.hw-field input[type="email"] {
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #0b1c30;
    color: var(--ink);
    padding: 0 12px;
}
.hw-field input[readonly] { opacity: 0.8; }
.hw-picked {
    display: flex;
    justify-content: space-between;
    background: #0b1c30;
    border: 1px dashed var(--line);
    border-radius: 10px;
    padding: 12px;
}
.hw-pay-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hw-pay {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
}
.hw-pay.is-on { border-color: var(--cyan); background: rgba(0, 229, 255, 0.08); }
.hw-pay input { accent-color: var(--cyan); }
.hw-agree { display: flex; gap: 10px; align-items: flex-start; }
.hw-err { color: var(--danger); font-size: 13px; min-height: 16px; }
.hw-honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.hw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}
.hw-btn-red { background: linear-gradient(180deg, var(--red), var(--red-deep)); color: #fff; }
.hw-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.hw-span-2 { grid-column: span 2; }

.hw-ticket {
    max-width: 640px;
    margin: 36px auto;
    background: repeating-linear-gradient(90deg, #12243a, #12243a 12px, #0f2034 12px, #0f2034 24px);
    border: 2px dashed var(--gold);
    border-radius: 18px;
    padding: 28px;
}
.hw-ticket table { width: 100%; border-collapse: collapse; }
.hw-ticket th, .hw-ticket td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hw-ticket th { width: 38%; color: var(--mute); font-weight: 600; }
.hw-total { color: var(--gold); font-size: 20px; font-weight: 800; }
.hw-count { font-size: 48px; font-weight: 800; color: var(--cyan); text-align: center; margin: 12px 0; }
.hw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.hw-result {
    max-width: 640px;
    margin: 48px auto;
    text-align: center;
    padding: 36px 24px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--panel);
}
.hw-result i { font-size: 48px; margin-bottom: 12px; }
.hw-result.ok i { color: var(--ok); }
.hw-result.bad i { color: var(--danger); }
.hw-result.bad { border-style: dashed; }

.hw-legal {
    background: #f4f7fb;
    color: #223;
    border-radius: 16px;
    padding: 28px 24px 40px;
    margin: 28px 0 40px;
}
.hw-legal h1, .hw-legal h2, .hw-legal h3 { color: #1a2433; }
.hw-legal p { color: #334155; }

.hw-base {
    border-top: 1px solid var(--line);
    padding: 36px 0 20px;
    margin-top: 28px;
    background: rgba(10, 22, 40, 0.72);
}
.hw-base-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr 1fr 0.9fr;
    gap: 28px 24px;
    align-items: start;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
}
.hw-base-brand { display: flex; gap: 12px; align-items: center; }
.hw-base-brand img { width: 56px; height: 56px; object-fit: contain; }
.hw-base-brand span, .hw-base-brand strong { display: block; }
.hw-base-col h2 {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
}
.hw-base-col p { margin: 0 0 8px; color: var(--mute); font-size: 14px; }
.hw-base-col nav { display: flex; flex-direction: column; gap: 8px; }
.hw-base-col .hw-launch { margin: 0; }
.hw-base-col .hw-launch img { height: 42px; }
.hw-copy { color: var(--mute); font-size: 13px; margin: 0; }

.hw-launch { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0 8px; }
.hw-launch a { display: inline-flex; flex: none; line-height: 0; }
.hw-launch img {
    height: 52px;
    width: auto;
    max-width: none;
    object-fit: contain;
    border: 0;
    border-radius: 0;
}
.hw-load, .hw-empty { color: var(--mute); padding: 18px; text-align: center; }

.hw-page { padding-top: 8px; }

@media (max-width: 1080px) {
    .hw-tab { padding: 0 8px; font-size: 12px; }
    .hw-mark em { display: none; }
}

@media (max-width: 900px) {
    .hw-intel, .hw-spread, .hw-roundel, .hw-fields, .hw-tips, .hw-masonry, .hw-film {
        grid-template-columns: 1fr;
    }
    .hw-film img:first-child { grid-row: auto; height: 180px; }
    .hw-spread figure { position: static; }
    .hw-offset { transform: none; }
    .hw-zigzag article:nth-child(odd),
    .hw-zigzag article:nth-child(even) { margin: 0 0 12px; }
    .hw-pin:nth-child(2),
    .hw-pin:nth-child(3) { margin-left: 0; }
    .hw-span-2 { grid-column: span 1; }
    .hw-title { font-size: 28px; }
    .hw-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }
    .hw-hud {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        background: rgba(18, 36, 58, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
        padding: 8px 12px 12px;
    }
    .hw-hud.is-open { display: block; }
    .hw-hud ul { flex-direction: column; align-items: stretch; }
    .hw-tab, .hw-tab-shop {
        justify-content: flex-start;
        min-height: 44px;
        margin-left: 0;
        width: 100%;
    }
    .hw-base-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .hw-base-grid { grid-template-columns: 1fr; }
}
