:root {
    --bg: #160910;
    --bg-2: #221016;
    --surface: rgba(255, 160, 180, 0.07);
    --surface-2: rgba(255, 180, 195, 0.12);
    --line: rgba(255, 176, 192, 0.16);
    --text: #fff2f5;
    --muted: #c9a8b2;
    --gold: #e8899e;
    --gold-2: #f6c4ce;
    --gold-ink: #3a1020;
    --ok: #7ed9b0;
    --err: #ff8a9a;
    --shadow: 0 30px 80px rgba(40, 8, 18, 0.55);
    --radius: 22px;
    --font: "Outfit", system-ui, sans-serif;
    --display: "Playfair Display", Georgia, serif;
    --input: #241218;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; max-width: 100%; }
html { background: var(--bg); }

body {
    font-family: var(--font);
    font-size: 16px;
    letter-spacing: -0.01em;
    color: var(--text);
    background:
        radial-gradient(900px 480px at 8% -12%, rgba(196, 59, 92, 0.28), transparent 55%),
        radial-gradient(700px 380px at 100% 0%, rgba(232, 137, 158, 0.16), transparent 48%),
        var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; max-width: 100%; }
button, a, input, select, textarea { touch-action: manipulation; }

.page-inner {
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(196, 59, 92, 0.22), transparent 52%),
        radial-gradient(900px 420px at 100% 0%, rgba(232, 137, 158, 0.1), transparent 46%),
        var(--bg);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 6vw;
    background: rgba(22, 9, 16, 0.78);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    font-family: var(--display);
    font-size: clamp(1.15rem, 4.6vw, 1.7rem);
    letter-spacing: 0.12em;
    font-weight: 600;
    font-style: italic;
}

.brand-mark {
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f6c4ce' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z'/%3E%3C/svg%3E") center / contain no-repeat;
    filter: drop-shadow(0 0 10px rgba(232, 137, 158, 0.85));
}

.brand-mark-lg {
    width: 18px;
    height: 18px;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--muted);
}

.pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.75rem;
}

.pill-ok {
    color: var(--ok);
    border-color: rgba(126, 217, 176, 0.35);
}

.pill-warn {
    color: var(--gold-2);
    border-color: rgba(232, 137, 158, 0.45);
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 80px;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: var(--gold);
    margin: 0 0 8px;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; font-style: italic; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.15; }

.lede, .section-head p, .watch-copy p {
    color: var(--muted);
    line-height: 1.65;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    min-height: 46px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); font-weight: 600; }
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.alert {
    border-radius: 14px;
    padding: 12px 14px;
    margin: 0 0 18px;
}

.alert-ok { background: rgba(126, 217, 176, 0.12); color: var(--ok); }
.alert-error { background: rgba(255, 138, 154, 0.14); color: var(--err); }

.landing {
    position: relative;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
    background: #000;
}

.landing-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
}

.page-landing .modal-root {
    place-items: center;
}

.page-landing .modal-backdrop {
    background: transparent;
    backdrop-filter: none;
    pointer-events: none;
}

.page-landing .pay-overlay {
    background: transparent;
}

.page-wait {
    min-height: 100vh;
    background: var(--bg);
}

.modal-root[hidden], .pay-overlay[hidden], [hidden] { display: none !important; }

