/* =============================================
   LEGENDZ CASINO - styles.css
   Fonts: Montserrat (headings) | Open Sans (body)
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --gold:       #FFD700;
  --gold-dark:  #FFA500;
  --gold-light: #FFF0A0;
  --red:        #E8003D;
  --red-dark:   #B0002E;
  --deep:       #0A0A14;
  --dark:       #10101E;
  --dark-card:  #16162A;
  --dark-alt:   #1A1A30;
  --border:     rgba(255,215,0,0.15);
  --text:       #E8E8F0;
  --text-muted: #9090A8;
  --white:      #FFFFFF;
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 8px 32px rgba(0,0,0,0.45);
  --shadow-gold:0 0 30px rgba(255,215,0,0.25);
  --transition: 0.3s ease;
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--deep);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.gradient-text {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark), #FF6B00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A14;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(255,215,0,0.35);
  text-align: center;
  min-height: 52px;
  white-space: nowrap;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(255,215,0,0.55);
  color: #0A0A14;
}
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  min-height: 52px;
  text-align: center;
}
.btn-secondary:hover {
  background: rgba(255,215,0,0.12);
  transform: scale(1.03);
  color: var(--gold-light);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  min-height: 44px;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--deep);
}

.btn-game {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 50px;
  transition: var(--transition);
  min-height: 44px;
  text-align: center;
}
.btn-game:hover {
  background: var(--red-dark);
  transform: scale(1.05);
  color: var(--white);
}

.btn-xl { font-size: 1.1rem; padding: 18px 40px; }

.pulse {
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,215,0,0.4); }
  50% { box-shadow: 0 4px 40px rgba(255,215,0,0.8), 0 0 0 8px rgba(255,215,0,0.08); }
}

/* ---- Sections ---- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--dark);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header p {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-cta { text-align: center; margin-top: 44px; }

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease calc(var(--delay, 0s)), transform 0.6s ease calc(var(--delay, 0s));
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: var(--delay, 0s);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  animation: fadeInRight 0.9s ease forwards;
  animation-delay: 0.4s;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  to { opacity: 1; transform: translateX(0); }
}

/* ================================================
   NAVIGATION
   ================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
#site-header.scrolled {
  background: rgba(10,10,20,0.96);
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}

.navbar { width: 100%; }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.8rem; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-text em {
  font-style: normal;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--gold);
  background: rgba(255,215,0,0.08);
}
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0A0A14;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 50px;
  transition: var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: scale(1.05);
  color: #0A0A14;
  box-shadow: 0 4px 20px rgba(255,215,0,0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(232,0,61,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(255,165,0,0.1) 0%, transparent 60%),
              var(--deep);
  padding: 110px 20px 60px;
  gap: 40px;
}

.hero-inner {
  flex: 1;
  max-width: 620px;
  position: relative;
  z-index: 2;
  padding-left: max(20px, calc((100vw - 1200px)/2));
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, rgba(255,215,0,0.15), rgba(255,165,0,0.1));
  border: 1px solid rgba(255,215,0,0.4);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-bonus {
  margin-bottom: 28px;
}
.bonus-box {
  display: inline-flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,165,0,0.08));
  border: 1.5px solid rgba(255,215,0,0.4);
  border-radius: var(--radius);
  padding: 16px 24px;
  gap: 4px;
}
.bonus-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
}
.bonus-value {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
}
.bonus-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-timer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.timer-label {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}
.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 56px;
}
.time-block span {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.time-block small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 2px;
}
.time-sep {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--gold);
  animation: blink 1s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-trust span {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-image-wrap {
  flex: 1;
  max-width: 560px;
  position: relative;
  z-index: 2;
  padding-right: max(20px, calc((100vw - 1200px)/2));
}
.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-gold), var(--shadow);
  animation: floatImg 4s ease-in-out infinite;
}
@keyframes floatImg {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(255,165,0,0.4), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease 1.5s both;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}
@keyframes bounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(6px)} }

/* Particles */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.35;
  animation: particlePulse var(--d) ease-in-out infinite alternate;
}
@keyframes particlePulse {
  from { transform: scale(1); opacity: 0.15; }
  to   { transform: scale(1.8); opacity: 0.55; }
}

/* ================================================
   DISCOUNT BANNER
   ================================================ */
