:root {
  --bg-main: #121621;
  --bg-card: #1c2130;
  --text-main: #ffffff;
  --text-muted: #b8bdd8;
  --cta-gradient: linear-gradient(135deg, #ff8a00, #ffb300);
  --border-soft: rgba(255,255,255,0.08);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #1b2030, #0f1320);
  color: var(--text-main);
}

/* ================= HEADER ================= */

.header {
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header img {
  height: 36px;
}

.header-cta {
  background: var(--cta-gradient);
  color: #1a1200;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

/* ================= HERO ================= */

.hero {
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

/* LEFT */
.hero-left h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
 
  color: #1a1200;
  padding: 16px 36px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
   background: var(--cta-gradient);
  box-shadow: 0 14px 32px rgba(255,165,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.35),     /* subtle elevation */
    0 0 36px rgba(255,165,0,0.55);  /* even glow all around */
}
.hero-trust {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  fill: #f5c77a; /* soft gold */
  flex-shrink: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-muted);
}
.trust-item a{
  text-decoration:undeline;
  color:#fff;
}

/* RIGHT IMAGE CARD */

.hero-image {
position: relative;
  background: var(--bg-card);
  padding: 16px;
  border-radius: 18px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 80px rgba(255, 170, 0, 0.15); /* soft golden glow */
}

.hero-image img {
  width: 100%;
  display: block;
  border:2px solid #25262b;
  border-radius: 10px;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(
    circle at center,
    rgba(255,180,0,0.25),
    transparent 70%
  );
  filter: blur(40px);
  z-index: -1;
}


/* ================= TRUST ROW ================= */

.trust-row {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--text-muted);
}

.trust-icon {
  font-size: 14px;
  line-height: 1;
}
/* ================= VISUAL REWARDS SECTION ================= */

.rewards-section {
   padding: 40px 20px 70px;
  background: radial-gradient(circle at top, #1b2030, #0f1320);
}

.rewards-container {
  max-width: 1200px;
  margin: auto;
}

.rewards-container h2 {
font-size: 28px;
  margin-bottom: 20px;
  margin-top: 0;
}

.rewards-container h2::after {
  content: "";
  display: block;
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, #ffb300, transparent);
  margin-top: 10px;
}

/* GRID */
.reward-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}


/* CARD */
.reward-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.reward-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

/* LEFT CONTENT */
.reward-content {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.reward-icon {
  font-size: 22px;
}

.reward-card strong {
  font-size: 18px;
}

.reward-card span {
  font-size: 13px;
  color: var(--text-muted);
}

.rewards-section {
  position: relative;
}

.rewards-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
}

.reward-text {
 padding: 22px 20px 26px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.reward-text strong {
 font-size: 20px;
  display: block;
  margin-bottom: 6px;
}

.reward-text span {
 font-size: 14px;
  color: var(--text-muted);
}
.reward-text a{
  font-size: 14px;
  color: var(--text-muted);
  text-decoration:undeline;
}
/* IMAGE AREA */
.reward-image {
 height: 220px; /* IMPORTANT */
  background: radial-gradient(circle at top, #1b2030, #0f1320);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-image img {
 width: 100%;
  height: 100%;
  object-fit: cover; /* THIS FIXES EVERYTHING */
}

/* RIGHT IMAGE */
.reward-card img {
 
  opacity: 0.9;
  flex-shrink: 0;
}


/* VARIANTS */
.reward-bonus {
  box-shadow: inset 0 0 0 1px rgba(255,184,0,0.15);
}

.reward-spins {
  box-shadow: inset 0 0 0 1px rgba(140,120,255,0.15);
}

/* MOBILE */
@media (max-width: 768px) {
  .reward-cards {
    grid-template-columns: 1fr;
  }
  .reward-image {
    height: 140px;
  }
  .how-it-works{
    padding: 34px 20px;
  }
  .rewards-section {
    padding: 40px 20px 42px;
  }
}

.how-it-works {
  padding: 60px 20px;
  background: radial-gradient(
    circle at top,
    #161a24 0%,
    #0b0d12 60%
  );
  text-align: center;
}

.how-it-works h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.step-card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border-radius: 20px;
  padding: 56px 32px 40px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.55);
}

.step-badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cta-gradient);
  color: #0b0d12;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(255, 193, 7, 0.18),
    0 8px 24px rgba(0,0,0,0.45);
 filter: saturate(0.9) brightness(0.95);
}
.step-card:hover .step-badge {
  filter: saturate(1) brightness(1.05);
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 16px;
  color: #b5b9d6;
  line-height: 1.6;
}

/* ================= TOP GAMES SECTION ================= */

.top-games {
  padding: 57px 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(0,0,0,0.2)
  );
}