.modal-root {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: end center;
    padding: 12px 12px max(12px, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
}

.sheet {
    position: relative;
    width: min(460px, 100%);
    max-height: min(92dvh, 760px);
    overflow-y: auto;
    background: linear-gradient(180deg, #2c1520, #1a0c14);
    border: 1px solid var(--line);
    border-radius: 28px 28px 18px 18px;
    padding: 28px 22px 22px;
    box-shadow: var(--shadow);
    animation: rise 0.45s ease;
}

.sheet-simple {
    text-align: center;
}

.sheet-simple h2 {
    font-size: clamp(1.55rem, 4vw, 2.05rem);
    line-height: 1.15;
    margin-bottom: 10px;
}

.sheet-simple .lede {
    margin: 0 0 22px;
}

.sheet-simple .field {
    text-align: left;
}

.sheet-simple .pay-form .btn {
    margin-top: 8px;
}

.sheet-pay {
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(#2a141c, #2a141c) padding-box,
        linear-gradient(180deg, rgba(246,196,206,0.75), rgba(255,255,255,0.08), transparent 70%) border-box;
    border: 1px solid transparent;
    box-shadow: 0 24px 60px rgba(40,8,18,0.5), 0 0 0 1px rgba(232,137,158,0.14);
    padding: 26px 22px 22px;
}

.sheet-pay::before {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    top: 0;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.pay-icon {
    width: 52px;
    height: 52px;
    margin: 4px auto 14px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--gold-2);
    background: radial-gradient(circle at 50% 20%, rgba(232,137,158,0.3), rgba(232,137,158,0.06));
    border: 1px solid rgba(232,137,158,0.28);
}

.sheet-pay h2 span {
    color: var(--gold-2);
}

.field-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    background: var(--input);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0 14px;
    color: var(--muted);
}

.field-wrap:focus-within {
    border-color: var(--gold);
    color: var(--gold-2);
}

.field-wrap input {
    flex: 1;
    min-width: 0;
    margin: 0;
    border: 0;
    background: transparent;
    padding: 14px 0;
    letter-spacing: 0.08em;
    font-size: 16px;
}

.sheet-secure {
    text-align: center;
    padding-top: 26px;
}

.secure-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: var(--gold-2);
    background: radial-gradient(circle at 50% 30%, rgba(232,137,158,0.28), rgba(232,137,158,0.08));
    border: 1px solid rgba(232,137,158,0.35);
    box-shadow: 0 10px 28px rgba(232,137,158,0.12);
}

.sheet-secure .kicker {
    margin-bottom: 6px;
}

.sheet-secure h2 {
    margin-bottom: 10px;
    font-size: clamp(1.25rem, 3.4vw, 1.7rem);
    line-height: 1.2;
}

.sheet-secure .lede {
    margin-bottom: 20px;
}

.sheet-secure .btn-gold {
    margin-bottom: 12px;
}

.secure-back {
    display: inline-block;
    color: var(--muted);
    font-size: 0.88rem;
}

.secure-back:hover {
    color: var(--text);
}

@keyframes rise {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    margin: 8px 0 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.price-row strong { color: var(--gold-2); font-size: 1.2rem; }

.field, .field-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 0.82rem; }
.field > span { display: block; }
.field input,
.field textarea {
    width: 100%;
    display: block;
    margin-top: 6px;
    background: var(--input);
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 14px;
    padding: 14px 14px;
    outline: none;
    font-size: 16px;
}

.field textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.45;
}

.field input:focus,
.field textarea:focus { border-color: var(--gold); }

.method-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.method-card, .vpn-card {
    display: block;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 14px;
    background: var(--surface);
    cursor: pointer;
}

.method-card:has(input:checked),
.vpn-card:has(input:checked) {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
}

.method-card { display: flex; gap: 10px; align-items: center; }
.method-card input, .vpn-card input { accent-color: var(--gold); }
.method-card small, .vpn-loc, .vpn-duration, .fineprint { color: var(--muted); }
.method-card strong, .method-card small { display: block; }
.fineprint { font-size: 0.75rem; line-height: 1.5; margin: 12px 0 0; }

.pay-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    background: rgba(22, 9, 16, 0.78);
}

.pay-overlay-card {
    width: min(320px, calc(100% - 32px));
    text-align: center;
    background: #2a141c;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px 20px;
}

.spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    border: 3px solid rgba(255,255,255,0.12);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.promo-slider {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    margin-bottom: 28px;
}

.promo-track {
    display: flex;
    transition: transform 0.55s ease;
}

