* {
    box-sizing: border-box;
}

:root {
    --nf-bg: #141414;
    --nf-bg-deep: #0a0b0f;
    --nf-surface: #181818;
    --nf-surface-2: #202020;
    --nf-line: rgba(255, 255, 255, 0.08);
    --nf-line-strong: rgba(255, 255, 255, 0.18);
    --nf-text: #ffffff;
    --nf-muted: #b3b3b3;
    --nf-dim: #808080;
    --nf-red: #e50914;
    --nf-red-soft: #ff5b66;
    --nf-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    --nf-radius: 8px;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(229, 9, 20, 0.14), transparent 28rem),
        linear-gradient(180deg, #090909 0%, #141414 28%, #141414 100%);
    color: var(--nf-text);
    font-family: "Inter", sans-serif;
}

a.sr-only,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: inherit;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

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

.skip-link {
    position: absolute;
    top: 0;
    left: 1rem;
    z-index: 50;
    padding: 0.7rem 1rem;
    transform: translateY(-120%);
    border-radius: 0 0 8px 8px;
    background: #fff;
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-container {
    width: 100%;
    padding-inline: clamp(1rem, 4vw, 4rem);
}

.site-main {
    min-height: 75vh;
    overflow: clip;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48), transparent);
    transition: background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header.is-scrolled {
    border-bottom: 1px solid var(--nf-line);
    background: rgba(20, 20, 20, 0.94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    min-height: 72px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-wordmark {
    display: inline-flex;
    align-items: baseline;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
}

.site-wordmark__circle,
.site-wordmark__nur {
    color: #f3f3f3;
}

.site-wordmark__circle {
    margin-right: 0.38rem;
}

.site-wordmark__flix {
    margin-left: 0.08em;
    background: linear-gradient(180deg, var(--nf-red-soft) 0%, var(--nf-red) 52%, #98010a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.site-nav,
.nav-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.site-nav {
    justify-content: center;
}

.site-nav a,
.nav-search,
.nav-request {
    position: relative;
    padding: 0.55rem 0.78rem;
    border-radius: 9px;
    color: #d4d4d4;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 650;
}

.site-nav a:hover,
.site-nav a.is-active,
.nav-search:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.nav-request {
    background: linear-gradient(135deg, var(--nf-red), #c80711);
    color: #fff;
    box-shadow: 0 12px 26px rgba(229, 9, 20, 0.24);
}

.nav-request:hover {
    background: linear-gradient(135deg, var(--nf-red-soft), var(--nf-red));
}

.discover-hero,
.catalog-hero,
.player-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.2) 72%, rgba(0, 0, 0, 0.82) 100%),
        linear-gradient(0deg, #141414 0%, rgba(20, 20, 20, 0.12) 32%, rgba(20, 20, 20, 0.85) 100%),
        var(--hero-image, none) center/cover no-repeat;
}

.discover-hero {
    min-height: min(84vh, 820px);
    padding: 8.5rem 0 7rem;
}

.catalog-hero {
    min-height: min(52vh, 560px);
    padding: 7.5rem 0 3rem;
}

.catalog-hero--compact {
    min-height: min(42vh, 420px);
}

.player-hero {
    min-height: min(44vh, 420px);
    padding: 6.4rem 0 2.3rem;
}

.discover-hero__veil,
.catalog-hero__backdrop,
.player-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(20, 20, 20, 0.82) 70%, #141414 100%);
}

.discover-hero__inner,
.catalog-hero__content,
.player-hero__inner {
    position: relative;
    z-index: 1;
}

.discover-hero__inner,
.catalog-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    align-items: end;
    gap: 2rem;
}

.discover-hero__copy {
    max-width: 680px;
}

.discover-kicker,
.catalog-hero__kicker,
.player-meta__eyebrow,
.site-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff7e90;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.discover-kicker__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nf-red);
}

