:root {
  color-scheme: dark;
  --bg: #0d0f14;
  --surface: #14171e;
  --surface-2: #1a1e27;
  --surface-3: #222733;
  --line: rgba(255, 255, 255, .08);
  --text: #f5f7fb;
  --muted: #9299a8;
  --red: #f11322;
  --red-dark: #c80d18;
  --yellow: #ffd031;
  --content: 1280px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(241, 19, 34, .08), transparent 28rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.age-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.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: fixed; left: 16px; top: -80px; z-index: 200; padding: 10px 14px; background: var(--red); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.anchor { position: absolute; top: -80px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 20, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-inner {
  width: min(calc(100% - 32px), var(--content));
  height: 66px; margin: 0 auto;
  display: flex; align-items: center; gap: 38px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 850; letter-spacing: -.8px; }
.logo > span:last-child > span { color: var(--red); }
.logo-mark {
  display: grid; place-items: center; width: 32px; height: 32px;
  padding-left: 2px; color: white; background: var(--red); border-radius: 9px;
  box-shadow: 0 7px 24px rgba(241, 19, 34, .24); font-size: 12px;
}
.desktop-nav { display: flex; align-items: stretch; gap: 28px; height: 100%; }
.desktop-nav a { position: relative; display: grid; place-items: center; color: #aeb4c0; font-size: 13px; }
.desktop-nav a:hover, .desktop-nav a.active { color: white; }
.desktop-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-select select {
  padding: 8px 27px 8px 10px; color: #c2c6ce; border: 1px solid transparent; background: transparent;
  border-radius: 8px; font-size: 12px; cursor: pointer;
}
.outline-button { padding: 8px 14px; color: #fff; border: 1px solid #3a404c; border-radius: 9px; font-size: 12px; transition: .2s ease; }
.outline-button:hover { border-color: var(--red); background: rgba(241, 19, 34, .08); }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); cursor: pointer; }
.mobile-tabs, .mobile-search { display: none; }

.site-main { position: relative; }
.top-zone { position: relative; width: min(calc(100% - 32px), var(--content)); margin: 0 auto; padding-top: 8px; }
.online-pill {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-bottom: 8px;
  padding: 5px 12px; color: #d6ffe4; background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .35); border-radius: 999px; font-size: 12px; line-height: 1.2;
}
.online-dot { flex: 0 0 auto; width: 7px; height: 7px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); animation: online-pulse 1.6s infinite; }
.online-text { color: #9fe6b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.online-number { color: #4ade80; font-size: 13px; font-variant-numeric: tabular-nums; transition: color .3s; }
@keyframes online-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .52); } 50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); } }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading h1, .section-heading h2 { margin: 4px 0 0; font-size: 24px; line-height: 1.1; letter-spacing: -.7px; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.3px; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border: 2px solid var(--red); border-radius: 50%; }
.free-zone { margin: 4px 0 14px; }
.fz-head { padding: 0 2px 8px; }
.fz-title-wrap { display: flex; align-items: center; gap: 8px; }
.fz-badge { font-size: 16px; }
.fz-title { margin: 0; color: #ffd400; font-size: 17px; font-weight: 800; letter-spacing: .3px; }
.fz-countdown { margin-left: auto; padding: 2px 8px; color: #ffb300; background: rgba(255, 193, 7, .12); border: 1px solid rgba(255, 193, 7, .3); border-radius: 999px; font-size: 12px; font-variant-numeric: tabular-nums; }
.fz-sub { margin: 4px 0 0; color: #9aa0a6; font-size: 12px; }
.fz-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.fz-card { display: block; min-width: 0; color: inherit; text-decoration: none; }
.fz-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; background: #1a1d24; border-radius: 10px; }
.fz-cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.fz-tag { position: absolute; z-index: 3; top: 6px; left: 6px; padding: 1px 6px; color: #1a1400; background: linear-gradient(135deg, #fff3b0, #ffcc00); border-radius: 999px; font-size: 10px; font-weight: 700; }
.fz-name { display: -webkit-box; margin-top: 4px; overflow: hidden; color: #d7dbe2; font-size: 11.5px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mini-meta { display: flex; gap: 6px; align-items: center; margin-top: 6px; color: #d8dbe2; font-size: 9px; }
.free-badge { padding: 2px 6px; color: #241d00; background: var(--yellow); border-radius: 999px; font-weight: 800; }

.hero { margin: 58px 0; padding: 50px 54px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background:
  radial-gradient(circle at 88% 50%, rgba(241, 19, 34, .3), transparent 22%),
  radial-gradient(circle at 77% 18%, rgba(255, 208, 49, .11), transparent 19%),
  linear-gradient(125deg, #171a22 0%, #111318 62%, #1c0c10 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}
.hero h2 { margin: 8px 0 12px; font-size: clamp(34px, 4.2vw, 58px); letter-spacing: -3px; line-height: .98; }
.hero h2 .hero-accent { color: var(--red); }
.hero > p:not(.eyebrow) { max-width: 540px; color: #a8aeb9; font-size: 14px; }
.hero-search { display: flex; align-items: center; width: min(100%, 560px); height: 48px; margin-top: 28px; padding-left: 16px; border: 1px solid #373d48; border-radius: 12px; background: rgba(11, 13, 18, .8); }
.hero-search > span { color: #858c99; font-size: 20px; }
.hero-search input { min-width: 0; flex: 1; height: 100%; padding: 0 12px; color: white; background: transparent; border: 0; outline: 0; font-size: 13px; }
.hero-search button { height: calc(100% - 8px); margin-right: 4px; padding: 0 24px; border: 0; border-radius: 9px; color: white; background: var(--red); cursor: pointer; font-size: 12px; font-weight: 700; }
.hero-search button:hover { background: #ff2937; }
.hero-stats { display: flex; gap: 22px; margin-top: 24px; color: #777f8d; font-size: 10px; }
.hero-stats strong { color: #e9ebef; }

.content-section, .category-bar { width: min(calc(100% - 32px), var(--content)); margin: 0 auto; }
.featured-section { padding-top: 8px; }
.scroll-controls { display: flex; gap: 7px; }
.scroll-controls button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); cursor: pointer; }
.scroll-controls button:hover { background: var(--surface-3); }
.featured-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 31.7%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.featured-strip::-webkit-scrollbar, .category-bar::-webkit-scrollbar { display: none; }
.featured-card { position: relative; height: 170px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; scroll-snap-align: start; background: var(--surface); }
.featured-visual { position: absolute; inset: 0; }
.featured-cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.featured-info { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 13px; }
.featured-info h3 { margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.featured-info .mini-meta { font-size: 10px; }
.app-badge { position: absolute; z-index: 3; top: 9px; right: 9px; padding: 3px 7px; border-radius: 999px; background: var(--red); font-size: 8px; font-weight: 800; }

.category-bar { display: flex; gap: 8px; margin-top: 26px; padding: 18px 0; overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.category-pill { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: #a5acb8; background: var(--surface); cursor: pointer; font-size: 11px; transition: .2s ease; }
.category-pill:hover, .category-pill.active { color: white; border-color: rgba(241, 19, 34, .45); background: rgba(241, 19, 34, .12); }
.category-pill.more { margin-left: auto; }

.fresh-section { padding: 34px 0 66px; }
.result-count { margin: 0; color: var(--muted); font-size: 11px; }
.video-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 12px; }
.video-card { min-width: 0; }
.video-card[hidden] { display: none; }
.card-thumb { position: relative; aspect-ratio: 4 / 5.55; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); transition: transform .22s ease, border-color .22s ease; }
.card-cover { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.video-card:hover .card-thumb { transform: translateY(-3px); border-color: rgba(255,255,255,.2); }
.visual { overflow: hidden; background: linear-gradient(145deg, #2d3340, #151820); }
.visual::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; left: 14%; top: 15%; border-radius: 42% 58% 57% 43%; background: rgba(255,255,255,.13); filter: blur(1px); box-shadow: 55px 90px 0 -18px rgba(255,255,255,.08), -40px 115px 0 -25px rgba(255,255,255,.1); transform: rotate(-17deg); }
.visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.32)); }
.theme-1 { background: linear-gradient(145deg, #636878, #272b35 55%, #17191f); }
.theme-2 { background: linear-gradient(145deg, #765b58, #4a2d32 54%, #1c171b); }
.theme-3 { background: linear-gradient(145deg, #5e6a59, #273d37 57%, #151c1a); }
.theme-4 { background: linear-gradient(145deg, #84705b, #43352d 55%, #1b1815); }
.theme-5 { background: linear-gradient(145deg, #546376, #273344 55%, #141920); }
.theme-6 { background: linear-gradient(145deg, #6d5878, #3e2949 58%, #19141d); }
.theme-7 { background: linear-gradient(145deg, #775b67, #4b3039 56%, #1d1619); }
.theme-8 { background: linear-gradient(145deg, #5e7878, #2e4549 58%, #151d20); }
.card-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 42px; height: 42px; display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; background: rgba(8,9,12,.32); opacity: 0; transform: translate(-50%, -45%) scale(.8); transition: .2s ease; backdrop-filter: blur(4px); }
.video-card:hover .card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.duration { position: absolute; z-index: 2; right: 7px; bottom: 7px; padding: 3px 5px; border-radius: 5px; background: rgba(0,0,0,.68); font-size: 8px; }
.managed-badge { position: absolute; z-index: 3; top: 8px; right: 8px; padding: 4px 7px; border-radius: 999px; color: #fff; background: var(--red); font-size: 8px; font-weight: 850; letter-spacing: .5px; }
.video-card h3 { margin: 8px 0 6px; min-height: 31px; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 11px; line-height: 1.4; font-weight: 580; }
.card-meta { display: flex; gap: 7px; align-items: center; color: #777f8c; font-size: 9px; }
.card-meta .dot { width: 2px; height: 2px; border-radius: 50%; background: #59606c; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }
.empty-state > span { font-size: 30px; }
.empty-state h3 { margin: 10px 0 4px; color: white; }
.empty-state p { margin: 0 0 18px; font-size: 12px; }
.empty-state button { padding: 8px 14px; border: 0; border-radius: 8px; background: var(--red); cursor: pointer; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 52px; }
.pagination button { min-width: 34px; height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: #949ca9; background: var(--surface); cursor: pointer; font-size: 10px; }
.pagination button:hover:not(:disabled), .pagination button.active { color: white; border-color: var(--red); background: var(--red); }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination span { color: #67707e; }

.site-footer { padding: 46px 20px 104px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); }
.footer-logo { display: inline-flex; gap: 7px; align-items: center; margin-bottom: 11px; color: white; font-weight: 800; }
.footer-logo span { color: var(--red); }
.site-footer p { margin: 0 0 16px; font-size: 11px; }
.site-footer nav { display: flex; justify-content: center; gap: 18px; margin-bottom: 18px; font-size: 10px; }
.site-footer nav a:hover { color: white; }
.site-footer small { font-size: 9px; color: #5e6571; }
.mobile-bottom-nav { display: none; }

.player-open { overflow: hidden; }
.player-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px; background: rgba(4, 5, 8, .9); backdrop-filter: blur(12px); }
.player-modal[hidden] { display: none; }
.player-shell { position: relative; width: min(100%, 980px); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #0b0c10; box-shadow: 0 30px 90px rgba(0,0,0,.7); }
.player-shell video { display: block; width: 100%; max-height: 72vh; aspect-ratio: 16 / 9; background: #000; }
.player-close { position: absolute; z-index: 3; top: 12px; right: 12px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(0,0,0,.62); cursor: pointer; font-size: 25px; }
.player-info { padding: 18px 20px 20px; }
.player-info h2 { margin: 5px 0 0; font-size: 20px; }

.age-gate { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); background: rgba(4, 5, 8, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .35s ease, visibility .35s ease; }
.age-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.age-panel { position: relative; width: 100%; max-width: 1024px; max-height: 92vh; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; background: #0b0c10; box-shadow: 0 30px 80px rgba(0, 0, 0, .65); }
.age-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scaleY(1.111); transform-origin: bottom; }
.age-motion { position: absolute; inset: -12%; background: radial-gradient(circle at 72% 27%, rgba(241, 19, 34, .23), transparent 23%), radial-gradient(circle at 30% 42%, rgba(255, 208, 49, .08), transparent 25%); animation: age-drift 9s ease-in-out infinite alternate; mix-blend-mode: screen; }
.age-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05) 28%, rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, .86)); }
.age-corner { position: absolute; top: 12px; right: 12px; z-index: 3; }
.age-corner [hidden] { display: none; }
.age-timer { min-width: 52px; height: 52px; padding: 0 10px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: #111; background: radial-gradient(circle at 30% 25%, #ffe680, #ffc400 60%, #e9a400); box-shadow: 0 6px 20px rgba(255, 196, 0, .45); font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.age-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 0 3px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .55); cursor: pointer; font-size: 26px; line-height: 1; -webkit-tap-highlight-color: transparent; }
.age-close:active { transform: scale(.94); }
.age-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 22px 26px; text-align: center; }
.age-badge { display: inline-block; margin-bottom: 10px; padding: 4px 14px; border-radius: 999px; color: #1a1400; background: linear-gradient(135deg, #fff3b0, #ffcc00 45%, #ffb300); box-shadow: 0 6px 18px rgba(255, 196, 0, .5); font-size: 15px; font-weight: 900; letter-spacing: 1px; }
.age-content h2 { margin: 0 0 6px; color: #ffd400; background: linear-gradient(180deg, #fff7c2, #ffd400 42%, #ffab00 78%, #ff8f00); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .85)) drop-shadow(0 8px 26px rgba(255, 178, 0, .55)); font-family: Impact, Haettenschweiler, "Arial Black", sans-serif; font-size: clamp(34px, 9vw, 52px); line-height: 1.02; letter-spacing: 2px; text-transform: uppercase; }
.age-sub { margin: 0 0 4px; color: #ffe9a8; text-shadow: 0 1px 4px rgba(0, 0, 0, .9); font-size: 14px; font-weight: 700; }
.age-hint { margin: 10px 0 0; color: rgba(255, 255, 255, .62); font-size: 12px; letter-spacing: .4px; }
@keyframes age-drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 1%, 0) scale(1.06); } }

@media (max-width: 899px) {
  .header-inner { height: 58px; }
  .logo { font-size: 18px; }
  .logo-mark { width: 29px; height: 29px; border-radius: 8px; }
  .desktop-nav, .desktop-download, .desktop-only { display: none !important; }
  .mobile-search { display: block; }
  .mobile-tabs { display: flex; gap: 4px; padding: 7px 16px; overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: none; }
  .mobile-tabs a { flex: 1 0 60px; padding: 7px 8px; border-radius: 8px; color: #8f96a3; text-align: center; font-size: 10px; }
  .mobile-tabs a.active { color: white; background: var(--surface-2); }
  .top-zone { padding-top: 8px; }
  .fz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .featured-section { padding-top: 40px; }
  .featured-strip { grid-auto-columns: minmax(250px, 72%); }
  .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-pill.more { margin-left: 0; }
  .mobile-bottom-nav { position: fixed; z-index: 45; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); display: flex; width: min(calc(100% - 28px), 350px); padding: 6px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(21,24,31,.92); box-shadow: 0 14px 44px rgba(0,0,0,.55); backdrop-filter: blur(16px); }
  .mobile-bottom-nav a, .mobile-bottom-nav button { flex: 1; display: grid; gap: 2px; place-items: center; padding: 6px 5px; border: 0; border-radius: 10px; color: #858d9b; background: transparent; font-size: 8px; cursor: pointer; }
  .mobile-bottom-nav span { font-size: 16px; }
  .mobile-bottom-nav .active { color: white; background: var(--red); }
  .site-footer { padding-bottom: 118px; }
}

@media (max-width: 640px) {
  .header-inner, .top-zone, .content-section, .category-bar { width: calc(100% - 24px); }
  .header-inner { width: calc(100% - 28px); }
  .top-zone { padding-top: 8px; }
  .section-heading h1, .section-heading h2 { font-size: 18px; }
  .fz-title { font-size: 17px; }
  .fz-countdown { font-size: 11px; }
  .featured-section { padding-top: 32px; }
  .featured-strip { margin-right: -12px; grid-auto-columns: minmax(238px, 80%); }
  .featured-card { height: 144px; }
  .category-bar { margin-top: 22px; padding: 14px 0; }
  .fresh-section { padding-top: 28px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; }
  .video-card h3 { font-size: 10px; }
  .pagination { flex-wrap: wrap; gap: 5px; margin-top: 38px; }
  .pagination button { min-width: 31px; height: 31px; padding: 0 9px; }
  .player-modal { padding: 12px; }
  .player-shell { border-radius: 13px; }
  .player-info { padding: 14px 15px 16px; }
  .player-info h2 { font-size: 16px; }
  .age-panel { max-height: 78vh; border-radius: 16px; }
  .age-timer { min-width: 46px; height: 46px; font-size: 15px; }
  .age-close { width: 40px; height: 40px; font-size: 24px; }
  .age-content { padding: 18px 16px 20px; }
  .age-content h2 { font-size: clamp(30px, 10vw, 42px); }
  .age-sub { font-size: 11px; }
  .age-hint { margin-top: 7px; font-size: 10px; }
}

@media (max-width: 360px) {
  .logo > span:last-child { display: none; }
  .mobile-tabs { padding-inline: 10px; }
  .video-grid { gap-inline: 7px; }
  .pagination button:nth-of-type(5) { display: none; }
}

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