:root {
  color-scheme: dark;
  --page: #050505;
  --card: #111111;
  --card-soft: #171717;
  --text: #ffffff;
  --muted: #b5b5b5;
  --red: #ff003c;
  --yellow: #ffd400;
  --border: #222222;
  --shadow: 0 24px 70px rgb(0 0 0 / 42%);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 0, 60, 0.16), transparent 28rem),
    linear-gradient(180deg, #101010 0, var(--page) 34rem);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.consent-locked {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #000000;
  backdrop-filter: none;
}

.consent-box {
  position: relative;
  width: 100%;
  max-width: 815px;
  min-height: min(735px, calc(100vh - 48px));
  padding: 62px 64px 42px;
  color: var(--text);
  text-align: center;
  background: #030303;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  box-shadow: 0 0 48px rgb(255 255 255 / 10%);
}

.consent-lang {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  background: #3a3a3a;
  border-radius: 2px;
}

.consent-brand {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 28px;
  overflow: hidden;
  color: #ffffff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  border-radius: 4px;
}

.consent-brand span {
  padding: 8px 10px;
  background: #000000;
}

.consent-brand strong {
  padding: 8px 10px;
  color: #111111;
  background: #ff9900;
}

.consent-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  min-height: 39px;
  padding: 0 15px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  background: #1d1d1d;
  border: 3px solid #ff9900;
  border-radius: 4px;
}

.consent-box h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 42px);
  line-height: 1.1;
}

.consent-copy,
.consent-footnote {
  color: #ffffff;
}

.consent-copy {
  max-width: 670px;
  margin: 8px auto 0;
  font-size: 20px;
  line-height: 1.12;
}

.consent-warning {
  margin: 0 auto 38px;
  color: #ff9900;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.consent-notice {
  display: none;
}

.consent-notice strong {
  color: #ffffff;
}

.consent-notice span {
  color: #bdbdbd;
  font-size: 14px;
}

.consent-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.consent-accept,
.consent-exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 290px;
  padding: 0 18px;
  color: var(--text);
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  background: #1a1a1a;
  border: 3px solid #ff9900;
  border-radius: 4px;
}

.consent-accept {
  color: #ffffff;
}

.consent-exit {
  color: #ffffff;
}

.consent-footnote {
  margin: 42px auto 0;
  max-width: 520px;
  font-size: 20px;
  line-height: 1.18;
}

.consent-footnote span,
.consent-footnote strong {
  color: #ff9900;
}

.consent-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-width: 78px;
  min-height: 34px;
  color: #000000;
  font-size: 30px;
  font-weight: 1000;
  line-height: 1;
  background: #ffffff;
  border-radius: 2px;
}

[data-view] {
  display: none;
}

[data-view].active {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 5, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1440px, calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.logo::before {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 0, 60, 0.18), 0 0 30px rgba(255, 0, 60, 0.85);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(270px, 28vw);
  padding: 9px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.header-search span {
  font-size: 12px;
  font-weight: 800;
  color: var(--yellow);
  text-transform: uppercase;
}

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

.header-search input::placeholder {
  color: #777777;
}

.hero-section {
  display: grid;
  align-items: center;
  min-height: clamp(460px, 68vh, 720px);
  padding: 72px 0 44px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 76px 0 auto;
  height: min(64vh, 660px);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.94)),
    radial-gradient(circle at 78% 18%, rgba(255, 212, 0, 0.22), transparent 18rem),
    radial-gradient(circle at 68% 70%, rgba(255, 0, 60, 0.24), transparent 24rem);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-badge,
.section-kicker,
.video-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #120000;
  background: linear-gradient(135deg, var(--yellow), #ffb000);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-badge {
  margin: 0 0 20px;
  padding: 8px 13px;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--red);
  border-radius: 50%;
}