.discover-hero h1,
.catalog-hero h1,
.player-hero h1 {
    margin: 0.9rem 0 1rem;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.discover-hero p,
.catalog-hero p,
.player-hero__description,
.status-card p,
.player-note,
.fallback-panel p,
.player-meta__description,
.site-footer__copy {
    color: var(--nf-muted);
    line-height: 1.65;
}

.discover-hero__meta,
.discover-hero__proof,
.catalog-hero__stats,
.chip-row,
.player-meta__stats,
.player-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.discover-hero__meta span,
.discover-hero__proof span,
.catalog-hero__stats span,
.chip,
.player-meta__stats span,
.source-item,
.browse-toolbar__summary span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0.45rem 0.78rem;
    border: 1px solid var(--nf-line);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.26);
    color: #ececec;
    font-size: 0.76rem;
    text-decoration: none;
}

.discover-hero__actions,
.player-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.discover-btn,
.site-footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    font-size: 0.96rem;
    font-weight: 750;
    text-decoration: none;
}

.discover-btn--primary,
.site-footer__cta {
    border: 0;
    background: #fff;
    color: #000;
}

.discover-btn--primary:hover,
.site-footer__cta:hover {
    background: rgba(255, 255, 255, 0.78);
    transform: translateY(-1px);
}

.discover-btn--secondary {
    background: rgba(109, 109, 110, 0.7);
    color: #fff;
}

.discover-btn--secondary:hover {
    background: rgba(109, 109, 110, 0.48);
}

.discover-feature {
    align-self: end;
    justify-self: end;
    width: min(300px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #181818;
    box-shadow: var(--nf-shadow);
    color: inherit;
    text-decoration: none;
}

.discover-feature img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.catalog-hero__poster {
    align-self: end;
    justify-self: end;
    width: min(280px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: #181818;
    box-shadow: var(--nf-shadow);
}

.catalog-hero__poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.discover-feature__body {
    padding: 1rem;
}

.discover-feature__label {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(229, 9, 20, 0.16);
    color: #ff8d9b;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.discover-feature__body strong,
.content-card__body strong,
.discover-category-card strong,
.index-card strong,
.status-card strong,
.source-list strong {
    display: block;
    font-size: 1rem;
    line-height: 1.35;
}

.discover-feature__body small,
.card-meta,
.discover-category-card small,
.discover-category-card span,
.index-card li a,
.player-note,
.source-item small,
.site-footer__links a,
.site-footer__trust span,
.site-footer__bottom,
.pagination span,
.back-link {
    color: var(--nf-muted);
    font-size: 0.78rem;
}

.discover-body,
.page-section {
    padding-bottom: 4rem;
}

.discover-body {
    position: relative;
    z-index: 2;
    margin-top: -4rem;
}

.discover-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    background: rgba(24, 24, 24, 0.92);
}

.discover-nav__label {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.discover-nav__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.discover-nav__links a,
.discover-nav__search {
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    color: var(--nf-muted);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
}

.discover-nav__links a:hover,
.discover-nav__links a.is-active,
.discover-nav__search:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.content-section {
    margin-bottom: 2.6rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.section-header > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.section-title-accent {
    display: inline-flex;
    width: 4px;
    height: 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff6b7e, var(--nf-red));
}

.section-title {
    margin: 0;
    color: #e5e5e5;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.2rem, 1.6vw, 1.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.view-all {
    color: #87d7ff;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
}

.content-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(152px, 190px);
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.75rem 0.15rem 1.2rem;
    scrollbar-width: thin;
}

.content-card {
    color: inherit;
    text-decoration: none;
}

.content-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #222;
}

.content-card__media img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.content-card__badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
    padding: 0.18rem 0.4rem;
    border-radius: 3px;
    background: var(--nf-red);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.content-card__badge--dark {
    background: rgba(0, 0, 0, 0.78);
}

.content-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    opacity: 0;
    transform: translate(-50%, -45%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.content-card__body {
    padding: 0.72rem 0.1rem 0;
}

.card-title {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 650;
}

.card-meta {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.4rem;
}

.card-meta b {
    color: #fff;
}

.content-card:hover .content-card__media img {
    transform: scale(1.04);
    filter: brightness(0.72);
}

.content-card:hover .content-card__play {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.discover-portals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.6rem;
}

.discover-portal,
.discover-category-card,
.index-card,
.status-card,
.player-stage,
.related-panel,
.browse-toolbar {
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    background: #181818;
    box-shadow: var(--nf-shadow);
}

.discover-portal {
    display: grid;
    gap: 0.5rem;
    padding: 1.15rem 1.2rem;
    color: inherit;
    text-decoration: none;
}

.discover-portal__eyebrow {
    color: #ff8897;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.discover-portal strong {
    font-size: 1.2rem;
}

.discover-portal small {
    color: var(--nf-muted);
}

.discover-category-card {
    display: flex;
    min-height: 175px;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.1rem;
    color: inherit;
    text-decoration: none;
}

.discover-category-card span {
    margin-top: auto;
}

.discover-portal:hover,
.discover-category-card:hover,
.index-card:hover,
.source-item:hover,
.pagination a:hover {
    transform: translateY(-2px);
}

.category-grid,
.index-grid,
.browse-grid {
    display: grid;
    gap: 1rem;
}

.category-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.index-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.index-card {
    padding: 1.1rem;
}

.index-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.index-card ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.status-card {
    padding: 1rem 1.1rem;
}

.catalog-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    align-items: end;
    gap: 2rem;
}

.catalog-hero__stats {
    margin-top: 1rem;
}

.catalog-hero__stats strong,
.discover-hero__proof strong {
    color: #fff;
    font-size: 0.94rem;
}

.catalog-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.catalog-section-head span {
    color: #ff8796;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.catalog-section-head h2 {
    margin: 0.25rem 0 0;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    letter-spacing: -0.03em;
}

.catalog-section-head p {
    margin: 0;
    color: var(--nf-muted);
    font-size: 0.9rem;
}

.browse-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
}

