:root {
  --accent: #a855f7;
  --bg: #030005;
  --text: #ffffff;
  --muted: #94a3b8;
  --line: rgba(168, 85, 247, 0.2);
  --glass: rgba(168, 85, 247, 0.055);
}

* {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Unbounded", system-ui, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 8%, rgba(168,85,247,0.28), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(59,130,246,0.16), transparent 28%),
    radial-gradient(circle at 70% 86%, rgba(236,72,153,0.11), transparent 34%),
    var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168,85,247,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,85,247,0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 54px);
  background: rgba(3,0,5,0.68);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
}

.brand {
  border: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  color: #fff;
  text-decoration: none;
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-button {
  cursor: pointer;
}

.brand span {
  color: var(--accent);
  text-transform: lowercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
}

.nav a,
.nav button {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  cursor: pointer;
}

.nav a::after,
.nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover,
.nav button:hover {
  color: #fff;
}

.nav a:hover::after,
.nav button:hover::after {
  transform: scaleX(1);
}

.hidden {
  display: none !important;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: clamp(28px, 6vw, 72px) clamp(16px, 5vw, 54px);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,0,5,0.97) 0%, rgba(3,0,5,0.76) 48%, rgba(3,0,5,0.9) 100%),
    url("reklama.jpg") center / cover;
  filter: saturate(0.95);
  transform: scale(1.04);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, var(--bg));
}

.hero-backdrop-johnny {
  background:
    linear-gradient(90deg, rgba(3,0,5,0.97) 0%, rgba(3,0,5,0.76) 48%, rgba(3,0,5,0.9) 100%),
    url("reklama.jpg") center / cover;
}

.hero-backdrop-chaos {
  background:
    linear-gradient(90deg, rgba(3,0,5,0.97) 0%, rgba(3,0,5,0.74) 48%, rgba(3,0,5,0.9) 100%),
    url("reklama2.jpg?v=2") center / cover;
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(230px, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.poster {
  padding: 10px;
  transform: rotate(-1deg);
}

.poster img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

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

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(168,85,247,0.15);
  border: 1px solid rgba(168,85,247,0.34);
  color: #d8b4fe;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin: 18px 0;
  font-size: clamp(2rem, 5.7vw, 5rem);
  line-height: 0.98;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3.7vw, 2.8rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 20px;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  color: rgba(255,255,255,0.68);
  font-size: clamp(0.88rem, 1.7vw, 1.02rem);
  font-weight: 700;
  line-height: 1.85;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.facts span {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.78);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.primary-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 28px rgba(168,85,247,0.38);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 46px rgba(168,85,247,0.58);
}

.play-icon,
.player-play {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.watch-section,
.content-grid,
.mood-section,
.catalog-section,
.about-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: clamp(44px, 7vw, 84px);
}

.home-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(16px, 5vw, 54px) clamp(48px, 8vw, 92px);
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,0,5,0.98), rgba(3,0,5,0.7), rgba(3,0,5,0.94)),
    url("reklama.jpg") center / cover;
  filter: saturate(0.88);
  transform: scale(1.04);
}

.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, var(--bg));
}

.home-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.home-hero h1 {
  margin: 18px 0;
  font-size: clamp(3rem, 9vw, 7.2rem);
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.movie-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  text-align: left;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168,85,247,0.48);
  box-shadow: 0 18px 70px rgba(168,85,247,0.18);
}

.movie-card:hover .movie-poster img {
  transform: scale(1.055);
  opacity: 0.86;
}

.movie-poster {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #07030a;
}

.movie-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 904 / 1280;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.movie-poster span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(168,85,247,0.82);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.movie-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 4px 2px;
}

.movie-info h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.32;
}

.movie-info p {
  margin: 0;
  color: rgba(255,255,255,0.56);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.65;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.movie-meta span {
  padding: 5px 8px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.68);
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-strip {
  margin-top: clamp(44px, 7vw, 84px);
  padding: clamp(22px, 4vw, 34px);
}

.about-strip h2 {
  margin: 12px 0 14px;
}

.about-strip p {
  max-width: 760px;
  color: rgba(255,255,255,0.64);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.85;
}

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

.player-shell {
  overflow: hidden;
}

.player-screen {
  position: relative;
  min-height: 310px;
  aspect-ratio: 16 / 8.2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background:
    radial-gradient(circle at 50% 42%, rgba(168,85,247,0.24), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(168,85,247,0.05)),
    #07030a;
}

.player-screen::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(168,85,247,0.24);
  border-radius: 16px;
}

.player-screen.video-ready {
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 0;
  background: #000;
}

.player-screen.video-ready::before {
  display: none;
}

.movie-video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
  border: 0;
}

.custom-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.custom-player::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(3,0,5,0.86));
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

.custom-player.is-playing::after {
  opacity: 0.55;
}