.hero-title {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-description {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 22px;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, var(--red), #b9002c);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(255, 0, 60, 0.28);
  transition: transform 160ms ease, filter 160ms ease;
}

.hero-button:hover,
.back-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.video-section,
.video-page-shell,
.site-footer {
  width: min(1440px, calc(100% - 36px));
  margin: 0 auto;
}

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

.section-title-wrap.compact {
  margin-top: 36px;
}

.section-kicker {
  margin-bottom: 8px;
  padding: 6px 10px;
  color: var(--yellow);
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.26);
}

.section-title-wrap h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.video-counter {
  min-width: 108px;
  padding: 13px 16px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.video-counter strong,
.video-counter span {
  display: block;
}

.video-counter strong {
  color: var(--yellow);
  font-size: 28px;
  line-height: 1;
}

.video-counter span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(0 0 0 / 24%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.video-card:hover {
  border-color: rgba(255, 0, 60, 0.74);
  box-shadow: 0 20px 58px rgba(255, 0, 60, 0.14);
  transform: translateY(-5px);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000000;
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
  opacity: 0.78;
  transition: opacity 180ms ease;
}

.video-card:hover .video-thumb::after {
  opacity: 0.9;
}

.video-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}

.video-card:hover .video-thumb video {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.08);
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 8px;
  font-size: 10px;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgb(0 0 0 / 36%);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--text);
}

.video-info {
  padding: 14px;
}

.video-title {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 9px;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.video-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  margin: 22px 0 0;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.video-page {
  padding: 40px 0 0;
}

.back-button {
  margin: 0 0 22px;
}

.video-detail-card {
  overflow: hidden;
  background: linear-gradient(180deg, #121212, #090909);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.video-detail-header {
  padding: 28px 28px 20px;
}

.video-detail-header .video-badge {
  position: static;
  margin-bottom: 12px;
}

.video-detail-header h1 {
  max-width: 920px;
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-bottom: 1px solid var(--border);
}

.video-player video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000000;
}

.video-description {
  max-width: 860px;
  margin: 0;
  padding: 0 28px 32px;
  color: var(--muted);
  font-size: 18px;
}

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

.site-footer {
  margin-top: 70px;
  padding: 26px 0 42px;
  color: #777777;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1180px) {
  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .main-nav {
    gap: 0;
  }
}

@media (max-width: 920px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-search {
    width: min(340px, 48vw);
  }

  .hero-section {
    min-height: 470px;
    padding-top: 54px;
  }

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

@media (max-width: 680px) {
  .consent-overlay {
    align-items: start;
    padding: 16px;
    overflow-y: auto;
  }

  .consent-box {
    min-height: auto;
    padding: 56px 24px 28px;
  }

  .consent-brand {
    font-size: 32px;
  }

  .consent-box h2 {
    font-size: 31px;
  }

  .consent-copy,
  .consent-warning,
  .consent-footnote {
    font-size: 17px;
  }

  .consent-actions {
    flex-direction: column;
  }

  .consent-accept,
  .consent-exit {
    width: 100%;
    min-width: 0;
  }

  .header-inner,
  .hero-content,
  .video-section,
  .video-page-shell,
  .site-footer {
    width: min(100% - 24px, 1440px);
  }

  .logo {
    font-size: 24px;
  }

  .header-search {
    width: 100%;
    order: 2;
  }

  .hero-section {
    min-height: 360px;
    padding-top: 34px;
    padding-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(34px, 12vw, 48px);
  }

  .hero-description {
    font-size: 16px;
  }

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

  .video-counter {
    width: 100%;
  }

  .video-grid,
  .related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .video-title {
    min-height: 0;
    font-size: 14px;
  }

  .video-info {
    padding: 12px;
  }

  .video-meta {
    font-size: 12px;
  }

  .video-detail-header,
  .video-description {
    padding-left: 18px;
    padding-right: 18px;
  }

  .video-detail-card {
    border-radius: 18px;
  }

}

@media (max-width: 330px) {
  .main-nav a {
    padding: 9px 10px;
  }

}