.discount-banner {
  background: linear-gradient(90deg, var(--red-dark), var(--red), #FF4500, var(--red-dark));
  background-size: 200%;
  animation: gradientShift 4s linear infinite;
  padding: 14px 20px;
  text-align: center;
}
@keyframes gradientShift { 0%{background-position:0%} 100%{background-position:200%} }
.discount-banner p {
  font-family: var(--font-head);
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  color: var(--white);
  margin: 0;
}
.discount-banner a {
  color: var(--gold);
  text-decoration: underline;
}

/* ================================================
   GAMES GRID
   ================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(255,215,0,0.4);
}

.game-img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: var(--dark-alt);
}
.game-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.game-card:hover .game-img-wrap img { transform: scale(1.07); }

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.game-card:hover .game-overlay { opacity: 1; }
.play-btn {
  background: var(--gold);
  color: var(--deep);
  font-family: var(--font-head);
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.play-btn:hover { background: var(--white); color: var(--deep); }

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.game-badge.hot { background: var(--red); color: var(--white); }
.game-badge.live { background: #cc0000; color: var(--white); }
.game-badge.vip { background: var(--gold); color: var(--deep); }

.game-info {
  padding: 16px;
}
.game-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.game-info p {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* ================================================
   CATEGORIES
   ================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.category-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,215,0,0.45);
  box-shadow: var(--shadow-gold);
}
.cat-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}
.category-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.category-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ================================================
   WHY SECTION
   ================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-text .section-tag { display: inline-block; margin-bottom: 14px; }
.why-text h2 { margin-bottom: 16px; }
.why-text p { color: var(--text-muted); margin-bottom: 20px; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.why-list li {
  font-size: 0.95rem;
  color: var(--text);
  padding: 12px 16px;
  background: var(--dark-card);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  line-height: 1.5;
}

.why-images {
  position: relative;
  height: 460px;
}
.why-img {
  border-radius: var(--radius);
  object-fit: cover;
  position: absolute;
  box-shadow: var(--shadow);
}
.why-img-1 {
  width: 75%;
  height: 300px;
  top: 0; left: 0;
  z-index: 2;
}
.why-img-2 {
  width: 65%;
  height: 260px;
  bottom: 0; right: 0;
  z-index: 3;
  border: 3px solid var(--gold);
}

/* ================================================
   ABOUT
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: start;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.97rem;
}
.about-sub {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--dark-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about-sub h3 { font-size: 1.05rem; margin-bottom: 10px; }
.about-sub p { margin: 0; font-size: 0.9rem; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: center;
  position: sticky;
  top: 100px;
}
.stat-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ================================================
   REVIEWS
   ================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), border-color var(--transition);
}
.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,215,0,0.4);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.reviewer-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.review-header strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--white);
}
.review-header span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.stars {
  font-size: 1rem;
  margin-bottom: 12px;
}
.review-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================================================
   SECURITY
   ================================================ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.security-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.security-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,215,0,0.4);
}
.sec-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}
.security-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.security-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================
   FAQ
   ================================================ */
.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--dark-card);
  transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(255,215,0,0.4); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  min-height: 60px;
}
.faq-q span:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--white);
  flex: 1;
}
.faq-icon {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  font-weight: 700;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 22px 18px;
}
.faq-a p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================================================
   FINAL CTA
   ================================================ */
.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  padding: 100px 0;
}
.cta-bg-anim { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.cta-orb-1 { width: 400px; height: 400px; background: var(--gold); top: -100px; left: -100px; animation-delay: 0s; }
.cta-orb-2 { width: 300px; height: 300px; background: var(--red); bottom: -80px; right: -80px; animation-delay: 3s; }
.cta-orb-3 { width: 200px; height: 200px; background: #FF6B00; top: 50%; left: 50%; animation-delay: 1.5s; }
@keyframes orbFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px, -30px) scale(1.15); }
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}
.cta-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.float-icon {
  font-size: 2rem;
  animation: iconFloat 3s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
  display: inline-block;
}
@keyframes iconFloat {
  from { transform: translateY(0) rotate(-5deg); }
  to   { transform: translateY(-16px) rotate(5deg); }
}

.cta-inner h2 { margin-bottom: 16px; }
.cta-inner > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-bonus-display {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}
.cta-bonus-item {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 50px;
}

.cta-sub {
  margin-top: 18px;
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ================================================
   QUICK LINKS
   ================================================ */
.quick-links-section {
  background: var(--dark-alt);
  padding: 32px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.quick-links-grid a {
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  transition: var(--transition);
}
.quick-links-grid a:hover {
  color: var(--gold);
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,215,0,0.05);
}

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: #07070F;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  font-size: 1.4rem;
  transition: transform var(--transition);
  display: inline-block;
}
.footer-social a:hover { transform: scale(1.2); }