.browse-toolbar__summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.browse-toolbar__summary strong {
    color: #fff;
}

.browse-toolbar__summary a,
.pagination a,
.index-card__head a,
.back-link {
    color: #d9e9ff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.browse-grid {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}

.browse-system {
    display: grid;
    gap: 1.25rem;
}

.browse-system__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.browse-system__header h2 {
    margin: 0;
    color: #f4f4f4;
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.05em;
}

.browse-switches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.browse-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #b7bac4;
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
}

.browse-switch.is-active {
    background: #fff;
    color: #111;
}

.filter-system {
    display: grid;
    grid-template-columns: auto repeat(4, minmax(170px, 1fr));
    gap: 0.9rem;
    align-items: center;
}

.filter-system__label {
    color: #c4cad6;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filter-select {
    position: relative;
    display: block;
}

.filter-select::after {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid #cfd4df;
    border-bottom: 2px solid #cfd4df;
    content: "";
    pointer-events: none;
    transform: translateY(-65%) rotate(45deg);
}

.filter-select select {
    width: 100%;
    min-height: 56px;
    padding: 0.9rem 2.8rem 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(37, 37, 49, 0.95), rgba(28, 28, 39, 0.98));
    color: #f6f7fb;
    font-size: 0.95rem;
    font-weight: 650;
    appearance: none;
    outline: none;
}

.filter-select select:focus {
    border-color: rgba(255, 255, 255, 0.28);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.6rem;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.65rem 1rem;
    border: 1px solid var(--nf-line);
    border-radius: 6px;
    background: #181818;
}

.player-page {
    min-height: 100vh;
    background: radial-gradient(circle at top center, rgba(229, 9, 20, 0.1), transparent 26rem), #0b0b0b;
}

