/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('/fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #060a13;
  --bg-soft: #0a1120;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --panel-solid: #0c1424;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #f5f7fc;
  --muted: #97a3ba;
  --muted-2: #74819b;
  --yellow: #ffc400;
  --yellow-soft: #ffd84d;
  --yellow-dark: #d99f00;
  --blue: #3b82f6;
  --cyan: #38bdf8;
  --violet: #8b5cf6;
  --green: #34d399;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --header-h: 84px;
  --wrap: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1100px 680px at 88% -8%, rgba(59, 130, 246, 0.16), transparent 62%),
    radial-gradient(900px 560px at -4% 28%, rgba(255, 196, 0, 0.065), transparent 62%),
    radial-gradient(800px 600px at 60% 115%, rgba(139, 92, 246, 0.07), transparent 68%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

::selection {
  background: var(--yellow);
  color: #101010;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
}

.icon.flip {
  transform: rotate(180deg);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--yellow);
  color: #111;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-color: var(--text);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-size: 0.93rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

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

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

.btn-primary {
  --btn-bg: linear-gradient(180deg, var(--yellow-soft), var(--yellow));
  --btn-color: #131313;
  box-shadow: 0 8px 28px rgba(255, 196, 0, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px rgba(255, 196, 0, 0.32);
}

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.83rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 0.98rem;
}

.btn-play {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
}

.btn-play .icon {
  width: 16px;
  height: 16px;
  margin-left: 1px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.icon-btn .icon {
  width: 18px;
  height: 18px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 10, 19, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 12px;
  background: #070b14;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(56, 189, 248, 0.16), 0 0 0 3px rgba(255, 255, 255, 0.035);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-name b {
  background: linear-gradient(100deg, var(--cyan), #60a5fa 48%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tag {
  color: var(--muted-2);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

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

.site-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #c6cede;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.18s ease, background 0.18s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.menu-btn {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 60px 0 80px;
  isolation: isolate;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.orb-yellow {
  top: -140px;
  left: 42%;
  width: 380px;
  height: 380px;
  background: rgba(255, 196, 0, 0.12);
}

.orb-blue {
  top: 80px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: rgba(59, 130, 246, 0.16);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 62% 42%, #000 0%, transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 196, 0, 0.6);
  animation: pulse 2.4s infinite;
}

.hero-title {
  max-width: 640px;
  font-size: clamp(2.4rem, 4.5vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-title > span {
  display: block;
}

.hero-title .accent {
  margin-top: 4px;
  background: linear-gradient(100deg, #fff3bd 0%, var(--yellow) 45%, #ff9d00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

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

.channel-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 38px;
}

.channel-avatar {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}

.channel-proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.channel-proof-text strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.channel-proof-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

.channel-proof-text b {
  color: #e8edf7;
  font-weight: 600;
}

.channel-proof-text i {
  padding: 0 4px;
  color: var(--muted-2);
  font-style: normal;
}

/* Hero visual */
.hero-visual {
  position: relative;
  perspective: 1200px;
}

.hero-glow {
  position: absolute;
  inset: 10% 0 -6% 5%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 196, 0, 0.17), transparent 68%);
  filter: blur(24px);
}

.featured-card {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.24);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 31, 52, 0.98), rgba(9, 16, 29, 0.98));
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.035) inset,
    0 0 60px rgba(255, 196, 0, 0.06);
  transform: rotate(-1.2deg);
  transition: transform 0.35s ease, border-color 0.35s ease, opacity 0.38s ease;
}

.featured-card.is-out {
  opacity: 0;
  transform: translateX(-34px) rotate(-1.2deg);
  transition: transform 0.38s ease, opacity 0.38s ease;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 440px;
  margin: 18px 0 0 auto;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.45);
}

.hero-dot.is-active {
  width: 26px;
  background: var(--yellow);
}

.hero-dots[hidden] {
  display: none;
}

.featured-card:hover {
  transform: rotate(0deg) translateY(-4px);
  border-color: rgba(255, 196, 0, 0.44);
}

.featured-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0f1b;
}

.featured-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(9, 16, 29, 0.62));
  pointer-events: none;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-card:hover .featured-media img {
  transform: scale(1.035);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
}

.badge-featured {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(6, 10, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(8px);
}

.badge-featured::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}