.player-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border: 1px solid rgba(216,180,254,0.48);
  border-radius: 50%;
  background: rgba(3,0,5,0.72);
  color: #fff;
  box-shadow: 0 0 46px rgba(168,85,247,0.34);
  transform: translate(-50%, -50%);
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.player-overlay-btn:hover {
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.06);
}

.custom-player.is-playing .player-overlay-btn {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.custom-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 4;
  display: grid;
  gap: 10px;
}

.progress-wrap {
  height: 18px;
  display: flex;
  align-items: center;
}

.video-progress {
  width: 100%;
  height: 6px;
  margin: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--progress, 0%), rgba(255,255,255,0.22) var(--progress, 0%));
  cursor: pointer;
}

.video-progress::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 0 18px rgba(168,85,247,0.46);
}

.video-progress::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: #fff;
}

.control-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px 42px;
  align-items: center;
  gap: 9px;
}

.control-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(3,0,5,0.66);
  color: #fff;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.control-btn:hover {
  border-color: rgba(168,85,247,0.55);
  background: rgba(168,85,247,0.24);
  transform: translateY(-1px);
}

.control-play-icon,
.sound-icon,
.fullscreen-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.control-play-icon::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.custom-player.is-playing .control-play-icon::before,
.custom-player.is-playing .control-play-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 5px;
  height: 14px;
  border: 0;
  background: currentColor;
}

.custom-player.is-playing .control-play-icon::before {
  left: 4px;
}

.custom-player.is-playing .control-play-icon::after {
  right: 4px;
}

.sound-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 5px;
  width: 6px;
  height: 8px;
  background: currentColor;
  border-radius: 2px;
}

.sound-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 8px;
  height: 12px;
  border: 2px solid currentColor;
  border-left: 0;
  border-radius: 0 12px 12px 0;
}

.custom-player.is-muted .sound-icon::after {
  width: 12px;
  height: 2px;
  top: 8px;
  left: 6px;
  border: 0;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(-36deg);
}

.fullscreen-icon::before,
.fullscreen-icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-color: currentColor;
  border-style: solid;
}

.fullscreen-icon::before {
  border-width: 2px 0 0 2px;
}

.fullscreen-icon::after {
  border-width: 0 2px 2px 0;
}

.time-label {
  min-width: 0;
  color: rgba(255,255,255,0.76);
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-start {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border: 1px solid rgba(168,85,247,0.45);
  border-radius: 50%;
  background: rgba(3,0,5,0.74);
  color: #d8b4fe;
  box-shadow: 0 0 44px rgba(168,85,247,0.22);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--accent);
}

.player-empty {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.player-empty strong {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.player-empty span {
  color: rgba(255,255,255,0.48);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.45;
}

.player-bar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: rgba(255,255,255,0.025);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.player-bar span {
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.player-bar span:nth-child(1) {
  width: 74px;
  background: var(--accent);
}

.player-bar span:nth-child(2) {
  flex: 1;
}

.player-bar span:nth-child(3) {
  width: 42px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
}

.description,
.info-panel {
  padding: clamp(20px, 4vw, 34px);
}

.description h2 {
  margin: 12px 0 18px;
}

.description p {
  color: rgba(255,255,255,0.66);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.9;
}

dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

dt {
  color: rgba(255,255,255,0.38);
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

dd {
  margin: 4px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.55;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mood-card {
  min-height: 138px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.mood-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168,85,247,0.44);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 58px auto 0;
  padding: 24px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(168,85,247,0.14);
  color: rgba(255,255,255,0.42);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.7s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-inner,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .poster {
    width: min(300px, 78vw);
    margin: 0 auto;
  }

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

@media (max-width: 600px) {
  .site-header {
    height: auto;
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .nav a,
  .nav button {
    font-size: 0.62rem;
  }

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

  .player-screen {
    min-height: 300px;
    aspect-ratio: auto;
    padding: 24px 18px;
    align-items: flex-start;
  }

  .player-screen.video-ready {
    min-height: 0;
    aspect-ratio: 16 / 9;
    padding: 0;
  }

  .custom-controls {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 7px;
  }

  .player-overlay-btn {
    width: 62px;
    height: 62px;
  }

  .control-row {
    grid-template-columns: 36px minmax(74px, 1fr) 36px 36px;
    gap: 6px;
  }

  .control-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .time-label {
    font-size: 0.56rem;
  }

  .video-progress {
    height: 5px;
  }

  .player-empty {
    left: 18px;
    right: 18px;
    bottom: 78px;
  }

  .player-empty strong {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .player-empty span {
    font-size: 0.66rem;
  }

  .player-start {
    top: 43%;
    width: 70px;
    height: 70px;
  }

  .player-bar {
    height: 58px;
    padding: 0 18px;
  }

  .footer {
    flex-direction: column;
  }
}