.player-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.2rem;
    align-items: start;
}

.player-layout__main,
.player-layout__sidebar {
    min-width: 0;
}

.player-stage {
    padding: 0.7rem;
    background: #000;
}

.player-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    background: #000;
}

.player-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 6px;
    background: #000;
}

.player-stage__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.player-note {
    margin: 0.85rem 0 0;
}

.fallback-panel {
    min-height: min(52vw, 480px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 1.4rem;
    padding: 1rem;
}

.fallback-panel__copy {
    max-width: 580px;
}

.fallback-panel__card {
    overflow: hidden;
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    background: #161616;
    box-shadow: var(--nf-shadow);
}

.fallback-panel__card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.fallback-panel__meta {
    padding: 0.95rem;
}

.fallback-panel__meta span,
.fallback-panel__meta small {
    display: block;
    margin-top: 0.35rem;
    color: var(--nf-muted);
    font-size: 0.76rem;
}

.fallback-panel__meta b {
    color: #fff;
}

.player-meta {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1rem;
    margin-top: 0.9rem;
    padding: 0.75rem 0 0;
}

.player-meta__poster {
    overflow: hidden;
    border: 1px solid var(--nf-line);
    border-radius: 6px;
    background: #111;
}

.player-meta__poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.player-meta__content h2 {
    margin: 0.28rem 0 0.6rem;
    font-family: "Outfit", sans-serif;
    font-size: 1.8rem;
    letter-spacing: -0.03em;
}

.player-meta__description {
    margin: 0.8rem 0;
}

.related-panel {
    position: sticky;
    top: 5.4rem;
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.source-list {
    display: grid;
    gap: 0.65rem;
}

.source-item {
    flex-direction: column;
    align-items: start;
    min-height: unset;
    padding: 0.85rem 0.9rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.source-item--active {
    border-color: rgba(229, 9, 20, 0.38);
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.16), rgba(255, 255, 255, 0.03));
}

.source-item span {
    font-size: 0.82rem;
    font-weight: 700;
}

.sidebar-card {
    border: 1px solid var(--nf-line);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    box-shadow: var(--nf-shadow);
}

.sidebar-card--primary {
    overflow: hidden;
}

.sidebar-card__poster {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.sidebar-card__body,
.sidebar-card:not(.sidebar-card--primary) {
    padding: 1rem;
}

.sidebar-card__body strong,
.sidebar-card__section-head strong {
    display: block;
    color: #fff;
    font-size: 1rem;
}

.sidebar-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.sidebar-card__stats span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.38rem 0.7rem;
    border: 1px solid var(--nf-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #efefef;
    font-size: 0.72rem;
}

.sidebar-card__actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.sidebar-card__actions .discover-btn {
    width: 100%;
}

.sidebar-card__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.sidebar-card__section-head small,
.sidebar-card__text {
    color: var(--nf-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.player-more {
    margin-top: 2rem;
}

.player-more__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.player-more__header span {
    color: #ff8597;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.player-more__header h2 {
    margin: 0.28rem 0 0;
    font-family: "Outfit", sans-serif;
    font-size: 1.35rem;
}

.player-more__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem 0.8rem;
}

.player-more__card {
    color: inherit;
    text-decoration: none;
}

.player-more__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--nf-line);
    border-radius: 6px;
    background: #181818;
}

.player-more__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-more__media b {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    padding: 0.12rem 0.3rem;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 0.58rem;
}

.player-more__card strong {
    display: block;
    margin-top: 0.55rem;
    color: #fff;
    font-size: 0.82rem;
}

.embed-player-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top center, rgba(229, 9, 20, 0.16), transparent 20rem),
        #000;
    color: #fff;
    font-family: "Inter", sans-serif;
}

.embed-player-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr;
}

.embed-player-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.92);
}

.embed-player-bar__copy strong,
.embed-player-empty strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
}

