.home-page {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 55%, rgba(126, 80, 13, .12), transparent 30rem),
    #070604;
}

.home-hero {
  position: relative;
  min-height: clamp(560px, 68svh, 720px);
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 176, 61, .22);
}

.home-hero__slides,
.home-hero__slide,
.home-hero__slide img,
.home-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__slides {
  z-index: -3;
}

.home-hero__slide {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1s ease, transform 7s ease;
}

.home-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.home-hero__slide img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, .97) 0%, rgba(5, 4, 3, .76) 38%, rgba(5, 4, 3, .16) 70%, rgba(5, 4, 3, .28) 100%),
    linear-gradient(180deg, rgba(5, 4, 3, .15), rgba(5, 4, 3, .08) 60%, rgba(5, 4, 3, .92));
}

.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, #070604 100%);
}

.home-hero__content {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 64px 28px 118px;
}

.section-eyebrow {
  margin: 0 0 14px;
  color: var(--casino-gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--casino-ivory);
  font-family: var(--casino-serif);
  font-size: clamp(54px, 6.7vw, 98px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .88;
  text-wrap: balance;
  text-shadow: 0 12px 44px rgba(0, 0, 0, .66);
}

.home-hero h1 span {
  display: block;
  margin-top: .08em;
  color: var(--casino-gold-light);
  background: linear-gradient(180deg, #fff3bd 0%, #e8bd50 48%, #a76c15 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 10px rgba(103, 60, 3, .5));
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.cinematic-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, filter .2s ease, border-color .2s ease, background .2s ease;
}

.cinematic-button:hover,
.cinematic-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.cinematic-button--gold {
  color: #171006;
  background: linear-gradient(135deg, #f7df8d 0%, #c99126 100%);
  border-color: rgba(255, 236, 166, .8);
  box-shadow: inset 0 1px rgba(255, 255, 255, .55), 0 14px 30px rgba(151, 94, 8, .26);
}

.cinematic-button--gold:hover,
.cinematic-button--gold:focus-visible {
  filter: brightness(1.08);
}

.cinematic-button--ghost {
  color: #f4e8cf;
  background: rgba(8, 6, 4, .45);
  border-color: rgba(239, 199, 106, .45);
  backdrop-filter: blur(8px);
}

.cinematic-button--ghost:hover,
.cinematic-button--ghost:focus-visible {
  color: var(--casino-gold-light);
  background: rgba(39, 28, 13, .72);
  border-color: rgba(239, 199, 106, .8);
}

.home-hero__controls {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-hero__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #f4dfad;
  border: 1px solid rgba(239, 199, 106, .42);
  border-radius: 50%;
  background: rgba(8, 6, 4, .62);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.home-hero__arrow:hover,
.home-hero__arrow:focus-visible {
  color: #171006;
  border-color: var(--casino-gold-light);
  background: var(--casino-gold-light);
  transform: translateY(-1px);
  outline: none;
}

.home-hero__dots {
  display: flex;
  gap: 4px;
}

/* Large touch areas; the visible dots keep their original dimensions. */
.home-hero__dot {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.home-hero__dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  transition: width .25s ease, background .25s ease;
}

.home-hero__dot.is-active::before {
  width: 28px;
  background: var(--casino-gold-light);
}

.home-hero__dot:focus-visible {
  outline: 2px solid var(--casino-gold-light);
  outline-offset: 1px;
}

.home-section {
  width: min(calc(100% - 48px), var(--content-width));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 710px;
  margin-bottom: 38px;
}

.section-heading h2,
.experience-intro h2,
.welcome-promo h2 {
  margin: 0;
  color: var(--casino-ivory);
  font-family: var(--casino-serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  text-wrap: balance;
}

.section-heading > p:last-child,
.experience-intro > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--casino-muted);
  font-size: 17px;
  line-height: 1.7;
}

.games-video-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(232, 186, 78, .38);
  border-radius: 28px;
  background: #020201;
  box-shadow: 0 34px 84px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 241, 188, .08);
}

.game-video-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  overflow: hidden;
  color: inherit;
  pointer-events: none;
  text-decoration: none;
  transform: scale(1.035);
  transition: opacity .8s ease, transform 1.1s ease;
}

.game-video-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 2, 1, .88) 0%, rgba(3, 2, 1, .3) 55%, rgba(3, 2, 1, .08)), linear-gradient(0deg, rgba(3, 2, 1, .75), transparent 45%);
}

.game-video-slide.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.game-video-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020201;
}

.game-video-caption {
  position: absolute;
  z-index: 2;
  left: clamp(26px, 5vw, 72px);
  bottom: clamp(28px, 5vw, 66px);
  display: grid;
  justify-items: start;
}

