/**
 * Powered by MaranathaStudio
 */

:root {
    color-scheme: dark;
    --bg: #080a0f;
    --surface: #10131b;
    --surface-raised: #171b26;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f7f8fb;
    --muted: #9da5b5;
    --accent: #a8ff3e;
    --accent-soft: rgba(168, 255, 62, 0.14);
    --accent-2: #8269ff;
    --danger: #ff5c70;
    --success: #51df9b;
    --radius: 24px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 12% -5%, rgba(130, 105, 255, 0.16), transparent 30rem),
        radial-gradient(circle at 95% 10%, rgba(168, 255, 62, 0.08), transparent 24rem),
        var(--bg);
    line-height: 1.55;
}

body,
button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a,
input,
textarea,
select {
    outline: none;
}

:focus-visible {
    outline: 3px solid rgba(168, 255, 62, 0.6);
    outline-offset: 3px;
}

img,
video {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 12px clamp(18px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
    background: rgba(8, 10, 15, 0.78);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 850;
    letter-spacing: -0.03em;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px 4px 10px 4px;
    color: #0b0d12;
    background: var(--accent);
    box-shadow: 0 0 28px rgba(168, 255, 62, 0.24);
}

.site-nav,
.site-nav form {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2.5vw, 28px);
    margin: 0;
}

.site-nav a:not(.button),
.nav-button {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 650;
    background: none;
    border: 0;
    cursor: pointer;
}

.site-nav a:not(.button):hover,
.nav-button:hover {
    color: var(--text);
}

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: #0b0d12 !important;
    background: var(--accent);
    box-shadow: 0 12px 32px rgba(168, 255, 62, 0.12);
    font-weight: 800;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(168, 255, 62, 0.2);
}

.button-small {
    min-height: 38px;
    padding-inline: 16px;
}

.button-block {
    width: 100%;
}

.button-ghost {
    border-color: var(--line-strong);
    color: var(--text) !important;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
}

.button-danger {
    border-color: var(--danger);
    color: #fff !important;
    background: var(--danger);
}

.hero {
    display: grid;
    width: min(1180px, calc(100% - 36px));
    min-height: min(680px, calc(100vh - 72px));
    align-items: center;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(48px, 8vw, 120px);
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.hero h1,
.page-heading h1,
.legal-page > h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(3rem, 8.4vw, 7.4rem);
    line-height: 0.91;
    letter-spacing: -0.075em;
}

.hero-copy > p:not(.eyebrow),
.page-heading > p:not(.eyebrow) {
    max-width: 650px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.access-orbit {
    position: relative;
    display: grid;
    width: min(36vw, 390px);
    aspect-ratio: 1;
    place-items: center;
    justify-self: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-soft), transparent 62%);
}

.access-orbit::before,
.access-orbit::after {
    position: absolute;
    content: "";
    border: 1px solid var(--line);
    border-radius: inherit;
    inset: 14%;
}

.access-orbit::after {
    inset: 29%;
}

.orbit-core {
    position: relative;
    z-index: 2;
    display: grid;
    width: 38%;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    color: #0b0d12;
    background: var(--accent);
    box-shadow: 0 0 70px rgba(168, 255, 62, 0.28);
}

.orbit-core span {
    align-self: end;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

.orbit-core strong {
    align-self: start;
    font-size: clamp(0.85rem, 2vw, 1.2rem);
}

.orbit-dot {
    position: absolute;
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 24px var(--accent-2);
}

.orbit-dot-one {
    top: 8%;
    left: 50%;
}

.orbit-dot-two {
    right: 12%;
    bottom: 20%;
}

.orbit-dot-three {
    bottom: 20%;
    left: 10%;
    background: var(--accent);
    box-shadow: 0 0 24px var(--accent);
}

.video-feed {
    display: grid;
    width: min(620px, 100%);
    margin: 0 auto 110px;
    gap: 28px;
}

.ad-card {
    position: relative;
    min-height: min(68vh, 620px);
    overflow: hidden;
    border: 1px solid rgba(168, 255, 62, 0.2);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
    scroll-margin-top: 88px;
}

.ad-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #05070b;
}

