/* ==========================================================================
   MJL Home Page — Production section layouts
   ========================================================================== */

.home-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-section-cover-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-section-cover-wrap .home-section-cover-layer {
  position: absolute;
  inset: 0;
}

.home-section-cover-wrap .home-section-cover-layer .responsive-cover-image {
  position: absolute;
  inset: 0;
}

.home-section-cover-wrap .home-section-cover-layer .home-section-cover--desktop {
  display: block;
}

.home-section-cover-wrap .home-section-cover-layer .home-section-cover--tablet,
.home-section-cover-wrap .home-section-cover-layer .home-section-cover--mobile {
  display: none;
}

@media (max-width: 1023px) {
  .home-section-cover-wrap .home-section-cover-layer .home-section-cover--desktop {
    display: none;
  }

  .home-section-cover-wrap .home-section-cover-layer .home-section-cover--tablet {
    display: block;
  }
}

@media (max-width: 768px) {
  .home-section-cover-wrap .home-section-cover-layer .home-section-cover--tablet {
    display: none;
  }

  .home-section-cover-wrap .home-section-cover-layer .home-section-cover--mobile {
    display: block;
  }
}

.home-section-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 11, 8, 0.18), rgba(5, 11, 8, 0.72)),
    linear-gradient(90deg, rgba(5, 11, 8, 0.82), rgba(5, 11, 8, 0.42));
}

.home-section-inner {
  position: relative;
  z-index: 2;
}

/* Top Games */
.home-top-games {
  padding: 88px 0 72px;
}

.home-top-games .home-section-shade {
  background:
    linear-gradient(180deg, rgba(5, 11, 8, 0.55), rgba(5, 11, 8, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.12), transparent 55%);
}

.home-games-showcase {
  margin-top: 28px;
}

.home-game-card-body h3 {
  font-size: 1.05rem;
}

.home-game-card-body p {
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Premium Experience — large photo, small overlay */
.home-premium {
  min-height: clamp(420px, 58vh, 680px);
  display: grid;
  align-items: end;
  padding: 0;
}

.home-premium .home-section-shade {
  background:
    linear-gradient(180deg, rgba(5, 11, 8, 0.08) 0%, rgba(5, 11, 8, 0.55) 52%, rgba(5, 11, 8, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 11, 8, 0.72), rgba(5, 11, 8, 0.18));
}

.home-premium-copy {
  max-width: 520px;
  padding: 48px 0 56px;
}

.home-premium-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.home-premium-copy p {
  margin: 0;
  max-width: 420px;
  color: rgba(248, 250, 252, 0.82);
  font-size: 1rem;
  line-height: 1.6;
}

/* Build Community */
.home-community {
  min-height: clamp(360px, 48vh, 560px);
  display: grid;
  align-items: center;
  padding: 72px 0;
}

.home-community .home-section-shade {
  background:
    linear-gradient(90deg, rgba(5, 11, 8, 0.9) 0%, rgba(5, 11, 8, 0.55) 42%, rgba(5, 11, 8, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 11, 8, 0.2), rgba(5, 11, 8, 0.75));
}

.home-community-copy {
  max-width: 560px;
}

.home-community-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.home-community-copy p {
  margin: 0 0 18px;
  color: rgba(248, 250, 252, 0.8);
  line-height: 1.65;
}

/* Elite Game Zone — 70% photo / 30% text */
.home-elite-zone {
  padding: 0;
  margin-top: 0;
  background: #050b08;
}

.home-elite-split {
  position: relative;
  min-height: clamp(480px, 52vh, 640px);
  overflow: hidden;
}

.home-elite-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-elite-media .home-section-cover-wrap {
  position: absolute;
  inset: 0;
}

.home-elite-media .home-section-shade {
  background:
    linear-gradient(
      to top,
      rgba(2, 8, 5, 0.96) 0%,
      rgba(2, 8, 5, 0.82) 28%,
      rgba(2, 8, 5, 0.45) 55%,
      rgba(2, 8, 5, 0.08) 100%
    ),
    linear-gradient(90deg, rgba(2, 8, 5, 0.88) 0%, rgba(2, 8, 5, 0.42) 52%, transparent 100%);
}

.home-elite-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: 14px;
  max-width: min(560px, 92%);
  margin: 0 auto 0 0;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 40px);
  background: transparent;
  border: none;
}

.home-elite-copy .eyebrow {
  color: #00ff88;
  font-size: 11px;
  letter-spacing: 2px;
}

.home-elite-copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.home-elite-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.home-elite-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.home-elite-list li {
  padding: 14px 16px;
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: 14px;
  background: #050f0c;
  color: rgba(220, 235, 228, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    inset 0 -12px 22px rgba(0, 0, 0, 0.32);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-elite-list li:hover {
  border-color: rgba(0, 255, 136, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -12px 22px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(124, 255, 0, 0.07);
}

.home-elite-list li strong {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.25;
}

/* Events */
.home-events {
  padding: 88px 0;
}

.home-events .home-section-shade {
  opacity: 0.88;
}

.home-events .home-section-inner {
  padding-top: 12px;
}

/* Food & Drinks */
.home-food {
  min-height: clamp(320px, 42vh, 480px);
  display: grid;
  align-items: end;
  padding: 0;
}

.home-food .home-section-shade {
  background:
    linear-gradient(
      to top,
      rgba(2, 8, 5, 0.96) 0%,
      rgba(2, 8, 5, 0.82) 28%,
      rgba(2, 8, 5, 0.45) 55%,
      rgba(2, 8, 5, 0.08) 100%
    ),
    linear-gradient(90deg, rgba(2, 8, 5, 0.72) 0%, rgba(2, 8, 5, 0.28) 100%);
}

.home-food-copy {
  position: relative;
  z-index: 2;
  padding: 48px 0 56px;
  max-width: 640px;
}

.home-food-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.home-food-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

@media (max-width: 1023px) {
  .home-games-showcase {
    margin-top: 24px;
  }

  .home-elite-copy {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .home-top-games,
  .home-events {
    padding: 64px 0 56px;
  }

  .home-games-showcase {
    margin-top: 20px;
  }

  .home-premium-copy,
  .home-food-copy {
    padding: 36px 0 42px;
  }

  .home-community {
    padding: 56px 0;
    min-height: 420px;
  }

  .home-elite-copy {
    padding: 28px 0 36px;
  }
}
