:root {
    --ink: #06141c;
    --navy: #071824;
    --teal: #0c5555;
    --gold: #d4af37;
    --gold-soft: #e8d48b;
    --gold-deep: #b8922a;
    --cream: #f4ebd0;
    --magenta: #e14cff;
    --cyan: #3de7ff;
    --panel: #102a36;
    --line: rgba(212, 175, 55, 0.28);
    --muted: #b7c6ce;
    --danger: #ff6b7a;
    --ok: #3dce8b;
    --frame: 1200px;
    --mast: 92px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: Manrope, "Segoe UI", sans-serif;
    color: var(--cream);
    background:
        radial-gradient(720px 320px at 92% -8%, rgba(225, 76, 255, 0.16), transparent 55%),
        radial-gradient(640px 280px at -8% 18%, rgba(61, 231, 255, 0.12), transparent 50%),
        linear-gradient(180deg, #071824 0%, #0a2430 42%, #07131c 100%);
    min-height: 100vh;
    line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cyan); }
h1, h2, h3 {
    font-family: Cinzel, Georgia, serif;
    letter-spacing: 0.02em;
    margin: 0 0 12px;
    color: var(--cream);
}

.cm-shell { min-height: 100vh; display: flex; flex-direction: column; }
.cm-body { flex: 1; padding-bottom: 56px; }
.cm-wrap { width: 100%; max-width: var(--frame); margin: 0 auto; padding: 0 20px; }

.cm-mast {
    border-bottom: 3px double var(--gold);
    background: linear-gradient(90deg, rgba(7, 24, 36, 0.96), rgba(12, 40, 48, 0.94));
}

.cm-mast-row {
    min-height: var(--mast);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cm-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--cream);
}
.cm-brand:hover { color: var(--gold); }
.cm-brand-seal {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex: 0 0 72px;
}
.cm-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cm-brand-copy strong {
    font-family: Cinzel, Georgia, serif;
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap;
}
.cm-brand-copy em {
    font-style: normal;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cm-mast-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

.cm-burger {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--cream);
    border-radius: 8px;
    cursor: pointer;
}

.cm-dock {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
}

.cm-n {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    font-size: 13px;
    font-weight: 750;
    color: var(--cream);
    border: 1px solid transparent;
    border-radius: 8px 2px 8px 2px;
    white-space: nowrap;
}
.cm-n i { font-size: 12px; }
.cm-n:hover { transform: translateY(-1px); }

.cm-n-teal { border-color: rgba(12, 85, 85, 0.8); }
.cm-n-teal:hover, .cm-n-teal.is-here { background: var(--teal); color: var(--cream); }
.cm-n-cream { border-color: rgba(244, 235, 208, 0.35); }
.cm-n-cream:hover, .cm-n-cream.is-here { background: var(--cream); color: var(--navy); }
.cm-n-magenta { border-color: rgba(225, 76, 255, 0.45); }
.cm-n-magenta:hover, .cm-n-magenta.is-here { background: rgba(225, 76, 255, 0.18); color: #ffd6ff; }
.cm-n-cyan { border-color: rgba(61, 231, 255, 0.4); }
.cm-n-cyan:hover, .cm-n-cyan.is-here { background: rgba(61, 231, 255, 0.16); color: var(--cyan); }

.cm-n-shop {
    background: linear-gradient(180deg, #e8c454, #b8922a);
    color: #1a1204 !important;
    border-color: #f3dd86;
    padding: 10px 16px;
    font-size: 14px;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
    border-radius: 999px;
}
.cm-n-shop:hover,
.cm-n-shop.is-here {
    background: linear-gradient(180deg, #ffe08a, #d4af37);
    color: #1a1204 !important;
}

.cm-page { padding: 36px 0 20px; }
.cm-kicker {
    display: inline-block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.cm-lead { color: var(--muted); max-width: 760px; }

.cm-banner {
    position: relative;
    margin: 22px auto 0;
    max-width: var(--frame);
    padding: 0 20px;
}
.cm-banner-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px 4px 18px 4px;
    min-height: 360px;
}
.cm-banner-frame img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.cm-banner-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 28px 24px;
    background: linear-gradient(180deg, transparent, rgba(6, 20, 28, 0.92));
}
.cm-banner-cap h1 { font-size: 34px; max-width: 720px; }
.cm-banner-cap p { max-width: 640px; color: #e7efe8; }

.cm-play {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}
.cm-play a { display: block; }
.cm-play img {
    height: 52px;
    width: auto;
}

.cm-band { padding: 42px 0 8px; }
.cm-trio {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 16px;
}
.cm-card {
    background: rgba(16, 42, 54, 0.78);
    border: 1px solid var(--line);
    border-radius: 14px 4px 14px 4px;
    padding: 20px;
}
.cm-card h3 { font-size: 20px; }
.cm-card p { margin: 0 0 10px; color: var(--muted); }
.cm-more { font-weight: 800; }

.cm-mosaic {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}
.cm-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    min-height: 150px;
}
.cm-mosaic img:first-child {
    grid-row: 1 / span 2;
    min-height: 320px;
}

.cm-studio {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
}
.cm-studio figure {
    margin: 0;
}
.cm-studio img {
    width: 220px;
    height: auto;
    border-radius: 12px 2px 12px 2px;
    border: 1px solid var(--line);
}
.cm-quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.cm-quote {
    border-left: 4px solid var(--gold);
    background: rgba(12, 85, 85, 0.22);
    padding: 16px 18px;
}
.cm-quote strong { display: block; color: var(--gold); margin-bottom: 6px; }
.cm-adv {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 22px;
}
.cm-adv article {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 16px;
    border-radius: 10px;
}
.cm-adv h3 { font-size: 16px; color: var(--gold); }

.cm-path { margin: 20px 0 0; padding: 0; list-style: none; }
.cm-path li {
    position: relative;
    padding: 0 0 22px 28px;
    border-left: 2px solid var(--gold);
}
.cm-path li:last-child { border-left-color: transparent; padding-bottom: 0; }
.cm-path li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
}
.cm-shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}
.cm-shots figure { margin: 0; }
.cm-shots img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}
.cm-shots figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

