.gw-kino-page {
  --gw-kino-black: #0a0b0f;
  --gw-kino-slate: #111827;
  --gw-kino-accent: #e50914;
  --gw-kino-soft: rgba(248, 250, 252, 0.78);
  --gw-kino-muted: rgba(226, 232, 240, 0.65);
  color: #f8fafc;
  padding: 0 0 48px;
  position: relative;
}

.gw-kino-page::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(229, 9, 20, 0.32), transparent 46%),
    radial-gradient(circle at 80% 12%, rgba(59, 130, 246, 0.18), transparent 52%),
    linear-gradient(160deg, rgba(8, 8, 12, 0.96), rgba(14, 15, 23, 0.86));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.gw-kino-page::after {
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 3px
  );
  content: "";
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

body:not(.dark_theme) .gw-kino-page {
  --gw-kino-black: #f8fafc;
  --gw-kino-slate: #e2e8f0;
  --gw-kino-soft: rgba(15, 23, 42, 0.78);
  --gw-kino-muted: rgba(71, 85, 105, 0.75);
  color: #0f172a;
}

body:not(.dark_theme) .gw-kino-page::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(229, 9, 20, 0.14), transparent 48%),
    radial-gradient(circle at 80% 12%, rgba(59, 130, 246, 0.12), transparent 52%),
    linear-gradient(160deg, rgba(248, 250, 252, 0.96), rgba(226, 232, 240, 0.75));
}

body:not(.dark_theme) .gw-kino-page::after {
  opacity: 0.18;
}

.gw-kino-hero,
.gw-kino-rows,
.gw-kino-empty {
  position: relative;
  z-index: 2;
}

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

body:not(.dark_theme) .gw-kino-hero {
  color: #0f172a;
}

.gw-kino-hero-backdrop {
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.1));
  background-position: center;
  background-size: cover;
  filter: saturate(1.1);
  inset: 0;
  position: absolute;
  z-index: 0;
  animation: gwKinoDrift 16s ease-in-out infinite;
}

.gw-kino-hero-video {
  height: 100%;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 0.6s ease;
  width: 100%;
}

.gw-kino-hero-video.is-active {
  opacity: 0.7;
}

.gw-kino-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-kino-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-kino-hero-content {
  position: relative;
  z-index: 2;
}

.gw-kino-eyebrow {
  color: var(--gw-kino-soft);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.gw-kino-hero h2 {
  font-family: "Bebas Neue", "Oswald", "Impact", sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 0.06em;
  margin: 8px 0 12px;
}

.gw-kino-hero-desc {
  color: var(--gw-kino-soft);
  font-size: 16px;
  line-height: 1.6;
  max-width: 520px;
}

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

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

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

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

.gw-kino-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-kino-btn-primary {
  background: var(--gw-kino-accent);
  box-shadow: 0 18px 30px rgba(229, 9, 20, 0.38);
  color: #ffffff;
}

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

.gw-kino-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-kino-btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

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

.gw-kino-hero-search {
  align-self: flex-start;
  justify-self: end;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}


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

.gw-kino-reel-title {
  color: var(--gw-kino-soft);
  font-size: 14px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.gw-kino-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-kino-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-kino-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-kino-reel-card:hover {
  box-shadow: 0 28px 50px rgba(8, 8, 12, 0.5);
  transform: translateY(-6px) scale(1.02);
}

.gw-kino-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-kino-reel-meta {
  padding: 14px 16px 18px;
  position: relative;
  z-index: 1;
}

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

.gw-kino-reel-sub {
  color: var(--gw-kino-muted);
  font-size: 12px;
}

body:not(.dark_theme) .gw-kino-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-kino-reel-card::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.82));
}

@keyframes gwKinoDrift {
  0% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.04) translateY(-1.5%);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.gw-kino-search {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  padding: 10px 16px;
}

body:not(.dark_theme) .gw-kino-search {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(15, 23, 42, 0.12);
}

.gw-kino-search .menu-item-icon {
  align-items: center;
  color: var(--gw-kino-soft);
  display: inline-flex;
  font-size: 18px;
}

body:not(.dark_theme) .gw-kino-search .menu-item-icon {
  color: rgba(15, 23, 42, 0.7);
}

.gw-kino-search input {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 14px;
  min-width: 220px;
  outline: none;
}

.gw-kino-rows {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 0 42px;
}

.gw-kino-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gw-kino-row-title {
  color: #f8fafc;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body:not(.dark_theme) .gw-kino-row-title {
  color: #0f172a;
}

.gw-kino-row-track {
  display: grid;
  gap: 16px;
  grid-auto-columns: clamp(160px, 18vw, 240px);
  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-kino-row-track::-webkit-scrollbar {
  height: 6px;
}

.gw-kino-row-track::-webkit-scrollbar-thumb {
  background: rgba(248, 250, 252, 0.2);
  border-radius: 999px;
}

.gw-kino-tile {
  background: var(--gw-kino-slate);
  border-radius: 16px;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body:not(.dark_theme) .gw-kino-tile {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.gw-kino-tile::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.8));
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.25s ease;
}

.gw-kino-tile:hover {
  box-shadow: 0 16px 28px rgba(8, 8, 12, 0.45);
  transform: translateY(-4px) scale(1.02);
}

.gw-kino-tile:hover::after {
  opacity: 1;
}

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

.gw-kino-tile-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 16px;
  position: relative;
  z-index: 1;
}

.gw-kino-tile-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.gw-kino-tile-detail {
  color: var(--gw-kino-muted);
  font-size: 12px;
}

.gw-kino-empty {
  align-items: center;
  border: 1px dashed rgba(248, 250, 252, 0.2);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 32px 42px 0;
  padding: 32px;
  text-align: center;
}

body:not(.dark_theme) .gw-kino-empty {
  border-color: rgba(15, 23, 42, 0.14);
}

.gw-kino-empty[hidden] {
  display: none !important;
}

@media (max-width: 960px) {
  .gw-kino-hero {
    grid-template-columns: 1fr;
    min-height: 62vh;
    padding: 84px 28px 42px;
  }

  .gw-kino-hero-search {
    justify-self: start;
    margin-top: 24px;
  }


  .gw-kino-search input {
    min-width: 160px;
  }

  .gw-kino-rows,
  .gw-kino-empty {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 640px) {
  .gw-kino-hero {
    min-height: 54vh;
    padding: 76px 20px 36px;
  }


  .gw-kino-rows,
  .gw-kino-empty {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 960px), (max-height: 760px) {
  .gw-kino-hero {
    overflow: visible;
  }
}
