.gw-home-page {
  position: relative;
}

.gw-home-hero-carousel,
.gw-latest-highlights,
.gw-latest-rows,
.gw-latest-empty {
  position: relative;
  z-index: 2;
}

.gw-home-hero-carousel {
  overflow: hidden;
  position: relative;
}

.gw-home-hero-track {
  display: flex;
  transform: translateX(calc(var(--gw-hero-index, 0) * -100%));
  transition: transform 0.7s ease;
  width: 300%;
}

.gw-home-hero-slide {
  align-items: flex-end;
  background: #0a0b0f;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.6fr);
  min-height: min(68vh, 680px);
  min-width: 100%;
  overflow: hidden;
  padding: 92px 48px 56px;
  position: relative;
}

.gw-home-kino {
  align-items: flex-end;
  background: #0a0b0f;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
  margin: 32px 0 10px;
  min-height: min(52vh, 520px);
  overflow: hidden;
  padding: 72px 48px 48px;
  position: relative;
}

body:not(.dark_theme) .gw-home-hero-slide {
  background: #f8fafc;
}

body:not(.dark_theme) .gw-home-kino {
  background: #f8fafc;
}

.gw-home-hero-backdrop {
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.1));
  background-position: center;
  background-size: cover;
  background-color: #0a0b0f;
  inset: 0;
  background-repeat: no-repeat;
  filter: saturate(1.1) contrast(1.08);
  opacity: 0.82;
  pointer-events: none;
  overflow: hidden;
  position: absolute;
  z-index: 0;
  animation: gwHomeHeroDrift 18s ease-in-out infinite;
}

.gw-home-hero-slide.is-audio .gw-home-hero-backdrop {
  background-position: center;
  background-size: cover;
}

.gw-home-hero-slide.is-video .gw-home-hero-backdrop {
  background-position: center;
  background-size: cover;
}

.gw-home-hero-overlay {
  background: linear-gradient(90deg, rgba(8, 8, 12, 0.95), rgba(8, 8, 12, 0.65) 50%, rgba(8, 8, 12, 0.2));
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

body:not(.dark_theme) .gw-home-hero-overlay {
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.98), rgba(248, 250, 252, 0.7) 50%, rgba(248, 250, 252, 0.4));
}

.gw-home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.gw-home-hero-eyebrow {
  color: rgba(248, 250, 252, 0.78);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

body:not(.dark_theme) .gw-home-hero-eyebrow {
  color: rgba(15, 23, 42, 0.7);
}

.gw-home-hero-slide h2 {
  font-family: "Bebas Neue", "Oswald", "Impact", sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 0.06em;
  margin: 8px 0 12px;
  max-width: 520px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gw-home-hero-slide[data-gw-slide="live"] h2 {
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: 0.08em;
  margin: 12px 0 14px;
}

.gw-home-hero-desc {
  color: rgba(248, 250, 252, 0.78);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
}

body:not(.dark_theme) .gw-home-hero-desc {
  color: rgba(15, 23, 42, 0.78);
}

.gw-home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 18px 0 26px;
}

.gw-home-hero-pill {
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: 999px;
  color: rgba(248, 250, 252, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  text-transform: uppercase;
}

body:not(.dark_theme) .gw-home-hero-pill {
  border-color: rgba(15, 23, 42, 0.16);
  color: rgba(15, 23, 42, 0.7);
}

.gw-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gw-home-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  padding: 10px 22px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gw-home-btn-live {
  background: #1db954;
  box-shadow: 0 18px 30px rgba(29, 185, 84, 0.38);
  color: #ffffff;
}

.gw-home-btn-live:hover {
  box-shadow: 0 22px 40px rgba(29, 185, 84, 0.46);
  transform: translateY(-2px);
}

.gw-home-btn-kino {
  background: #e50914;
  box-shadow: 0 18px 30px rgba(229, 9, 20, 0.38);
  color: #ffffff;
}

.gw-home-btn-kino:hover {
  box-shadow: 0 22px 40px rgba(229, 9, 20, 0.46);
  transform: translateY(-2px);
}

.gw-home-btn-ghost {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(248, 250, 252, 0.16);
  color: #f8fafc;
}

body:not(.dark_theme) .gw-home-btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

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

.gw-home-hero-reel {
  grid-column: 1 / -1;
  margin-top: 36px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.gw-home-reel-title {
  color: rgba(248, 250, 252, 0.78);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

body:not(.dark_theme) .gw-home-reel-title {
  color: rgba(15, 23, 42, 0.7);
}

.gw-home-reel-track {
  display: grid;
  gap: 16px;
  grid-auto-columns: clamp(220px, 26vw, 360px);
  grid-auto-flow: column;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  touch-action: pan-x;
}

.gw-home-reel-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(8, 8, 12, 0.45);
  color: inherit;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  text-decoration: none;
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gw-home-reel-card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.82));
  content: "";
  inset: 0;
  position: absolute;
}

.gw-home-reel-card:hover {
  box-shadow: 0 28px 50px rgba(8, 8, 12, 0.5);
  transform: translateY(-6px) scale(1.02);
}

.gw-home-reel-poster {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.28), rgba(14, 116, 144, 0.22));
  background-position: center;
  background-size: cover;
}

.gw-home-reel-meta {
  padding: 14px 16px 18px;
  position: relative;
  z-index: 1;
}

.gw-home-reel-title-text {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}

.gw-home-reel-sub {
  color: rgba(226, 232, 240, 0.65);
  font-size: 12px;
}

body:not(.dark_theme) .gw-home-reel-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

body:not(.dark_theme) .gw-home-reel-card::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.82));
}

body:not(.dark_theme) .gw-home-reel-sub {
  color: rgba(71, 85, 105, 0.75);
}

.gw-home-hero-controls {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 22px;
  position: relative;
  z-index: 2;
}

.gw-home-hero-nav {
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  color: #e2e8f0;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

body:not(.dark_theme) .gw-home-hero-nav {
  background: rgba(248, 250, 252, 0.8);
  color: #0f172a;
}

.gw-home-hero-dots {
  display: flex;
  gap: 10px;
}

.gw-home-hero-dot {
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  height: 8px;
  width: 32px;
  background: rgba(148, 163, 184, 0.2);
}

.gw-home-hero-dot.is-active {
  background: rgba(248, 250, 252, 0.9);
  border-color: rgba(248, 250, 252, 0.9);
}

body:not(.dark_theme) .gw-home-hero-dot.is-active {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(15, 23, 42, 0.9);
}

@keyframes gwHomeHeroDrift {
  0% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.01) translateY(-0.6%);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 1100px) {
  .gw-home-hero-slide {
    grid-template-columns: 1fr;
    padding: 84px 28px 42px;
  }

  .gw-home-hero-slide.is-audio .gw-home-hero-backdrop {
    background-position: center;
    background-size: cover;
  }

  .gw-home-kino {
    grid-template-columns: 1fr;
    padding: 68px 28px 40px;
  }
}

@media (max-width: 640px) {
  .gw-home-hero-slide {
    padding: 76px 20px 36px;
  }

  .gw-home-kino {
    margin-top: 24px;
    padding: 64px 20px 34px;
  }

  .gw-home-hero-dot {
    width: 24px;
  }
}

@media (max-width: 1100px), (max-height: 760px) {
  .gw-home-hero-carousel {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .gw-home-hero-slide,
  .gw-home-kino {
    overflow: visible;
  }
}
