/* ============================================================
   Lucky Luxe — Landing Page Styles
   landing.css
   ============================================================ */

/* ----------------------------------------------------------
   0. CSS Custom Properties (Design Tokens)
   ---------------------------------------------------------- */
:root {
  --bg-base:          #060a06;
  --bg-alt:           #08110a;
  --bg-card:          #0d140d;
  --bg-stats:         #0a120a;
  --gold:             #f0b429;
  --gold-hover:       #ffd04a;
  --gold-dark:        #c9a227;
  --green:            #2db52d;
  --green-hover:      #35d435;
  --white:            #ffffff;
  --gray:             #8a9a8a;
  --border-subtle:    rgba(255, 255, 255, 0.07);
  --border-nav:       rgba(255, 255, 255, 0.06);
  --transition:       0.2s ease;
  --radius-card:      14px;
  --radius-btn:       8px;
  --container-width:  1160px;
}

/* ----------------------------------------------------------
   1. Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-base);
  color: var(--white);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ----------------------------------------------------------
   2. Utility Classes
   ---------------------------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gold {
  color: var(--gold);
}

.green {
  color: var(--green);
}

/* ----------------------------------------------------------
   3. Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-btn);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

/* Gold filled */
.btn-gold {
  background: var(--gold);
  color: #0a0a0a;
}

.btn-gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 4px 18px rgba(240, 180, 41, 0.35);
}

/* Dark outline */
.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Large variant */
.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
}

/* Small nav buttons */
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border-radius: 7px;
}

/* ----------------------------------------------------------
   4. Navigation
   ---------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-nav);
  padding: 0.85rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.nav__logo-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
}

/* Center links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav__links a:hover {
  color: var(--gold);
}

/* Right CTA */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   5. Hero Section
   ---------------------------------------------------------- */
.hero {
  background: #060a06;
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 480px;
  position: relative;
}

.hero__content {
  flex: 0 0 460px;
  max-width: 460px;
  position: relative;
  z-index: 2;
}

.hero__img-col {
  position: absolute;
  top: 50%;
  right: -3rem;
  transform: translateY(-50%);
  /* Wider so the banner extends into the text column on the left */
  width: 82%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
  pointer-events: none;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
  /* Crisp rendering — no browser upscale blur */
  image-rendering: -webkit-optimize-contrast;
}

.hero__eyebrow {
  display: block;
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.1rem;
}

.hero__title {
  display: block;
  font-weight: 900;
  font-size: 3.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.hero__subtitle {
  display: block;
  font-weight: 700;
  font-size: 2.2rem;
  font-style: italic;
  color: var(--gold-dark);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero__desc {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero__desc .gold {
  color: var(--gold);
  font-weight: 500;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ----------------------------------------------------------
   6. Stats Bar
   ---------------------------------------------------------- */
.stats {
  background: var(--bg-stats);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.8rem 0;
}

.stats__grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}

.stat-item__icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.stat-item__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.stat-item__sub {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 0.1rem;
}

/* ----------------------------------------------------------
   7. Section Shared Styles
   ---------------------------------------------------------- */
.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: transparent;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section__title-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.section__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.badge-new {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 30px;
  letter-spacing: 0.04em;
}

.section__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  transition: color var(--transition);
}

.section__link:hover {
  color: var(--gold-hover);
}

/* ----------------------------------------------------------
   8. Game Cards (shared)
   ---------------------------------------------------------- */

/* ── New Games: carousel wrapper with prev/next arrows ── */
.games-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
}

.carousel-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  padding: 0;
  user-select: none;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ── New Games: 7-column grid — all cards visible on desktop ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  flex: 1;
  min-width: 0;
  background: transparent;
}

.games-grid .game-card {
  border-radius: 12px;
  overflow: hidden;
  height: 185px;
  background: transparent;
}

.games-grid .game-card a {
  display: block;
  height: 100%;
}

.games-grid .game-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ── Explore Games: horizontal scroll with arrow nav ── */
.games-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* hide scrollbar — arrows handle nav */
  background: transparent;
}
.games-scroll::-webkit-scrollbar { display: none; }

