/* ==========================================================================
   CoyCams - dark, modern theme
   ========================================================================== */

:root {
    --bg: #0b0d12;
    --bg-soft: #0f1219;
    --surface: #12151d;
    --surface-2: #171b25;
    --surface-3: #1e2330;
    --border: #242a3a;
    --border-strong: #303850;
    --text: #e9edf6;
    --text-soft: #c3c9d8;
    --muted: #8e97ab;
    --accent: #ff2e77;
    --accent-2: #7b5cff;
    --accent-3: #22d3ee;
    --success: #22c55e;
    --gradient: linear-gradient(135deg, #ff2e77 0%, #7b5cff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(255, 46, 119, .18), rgba(123, 92, 255, .18));
    --radius-lg: 18px;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --shadow: 0 18px 40px rgba(0, 0, 0, .45);
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, .28);
    --container: 1440px;
    --header-h: 66px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(1100px 500px at 12% -12%, rgba(123, 92, 255, .16), transparent 60%),
        radial-gradient(900px 460px at 88% -8%, rgba(255, 46, 119, .13), transparent 62%),
        var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.2;
    letter-spacing: -.02em;
}

p {
    margin: 0;
}

ul, ol, dl, dd {
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

::selection {
    background: rgba(255, 46, 119, .35);
}

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 22px;
}

.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;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    transition: top .18s ease;
}