.footer-links h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-bottom a { color: var(--gold); }

/* ================================================
   SCROLL TO TOP
   ================================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--deep);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.3rem;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,215,0,0.4);
  transition: transform var(--transition), opacity var(--transition);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.scroll-top.show {
  opacity: 1;
  pointer-events: all;
}
.scroll-top:hover { transform: scale(1.12) translateY(-3px); }

/* ================================================
   PURCHASE NOTIFICATION POPUP
   ================================================ */
.purchase-popup {
  position: fixed;
  bottom: 24px;
  left: 20px;
  background: var(--dark-card);
  border: 1px solid rgba(255,215,0,0.35);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  width: calc(100vw - 40px);
  box-shadow: var(--shadow);
  z-index: 980;
  transform: translateX(-120%);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.purchase-popup.show { transform: translateX(0); }
.popup-icon { font-size: 1.8rem; flex-shrink: 0; }
.popup-content {
  flex: 1;
  font-size: 0.83rem;
  color: var(--text);
  line-height: 1.4;
}
.popup-content strong { color: var(--gold); }
.popup-action { display: block; color: var(--text-muted); }
.popup-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px 6px;
  flex-shrink: 0;
  transition: color var(--transition);
  min-width: 30px;
  min-height: 30px;
}
.popup-close:hover { color: var(--white); }

/* ================================================
   EXIT INTENT MODAL
   ================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--dark-card);
  border: 1px solid rgba(255,215,0,0.4);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  text-align: center;
  animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalPop {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.modal-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 5px 14px;
  border-radius: 50px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

.modal-box h2 { margin-bottom: 12px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.modal-box > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }

.modal-benefits {
  text-align: left;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-benefits li {
  font-size: 0.9rem;
  color: var(--text);
  padding: 10px 14px;
  background: rgba(255,215,0,0.06);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.modal-skip {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition);
  padding: 8px;
}
.modal-skip:hover { color: var(--white); }
.modal-timer-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.modal-timer-text strong { color: var(--gold); }

/* ================================================
   SCROLL POPUP (banner style)
   ================================================ */
.scroll-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--dark-card), #1e1e35);
  border: 1px solid rgba(255,215,0,0.45);
  border-radius: var(--radius);
  padding: 16px 20px 16px 16px;
  max-width: 320px;
  width: calc(100vw - 40px);
  z-index: 975;
  box-shadow: var(--shadow-gold), var(--shadow);
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.scroll-popup[hidden] { display: none; }
@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.scroll-popup-close {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  min-width: 30px; min-height: 30px;
  display: flex; align-items: center; justify-content: center;
}
.scroll-popup-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.scroll-popup-emoji { font-size: 2rem; flex-shrink: 0; }
.scroll-popup-inner strong { font-family: var(--font-head); font-size: 0.95rem; color: var(--white); display: block; margin-bottom: 4px; }
.scroll-popup-inner p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.scroll-popup-inner .btn-primary { font-size: 0.82rem; padding: 9px 18px; }

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-images { height: 340px; margin-top: 30px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 100px 20px 50px;
    min-height: auto;
    text-align: center;
  }
  .hero-inner { padding-left: 0; max-width: 100%; }
  .hero-image-wrap { padding-right: 0; max-width: 100%; order: -1; }
  .hero-actions { justify-content: center; }
  .hero-timer { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-badge { margin: 0 auto 20px; }
  .hero-bonus { display: flex; justify-content: center; }

  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,20,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: 1.1rem; padding: 14px 24px; }
  .nav-cta { font-size: 1rem; padding: 14px 28px; }

  .games-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .game-img-wrap { height: 130px; }
  .game-overlay { opacity: 1; background: rgba(10,10,20,0.5); }

  .categories-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr 1fr; }

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

  .modal-box { padding: 28px 20px; }

  .cta-bonus-display { gap: 10px; }
  .cta-bonus-item { font-size: 0.8rem; padding: 8px 14px; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .categories-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 20px 14px; }

  .btn-primary, .btn-secondary { font-size: 0.92rem; padding: 13px 22px; }
  .btn-xl { font-size: 0.95rem; padding: 15px 26px; }

  .scroll-popup { right: 10px; bottom: 10px; }
  .purchase-popup { left: 10px; bottom: 10px; }

  .hero-title { font-size: 1.85rem; }
  .time-block span { font-size: 1.3rem; }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