/* Shared card styles */
.game-card {
  position: relative;
  /* In grid: let column width dictate; in flex: don't shrink */
  flex-shrink: 0;
  scroll-snap-align: start;
  background: transparent;
}

.game-card a {
  display: block;
}

/* Scroll cards: fixed width */
.games-scroll .game-card img {
  width: 148px;
  height: auto;
  border-radius: 12px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}

.game-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(240, 180, 41, 0.4);
}

.game-card__badge {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 0.1rem 0.45rem;
  background: var(--green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 2;
}

/* ----------------------------------------------------------
   9. Explore Games (with arrow nav)
   ---------------------------------------------------------- */
.filter-tabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.filter-tab {
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--gray);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition);
  text-decoration: none;
}

.filter-tab:hover {
  color: var(--gold);
  border-color: rgba(240, 180, 41, 0.3);
}

.filter-tab.active {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

.games-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
}

.games-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition);
  user-select: none;
}

.games-arrow:hover {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

.games-nav .games-scroll {
  flex: 1;
}

/* ----------------------------------------------------------
   10. Promo Cards
   ---------------------------------------------------------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.promo-card:hover {
  border-color: rgba(240, 180, 41, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.promo-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.promo-card__icon--gold   { background: rgba(240, 180, 41, 0.18); }
.promo-card__icon--green  { background: rgba(45, 181, 45, 0.18); }
.promo-card__icon--blue   { background: rgba(59, 130, 246, 0.18); }
.promo-card__icon--purple { background: rgba(168, 85, 247, 0.18); }

.promo-card__title {
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.promo-card__sub {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.promo-card__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  transition: color var(--transition);
}

.promo-card__link:hover {
  color: var(--gold-hover);
}

/* ----------------------------------------------------------
   11. Join Today Section
   ---------------------------------------------------------- */
.join {
  background: var(--bg-alt);
  padding: 3.5rem 0;
}

.join__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.join__pot {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #1e3a1e, #0a1a0a);
  box-shadow: 0 0 30px rgba(45, 181, 45, 0.35), 0 0 60px rgba(45, 181, 45, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  line-height: 1;
}

.join__img-col {
  flex-shrink: 0;
  /* Scale to roughly half the section width so the artwork dominates
     the left side and fades naturally into the text on the right. */
  width: 48%;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Pull right edge into the verbiage so the fade visually merges them */
  margin-right: -2.5rem;
}

.join__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  /* Fade the right edge into the section background so the image
     melts into the "Join LuckyLuxe Today" verbiage instead of having
     a hard rectangular edge. */
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 55%,
    rgba(0,0,0,0.55) 78%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 55%,
    rgba(0,0,0,0.55) 78%,
    transparent 100%
  );
}