.skip-link:focus {
    top: 12px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: rgba(11, 13, 18, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    font-weight: 800;
    letter-spacing: -.03em;
}

.brand img {
    width: 34px;
    height: 34px;
}

.brand-name {
    font-size: 19px;
    background: linear-gradient(120deg, #fff 20%, #ffb3ce 60%, #b9a4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
    transition: background .16s ease, color .16s ease;
}

.main-nav a:hover {
    background: var(--surface-2);
    color: var(--text);
}

.main-nav a.is-active {
    background: var(--gradient-soft);
    color: #fff;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
    width: min(300px, 32vw);
}

.header-search input {
    width: 100%;
    height: 40px;
    padding: 0 42px 0 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.header-search input::placeholder {
    color: var(--muted);
}

.header-search input:focus {
    outline: none;
    border-color: rgba(123, 92, 255, .7);
    box-shadow: 0 0 0 3px rgba(123, 92, 255, .18);
}

.header-search button {
    position: absolute;
    right: 5px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.header-search button:hover {
    color: #fff;
    background: var(--surface-3);
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 8px 22px rgba(255, 46, 119, .25);
}

.btn-primary:hover {
    box-shadow: 0 12px 28px rgba(255, 46, 119, .35);
}

.btn-ghost {
    background: var(--surface-2);
    border-color: var(--border);
    color: var(--text-soft);
}

.btn-ghost:hover {
    border-color: var(--border-strong);
    color: #fff;
}

.btn-lg {
    min-height: 48px;
    padding: 12px 26px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Registration CTA
   -------------------------------------------------------------------------- */

.cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 22px;
    border: 0;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #ff2e77 0%, #ff7a2f 100%);
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -.01em;
    white-space: nowrap;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 10px 26px rgba(255, 78, 74, .32), inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    animation: cta-sheen 4.2s ease-in-out infinite;
}

@keyframes cta-sheen {
    0%, 72% { left: -60%; }
    100% { left: 130%; }
}

.cta:hover {
    transform: translateY(-1px);
    filter: saturate(1.08);
    box-shadow: 0 14px 32px rgba(255, 78, 74, .42), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.cta:active {
    transform: translateY(0);
}

.cta-dot {
    position: relative;
    z-index: 1;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .55);
    animation: cta-pulse 2.2s infinite;
}

@keyframes cta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
    70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.cta-label,
.cta-arrow {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    transition: transform .16s ease;
}

.cta:hover .cta-arrow {
    transform: translateX(3px);
}

.cta-header {
    padding: 9px 16px;
    font-size: 13.5px;
}

.cta-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.cta-hero-btn {
    padding: 14px 32px;
    font-size: 16px;
}

.cta.cta-lg {
    padding: 13px 28px;
    font-size: 15.5px;
}

.cta-note {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

.cta-band {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(100deg, rgba(255, 46, 119, .18), rgba(123, 92, 255, .12) 55%, rgba(255, 122, 47, .16));
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.cta-band-title {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.cta-band-note {
    margin-top: 3px;
    color: var(--text-soft);
    font-size: 13px;
}

.cta-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: none;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(11, 13, 18, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .45);
}

.cta-sticky-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cta-sticky .cta-btn {
    width: 100%;
    min-height: 46px;
    font-size: 15px;
}

.cta-sticky-note {
    color: var(--muted);
    font-size: 10.5px;
    letter-spacing: .02em;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 42px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(640px 300px at 50% -10%, rgba(123, 92, 255, .22), transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 900px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px;
    border: 1px solid rgba(34, 197, 94, .3);
    border-radius: var(--radius-pill);
    background: rgba(34, 197, 94, .1);
    color: #b6f6ca;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.live-dot {
    position: relative;
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .7);
    animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .65); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero h1 {
    margin: 20px 0 16px;
    font-size: clamp(34px, 5.2vw, 58px);
    font-weight: 800;
    background: linear-gradient(120deg, #ffffff 25%, #ffc2d8 62%, #b7a6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 16.5px;
}

.hero-search {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin: 30px auto 0;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(23, 27, 37, .9);
    box-shadow: var(--shadow-soft);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 15px;
}

.hero-search input:focus {
    outline: none;
}

.hero-search input::placeholder {
    color: var(--muted);
}

.hero-search .btn {
    min-height: 46px;
    padding-inline: 26px;
}

.hero-stats {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.hero-stats div {
    min-width: 128px;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(18, 21, 29, .7);
}

.hero-stats dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hero-stats dd {
    margin-top: 3px;
    font-size: 21px;
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   Sections, chips
   -------------------------------------------------------------------------- */

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

.section-head h2 {
    font-size: 21px;
}

.section-head p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
}

.section-link {
    flex: 0 0 auto;
    color: #c9b6ff;
    font-size: 14px;
    font-weight: 600;
}

.section-link:hover {
    color: #fff;
}

.categories-section {
    padding: 18px 22px 34px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
}

.chip:hover {
    transform: translateY(-1px);
    border-color: rgba(123, 92, 255, .55);
    background: var(--surface-3);
    color: #fff;
}

.chip-count {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
}

.chips-tight {
    gap: 7px;
}

.chips-tight .chip {
    padding: 5px 11px;
    font-size: 12.5px;
}

/* --------------------------------------------------------------------------
   Category index
   -------------------------------------------------------------------------- */

.categories-index {
    padding-bottom: 54px;
}

.letter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.letter-nav a {
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 12.5px;
    font-weight: 700;
}

.letter-nav a:hover {
    border-color: rgba(123, 92, 255, .55);
    background: var(--surface-3);
    color: #fff;
}

.category-groups {
    display: grid;
    gap: 26px;
}

.category-group {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.category-group h2 {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Listing layout + filters
   -------------------------------------------------------------------------- */

.listing-layout {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding-top: 10px;
    padding-bottom: 54px;
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.filters-panel {
    position: sticky;
    top: calc(var(--header-h) + 18px);
    z-index: 30;
}

.filters {
    max-height: calc(100vh - var(--header-h) - 36px);
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(18, 21, 29, .88);
    box-shadow: var(--shadow-soft);
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

.filters-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.filters-head h2 {
    font-size: 15px;
    font-weight: 700;
}

.count-badge {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    margin-left: 4px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: var(--gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.filters-reset {
    margin-left: auto;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

.filters-reset:hover {
    color: var(--accent);
}

.filters-close {
    display: none;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.filters-body {
    display: grid;
    gap: 18px;
    padding: 16px;
}

.filter-group {
    min-width: 0;
    border: 0;
    padding: 0;
    margin: 0;
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.filter-group select,
.filter-group input[type="number"] {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text);
    font-size: 13.5px;
}

.filter-group select[multiple] {
    height: auto;
    min-height: 132px;
    padding: 6px;
}

.filter-group select:focus,
.filter-group input[type="number"]:focus {
    outline: none;
    border-color: rgba(123, 92, 255, .65);
}

.filter-group option {
    padding: 5px 6px;
    border-radius: 6px;
}

.filter-hint {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11.5px;
}

.pill-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.pill input,
.toggle input,
.check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pill span {
    display: block;
    padding: 8px 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.pill input:checked + span {
    border-color: transparent;
    background: var(--gradient);
    color: #fff;
}

.pill input:focus-visible + span {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

.filter-toggles {
    display: grid;
    gap: 8px;
}

.toggle,
.check {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-soft);
    font-size: 13.5px;
    cursor: pointer;
}

.toggle::before,
.check::before {
    content: "";
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    border: 1px solid var(--border-strong);
    border-radius: 5px;
    background: var(--surface-2);
    transition: background .15s ease, border-color .15s ease;
}

.toggle input:checked ~ span,
.check input:checked ~ span {
    color: #fff;
}

.toggle input:checked + span::before,
.check input:checked + span::before {
    content: none;
}

.toggle:has(input:checked)::before,
.check:has(input:checked)::before {
    border-color: transparent;
    background: var(--gradient);
    box-shadow: inset 0 0 0 2px var(--surface);
}

.check-list {
    display: grid;
    gap: 8px;
}

.range-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-row span {
    color: var(--muted);
    font-size: 12px;
}

.filters-actions {
    display: grid;
    gap: 8px;
    padding: 0 16px 16px;
}

.filters-backdrop {
    display: none;
}

/* --------------------------------------------------------------------------
   Model grid + cards
   -------------------------------------------------------------------------- */

.listing-main {
    min-width: 0;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
    gap: 16px;
}

.model-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.model-card:hover {
    transform: translateY(-3px);
    border-color: rgba(123, 92, 255, .45);
    box-shadow: var(--shadow);
}

.card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-3);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, opacity .2s ease;
}

.model-card:hover .card-media img {
    transform: scale(1.055);
}

.card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 14, 0) 42%, rgba(8, 10, 14, .78) 100%);
    pointer-events: none;
}

.card-status {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.status-online {
    background: rgba(34, 197, 94, .18);
    color: #a7f3c1;
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .4);
}

.status-offline {
    background: rgba(148, 163, 184, .16);
    color: #cbd5e1;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .3);
}

.card-badge {
    position: absolute;
    top: 9px;
    z-index: 2;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}

.badge-hd {
    right: 9px;
    background: rgba(34, 211, 238, .16);
    color: #a5f3fc;
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .45);
}

.badge-new {
    right: 9px;
    top: 34px;
    background: rgba(255, 46, 119, .18);
    color: #ffc2d8;
    box-shadow: inset 0 0 0 1px rgba(255, 46, 119, .45);
}

.card-media .badge-hd + .badge-new {
    top: 34px;
}

.card-badge.badge-new:first-of-type {
    top: 9px;
}

.card-viewers {
    position: absolute;
    left: 10px;
    bottom: 9px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f2f5fb;
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .7);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 11px 12px 13px;
}

.card-title {
    font-size: 14.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-title a:hover {
    color: #ffc2d8;
}

.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 11.5px;
}

.meta-country {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 1px;
}

.card-tags a {
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    color: var(--text-soft);
    font-size: 10.5px;
    font-weight: 600;
}

.card-tags a:hover {
    background: var(--surface-3);
    color: #fff;
}

.grid-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 13.5px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.grid-sentinel {
    height: 1px;
    margin-top: 8px;
}

.empty-state {
    padding: 46px 22px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
}

.empty-state h2 {
    font-size: 20px;
}

.empty-state p {
    margin: 8px auto 18px;
    max-width: 420px;
    color: var(--muted);
    font-size: 14px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.page-link:hover {
    border-color: var(--border-strong);
    background: var(--surface-2);
    color: #fff;
}

.page-link.is-current {
    border-color: transparent;
    background: var(--gradient);
    color: #fff;
}

.page-link.is-disabled {
    opacity: .4;
}

.page-gap {
    padding: 0 4px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Page head / breadcrumbs
   -------------------------------------------------------------------------- */

.page-head {
    padding-top: 30px;
    padding-bottom: 22px;
}

.page-head h1 {
    margin-top: 12px;
    font-size: clamp(26px, 3.4vw, 38px);
}

.page-intro {
    max-width: 860px;
    margin-top: 12px;
    color: var(--text-soft);
    font-size: 14.5px;
}

.page-intro p + p {
    margin-top: 8px;
}

.page-intro a {
    color: #c9b6ff;
    text-decoration: underline;
}

.result-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.breadcrumbs {
    font-size: 12.5px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 7px;
    color: var(--border-strong);
}

.breadcrumbs a {
    color: var(--muted);
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs span {
    color: var(--text-soft);
}

.related-tags {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.related-tags h2 {
    margin-bottom: 14px;
    font-size: 18px;
}

/* --------------------------------------------------------------------------
   Model page
   -------------------------------------------------------------------------- */

.model-page {
    padding-top: 26px;
    padding-bottom: 56px;
}

.model-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin: 18px 0 22px;
}

.model-title h1 {
    font-size: clamp(27px, 3.8vw, 40px);
}

.model-username {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.model-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
}

.status-pill,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
}

.status-pill.is-live {
    border-color: rgba(34, 197, 94, .4);
    background: rgba(34, 197, 94, .12);
    color: #b6f6ca;
}

.status-pill.is-offline {
    color: var(--muted);
}

.badge-hd {
    border-color: rgba(34, 211, 238, .4);
    background: rgba(34, 211, 238, .12);
    color: #a5f3fc;
}

.badge-new {
    border-color: rgba(255, 46, 119, .4);
    background: rgba(255, 46, 119, .12);
    color: #ffc2d8;
}

.model-header-actions {
    flex: 0 0 auto;
    padding-top: 6px;
}

.model-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    align-items: start;
}

.player-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #05060a;
    box-shadow: var(--shadow);
}

.player-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.player-fallback {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.player-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .74;
}

.player-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 34px rgba(255, 46, 119, .4);
}

.player-cta {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: rgba(8, 10, 14, .75);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.player-fallback:hover .player-play {
    transform: translate(-50%, -50%) scale(1.05);
}

.model-subject {
    margin-top: 16px;
    color: var(--text-soft);
    font-size: 15px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.stat-grid div {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.stat-grid dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.stat-grid dd {
    margin-top: 3px;
    font-size: 17px;
    font-weight: 700;
}

.model-section {
    margin-top: 26px;
}

.model-section h2,
.model-sidebar h2 {
    margin-bottom: 12px;
    font-size: 17px;
}

.model-languages {
    color: var(--text-soft);
}

.model-sidebar {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.detail-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
    list-style: none;
}

.detail-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.detail-list li:last-child {
    border-bottom: 0;
}

.detail-list span {
    color: var(--muted);
}

.detail-list strong {
    text-align: right;
    font-weight: 600;
}

.sidebar-note {
    margin-top: 10px;
    color: var(--muted);
    font-size: 11.5px;
    text-align: center;
}

.related-models {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */

.error-page {
    max-width: 640px;
    padding-top: 80px;
    padding-bottom: 100px;
    text-align: center;
}

.error-code {
    font-size: clamp(64px, 12vw, 120px);
    font-weight: 800;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-page h1 {
    margin: 10px 0 12px;
    font-size: 30px;
}

.error-message {
    color: var(--muted);
}

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: rgba(9, 11, 15, .75);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, 1.2fr);
    gap: 34px;
    padding-top: 40px;
    padding-bottom: 32px;
}

.footer-brand p {
    max-width: 380px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.footer-legal {
    font-size: 12px !important;
}

.footer-heading {
    margin-bottom: 12px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 22px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .model-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .main-nav a {
        padding: 8px 9px;
        font-size: 13px;
    }
}

@media (max-width: 960px) {
    .main-nav {
        display: none;
    }

    .filter-toggle {
        display: inline-flex;
    }

    .listing-layout,
    .model-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .filters-panel {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 150;
        width: min(340px, 88vw);
        padding: 12px;
        transform: translateX(-102%);
        transition: transform .22s ease;
    }

    body.filters-open .filters-panel {
        transform: translateX(0);
    }

    .filters {
        max-height: 100%;
        height: 100%;
    }

    .filters-close {
        display: block;
    }

    .filters-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: -1;
        background: rgba(3, 4, 8, .65);
        backdrop-filter: blur(2px);
    }

    .model-sidebar {
        order: 2;
    }

    .model-header {
        flex-direction: column;
    }

    .model-header-actions {
        width: 100%;
    }

    .model-header-actions .btn {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .header-search {
        width: auto;
        flex: 1;
        min-width: 0;
    }

    .header-search input {
        padding-left: 12px;
        font-size: 13px;
    }

    .filter-toggle span {
        display: none;
    }

    .filter-toggle {
        padding: 0 11px;
    }

    .hero {
        padding: 22px 0 16px;
    }

    .eyebrow {
        padding: 4px 10px;
        font-size: 10.5px;
    }

    .hero h1 {
        margin: 10px 0 0;
        font-size: clamp(23px, 6.4vw, 30px);
    }

    .hero-lead {
        display: none;
    }

    .hero-search {
        flex-direction: row;
        gap: 8px;
        margin-top: 14px;
        padding: 5px;
        border-radius: var(--radius-pill);
    }

    .hero-search input {
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }

    .hero-search .btn {
        width: auto;
        min-height: 40px;
        padding-inline: 18px;
    }

    .hero-stats {
        display: flex;
        width: 100%;
        gap: 8px;
        margin-top: 14px;
    }

    .hero-stats div {
        flex: 1 1 0;
        min-width: 0;
        padding: 6px 6px;
        border-radius: var(--radius-sm);
    }

    .hero-stats dt {
        font-size: 9.5px;
        letter-spacing: .03em;
    }

    .hero-stats dd {
        margin-top: 1px;
        font-size: 14px;
    }

    .categories-section.container {
        padding: 4px 14px 18px;
    }

    .categories-section .section-head {
        align-items: center;
        margin-bottom: 10px;
    }

    .categories-section .section-head h2 {
        font-size: 16px;
    }

    .categories-section .section-head p {
        display: none;
    }

    .categories-section .chips {
        flex-wrap: nowrap;
        gap: 7px;
        padding-bottom: 4px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .categories-section .chips::-webkit-scrollbar {
        display: none;
    }

    .categories-section .chip {
        flex: 0 0 auto;
        padding: 5px 11px;
        font-size: 12px;
    }

    .page-head.container {
        padding-top: 18px;
        padding-bottom: 12px;
    }

    .page-head h1 {
        margin-top: 8px;
        font-size: 24px;
    }

    .container {
        padding: 0 14px;
    }

    .model-grid {
        grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
        gap: 11px;
    }

    .card-body {
        padding: 9px 10px 11px;
    }

    .card-tags {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }

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

@media (max-width: 420px) {
    .brand-name {
        font-size: 16px;
    }

    .brand img {
        width: 28px;
        height: 28px;
    }

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

    .page-link {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
    }
}

@media (max-width: 960px) {
    .header-inner {
        gap: 12px;
    }

    .cta-header {
        padding: 8px 14px;
    }
}

@media (max-width: 720px) {
    .header-inner {
        gap: 8px;
    }

    .cta-header {
        padding: 8px 13px;
        font-size: 13px;
    }

    .cta-header .cta-dot {
        display: none;
    }

    /* The sticky bottom bar carries the CTA on phones - keep the hero compact. */
    .cta-hero {
        display: none;
    }

    .cta-band-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .cta-band-title {
        font-size: 17px;
    }

    .cta-band .cta-btn {
        width: 100%;
    }

    .cta-sticky {
        display: block;
    }

    body.has-cta {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    body.filters-open .cta-sticky {
        display: none;
    }
}

@media (max-width: 420px) {
    .cta-header {
        gap: 6px;
        padding: 7px 11px;
        font-size: 12.5px;
    }

    .cta-header .cta-arrow {
        display: none;
    }
}

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