.badge-yellow {
  background: rgba(255, 196, 0, 0.12);
  border: 1px solid rgba(255, 196, 0, 0.28);
  color: var(--yellow);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(255, 196, 0, 0.13);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 0 16px rgba(255, 196, 0, 0.1);
}

.play-button .icon {
  width: 30px;
  height: 30px;
  margin-left: 3px;
  fill: currentColor;
  stroke: none;
}

.duration-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.duration-pill:empty {
  display: none;
}

.featured-body {
  padding: 20px 22px 22px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-dot {
  color: var(--yellow);
}

.category-dot::after {
  content: '·';
  margin-left: 9px;
  color: var(--muted-2);
}

.featured-body h2 {
  margin-top: 9px;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.view-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-count .icon {
  width: 15px;
  height: 15px;
}

.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--yellow);
  font-weight: 600;
}

.watch-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.featured-card:hover .watch-link .icon {
  transform: translateX(3px);
}

.floating-stat {
  position: absolute;
  right: -20px;
  bottom: -72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(10, 17, 32, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  animation: floatY 5s ease-in-out infinite;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 196, 0, 0.13);
  color: var(--yellow);
}

.floating-icon .icon {
  width: 18px;
  height: 18px;
}

.floating-stat div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.floating-stat strong {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
}

.floating-stat span:not(.floating-icon) {
  color: var(--muted);
  font-size: 0.66rem;
}

/* ---------- Thumbnail strip ---------- */
.thumb-strip {
  overflow: hidden;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.thumb-strip[hidden] {
  display: none;
}

.thumb-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee var(--strip-duration, 40s) linear infinite;
}

.thumb-strip:hover .thumb-track {
  animation-play-state: paused;
}

.thumb-track img {
  flex: none;
  width: 176px;
  height: 99px;
  border: 1px solid var(--line);
  border-radius: 10px;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.thumb-track img:hover {
  opacity: 1;
  transform: translateY(-3px);
  border-color: rgba(255, 196, 0, 0.4);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  padding: 15px 0;
  animation: marquee 38s linear infinite;
}

.marquee-track span {
  color: #b7c0d2;
  font-family: var(--font-display);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.marquee-track i {
  color: var(--yellow);
  font-size: 0.62rem;
  font-style: normal;
  opacity: 0.8;
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}

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

.section-head.slim {
  align-items: center;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.section-head h2,
.about-copy h2,
.cta-copy h2,
.popular-content h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.2rem);
  font-weight: 700;
}

.section-desc {
  max-width: 540px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Search + chips ---------- */
.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(100%, 300px);
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.search-box:focus-within {
  border-color: rgba(255, 196, 0, 0.42);
  background: rgba(255, 255, 255, 0.055);
}

.search-box > .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.87rem;
}

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

.search-box input::-webkit-search-cancel-button {
  display: none;
}

.search-clear {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.search-clear .icon {
  width: 12px;
  height: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #b6c0d3;
  font-size: 0.79rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.chip:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.chip.is-active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #141414;
}

.chip small {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.65rem;
  font-weight: 700;
}

.chip.is-active small {
  background: rgba(0, 0, 0, 0.14);
}

/* ---------- Video grid ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  animation: cardIn 0.5s both;
  animation-delay: var(--delay, 0ms);
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 196, 0, 0.34);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
}

.video-card.is-featured {
  border-color: rgba(255, 196, 0, 0.3);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1220;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.045);
  filter: brightness(0.78);
}

.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 34%, rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.thumb-category {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(6, 10, 19, 0.72);
  color: #e7ecf7;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.thumb-featured {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  color: #131313;
}

.thumb-featured .icon {
  width: 13px;
  height: 13px;
}

.thumb-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  color: #121212;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.thumb-play .icon {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  fill: currentColor;
  stroke: none;
}

.video-card:hover .thumb-play,
.video-card:focus-visible .thumb-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 15px 15px;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 0.71rem;
  font-weight: 500;
}

.video-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.video-body h3 {
  margin-top: 7px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.012em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--muted);
  font-size: 0.72rem;
}

.video-foot .view-count .icon {
  width: 14px;
  height: 14px;
}

.video-foot .type-tag {
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #cad3e3;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.video-skeleton {
  aspect-ratio: 0.82;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.05) 40%, transparent 60%) 0 0 / 200% 100%,
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  animation: shimmer 1.5s infinite;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 64px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.empty-state h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
}

.empty-state p {
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Shorts ---------- */
.shorts-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.scroll-actions {
  display: flex;
  gap: 8px;
}

.shorts-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.shorts-row::-webkit-scrollbar {
  display: none;
}

.shorts-row.is-ticker {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.short-card {
  position: relative;
  flex: 0 0 168px;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b1220;
  scroll-snap-align: start;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.short-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 196, 0, 0.4);
}

.short-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.short-card:hover img {
  transform: scale(1.05);
}

.short-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(5, 9, 17, 0.9) 100%);
}