.join__content {
  flex: 1;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.join__text {
  flex: 1;
  min-width: 220px;
}

.join__heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.join__heading .gold {
  color: var(--gold);
}

.join__sub {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.join__features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.join__feature {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}

.join__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   12. Testimonials
   ---------------------------------------------------------- */
.testimonials {
  padding: 3.5rem 0;
}

.testimonials__title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonials-carousel .testimonials__grid {
  flex: 1;
  min-width: 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(240, 180, 41, 0.18);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2a3a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.stars {
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.05rem;
}

.testimonial-card__quote {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.testimonial-card__author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

/* ----------------------------------------------------------
   13. Newsletter — "Stay in the Lucky Loop" card
   ---------------------------------------------------------- */
.newsletter {
  background: #060a06;
  padding: 2.5rem 0 3rem;
}

.newsletter__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  border-radius: 18px;
  border: 1.5px solid rgba(247, 215, 116, 0.35);
  background:
    radial-gradient(120% 200% at 0% 50%, rgba(76,175,80,0.18) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(120% 200% at 100% 50%, rgba(76,175,80,0.18) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, #0b1a0b 0%, #081008 100%);
  box-shadow:
    0 0 0 1px rgba(247, 215, 116, 0.08) inset,
    0 10px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

/* Decorative chip + clover clusters at each end of the card */
.newsletter__decor {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  pointer-events: none;
  opacity: 0.85;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.newsletter__decor--left {
  left: -10px;
  background-image:
    radial-gradient(circle at 30% 60%, rgba(76,175,80,0.55) 0 14px, transparent 15px),
    radial-gradient(circle at 65% 35%, rgba(76,175,80,0.45) 0 10px, transparent 11px),
    radial-gradient(circle at 50% 80%, rgba(247,215,116,0.35) 0 6px, transparent 7px);
  filter: blur(0.3px);
}
.newsletter__decor--right {
  right: -10px;
  background-image:
    radial-gradient(circle at 70% 60%, rgba(76,175,80,0.55) 0 14px, transparent 15px),
    radial-gradient(circle at 35% 35%, rgba(76,175,80,0.45) 0 10px, transparent 11px),
    radial-gradient(circle at 50% 80%, rgba(247,215,116,0.35) 0 6px, transparent 7px);
  filter: blur(0.3px);
}

.newsletter__left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1 1 320px;
}

.newsletter__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(76,175,80,0.35), rgba(0,0,0,0.4));
  box-shadow: 0 0 24px rgba(76,175,80,0.25);
}

.newsletter__heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f7d774;
  margin-bottom: 0.25rem;
  letter-spacing: 0.2px;
}

.newsletter__sub {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
  max-width: 340px;
}

.newsletter__form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
}

.newsletter__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #0a0f0a;
  border: 1.5px solid rgba(247, 215, 116, 0.18);
  border-radius: 10px;
  padding: 0 0.9rem;
  width: 340px;
  max-width: 100%;
  transition: border-color var(--transition);
}
.newsletter__input-wrap:focus-within {
  border-color: rgba(247, 215, 116, 0.55);
}

.newsletter__input-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.6rem;
  opacity: 0.7;
}

.newsletter__input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0.85rem 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  min-width: 0;
}

.newsletter__input::placeholder {
  color: #8d958d;
}

.newsletter__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
}
.newsletter__submit svg {
  transform: translateY(-1px);
}
.newsletter__submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.newsletter__success,
.newsletter__error {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  flex-basis: 100%;
}
.newsletter__success {
  color: #6dd16f;
  background: rgba(76, 175, 80, 0.10);
  border: 1px solid rgba(76, 175, 80, 0.30);
}
.newsletter__error {
  color: #f08a8a;
  background: rgba(220, 60, 60, 0.10);
  border: 1px solid rgba(220, 60, 60, 0.35);
}

@media (max-width: 720px) {
  .newsletter__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
  }
  .newsletter__decor { display: none; }
  .newsletter__input-wrap { width: 100%; }
  .newsletter__form { width: 100%; }
  .newsletter__submit { width: 100%; justify-content: center; }
}

/* ----------------------------------------------------------
   14. CTA / Ready to Start Section
   ---------------------------------------------------------- */
.cta-section {
  background: #060e06;
  padding: 3.5rem 0;
}

.cta-section__card {
  display: flex;
  flex-direction: row;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: #0d140d;
  min-height: 420px;
}

.cta-section__lep-col {
  width: 48%;
  min-width: 340px;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  /* Pull the image rightward into the verbiage column so the fade
     visually overlaps the heading + paragraph instead of stopping
     at a hard column boundary. */
  margin-right: -3rem;
}

.cta-section__lep-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
  /* Fade the right edge into the dark card background so the
     leprechaun melts into the "Ready to Start?" verbiage. */
  -webkit-mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 50%,
    rgba(0,0,0,0.55) 75%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to right,
    #000 0%,
    #000 50%,
    rgba(0,0,0,0.55) 75%,
    transparent 100%
  );
}

