/* Full-bleed casino hero — paired with styles.min.css */

.page:has(> .hero:first-child) {
  padding-top: 0;
}

.page > .hero:first-child {
  margin-top: 0;
}

.hero {
  --hero-chrome: 8.25rem;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  isolation: isolate;
  overflow: hidden;
  min-height: min(78svh, 720px);
  display: grid;
  align-items: end;
  background: #0c0907;
  color: var(--text);
}

@media (min-width: 900px) {
  .hero {
    --hero-chrome: 10.5rem;
    min-height: min(calc(100svh - var(--hero-chrome)), 820px);
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__media picture,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__media img {
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  transform-origin: center 30%;
  animation: hero-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img {
    animation: none;
    transform: scale(1.03);
  }
  .hero__content {
    animation: none;
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(8, 5, 3, 0.88) 0%,
      rgba(8, 5, 3, 0.62) 38%,
      rgba(8, 5, 3, 0.28) 62%,
      rgba(8, 5, 3, 0.45) 100%
    ),
    linear-gradient(180deg, rgba(8, 5, 3, 0.35) 0%, transparent 28%, rgba(18, 14, 10, 0.55) 72%, var(--bg) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--shell);
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 6vh, 56px) 0 clamp(36px, 7vh, 64px);
  display: grid;
  gap: 14px;
  justify-items: start;
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero__brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero__brand span {
  display: block;
  color: var(--gold-soft);
  font-size: 0.72em;
  letter-spacing: 0.14em;
  margin-top: 0.12em;
}

.hero__content h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: rgba(247, 241, 232, 0.94);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.hero__lead {
  margin: 0;
  max-width: 36ch;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  line-height: 1.45;
  color: rgba(247, 241, 232, 0.86);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero__lead strong {
  color: var(--gold-soft);
  font-weight: 800;
  font-family: var(--display);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  align-items: center;
}

.hero__actions .btn-primary {
  min-width: min(100%, 200px);
  padding: 14px 26px;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero__actions .btn-soft,
.hero__actions .btn-ghost {
  min-width: min(100%, 148px);
  opacity: 0.92;
  border-color: rgba(255, 236, 210, 0.28);
  background: rgba(18, 14, 10, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__actions .btn-soft:hover,
.hero__actions .btn-ghost:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

/* Welcome strip under hero — one job: bonus clarity */
.welcome-strip {
  display: grid;
  gap: 18px;
  padding: 22px 4px 8px;
  margin-bottom: 8px;
}

.welcome-strip__copy {
  min-width: 0;
}

.welcome-strip__copy .eyebrow {
  margin: 0 0 6px;
}

.welcome-strip__copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.15;
}

.welcome-strip__copy .lead {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
}

.welcome-strip .deposit-visual {
  margin: 0;
  max-width: 560px;
}

.welcome-strip .trust-chips {
  margin-top: 4px;
}

@media (min-width: 880px) {
  .welcome-strip {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 28px 40px;
    align-items: center;
    padding: 28px 4px 12px;
  }
}

/* Live spotlight row — proper 16:9 tiles, no stretch */
.live-spotlight {
  margin: 8px 0 20px;
}

.live-spotlight__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.live-spotlight__head h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
}

.live-spotlight__head a {
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.live-spotlight__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.live-card {
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
  color: inherit;
  min-width: 0;
}

.live-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #1a120c;
  border: 1px solid rgba(255, 236, 210, 0.08);
}

.live-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.live-card:hover .live-card__frame img {
  transform: scale(1.05);
}

.live-card__meta {
  display: grid;
  gap: 2px;
  padding: 0 2px;
}

.live-card__meta strong {
  font-family: var(--display);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.live-card__meta span {
  color: var(--muted);
  font-size: 0.78rem;
}

@media (min-width: 980px) {
  .live-spotlight__rail {
    grid-auto-flow: unset;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: min(72svh, 640px);
  }

  .hero__content {
    padding-bottom: 40px;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  .live-spotlight__rail {
    grid-auto-columns: minmax(78vw, 1fr);
  }
}