.cm-reach {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 28px;
    align-items: start;
}
.cm-reach img {
    width: 240px;
    border-radius: 12px;
    border: 1px solid var(--line);
}
.cm-reach-list { display: grid; gap: 12px; }
.cm-reach-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 14px 16px;
    border-radius: 10px;
}
.cm-ico {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    flex: 0 0 42px;
}
.cm-reach-item h3 { font-size: 15px; margin-bottom: 4px; }
.cm-reach-item p { margin: 0; color: var(--muted); }

.cm-ticket {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(16, 42, 54, 0.6));
    border: 1px dashed var(--gold);
    border-radius: 14px;
    padding: 22px;
    margin: 8px 0 22px;
}
.cm-money {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
}
.cm-money-btn {
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--cream);
    border-radius: 999px;
    padding: 7px 14px;
    cursor: pointer;
    font-weight: 700;
}
.cm-money-btn.is-on {
    background: var(--gold);
    color: #1a1204;
    border-color: var(--gold);
}
.cm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.cm-pack {
    cursor: pointer;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}
.cm-pack.is-on {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}
.cm-pack img {
    width: 72px;
    height: 72px;
    margin: 0 auto 10px;
    object-fit: contain;
}
.cm-pack-title { font-weight: 800; }
.cm-pack-price { color: var(--gold); font-size: 20px; font-family: Cinzel, Georgia, serif; margin-top: 6px; }
.cm-load, .cm-empty { padding: 24px; text-align: center; color: var(--muted); }

.cm-invoice {
    margin-top: 28px;
    background: #0c2230;
    border: 2px solid var(--gold);
    border-radius: 6px 18px 6px 18px;
    padding: 22px;
}
.cm-invoice h2 { color: var(--gold); }
.cm-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 22px;
}
.cm-field { display: flex; flex-direction: column; gap: 6px; }
.cm-field label { font-size: 13px; font-weight: 800; color: var(--gold-soft, var(--gold)); }
.cm-field input[type="text"],
.cm-field input[type="email"] {
    height: 44px;
    border: 1px solid var(--line);
    background: #071824;
    color: var(--cream);
    border-radius: 8px;
    padding: 0 12px;
    font: inherit;
}
.cm-field input[readonly] { opacity: 0.85; }
.cm-picked {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
}
.cm-pay-list { display: grid; gap: 8px; }
.cm-pay {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
}
.cm-pay.is-on { border-color: var(--gold); background: rgba(212, 175, 55, 0.1); }
.cm-pay.is-show { opacity: 0.7; cursor: default; }
.cm-pay input { accent-color: var(--gold); }
.cm-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.cm-agree input { margin-top: 4px; }
.cm-err { color: var(--danger); font-size: 12px; min-height: 16px; }
.cm-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.cm-alert {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 107, 122, 0.12);
    border: 1px solid var(--danger);
    color: #ffd0d4;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.cm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    border-radius: 999px;
    padding: 12px 18px;
    text-decoration: none;
}
.cm-btn-gold {
    background: linear-gradient(180deg, #e8c454, #b8922a);
    color: #1a1204;
}
.cm-btn-ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--cream);
}
.cm-wide { grid-column: 1 / -1; }