.short-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 196, 0, 0.92);
  color: #111;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.short-badge .icon {
  width: 10px;
  height: 10px;
  fill: currentColor;
  stroke: none;
}

.short-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  backdrop-filter: blur(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.short-card:hover .short-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.short-play .icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  fill: currentColor;
  stroke: none;
}

.short-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 14px 13px;
}

.short-info h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.short-info span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: #c2cad9;
  font-size: 0.64rem;
}

.short-info .icon {
  width: 12px;
  height: 12px;
}

/* ---------- Popular ---------- */
.popular-section {
  padding-top: 30px;
}

.popular-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255, 196, 0, 0.24);
  border-radius: 26px;
  background: #0a1120;
  isolation: isolate;
}

.popular-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.popular-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #080d18 0%, rgba(8, 13, 24, 0.94) 36%, rgba(8, 13, 24, 0.45) 66%, rgba(8, 13, 24, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 13, 24, 0.55), transparent 50%);
}

.popular-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.popular-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 560px;
  min-height: 320px;
  padding: 36px;
}

.popular-content h2 {
  margin-top: 16px;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
}

.popular-content > p {
  margin-top: 13px;
  color: #b5bfd2;
  font-size: 0.92rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 20px 0 26px;
  color: #c3ccda;
  font-size: 0.78rem;
}

.popular-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.popular-meta .icon {
  width: 15px;
  height: 15px;
  color: var(--yellow);
}

.popular-meta b {
  color: #fff;
  font-weight: 700;
}

/* ---------- About ---------- */
.about-section {
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 76px;
}

.about-visual {
  position: relative;
  max-width: 420px;
  padding: 16px 24px 24px 0;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: -30px 0 0 -40px;
  z-index: -1;
  background: radial-gradient(circle at 40% 40%, rgba(255, 196, 0, 0.13), transparent 62%);
  filter: blur(20px);
}

.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow);
}

