:root {
  --gold: #b88624;
  --gold-soft: rgba(184, 134, 36, 0.44);
  --gold-faint: rgba(184, 134, 36, 0.18);
  --blue: #2f8fff;
  --red: #ef4444;
  --green: #22c55e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #02040a;
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
}

body {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.72)),
    url("/teasers.webp"),
    url("/trailer.webp");
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  padding: 0 24px;
}

.main-nav {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 20;
  display: flex;
  gap: 14px;
  align-items: center;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  padding: 13px 20px;
  overflow: hidden;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--gold-soft);
  border-radius: 8px;
  background: rgba(28, 30, 34, 0.86);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px var(--gold-faint);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.main-nav a::before,
.teaser-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(184, 134, 36, 0.72);
  background: rgba(36, 39, 45, 0.92);
  box-shadow:
    0 16px 42px rgba(184, 134, 36, 0.16),
    inset 0 0 0 1px rgba(184, 134, 36, 0.24);
  outline: none;
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before,
.teaser-tab:hover::before,
.teaser-tab:focus-visible::before {
  transform: translateX(120%);
}

.content {
  display: block;
  height: 100svh;
  padding: 96px 0 24px;
  overflow: hidden;
}

.teaser-panel {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100svh - 120px);
  margin-inline: auto;
  padding: clamp(20px, 3vw, 36px);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: transparent;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(0.8px);
}

.kicker {
  margin-bottom: 16px;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  color: var(--gold);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.82);
}

.teaser-tabs {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
  align-items: stretch;
  width: 100%;
  margin-top: clamp(20px, 3vw, 32px);
  margin-inline: auto;
}

.teaser-tab:nth-child(1) {
  grid-column: 1 / span 4;
}

.teaser-tab:nth-child(2) {
  grid-column: 9 / span 4;
}

.teaser-tab-welcome {
  grid-column: 3 / span 8;
}

.teaser-tab {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.teaser-tab img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 220ms ease;
}

.teaser-label,
.teaser-number {
  position: relative;
  z-index: 1;
}

.teaser-label {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 16px 13px;
  background: linear-gradient(transparent, rgba(1, 4, 10, 0.92));
}

.teaser-number {
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
  color: #e5b342;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.teaser-tab:hover,
.teaser-tab:focus-visible {
  transform: translateY(-4px);
  filter: brightness(1.1);
  outline: none;
}

.teaser-tab:hover img,
.teaser-tab:focus-visible img {
  transform: scale(1.035);
  filter: brightness(1.08);
}

.teaser-tab.gold {
  color: #d8a327;
  border-color: #d8a327;
  background: rgba(7, 10, 16, 0.06);
  box-shadow:
    0 12px 32px rgba(184, 134, 36, 0.14),
    inset 0 0 0 1px rgba(216, 163, 39, 0.2);
  backdrop-filter: blur(0.8px);
}

@media (max-height: 820px) and (min-width: 761px) {
  .teaser-panel {
    width: min(860px, calc(100vw - 32px));
    padding: 24px;
  }

  .kicker {
    margin-bottom: 10px;
  }

  h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
  }

  .teaser-tabs {
    margin-top: 20px;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .content {
    padding-top: 88px;
  }

  .teaser-panel {
    width: min(720px, calc(100vw - 32px));
    padding: 18px;
  }

  .kicker {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: 2.8rem;
  }

  .teaser-tabs {
    gap: 12px;
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  .page {
    padding: 0 12px;
  }

  .main-nav {
    top: 16px;
    right: 4px;
    left: 4px;
    justify-content: center;
    gap: 3px;
  }

  .main-nav a {
    min-width: 0;
    padding: 9px 6px;
    font-size: 0.56rem;
  }

  .content {
    height: 100svh;
    padding: 76px 0 12px;
  }

  .teaser-panel {
    width: min(520px, calc(100vw - 24px));
    max-height: calc(100svh - 92px);
    padding: 16px 14px;
  }

  .kicker {
    margin-bottom: 8px;
    font-size: 0.7rem;
  }

  h1 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .teaser-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 14px;
  }

  .teaser-tab:nth-child(1),
  .teaser-tab:nth-child(2) {
    grid-column: auto;
  }

  .teaser-tab-welcome {
    grid-column: 1 / -1;
    width: 100%;
  }
}