.cta-section__content {
  flex: 1;
  padding: 3rem 3rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-section__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cta-section__heading {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.cta-section__heading span.gold {
  color: var(--gold);
}

.cta-section__sub {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 1.75rem;
  max-width: 460px;
  line-height: 1.6;
}

.cta-section__buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.cta-section__fine {
  font-size: 0.73rem;
  color: var(--gray);
  line-height: 1.5;
}

.cta-section__fine a {
  color: var(--gold);
  transition: color var(--transition);
}

.cta-section__fine a:hover {
  color: var(--gold-hover);
}

/* ----------------------------------------------------------
   15. Footer
   ---------------------------------------------------------- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 2.8rem 0 1.8rem;
}

.footer__top {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer__brand {
  flex-shrink: 0;
  min-width: 160px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer__logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.footer__tagline {
  font-size: 0.78rem;
  color: var(--gray);
}

.footer__links-group {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  flex: 1;
}

.footer__col-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col ul a {
  font-size: 0.82rem;
  color: var(--gray);
  transition: color var(--transition);
}

.footer__col ul a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--gray);
}

.footer__payments {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.payment-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray);
}

/* ----------------------------------------------------------
   16. Responsive
   ---------------------------------------------------------- */
@media (max-width: 960px) {
  /* New Games: drop from 7-col grid to horizontal scroll on tablets */
  .games-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .games-grid::-webkit-scrollbar { display: none; }
  .games-grid .game-card {
    flex-shrink: 0;
    height: 185px;
    width: 140px;
  }
  .games-grid .game-card img {
    width: 140px;
    height: 185px;
    object-fit: cover;
  }

  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* On tablet/mobile: hide leprechaun column, full-width content */
  .cta-section__lep-col {
    display: none;
  }

  .cta-section__content {
    padding: 2.5rem;
  }

  .cta-section__heading {
    font-size: 2.8rem;
  }

  .join__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  /* Nav: hide center links */
  .nav__links {
    display: none;
  }

  /* Hero: single column on mobile */
  .hero {
    /* Tighten the gap between the hero CTAs (Explore Games) and
       the Stats Bar that follows. */
    padding: 3rem 0 1.25rem;
  }

  .hero__inner {
    flex-direction: column;
    /* Drop the desktop min-height so the column stacks naturally
       without leaving extra space around the absolutely-positioned
       image (which is reset to static below). */
    min-height: 0;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    /* On desktop .hero__content uses flex: 0 0 460px (a row-axis basis).
       In the column-flex mobile layout that 460px would become a
       fixed HEIGHT and leave a large gap below the CTA buttons.
       Reset basis to auto so the section hugs its content. */
    flex: 0 0 auto;
    order: 2; /* verbiage sits BELOW the image on mobile */
  }

  .hero__img-col {
    /* Take the image out of absolute positioning so it stacks in the
       flex column instead of floating over the verbiage. */
    position: static;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    justify-content: center;
    margin-bottom: 1.5rem;
    order: 1; /* image sits ON TOP of the verbiage on mobile */
  }

  .hero__img {
    max-width: 100%;
    height: auto;
  }

  .hero__title {
    font-size: 2.8rem;
  }

  .hero__subtitle {
    font-size: 1.6rem;
  }

  .hero__eyebrow {
    font-size: 1.5rem;
  }

  /* Stats */
  .stats {
    /* Pull the stats bar up close to the hero CTAs on mobile. */
    padding: 0.75rem 0 1.25rem;
  }

  .stats__grid {
    gap: 1.25rem;
  }

  .stat-item {
    min-width: 150px;
  }

  /* Promo */
  .promo-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter */
  .newsletter__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .newsletter__input {
    width: 100%;
  }

  /* CTA */
  .cta-section__heading {
    font-size: 2.2rem;
  }

  /* Footer */
  .footer__top {
    flex-direction: column;
    gap: 1.75rem;
  }

  .footer__links-group {
    gap: 1.75rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Join */
  .join__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .join__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
  }

  .cta-section__buttons {
    flex-direction: column;
  }

  .nav__actions .btn-sm:first-child {
    display: none;
  }

  .filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }
}
