:root {
  --bg: #070816;
  --panel: rgba(18, 22, 43, .72);
  --panel-strong: rgba(25, 31, 58, .88);
  --ink: #f7f8ff;
  --muted: #aeb7d8;
  --line: rgba(255, 255, 255, .13);
  --cyan: #38e7ff;
  --pink: #ff4fd8;
  --lime: #b8ff5c;
  --amber: #ffd166;
  --violet: #8b5cff;
  --shadow: 0 28px 90px rgba(0, 0, 0, .36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(56, 231, 255, .2), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 79, 216, .2), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(139, 92, 255, .18), transparent 34%),
    linear-gradient(180deg, #070816 0%, #111428 46%, #080914 100%);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 82%);
}

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

button,
input,
select {
  font: inherit;
}

.wrap {
  width: min(1240px, calc(100% - 34px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 22, .72);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 23px;
  white-space: nowrap;
}

.brand-badge {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #08101c;
  background: conic-gradient(from 210deg, var(--cyan), var(--pink), var(--lime), var(--cyan));
  box-shadow: 0 0 28px rgba(56, 231, 255, .34);
}

.brand-badge svg,
.btn svg,
.play-button svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #dce2ff;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: rgba(56,231,255,.32);
  color: #fff;
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 22px rgba(56,231,255,.16) inset;
}

.search {
  width: 220px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.search svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
}

.search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search input::placeholder,
.field::placeholder {
  color: rgba(220,226,255,.56);
}

.menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
}

.hero {
  padding: 52px 0 24px;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: 26px;
  align-items: stretch;
}

.hero-copy,
.split-band,
.text-panel,
.watch-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
    var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-height: 570px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  border-radius: 32px;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(56,231,255,.28);
  border-radius: 999px;
  color: #bff7ff;
  background: rgba(56,231,255,.09);
  font-weight: 800;
  font-size: 13px;
}

.hero h1,
.page-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .95;
  letter-spacing: 0;
  text-shadow: 0 0 32px rgba(255,79,216,.38);
}

.hero p,
.page-hero p,
.section-subtitle,
.intro,
.text-panel p {
  color: var(--muted);
  line-height: 1.78;
}

.hero p {
  margin: 0;
  font-size: 18px;
}

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

.btn {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.09);
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(56,231,255,.42);
  box-shadow: 0 0 26px rgba(56,231,255,.18);
}

.btn.primary {
  color: #07101b;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.btn.ghost {
  color: #e7ecff;
}

.cover-wall {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.1fr .8fr .9fr;
  grid-template-rows: 1fr .8fr;
  gap: 15px;
}

.cover-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #161a34;
  box-shadow: var(--shadow);
}

.cover-tile img,
.poster img,
.player-card img,
.rank-item img,
.mini-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cover-tile img,
.poster img {
  transition: transform .5s ease, filter .5s ease;
}

.cover-tile:hover img,
.video-card:hover .poster img {
  transform: scale(1.08);
  filter: saturate(1.16) contrast(1.08);
}

.cover-tile::after,
.poster::after,
.player-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5,7,16,.84));
  pointer-events: none;
}

.cover-tile span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
}

.cover-tile strong,
.cover-tile em {
  display: block;
}

.cover-tile strong {
  font-size: 22px;
  line-height: 1.16;
}

.cover-tile em {
  margin-top: 7px;
  color: rgba(255,255,255,.74);
  font-style: normal;
}

.tile-1 {
  grid-row: span 2;
}

.tile-2 {
  grid-column: span 2;
}

.compact {
  padding-top: 8px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-strip div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
}

.stat-strip strong {
  display: block;
  font-size: 28px;
}

.stat-strip span {
  color: var(--muted);
}

.section {
  padding: 38px 0;
}

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

.section-title {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.section-subtitle {
  margin: 9px 0 0;
}

.more {
  color: #9ff7ff;
  font-weight: 900;
  white-space: nowrap;
}

.masonry {
  columns: 4 240px;
  column-gap: 18px;
}

.video-card {
  break-inside: avoid;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.075);
  box-shadow: 0 18px 46px rgba(0,0,0,.2);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.video-card:hover {
  transform: translateY(-8px) rotate(.45deg);
  border-color: rgba(255,79,216,.42);
  box-shadow: 0 30px 70px rgba(0,0,0,.35), 0 0 34px rgba(255,79,216,.12);
}

.poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 25px 25px 12px 12px;
  background: #171b35;
}

.video-card.tall .poster {
  aspect-ratio: 4 / 5.8;
}

.tag,
.score {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}

.tag {
  left: 12px;
  top: 12px;
  color: #06101c;
  background: rgba(56,231,255,.9);
}

.score {
  right: 12px;
  top: 12px;
  color: #13051a;
  background: rgba(255,209,102,.92);
}

.shine {
  position: absolute;
  inset: -40% auto -40% -80%;
  z-index: 4;
  width: 52%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  transition: left .62s ease;
}

.video-card:hover .shine {
  left: 120%;
}

.hover-cta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #07101b;
  background: linear-gradient(135deg, rgba(56,231,255,.92), rgba(255,79,216,.92));
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .24s ease, transform .24s ease;
}