.game-video-caption small {
  color: var(--casino-gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.game-video-caption strong {
  margin-top: 7px;
  color: #fff8e7;
  font-family: var(--casino-serif);
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1;
  text-shadow: 0 8px 28px #000;
}

.game-video-caption > span {
  margin-top: 20px;
  padding-bottom: 5px;
  color: #f1dfb6;
  border-bottom: 1px solid rgba(241, 223, 182, .6);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.game-video-caption b {
  margin-left: 8px;
  color: var(--casino-gold-light);
}

.carousel-dots {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 7px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--casino-gold-light);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 5px;
  color: var(--casino-gold-light);
  border-bottom: 1px solid rgba(237, 199, 107, .45);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-experience {
  display: grid;
  grid-template-columns: .85fr 1.45fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
  border-top: 1px solid rgba(226, 176, 61, .16);
}

.experience-intro {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.experience-grid {
  display: grid;
}

.experience-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  column-gap: 18px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(232, 186, 78, .18);
}

.experience-grid article:first-child {
  border-top: 1px solid rgba(232, 186, 78, .18);
}

.experience-grid article > span {
  grid-row: 1 / span 2;
  color: var(--casino-gold);
  font-family: var(--casino-serif);
  font-size: 25px;
}

.experience-grid h3 {
  margin: 0;
  color: #f4ead8;
  font-family: var(--casino-serif);
  font-size: 26px;
  font-weight: 600;
}

.experience-grid p {
  margin: 9px 0 0;
  color: #a9a093;
  font-size: 15px;
  line-height: 1.65;
}

.welcome-promo {
  position: relative;
  margin-bottom: 110px;
  padding: clamp(54px, 7vw, 94px) clamp(24px, 7vw, 100px);
  overflow: hidden;
  border: 1px solid rgba(235, 190, 86, .42);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 30%, rgba(183, 119, 20, .2), transparent 24rem),
    linear-gradient(135deg, rgba(32, 23, 12, .96), rgba(8, 6, 4, .98));
  box-shadow: 0 34px 86px rgba(0, 0, 0, .4), inset 0 1px rgba(255, 239, 176, .08);
}

.welcome-promo::before,
.welcome-promo::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--casino-gold), transparent);
}

.welcome-promo::before { top: 30px; left: 30px; }
.welcome-promo::after { right: 30px; bottom: 30px; }

.welcome-promo__ornament {
  position: absolute;
  right: 8%;
  top: 50%;
  color: rgba(226, 176, 61, .12);
  font-size: clamp(130px, 22vw, 310px);
  line-height: 1;
  transform: translateY(-50%) rotate(45deg);
}

.welcome-promo h2 {
  position: relative;
  max-width: 700px;
  color: var(--casino-gold-light);
}

.welcome-promo__lead {
  position: relative;
  margin: 16px 0 0;
  color: #d7c8ab;
  font-weight: 700;
}

.welcome-promo__rules {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 34px 0;
}

.welcome-promo__rules p {
  margin: 0;
  padding-left: 18px;
  color: #bdb3a3;
  border-left: 1px solid rgba(227, 178, 66, .52);
  line-height: 1.65;
}

.welcome-promo__rules strong {
  color: #f0dfbb;
}

@media (min-width: 761px) {
  .home-hero__slide:nth-child(n + 2) img {
    transform: scale(1.15) translateX(6%);
  }
}

@media (max-width: 760px) {
  .home-hero {
    min-height: clamp(510px, 68svh, 610px);
    align-items: start;
  }

  .home-hero__slide img {
    object-position: center;
  }

  .home-hero__shade {
    background:
      linear-gradient(180deg, rgba(5, 4, 3, .93) 0%, rgba(5, 4, 3, .5) 38%, rgba(5, 4, 3, .06) 63%, rgba(5, 4, 3, .88) 100%),
      linear-gradient(90deg, rgba(5, 4, 3, .4), transparent 60%);
  }

  .home-hero__content {
    padding: 44px 20px 150px;
  }

  .home-hero h1 {
    max-width: 470px;
    font-size: clamp(47px, 14.3vw, 72px);
    line-height: .91;
  }

  .home-hero__actions {
    margin-top: 24px;
  }

  .cinematic-button {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 11px;
  }

  .home-hero__controls {
    right: 14px;
    bottom: 16px;
    gap: 9px;
  }

  .home-hero__arrow {
    width: 38px;
    height: 38px;
  }

  .home-section {
    width: min(calc(100% - 28px), var(--content-width));
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .experience-intro h2,
  .welcome-promo h2 {
    font-size: clamp(35px, 11vw, 52px);
  }

  .section-heading > p:last-child,
  .experience-intro > p:last-child {
    font-size: 15px;
  }

  .games-video-carousel {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
  }

  .game-video-slide::after {
    background: linear-gradient(0deg, rgba(3, 2, 1, .9) 0%, rgba(3, 2, 1, .1) 68%);
  }

  .game-video-caption {
    left: 22px;
    bottom: 42px;
  }

  .game-video-caption strong {
    font-size: clamp(32px, 10vw, 48px);
  }

  .carousel-dots {
    right: 18px;
    bottom: 18px;
  }

  .home-experience {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .experience-intro {
    position: static;
  }

  .experience-grid article {
    grid-template-columns: 45px 1fr;
    column-gap: 10px;
    padding: 24px 0;
  }

  .experience-grid h3 { font-size: 23px; }

  .welcome-promo {
    width: calc(100% - 28px);
    margin-bottom: 70px;
    padding: 52px 22px;
    border-radius: 22px;
  }

  .welcome-promo__rules {
    grid-template-columns: 1fr;
    margin: 28px 0;
  }
}

@media (max-width: 390px) {
  .home-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cinematic-button {
    padding-inline: 12px;
    text-align: center;
  }
}