.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 10, 19, 0.62));
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-avatar {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 116px;
  height: 116px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: var(--bg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 23px;
  object-fit: cover;
}

.about-chip {
  position: absolute;
  top: 44px;
  left: -22px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 196, 0, 0.32);
  border-radius: 12px;
  background: rgba(8, 14, 26, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.about-chip span {
  color: var(--yellow);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.about-chip strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.about-copy h2 {
  max-width: 620px;
}

.about-copy > p:not(.section-kicker) {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.78;
}

.about-copy > p.about-author {
  margin-top: 10px;
  color: var(--yellow-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-stats {
  display: flex;
  gap: 38px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-stats strong {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.about-stats span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

/* ---------- CTA ---------- */
.cta-band {
  padding: 20px 0 96px;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: 32px 36px;
  border: 1px solid rgba(255, 196, 0, 0.26);
  border-radius: 26px;
  background:
    radial-gradient(600px 280px at 88% 50%, rgba(255, 196, 0, 0.16), transparent 70%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
}

.cta-inner::after {
  content: '';
  position: absolute;
  top: -70px;
  right: 60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.cta-copy {
  max-width: 660px;
}

.cta-copy h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.cta-copy p:not(.section-kicker) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 13, 0.66);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.footer-brand .brand-name {
  font-size: 1.15rem;
}

.footer-brand .brand-tag {
  font-size: 0.58rem;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

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

.footer-col h3 {
  margin-bottom: 6px;
  color: #e8edf7;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-col a {
  width: fit-content;
  color: var(--muted);
  font-size: 0.84rem;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.72rem;
}

/* ---------- Modal ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.86);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.2s ease;
}

.modal-panel {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #0a1120;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  animation: modalIn 0.28s ease;
  scrollbar-width: thin;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  backdrop-filter: blur(8px);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.modal-close .icon {
  width: 17px;
  height: 17px;
}

.modal-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-body {
  padding: 24px 28px 28px;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.74rem;
}

.modal-meta .pill {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 196, 0, 0.12);
  color: var(--yellow);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-body h2 {
  margin-top: 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.3;
}

.modal-body > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;
  max-width: 360px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #0d1526;
  box-shadow: var(--shadow);
  font-size: 0.84rem;
  animation: toastIn 0.25s ease;
}

/* ---------- Animations ---------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 196, 0, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 196, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 196, 0, 0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  to { background-position: -200% 0, 0 0; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* Bölümler ekrana girdiğinde yumuşakça belirir (JS .reveal ekler). */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .hero-grid {
    gap: 42px;
  }

  .site-nav a {
    padding: 9px 10px;
  }

  .floating-stat {
    right: -8px;
    bottom: -74px;
  }

  .about-grid {
    gap: 52px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 74px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 16px;
    left: 16px;
    z-index: 99;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(9, 15, 28, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .menu-btn {
    display: grid;
  }

  .header-yt {
    display: none;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

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

  .hero-visual {
    max-width: 680px;
    width: 100%;
  }

  .featured-card,
  .hero-dots {
    margin-inline: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .about-visual {
    max-width: 520px;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .search-box {
    width: 100%;
  }

  .hero-title {
    font-size: clamp(2.45rem, 9vw, 3.6rem);
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .featured-body {
    padding: 18px;
  }

  .floating-stat {
    right: 12px;
    bottom: -70px;
  }

  .popular-content {
    min-height: 300px;
    padding: 28px 22px;
  }

  .popular-bg::after {
    background:
      linear-gradient(180deg, rgba(8, 13, 24, 0.4) 0%, rgba(8, 13, 24, 0.82) 46%, #080d18 100%);
  }

  .popular-card {
    min-height: 340px;
  }

  .popular-content h2 {
    font-size: 1.4rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .modal-panel {
    max-height: calc(100vh - 24px);
  }

  .video-modal {
    padding: 12px;
  }

  .modal-body {
    padding: 20px;
  }
}

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

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-tag {
    font-size: 0.48rem;
    letter-spacing: 0.18em;
  }

  .footer-brand .brand-mark {
    width: 42px;
    height: 42px;
  }

  .footer-brand .brand-name {
    font-size: 1.08rem;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hero {
    padding: 40px 0 72px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .channel-proof-text span {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 5px;
  }

  .featured-card {
    transform: none;
  }

  .play-button {
    width: 62px;
    height: 62px;
  }

  .about-stats {
    gap: 26px;
  }

  .about-avatar {
    width: 118px;
    height: 118px;
  }

  .about-chip {
    left: -8px;
  }

  .short-card {
    flex-basis: 168px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .cta-band {
    padding-bottom: 72px;
  }

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

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }
}

/* ---------- Large screens / TV ---------- */
@media (min-width: 1600px) {
  :root {
    --wrap: 1200px;
    --header-h: 84px;
  }

  body {
    font-size: 1rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-tag {
    font-size: 0.56rem;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-grid {
    gap: 64px;
  }

  .hero-text {
    max-width: 520px;
    font-size: 0.98rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-desc {
    max-width: 620px;
    font-size: 0.98rem;
  }

  .video-grid {
    gap: 18px;
  }

  .short-card {
    flex-basis: 172px;
  }

  .floating-stat {
    bottom: -80px;
  }

  .popular-card,
  .popular-content {
    min-height: 320px;
  }

  .popular-content {
    max-width: 560px;
    padding: 36px;
  }

  .footer-grid {
    gap: 60px;
    padding: 76px 0 56px;
  }

  .footer-brand p {
    max-width: 380px;
    font-size: 0.9rem;
  }

  .modal-panel {
    width: min(1160px, 100%);
  }

  .modal-body {
    padding: 30px 34px 34px;
  }

  .modal-body > p {
    font-size: 0.95rem;
  }
}

@media (min-width: 2200px) {
  .footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 72px;
  }
}

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

  .marquee-track {
    animation: none;
  }
}

/* ---------- AdSense ---------- */
.ad-slot {
  width: 100%;
  max-width: 970px;
  margin: 26px auto;
  padding: 0 20px;
  text-align: center;
}

.ad-slot ins {
  display: block;
}

.ad-slot-top {
  margin-top: 18px;
  margin-bottom: 2px;
}

.ad-slot-article {
  margin: 34px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

@media (max-width: 680px) {
  .ad-slot {
    padding: 0 16px;
  }
}