.embed-player-bar__copy span,
.embed-player-note,
.embed-player-empty p {
    color: #b7b7b7;
    font-size: 0.82rem;
}

.embed-player-bar__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.embed-player-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.embed-player-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.embed-player-button--link {
    background: linear-gradient(135deg, var(--nf-red), #c80711);
    border-color: transparent;
}

.embed-player-stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    min-height: calc(100vh - 74px);
    padding: clamp(0.75rem, 2vw, 1.1rem);
}

.embed-player-frame {
    position: relative;
}

.embed-player-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: min(72vh, calc(100vh - 150px));
    max-height: calc(100vh - 120px);
    border-radius: 10px;
    background: #000;
    object-fit: contain;
}

.embed-player-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 150px;
    min-height: 50px;
    padding: 0.9rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--nf-red), #c80711);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 18px 38px rgba(229, 9, 20, 0.32);
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.embed-player-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.embed-player-empty {
    max-width: 460px;
    margin: auto;
    text-align: center;
}

.site-footer {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at 8% 18%, rgba(229, 9, 47, 0.12), transparent 28rem), linear-gradient(180deg, #0f0f0f 0%, #090909 100%);
    color: #8f99a8;
}

.site-footer__feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__feature h2 {
    margin: 0.35rem 0 0;
    color: #f7f8fb;
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.site-footer__feature p {
    max-width: 680px;
    margin: 0.7rem 0 0;
    color: #9da8b8;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: 2.6rem 0 2rem;
}

.site-footer__brand {
    display: inline-flex;
    margin-bottom: 1rem;
    text-decoration: none;
}

.site-footer__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer__trust span {
    padding-inline: 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.site-footer__heading {
    margin: 0 0 1rem;
    color: #f0f2f6;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer__nav {
    min-width: 0;
}

.site-footer__links {
    display: grid;
    gap: 0.4rem;
}

.site-footer__links a {
    text-decoration: none;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
    .nav-shell,
    .discover-hero__inner,
    .catalog-hero__content,
    .player-layout,
    .site-footer__feature,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .catalog-hero__poster,
    .discover-feature {
        justify-self: start;
    }

    .related-panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .nav-shell {
        gap: 0.8rem;
        padding: 0.65rem 0;
    }

    .site-nav,
    .nav-actions,
    .site-footer__bottom {
        justify-content: flex-start;
    }

    .discover-hero,
    .catalog-hero,
    .player-hero {
        min-height: auto;
        padding-top: 6.2rem;
    }

    .discover-hero__inner,
    .catalog-hero__content {
        gap: 1.4rem;
    }

    .discover-hero h1,
    .catalog-hero h1,
    .player-hero h1 {
        font-size: clamp(2.2rem, 11vw, 3.7rem);
    }

    .discover-body {
        margin-top: -2rem;
    }

    .discover-nav,
    .discover-portals,
    .site-footer__feature,
    .site-footer__grid,
    .site-footer__bottom {
        gap: 1rem;
    }

    .discover-nav,
    .site-footer__feature,
    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .content-rail {
        grid-auto-columns: minmax(136px, 162px);
    }

    .category-grid,
    .index-grid,
    .browse-grid,
    .player-more__grid,
    .discover-portals {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-system {
        grid-template-columns: 1fr;
    }

    .browse-system__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .player-meta {
        grid-template-columns: 1fr;
    }

    .player-meta__poster {
        display: none;
    }

    .fallback-panel {
        grid-template-columns: 1fr;
    }

    .embed-player-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .embed-player-bar__actions {
        justify-content: flex-start;
    }

    .embed-player-stage {
        min-height: calc(100vh - 120px);
    }

    .embed-player-video {
        min-height: 48vw;
    }
}

@media (max-width: 520px) {
    .category-grid,
    .index-grid,
    .browse-grid,
    .player-more__grid,
    .discover-portals {
        grid-template-columns: 1fr;
    }
}