.cm-promise {
    margin: 36px 0 8px;
}
.cm-promise-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 8px;
}
.cm-promise-item {
    background: rgba(16, 42, 54, 0.78);
    border: 1px solid var(--line);
    border-radius: 12px 4px 12px 4px;
    padding: 18px;
}
.cm-promise-item h3 {
    font-size: 17px;
    color: var(--gold);
}
.cm-promise-item p {
    margin: 0;
    color: var(--muted);
}

.cm-stub {
    max-width: 680px;
    margin: 0 auto;
    background: #102a36;
    border: 2px dashed var(--gold);
    border-radius: 16px;
    overflow: hidden;
}
.cm-stub-top { padding: 24px 24px 8px; }
.cm-table { width: 100%; border-collapse: collapse; }
.cm-table th, .cm-table td { padding: 10px 24px; text-align: left; border-top: 1px solid var(--line); }
.cm-table th { width: 160px; color: var(--gold); }
.cm-total { color: var(--gold); font-size: 20px; font-weight: 800; }
.cm-count {
    font-family: Cinzel, Georgia, serif;
    font-size: 42px;
    color: var(--gold);
    text-align: center;
    margin: 8px 0;
}
.cm-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 24px 24px; }

.cm-result {
    max-width: 640px;
    margin: 40px auto;
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 24px;
}
.cm-result i { font-size: 46px; margin-bottom: 12px; }
.cm-result.ok i { color: var(--ok); }
.cm-result.bad i { color: var(--danger); }
.cm-result .cm-actions { justify-content: center; padding: 12px 0 0; }

.cm-end {
    margin-top: auto;
    background: #041016;
    border-top: 4px solid var(--teal);
}
.cm-end-medals {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 12px;
    padding: 22px 0 8px;
}
.cm-medal {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--cream);
    background: rgba(16, 42, 54, 0.8);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
}
.cm-medal i { color: var(--gold); margin-top: 4px; }
.cm-medal small { display: block; color: var(--gold); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.cm-end-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 14px 0;
}
.cm-end-legal a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--cream);
    font-size: 13px;
}
.cm-end-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 0 20px;
    color: var(--muted);
    font-size: 13px;
}
.cm-end-copy img { width: 42px; height: 42px; object-fit: contain; }
.cm-end-copy p { margin: 0; }

@media (max-width: 1024px) {
    .cm-trio, .cm-adv, .cm-grid { grid-template-columns: 1fr 1fr; }
    .cm-studio, .cm-reach { grid-template-columns: 1fr; }
    .cm-studio img, .cm-reach img { width: 200px; }
}

@media (max-width: 860px) {
    .cm-brand-copy strong { white-space: normal; font-size: 13px; }
    .cm-burger { display: inline-flex; align-items: center; justify-content: center; }
    .cm-dock {
        display: none;
        position: absolute;
        right: 20px;
        top: 92px;
        flex-direction: column;
        align-items: stretch;
        background: #0c2230;
        border: 1px solid var(--line);
        padding: 10px;
        z-index: 30;
        min-width: 220px;
    }
    .cm-dock.is-open { display: flex; }
    .cm-mast { position: relative; }
    .cm-n-shop { justify-content: center; }
    .cm-banner-frame img { height: 260px; }
    .cm-banner-cap h1 { font-size: 26px; }
    .cm-trio, .cm-quotes, .cm-shots, .cm-form, .cm-end-medals, .cm-mosaic, .cm-grid, .cm-adv, .cm-promise-list {
        grid-template-columns: 1fr;
    }
    .cm-mosaic img:first-child { grid-row: auto; min-height: 180px; }
}