.top-games-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.top-games h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.top-games-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 55px;
}

/* GRID */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* CARD */
.game-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* VALUE BADGE */
.game-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  z-index: 2;
}

/* NAME */
.game-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0,0,0,0.85)
  );
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

/* HOVER */
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

/* MOBILE */
@media (max-width: 768px) {
  .top-games {
    padding: 42px 20px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .top-games h2 {
    font-size: 26px;
  }
}

/* ================= CTA SECTION ================= */

.cta-section {
  padding: 90px 20px;
  background: radial-gradient(
    circle at top,
    #1b2030,
    #0f1320
  );
  text-align: center;
}

.cta-container {
  max-width: 720px;
  margin: auto;
}

.cta-section h2 {
  font-size: 34px;
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* CTA BUTTON */
.cta-button {
  display: inline-block;
  background: var(--cta-gradient);
  color: #1a1200;
  padding: 18px 44px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(255,165,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(255,165,0,.6);
}

/* ================= CTA TRUST ROW WITH ICONS ================= */

.cta-trust-row {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.cta-trust-item svg {
  width: 18px;
  height: 18px;
  fill: #f5c77a; /* soft gold */
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .cta-trust-row {
    gap: 14px;
  }

  .cta-trust-item {
    font-size: 13px;
  }
}


/* MOBILE */
@media (max-width: 768px) {
  .cta-section {
    padding: 42px 20px;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .cta-section p {
    font-size: 16px;
  }

  .cta-button {
    width: 100%;
    max-width: 360px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .step-card {
    padding: 48px 26px 36px;
  }
}


@media (max-width: 768px) {
  .trust-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

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

  .hero-left {
    text-align: center;
  }

  .hero-left h1 {
    font-size: 34px;
  }
}

/* ================= CHRISTMAS SNOW EFFECT ================= */

.snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(2px 2px at 20% 10%, rgba(255,255,255,0.8), transparent),
    radial-gradient(3px 3px at 40% 20%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 60% 30%, rgba(255,255,255,0.7), transparent),
    radial-gradient(3px 3px at 80% 40%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 10% 50%, rgba(255,255,255,0.6), transparent),
    radial-gradient(3px 3px at 30% 60%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 50% 70%, rgba(255,255,255,0.7), transparent),
    radial-gradient(3px 3px at 70% 80%, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 90% 90%, rgba(255,255,255,0.5), transparent);
  animation: snowFall 18s linear infinite;
}

@keyframes snowFall {
  from {
    background-position: 0 -100%;
  }
  to {
    background-position: 0 100%;
  }
}
/* ================= CHRISTMAS SNOW EFFECT ================= */

.snow-layer {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  z-index: 1;
  background-repeat: repeat;
}

/* First snow layer (small flakes) */
.snow-1 {
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.8) 50%, transparent 51%);
  background-size: 120px 120px;
  animation: snowFall 18s linear infinite;
}

/* Second snow layer (bigger, slower flakes) */
.snow-2 {
  background-image: radial-gradient(3px 3px at 40px 60px, rgba(255,255,255,0.6) 50%, transparent 51%);
  background-size: 180px 180px;
  animation: snowFall 28s linear infinite;
  opacity: 0.6;
}

@keyframes snowFall {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(50%);
  }
}

/* Ensure content stays above snow */


/* ================= EXIT INTENT POPUP ================= */

.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.exit-popup {
  position: relative;
  max-width: 420px;
  width: calc(100% - 40px);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 36px 30px 32px;
  text-align: center;
  box-shadow:
    0 40px 120px rgba(0,0,0,0.7),
    0 0 80px rgba(255,180,0,0.18);
  animation: popupIn 0.35s ease;
}

@keyframes popupIn {
  from {
    transform: translateY(20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.exit-popup h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.exit-popup p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.exit-cta {
  font-size: 20px;
  display: block;
  background: var(--cta-gradient);
  color: #1a1200;
  padding: 10px 15px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(255, 165, 0, .45);
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: center;
}

.exit-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(255,165,0,.6);
}

.exit-trust {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.exit-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
}

.exit-close:hover {
  color: #fff;
}

.exit-overlay.show {
  display: flex;
}

/* ================= TERMS POPUP (EXIT STYLE) ================= */

#termsOverlay {
  display: none;
}

#termsOverlay.show {
  display: flex;
}

.terms-content {
  display: none;
  max-height: 60vh;
  overflow-y: auto;
  text-align: left;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.terms-content h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: #ffa500;
  text-align: left;
}
.terms-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
  text-align: left;
}
.terms-text p,
.terms-text li {
  margin-bottom: 10px;
}

.terms-text ul {
  padding-left: 18px;
  margin-bottom: 10px;
}