.promo-slide {
    flex: 0 0 100%;
    min-height: 168px;
    padding: 22px 20px 36px;
    color: var(--text);
    text-decoration: none;
    background: linear-gradient(160deg, #4a1c2c 0%, #2a1018 55%, #1a0c12 100%);
}

.promo-slide.theme-gold {
    background: linear-gradient(160deg, #5c2438 0%, #32141e 55%, #1c0e14 100%);
}

.promo-slide.theme-teal {
    background: linear-gradient(160deg, #3d1a3a 0%, #241018 55%, #160c14 100%);
}

.promo-slide.theme-green {
    background: linear-gradient(160deg, #5a2438 0%, #2e121c 55%, #180c12 100%);
}

.promo-slide.theme-amber {
    background: linear-gradient(160deg, #6b3040 0%, #3a1820 55%, #1c0e14 100%);
}

.promo-kicker {
    margin: 0 0 8px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-2);
    font-weight: 600;
}

.promo-slide h2 {
    margin: 0;
    font-family: var(--font);
    font-size: clamp(1.45rem, 4vw, 1.9rem);
    font-weight: 700;
    line-height: 1.15;
}

.promo-slide h2 span {
    display: block;
    color: var(--gold);
}

.promo-sub {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.promo-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 6px;
}

.promo-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.28);
    cursor: pointer;
}

.promo-dot.is-active {
    width: 18px;
    background: #fff;
}

.section-head { margin-bottom: 18px; }
.section-head h2, .vpn-head h1 { margin-bottom: 6px; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.video-card {
    display: block;
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-card:hover { transform: translateY(-3px); border-color: rgba(232,137,158,0.35); }

.video-thumb { position: relative; }
.video-thumb img,
.video-thumb video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
}
.video-thumb video { pointer-events: none; }

.play-fab {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(22, 9, 16, 0.72);
    color: var(--gold-2);
    backdrop-filter: blur(8px);
}

.duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0,0,0,0.65);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.7rem;
}

.video-meta { padding: 10px 12px 14px; }
.video-meta h3 {
    font-size: 1.05rem;
    font-family: var(--font);
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-meta p { margin: 4px 0 0; color: var(--muted); font-size: 0.78rem; }

.watch-layout {
    display: grid;
    gap: 22px;
}

.player-shell {
    position: relative;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.player-shell video {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.player-load {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    background: rgba(0,0,0,0.55);
}

.watch-copy { margin-top: 14px; }
.watch-copy h1 {
    font-family: var(--font);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 18px;
}

.up-next h2 {
    font-family: var(--font);
    font-size: 1.15rem;
    margin-bottom: 14px;
}
.mini-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    background: var(--surface);
    border-radius: 14px;
    overflow: hidden;
}

.mini-card img { width: 120px; height: 68px; object-fit: cover; }
.mini-card small { display: block; color: var(--muted); margin-top: 4px; }

.flag-row { display: flex; align-items: center; gap: 10px; }
.tz-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.75rem;
    background: linear-gradient(180deg, #1eb53a, #00a3dd 55%, #fcd116);
    color: #08120c;
}

.vpn-page {
    max-width: 980px;
}

.vpn-intro {
    text-align: center;
    margin: 8px 0 24px;
}

.vpn-intro .secure-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.vpn-intro h1 {
    margin: 12px 0 8px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.vpn-intro p {
    margin: 0 auto;
    max-width: 420px;
    color: var(--muted);
}

.vpn-grid {
    display: grid;
    gap: 14px;
    margin: 0 0 22px;
}

.vpn-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
    color: inherit;
    font: inherit;
    padding: 20px 18px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.vpn-card.is-featured,
.vpn-card:hover {
    border-color: rgba(232,137,158,0.55);
}

.vpn-card:hover {
    transform: translateY(-2px);
}

.vpn-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--gold-ink);
    background: var(--gold);
    border-radius: 999px;
    padding: 4px 9px;
}

.vpn-card h2 {
    font-family: var(--font);
    font-size: 1.08rem;
    font-weight: 600;
    margin: 0 70px 6px 0;
}

.vpn-meta,
.vpn-duration {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.vpn-price {
    font-size: 1.45rem;
    color: var(--gold-2);
    margin: 12px 0 4px;
    font-weight: 700;
}

.vpn-card ul {
    list-style: none;
    margin: 14px 0 16px;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
    flex: 1;
}

.vpn-pay-btn {
    margin-top: auto;
    padding: 12px 16px;
}

.vpn-card li {
    position: relative;
    padding: 4px 0 4px 22px;
}

.vpn-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%233a1020' d='M4.7 9 1.8 6.1l1.1-1.1 1.8 1.8L9 2.5l1.1 1.1z'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.pay-panel {
    width: min(460px, 100%);
    margin: 0 auto 12px;
}

@media (min-width: 720px) {
    .modal-root { place-items: center; }
    .sheet { border-radius: 28px; }
    .method-grid { grid-template-columns: repeat(3, 1fr); }
    .video-grid { grid-template-columns: repeat(3, 1fr); }
    .vpn-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .video-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .watch-layout { display: block; }
    .promo-slide { min-height: 180px; padding: 26px 28px 40px; }
    .vpn-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 719px) {
    .topbar {
        padding: 12px 14px;
        padding-top: max(12px, env(safe-area-inset-top));
        gap: 10px;
    }
    .wrap {
        width: min(1180px, calc(100% - 20px));
        padding: 16px 0 max(40px, env(safe-area-inset-bottom));
    }
    .sheet {
        padding: 22px 16px 18px;
        border-radius: 22px 22px 16px 16px;
    }
    .sheet-pay { padding: 22px 16px 18px; }
    .promo-slider { border-radius: 16px; margin-bottom: 18px; }
    .promo-slide {
        min-height: 132px;
        padding: 16px 14px 30px;
    }
    .promo-slide h2 { font-size: clamp(1.15rem, 6vw, 1.55rem); overflow-wrap: anywhere; }
    .video-grid { gap: 10px; }
    .video-card { border-radius: 14px; }
    .video-meta { padding: 8px 8px 12px; }
    .video-meta h3 { font-size: 0.88rem; }
    .play-fab { width: 36px; height: 36px; }
    .duration { font-size: 0.64rem; padding: 2px 6px; }
    .vpn-card { padding: 16px 14px 14px; }
    .vpn-card h2 { margin-right: 64px; font-size: 1rem; }
    .watch-copy h1 { overflow-wrap: anywhere; margin-bottom: 12px; }
    .up-next h2 { font-size: 1rem; }
}

@media (max-width: 719px) {
    .page-watch .wrap {
        width: 100%;
        padding: 0 0 max(36px, env(safe-area-inset-bottom));
    }
    .page-watch .alert { margin: 12px 12px 0; }
    .page-watch .player-shell {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
    .page-watch .watch-copy,
    .page-watch .up-next { padding: 0 12px; }
}

@media (max-width: 380px) {
    .video-grid { grid-template-columns: 1fr; }
}

@media (hover: none) {
    .btn:hover,
    .video-card:hover,
    .vpn-card:hover { transform: none; }
}