.ad-copy {
    position: absolute;
    display: grid;
    align-content: end;
    justify-items: start;
    padding: 28% 28px 30px;
    background: linear-gradient(to top, rgba(5, 6, 9, 0.94) 0%, rgba(5, 6, 9, 0.72) 34%, transparent 65%);
    inset: 0;
}

.ad-copy h2 {
    margin: 9px 0 20px;
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.ad-label {
    padding: 4px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.34);
    font-size: 0.65rem;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.video-card {
    position: relative;
    min-height: min(82vh, 820px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
    scroll-margin-top: 88px;
    scroll-snap-align: center;
}

.video-media,
.video-media video,
.video-media > img {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
}

.video-media video,
.video-media > img {
    object-fit: cover;
}

.video-card.is-locked .video-media > img {
    transform: scale(1.04);
}

.video-gradient {
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 42% 24px 26px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent 22%, rgba(5, 6, 9, 0.12) 45%, rgba(5, 6, 9, 0.94) 100%);
    inset: 0;
}

.video-copy {
    z-index: 2;
    max-width: 76%;
}

.video-copy h2 {
    margin: 8px 0 6px;
    font-size: clamp(1.55rem, 4vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.video-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.video-category,
.plan-level {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
}

.video-actions {
    z-index: 2;
    display: grid;
    gap: 14px;
    pointer-events: auto;
}

.action-button,
.action-stat {
    display: grid;
    min-width: 54px;
    justify-items: center;
    gap: 3px;
    color: #fff;
    background: none;
    border: 0;
    font-size: 0.75rem;
}

.action-button {
    cursor: pointer;
}

.action-icon {
    display: grid;
    width: 46px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(7, 8, 12, 0.52);
    backdrop-filter: blur(12px);
    font-size: 1.12rem;
}

.is-liked [data-like-count] + span,
.is-liked .action-button:first-child .action-icon {
    color: var(--danger);
}

.sound-toggle {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 18px;
    padding: 7px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    font-size: 0.72rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.lock-overlay {
    position: absolute;
    z-index: 4;
    display: grid;
    max-width: 380px;
    place-items: center;
    padding: 28px;
    text-align: center;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
}

.lock-overlay strong {
    margin: 18px 0 22px;
    font-size: clamp(1.2rem, 3vw, 1.65rem);
    line-height: 1.2;
}

.lock-icon,
.modal-icon {
    display: grid;
    width: 72px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(8, 10, 15, 0.6);
    font-size: 1.6rem;
    backdrop-filter: blur(14px);
}

.feed-status,
.feed-end {
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--muted);
}

.spinner {
    width: 22px;
    aspect-ratio: 1;
    border: 2px solid var(--line-strong);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 700ms linear infinite;
}

@keyframes spin {
    to { transform: rotate(1turn); }
}

.page-shell {
    width: min(1180px, calc(100% - 36px));
    min-height: calc(100vh - 160px);
    margin: 0 auto;
    padding: 90px 0 110px;
}

.page-heading {
    max-width: 850px;
    margin-bottom: 60px;
}

.page-heading h1,
.legal-page > h1 {
    font-size: clamp(3.2rem, 8vw, 7rem);
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 20px;
}

.plan-card,
.panel,
.auth-card,
.notice-card,
.privacy-zone,
.shared-card,
.empty-state {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    box-shadow: var(--shadow);
}

.plan-card {
    display: flex;
    min-height: 520px;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

.plan-card h2 {
    margin: 10px 0;
    font-size: 2rem;
    letter-spacing: -0.045em;
}

.plan-card p,
.muted {
    color: var(--muted);
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 26px 0;
}

.plan-price strong {
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -0.06em;
}

.plan-price span {
    color: var(--muted);
    font-weight: 750;
}

.feature-list {
    display: grid;
    padding: 0;
    margin: 0 0 28px;
    gap: 10px;
    color: var(--muted);
    list-style: none;
}

.feature-list li::before {
    margin-right: 10px;
    color: var(--accent);
    content: "✓";
}

.gateway-actions {
    display: grid;
    gap: 9px;
}

.auth-shell {
    display: grid;
    min-height: calc(100vh - 160px);
    padding: 70px 18px 100px;
    place-items: center;
}

.auth-card {
    width: min(100%, 520px);
    padding: clamp(26px, 5vw, 46px);
}

.auth-card h1 {
    margin: 0 0 24px;
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.auth-card > p:not(.eyebrow) {
    color: var(--muted);
}

.form-stack {
    display: grid;
    gap: 18px;
}

.form-stack label,
.danger-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 650;
}

.form-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.challenge-field {
    padding: 12px 14px;
    border: 1px solid rgba(196, 255, 63, 0.28);
    border-radius: 12px;
    background: rgba(196, 255, 63, 0.04);
}

.challenge-field small {
    font-weight: 400;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
}

input,
select {
    min-height: 48px;
    padding: 0 14px;
}

select {
    color-scheme: dark;
    color: var(--text);
    background-color: var(--surface-raised);
}

select option,
select optgroup {
    color: var(--text);
    background-color: var(--surface);
}

select option:checked {
    color: var(--text);
    background-color: #212636;
}

textarea {
    min-height: 120px;
    padding: 12px 14px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(168, 255, 62, 0.1);
}

.check-row {
    display: flex !important;
    align-items: flex-start;
    grid-template-columns: auto 1fr;
}

.check-row input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.88rem;
}

.auth-links a:hover,
.text-link:hover {
    color: var(--accent);
}

.flash {
    position: fixed;
    z-index: 100;
    top: 86px;
    left: 50%;
    max-width: min(90vw, 620px);
    padding: 12px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    transform: translateX(-50%);
    background: var(--surface-raised);
    box-shadow: var(--shadow);
}

.flash-success {
    border-color: rgba(81, 223, 155, 0.5);
}

.flash-error {
    border-color: rgba(255, 92, 112, 0.5);
}

.account-hero,
.notice-card,
.privacy-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.account-hero {
    margin-bottom: 32px;
}

.account-hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 7vw, 6rem);
    letter-spacing: -0.07em;
}

.membership-chip {
    display: grid;
    min-width: 220px;
    padding: 22px;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: var(--accent-soft);
}

.membership-chip span {
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.membership-chip strong {
    font-size: 1.35rem;
}

.notice-card,
.privacy-zone,
.panel {
    padding: 26px;
}

.notice-card {
    margin-bottom: 20px;
}

.notice-card h2 {
    margin: 0;
}

.notice-card p {
    margin: 4px 0 0;
    color: var(--muted);
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.panel-heading,
.record-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.panel-heading {
    margin-bottom: 20px;
}

.panel-heading h2 {
    margin: 0;
}

.record-list {
    display: grid;
}

.record-row {
    min-height: 76px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.record-row > div {
    display: grid;
    gap: 3px;
}

.record-row span,
.record-row small {
    color: var(--muted);
    font-size: 0.8rem;
}

.record-meta {
    justify-items: end;
    text-align: right;
}

.status {
    display: inline-flex;
    width: fit-content;
    padding: 4px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-active,
.status-paid,
.status-approved {
    border-color: rgba(81, 223, 155, 0.35);
    color: var(--success) !important;
}

.status-failed,
.status-rejected,
.status-revoked {
    border-color: rgba(255, 92, 112, 0.35);
    color: var(--danger) !important;
}

.text-button {
    padding: 0;
    border: 0;
    color: var(--accent);
    background: none;
    cursor: pointer;
}

.text-button.danger {
    color: var(--danger);
}

.privacy-zone {
    margin-top: 20px;
}

.privacy-zone > div {
    max-width: 550px;
}

.privacy-zone p {
    color: var(--muted);
}

.danger-form {
    display: grid;
    width: min(100%, 410px);
    gap: 14px;
}

.shared-card {
    display: grid;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.shared-media {
    position: relative;
    min-height: 620px;
}

.shared-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shared-copy {
    display: grid;
    align-content: center;
    padding: clamp(28px, 6vw, 70px);
}

.shared-copy h1 {
    margin: 14px 0;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.065em;
}

.shared-copy p {
    color: var(--muted);
}

.shared-copy .button {
    width: fit-content;
    margin-top: 20px;
}

.lock-badge {
    position: absolute;
    display: grid;
    width: 80px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(8, 10, 15, 0.6);
    font-size: 1.6rem;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(12px);
}

.legal-page {
    max-width: 840px;
}

.legal-page h2 {
    margin-top: 44px;
    font-size: 1.5rem;
}

.legal-page p {
    color: var(--muted);
    font-size: 1.05rem;
}

.contact-shell {
    max-width: 850px;
}

.manual-payment .instructions,
.payment-reference {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.payment-reference {
    display: grid;
    margin-bottom: 20px;
}

.payment-reference span {
    color: var(--muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.payment-reference strong {
    font-size: 1.4rem;
    letter-spacing: 0.04em;
}

.centered {
    text-align: center;
}

.success-orbit,
.error-code {
    display: grid;
    width: 86px;
    aspect-ratio: 1;
    place-items: center;
    margin: 0 auto 24px;
    border-radius: 50%;
    color: #07100b;
    background: var(--success);
    box-shadow: 0 0 60px rgba(81, 223, 155, 0.2);
    font-size: 2rem;
    font-weight: 900;
}

.error-code {
    width: auto;
    color: var(--danger);
    background: transparent;
    box-shadow: none;
    font-size: 4rem;
}

.empty-state {
    padding: 48px;
    text-align: center;
}

.empty-state p {
    color: var(--muted);
}

.modal {
    max-width: min(92vw, 520px);
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--text);
    background: var(--surface-raised);
    box-shadow: var(--shadow);
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(8px);
}

.modal-card {
    display: grid;
    place-items: center;
    padding: 38px;
    text-align: center;
}

.modal-card h2 {
    margin: 20px 0 8px;
}

.modal-card p {
    color: var(--muted);
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.site-footer {
    display: flex;
    width: min(1180px, calc(100% - 36px));
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 34px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.82rem;
}

.site-footer nav {
    display: flex;
    gap: 22px;
}

@media (max-width: 820px) {
    .site-header {
        min-height: 64px;
    }

    .site-nav > a:not(.button),
    .site-nav > form {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 90px 0;
        grid-template-columns: 1fr;
    }

    .access-orbit {
        width: min(76vw, 330px);
    }

    .account-grid,
    .shared-card {
        grid-template-columns: 1fr;
    }

    .shared-media {
        min-height: 65vh;
    }

    .account-hero,
    .notice-card,
    .privacy-zone {
        align-items: flex-start;
        flex-direction: column;
    }

    .membership-chip,
    .danger-form {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .video-card {
        min-height: calc(100svh - 84px);
        border-width: 1px 0;
        border-radius: 0;
    }

    .video-feed {
        gap: 14px;
    }

    .video-gradient {
        padding-inline: 18px;
    }

    .video-copy {
        max-width: 74%;
    }

    .page-shell {
        padding-top: 64px;
    }

    .plan-card,
    .panel,
    .privacy-zone,
    .notice-card {
        border-radius: 18px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }
}

.video-iframe {
    width: 100%;
    height: 100%;
    min-height: 72vh;
    border: 0;
    background: #05070b;
    display: block;
}

.ad-network-slot {
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
}

/* ── Fullscreen TikTok-Style Feed Mode (.is-feed-page) ── */
html.is-feed-page,
body.is-feed-page {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    background: #000;
}

body.is-feed-page .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    min-height: 56px;
    padding: 10px clamp(14px, 3vw, 32px);
    border-bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 65%, transparent 100%);
    backdrop-filter: none;
    pointer-events: none;
}

body.is-feed-page .site-header .brand,
body.is-feed-page .site-header .site-nav {
    pointer-events: auto;
}

.feed-stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

/* ── Category Drawer (hidden glass side trigger, right edge) ── */
.category-toggle {
    position: fixed;
    right: 12px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 65;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(10, 12, 18, 0.56);
    color: #fff;
    backdrop-filter: blur(16px) saturate(165%);
    -webkit-backdrop-filter: blur(16px) saturate(165%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.category-toggle:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(18, 22, 32, 0.78);
}

.category-toggle:active {
    transform: translateY(-50%) scale(0.96);
}

.category-toggle-arrow {
    font-size: 0.78rem;
    transition: transform 220ms ease;
}

.category-toggle-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

body.categories-open .category-toggle-arrow {
    transform: rotate(180deg);
}

.category-drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top left, rgba(130, 105, 255, 0.16), transparent 36%),
        radial-gradient(circle at bottom right, rgba(168, 255, 62, 0.10), transparent 32%),
        rgba(8, 10, 15, 0.94);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms ease;
}

body.categories-open .category-drawer {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.category-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: calc(env(safe-area-inset-top) + 18px) 20px 14px;
}

.category-drawer-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.category-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 14px;
    align-content: start;
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 8px 20px calc(env(safe-area-inset-bottom) + 32px);
    overflow-y: auto;
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 4px;
    min-height: 112px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.1);
}

.category-card.is-active {
    border-color: var(--accent);
    background: linear-gradient(155deg, rgba(168, 255, 62, 0.18), rgba(168, 255, 62, 0.05));
    box-shadow: 0 0 24px rgba(168, 255, 62, 0.18);
}

.category-card-all {
    background: linear-gradient(145deg, rgba(130, 105, 255, 0.24), rgba(255, 255, 255, 0.04));
}

.category-card-name {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.category-card-meta {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.68);
}

.category-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255, 92, 112, 0.85);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
}

body.is-feed-page .video-feed {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-padding: 0;
    scroll-behavior: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.is-feed-page .video-feed::-webkit-scrollbar {
    display: none;
}

body.is-feed-page .video-card,
body.is-feed-page .ad-card {
    position: relative;
    width: min(500px, 100%);
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    border-top: 0;
    border-bottom: 0;
    scroll-margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #000;
}

body.is-feed-page .ad-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 56px;
}

body.is-feed-page .ad-card > img {
    position: static;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    background: #000;
}

body.is-feed-page .ad-network-slot:empty,
body.is-feed-page .ad-provider-monetag .ad-network-slot {
    display: none;
}

body.is-feed-page .ad-network-slot {
    position: relative;
    z-index: 2;
    padding: 16px 18px;
    background: transparent;
}

body.is-feed-page .ad-copy {
    position: static;
    flex: 0 0 auto;
    z-index: 3;
    padding: 14px 20px calc(24px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(5, 6, 9, 0.98) 0%, rgba(5, 6, 9, 0.72) 100%);
    pointer-events: none;
}

body.is-feed-page .ad-copy a,
body.is-feed-page .ad-copy .button {
    pointer-events: auto;
}

body.is-feed-page .feed-status:only-child,
body.is-feed-page .feed-end {
    height: 100%;
    min-height: 100%;
    scroll-margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

body.is-feed-page .video-media video {
    object-fit: contain;
    background: #000;
    cursor: pointer;
}

body.is-feed-page .video-iframe {
    height: 100%;
    min-height: 0;
}

body.is-feed-page .sound-toggle {
    top: 70px;
    right: 16px;
    z-index: 15;
}

.video-embed-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.video-embed-poster.is-loaded {
    opacity: 0;
}

body.is-feed-page .video-gradient {
    padding: 35% 18px calc(28px + env(safe-area-inset-bottom));
}

body.is-feed-page .site-footer {
    position: fixed;
    right: 16px;
    bottom: 12px;
    z-index: 40;
    margin: 0;
    padding: 6px 12px;
    width: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(8, 10, 15, 0.65);
    backdrop-filter: blur(10px);
    font-size: 0.72rem;
    gap: 12px;
}

body.is-feed-page .site-footer > span {
    display: none;
}

@media (max-width: 760px) {
    body.is-feed-page .site-footer {
        display: none;
    }

    body.is-feed-page .video-card,
    body.is-feed-page .ad-card {
        width: 100%;
        border: 0;
    }

    .category-toggle {
        right: 10px;
        padding: 10px 12px;
    }

    .category-toggle-label {
        display: none;
    }

    .category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