.video-card:hover .hover-cta {
  opacity: 1;
  transform: translateY(0);
}

.card-copy {
  padding: 13px 14px 16px;
}

.card-copy h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.channel-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.channel-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.channel-card:hover {
  transform: translateY(-7px);
  border-color: rgba(56,231,255,.38);
  box-shadow: 0 24px 56px rgba(0,0,0,.28);
}

.channel-card strong {
  font-size: 22px;
}

.channel-card span,
.channel-card em {
  color: var(--muted);
  font-style: normal;
}

.split-band {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 32px;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-item {
  display: grid;
  grid-template-columns: 42px 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  transition: transform .2s ease, background .2s ease;
}

.mini-item:hover {
  transform: translateX(6px);
  background: rgba(255,255,255,.11);
}

.mini-num {
  color: var(--cyan);
  font-weight: 900;
}

.mini-item img {
  height: 74px;
  border-radius: 16px;
}

.mini-item strong,
.mini-item em {
  display: block;
}

.mini-item em {
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  padding: 54px 0 20px;
}

.page-hero .wrap {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(56,231,255,.15), rgba(255,79,216,.12)),
    rgba(255,255,255,.055);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
}

.filters {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  margin-bottom: 16px;
}

.field,
.select {
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,.08);
  outline: 0;
}

.field {
  min-width: 0;
  padding: 0 16px;
}

.select {
  padding: 0 34px 0 14px;
}

.count {
  color: var(--muted);
}

.detail-shell {
  padding: 44px 0 10px;
}

.player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 22px;
}

.player-card {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #10142a;
  box-shadow: var(--shadow);
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.play-button {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: #07101b;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 0 40px rgba(56,231,255,.24);
}

.player-overlay h1 {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
}

.watch-panel {
  padding: 28px;
  border-radius: 32px;
}

.watch-panel h2 {
  margin: 18px 0 12px;
  font-size: 34px;
  line-height: 1.12;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(56,231,255,.22);
  border-radius: 999px;
  color: #d7fbff;
  background: rgba(56,231,255,.08);
  font-weight: 800;
  font-size: 13px;
}

.intro {
  margin: 20px 0 0;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
}

.episode-grid a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #e9eeff;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.episode-grid a:hover {
  transform: translateY(-3px);
  background: rgba(56,231,255,.14);
}

.compact-grid {
  columns: 4 220px;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-item {
  display: grid;
  grid-template-columns: 58px 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.075);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.rank-item:hover {
  transform: translateX(8px);
  border-color: rgba(255,79,216,.38);
  background: rgba(255,255,255,.11);
}

.rank-num {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07101b;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  font-weight: 900;
}

.rank-item img {
  height: 88px;
  border-radius: 18px;
}

.rank-item h3 {
  margin: 0 0 5px;
  font-size: 19px;
}

.rank-item p {
  margin: 0;
  color: var(--muted);
}

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

.text-panel {
  min-height: 190px;
  padding: 26px;
  border-radius: 28px;
}

.text-panel h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.text-panel p {
  margin: 0;
}

.footer {
  margin-top: 34px;
  color: #fff;
  border-top: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(8,9,20,.96), rgba(25,20,54,.96));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 28px;
  padding: 36px 0;
}

.footer h3,
.footer h4 {
  margin: 0 0 12px;
}

.footer p,
.footer a {
  color: rgba(238,242,255,.76);
  line-height: 1.8;
  font-size: 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.copyright {
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  color: rgba(238,242,255,.72);
  font-size: 13px;
}

.empty {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255,255,255,.07);
}

@media (max-width: 1060px) {
  .hero-stage,
  .split-band,
  .player-layout {
    grid-template-columns: 1fr;
  }

  .channel-board,
  .stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 24px, 1240px);
  }

  .nav {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 10px 0;
  }

  .menu {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .nav-links,
  .search {
    display: none;
    width: 100%;
  }

  .topbar.open .nav-links,
  .topbar.open .search {
    display: flex;
    flex-wrap: wrap;
  }

  .topbar.open .search {
    order: 5;
  }

  .hero,
  .page-hero {
    padding-top: 28px;
  }

  .hero-copy {
    min-height: auto;
    padding: 26px;
  }

  .cover-wall {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .cover-tile {
    min-height: 310px;
  }

  .tile-1,
  .tile-2 {
    grid-column: auto;
    grid-row: auto;
  }

  .masonry,
  .compact-grid {
    columns: 2 150px;
    column-gap: 12px;
  }

  .video-card {
    margin-bottom: 12px;
    border-radius: 20px;
  }

  .poster {
    border-radius: 19px 19px 10px 10px;
  }

  .card-copy h3 {
    font-size: 16px;
  }

  .channel-board,
  .stat-strip,
  .filters,
  .footer-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .page-hero .wrap,
  .split-band,
  .watch-panel {
    padding: 24px;
  }

  .player-card {
    min-height: 460px;
  }

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

  .rank-item {
    grid-template-columns: 46px 70px 1fr;
  }

  .rank-item img {
    height: 70px;
  }

  .rank-item .pill {
    grid-column: 3;
    width: fit-content;
  }
}
