/* ============================================================
   LuckyWin777.pro — Premium Gaming Landing Page
   Custom styles (used alongside Tailwind CSS)
   ============================================================ */

:root {
  --night: #0B0B0B;
  --gold: #FFD700;
  --royal: #7C3AED;
  --neon: #39FF14;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(1000px 500px at 10% 20%, rgba(255, 215, 0, 0.07), transparent 55%),
    var(--night);
}

::selection { background: rgba(255, 215, 0, 0.3); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0e0e0e; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--royal));
  border-radius: 6px;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--night);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 84px; height: 84px; border-radius: 50%;
  border: 3px solid rgba(255, 215, 0, 0.15);
  border-top-color: var(--gold);
  border-right-color: var(--royal);
  animation: spin 1s linear infinite;
  display: flex; align-items: center; justify-content: center;
}
.loader-chip {
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.6rem;
  color: var(--gold); animation: spin-rev 1s linear infinite;
}
.loader-text { font-weight: 800; letter-spacing: 2px; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

/* ---------- Particles canvas ---------- */
#particles {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}

/* ---------- Navbar ---------- */
#navbar { background: transparent; }
#navbar.scrolled {
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.nav-link { position: relative; color: #d1d5db; transition: color 0.3s; }
.nav-link:hover { color: var(--gold); }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--royal));
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ---------- Buttons ---------- */
.btn-neon {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; color: #06130a; border-radius: 9999px;
  background: linear-gradient(135deg, var(--neon), #2fe80f 55%, #7dff5e);
  background-size: 180% 180%;
  box-shadow: 0 0 22px rgba(57, 255, 20, 0.45), inset 0 -2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: gradient-shift 4s ease infinite;
}
.btn-neon:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.7);
}
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--gold); border-radius: 9999px;
  border: 1.5px solid rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.06);
  transition: all 0.25s ease;
}
.btn-ghost:hover {
  background: rgba(255, 215, 0, 0.14);
  border-color: var(--gold);
  box-shadow: 0 0 26px rgba(255, 215, 0, 0.35);
  transform: translateY(-3px);
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Glass ---------- */
.glass-panel, .glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass-card {
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 215, 0, 0.12);
}

/* ---------- Gradient text ---------- */
.gradient-text {
  background: linear-gradient(90deg, var(--gold), #ff9d00, var(--royal), var(--gold));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradient-flow 6s linear infinite;
}
.gradient-text-gold {
  background: linear-gradient(90deg, #fff3b0, var(--gold), #ffb347, var(--gold));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradient-flow 5s linear infinite;
}
@keyframes gradient-flow { to { background-position: 300% 0; } }

/* ---------- Hero ---------- */
.hero { z-index: 1; }
.hero-badge { border-color: rgba(255, 215, 0, 0.25); letter-spacing: 1px; }

.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  pointer-events: none; animation: orb-pulse 7s ease-in-out infinite;
}
.glow-gold { width: 420px; height: 420px; background: rgba(255, 215, 0, 0.22); top: -80px; left: -120px; }
.glow-purple { width: 520px; height: 520px; background: rgba(124, 58, 237, 0.35); bottom: -140px; right: -140px; animation-delay: 2.5s; }
/* opacity-only pulse: scaling a blurred layer forces expensive re-rasterisation */
@keyframes orb-pulse { 50% { opacity: 0.85; } }

/* Floating casino elements */
.float-el {
  position: absolute; z-index: 1; pointer-events: none;
  animation: floaty 6s ease-in-out infinite;
  user-select: none;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-24px) rotate(5deg); }
}
.chip {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 0.95rem;
}
.chip-gold {
  color: #3a2c00; background: radial-gradient(circle at 35% 30%, #ffe873, var(--gold) 60%, #b8860b);
  border: 4px dashed rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.55);
}
.chip-purple {
  color: #efe6ff; background: radial-gradient(circle at 35% 30%, #a78bfa, var(--royal) 60%, #4c1d95);
  border: 4px dashed rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.65);
}
.coin {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #7c5b00;
  background: radial-gradient(circle at 35% 30%, #fff6c2, var(--gold) 55%, #c99700);
  border: 3px solid #e6c200;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.6);
  animation-name: coin-spin;
  animation-duration: 7s;
}
.coin-sm { width: 38px; height: 38px; font-size: 0.8rem; }
@keyframes coin-spin {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-26px) rotateY(180deg); }
}
.card-el {
  width: 56px; height: 78px; border-radius: 8px;
  background: linear-gradient(160deg, #ffffff, #e8e8e8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.card-el span { font-size: 1.3rem; line-height: 1; }
.card-red { color: #dc2626; }
.card-black { color: #111; }
.dice-el {
  font-size: 2.4rem; color: var(--royal);
  filter: drop-shadow(0 0 14px rgba(124, 58, 237, 0.8));
}
.dice-alt { color: var(--gold); filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.8)); }

/* Keep hero uncluttered on small screens */
@media (max-width: 767px) {
  .card-el, .dice-el { display: none; }
  .chip, .coin { transform: scale(0.7); opacity: 0.45; }
  .float-el { z-index: 0; }
}

/* Jackpot */
.jackpot { border-color: rgba(255, 215, 0, 0.3); box-shadow: 0 0 50px rgba(255, 215, 0, 0.12); }
.jackpot-label {
  display: block; font-size: 0.75rem; letter-spacing: 4px; font-weight: 700;
  color: #e5c100; margin-bottom: 6px;
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 215, 0, 0.7); font-size: 1.2rem; z-index: 2;
  animation: bounce-hint 2s ease-in-out infinite;
}
@keyframes bounce-hint { 50% { transform: translateX(-50%) translateY(10px); } }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--royal);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
  padding: 6px 16px; border-radius: 9999px; margin-bottom: 16px;
}
.section-bg-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 380px at 50% 30%, rgba(124, 58, 237, 0.14), transparent 70%);
}
.section-bg-glow.glow-alt {
  background: radial-gradient(700px 380px at 50% 40%, rgba(255, 215, 0, 0.08), transparent 70%);
}

/* ---------- Game cards ---------- */
.game-card { text-align: center; overflow: hidden; position: relative; }
.game-card p { color: #9ca3af; font-size: 0.86rem; margin: 8px 0 18px; }
.game-art {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  transition: transform 0.4s ease;
}
.game-card:hover .game-art { transform: scale(1.12) rotate(-6deg); }
.game-card[data-tone="gold"] .game-art {
  color: var(--gold); background: rgba(255, 215, 0, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.3), 0 0 26px rgba(255, 215, 0, 0.18);
}
.game-card[data-tone="purple"] .game-art {
  color: #a78bfa; background: rgba(124, 58, 237, 0.14);
  box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.4), 0 0 26px rgba(124, 58, 237, 0.25);
}
.btn-card {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.4); border-radius: 9999px;
  padding: 8px 20px; transition: all 0.3s ease;
}
.btn-card:hover { background: var(--gold); color: #1a1400; box-shadow: 0 0 22px rgba(255, 215, 0, 0.5); }

/* ---------- Promo cards ---------- */
.promo-card { position: relative; padding-top: 2.4rem; }
.promo-card p { color: #9ca3af; font-size: 0.88rem; margin-top: 8px; }
.promo-badge {
  position: absolute; top: -12px; left: 1.5rem;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.68rem;
  letter-spacing: 1.5px; padding: 6px 14px; border-radius: 9999px;
}
.badge-gold { background: linear-gradient(90deg, var(--gold), #ffb300); color: #241b00; box-shadow: 0 0 18px rgba(255, 215, 0, 0.5); }
.badge-purple { background: linear-gradient(90deg, var(--royal), #a855f7); color: #fff; box-shadow: 0 0 18px rgba(124, 58, 237, 0.6); }
.badge-green { background: linear-gradient(90deg, var(--neon), #1fd50a); color: #06210b; box-shadow: 0 0 18px rgba(57, 255, 20, 0.45); }
.promo-icon {
  font-size: 1.7rem; color: var(--gold); margin-bottom: 14px;
  transition: transform 0.35s ease;
}
.promo-card:hover .promo-icon { transform: scale(1.2) rotate(8deg); }

/* ---------- Feature cards ---------- */
.feature-card p { color: #9ca3af; font-size: 0.88rem; margin-top: 8px; }
.feature-icon {
  width: 62px; height: 62px; border-radius: 18px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.12) rotate(-8deg); }
.icon-gold { color: var(--gold); background: rgba(255, 215, 0, 0.1); box-shadow: 0 0 22px rgba(255, 215, 0, 0.2); }
.icon-purple { color: #a78bfa; background: rgba(124, 58, 237, 0.15); box-shadow: 0 0 22px rgba(124, 58, 237, 0.3); }
.icon-green { color: var(--neon); background: rgba(57, 255, 20, 0.08); box-shadow: 0 0 22px rgba(57, 255, 20, 0.2); }

/* ---------- Timeline ---------- */
.timeline { counter-reset: step; position: relative; list-style: none; padding: 0; }
.step { text-align: center; position: relative; }
.step p { color: #9ca3af; font-size: 0.86rem; margin-top: 6px; }
.step-icon {
  position: relative; width: 88px; height: 88px; margin: 0 auto;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: var(--gold);
  background: rgba(255, 215, 0, 0.07);
  border: 1.5px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: icon-glow 3.5s ease-in-out infinite;
}
.step:nth-child(even) .step-icon { color: #a78bfa; border-color: rgba(124, 58, 237, 0.5); background: rgba(124, 58, 237, 0.1); animation-delay: 1.2s; }
.step:hover .step-icon { transform: scale(1.1); }
@keyframes icon-glow {
  50% { box-shadow: 0 0 44px rgba(255, 215, 0, 0.35); }
}
.step-num {
  position: absolute; top: -8px; right: -8px;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ff9d00);
  color: #241b00; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.6);
}
/* connecting line (desktop) */
@media (min-width: 768px) {
  .timeline::before {
    content: ''; position: absolute; top: 44px; left: 12%; right: 12%;
    height: 2px; z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.45), rgba(124, 58, 237, 0.55), rgba(255, 215, 0, 0.45), transparent);
  }
}
/* connecting line (mobile, vertical) */
@media (max-width: 767px) {
  .timeline { max-width: 340px; margin: 0 auto; }
  .step:not(:last-child)::after {
    content: ''; position: absolute; left: 50%; bottom: -34px;
    width: 2px; height: 28px; transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.5), rgba(124, 58, 237, 0.5));
  }
}

/* ---------- Testimonials ---------- */
.carousel-track { transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.3, 1); }
.t-card {
  flex: 0 0 100%; display: flex; gap: 18px; align-items: flex-start; margin: 0;
}
@media (min-width: 768px) { .t-card { flex-basis: 50%; } }
.carousel-viewport { padding: 10px 4px; margin: -10px -4px; }
.t-card + .t-card { margin-left: 1.5rem; }
@media (min-width: 768px) {
  .t-card { flex-basis: calc(50% - 0.75rem); }
}
.t-avatar {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800; color: #0b0b0b;
}
.av-gold { background: linear-gradient(135deg, #ffe873, var(--gold)); box-shadow: 0 0 18px rgba(255, 215, 0, 0.4); }
.av-purple { background: linear-gradient(135deg, #c4b5fd, var(--royal)); color: #fff; box-shadow: 0 0 18px rgba(124, 58, 237, 0.5); }
.av-green { background: linear-gradient(135deg, #b9ffab, var(--neon)); box-shadow: 0 0 18px rgba(57, 255, 20, 0.35); }
.t-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 8px; text-shadow: 0 0 12px rgba(255, 215, 0, 0.6); }
.t-card blockquote { color: #d1d5db; font-size: 0.92rem; font-style: italic; margin: 0 0 10px; }
.t-meta { font-size: 0.8rem; color: #9ca3af; }
.t-meta strong { color: var(--gold); }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.c-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.4); color: var(--gold);
  background: rgba(255, 215, 0, 0.06); transition: all 0.3s ease;
}
.c-arrow:hover { background: var(--gold); color: #1a1400; box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
.c-dots { display: flex; gap: 8px; }
.c-dot {
  width: 10px; height: 10px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2); transition: all 0.3s ease;
}
.c-dot.active { width: 26px; background: linear-gradient(90deg, var(--gold), var(--royal)); box-shadow: 0 0 12px rgba(255, 215, 0, 0.5); }

/* ---------- Stats ---------- */
.stats-panel {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.12);
}
.stat-value {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900;
  background: linear-gradient(90deg, var(--gold), #ffb347);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat p { color: #9ca3af; font-size: 0.85rem; margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq-item { padding: 0; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 1.25rem 1.5rem; text-align: left; font-weight: 600; color: #e5e7eb;
  font-size: 0.98rem; transition: color 0.3s;
}
.faq-q:hover { color: var(--gold); }
.faq-q i { color: var(--gold); transition: transform 0.35s ease; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(135deg); }
.faq-item.open .faq-q { color: var(--gold); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s ease, padding 0.45s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-a { max-height: 220px; padding: 0 1.5rem 1.25rem; }
.faq-a p { color: #9ca3af; font-size: 0.9rem; }

/* ---------- Responsible gaming ---------- */
.rg-panel { border-color: rgba(255, 215, 0, 0.25); box-shadow: 0 0 60px rgba(255, 215, 0, 0.08); }
.rg-badge {
  width: 74px; height: 74px; margin: -60px auto 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, #dc2626, #7f1d1d);
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}
.rg-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 9999px; color: #d1d5db;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.rg-chip i { color: var(--gold); }

/* ---------- Footer ---------- */
.footer-h {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.82rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.footer-links a { color: #9ca3af; transition: color 0.3s, padding-left 0.3s; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.social {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #d1d5db; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}
.social:hover {
  color: #0b0b0b; background: var(--gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  transform: translateY(-4px);
}

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.35);
  transition: all 0.3s ease;
}
.theme-toggle:hover {
  background: rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  transform: rotate(20deg);
}
.theme-toggle svg { flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5)); }
.day .theme-toggle svg { filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.5)); }
@media (max-width: 639px) {
  .theme-toggle { width: 38px; height: 38px; }
  .theme-toggle svg { width: 16px; height: 16px; }
}
/* Compact navbar on small phones */
@media (max-width: 480px) {
  #navbar nav { padding-left: 12px; padding-right: 12px; }
  #navbar nav > a { font-size: 1.05rem; }
  #navbar .flex.items-center.gap-3 { gap: 8px; }
}

/* ============================================================
   DAY MODE — light theme overrides (body.day)
   ============================================================ */
body.day {
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(15, 15, 40, 0.1);
  color: #1f2937;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, 0.1), transparent 60%),
    radial-gradient(1000px 500px at 10% 20%, rgba(255, 215, 0, 0.12), transparent 55%),
    #f6f5fb;
}
.day #particles { opacity: 0.45; }
.day .glow-orb { opacity: 0.3; }

/* Tailwind text-gray overrides for readability on light bg */
.day .text-gray-200 { color: #1f2937; }
.day .text-gray-300 { color: #374151; }
.day .text-gray-400 { color: #4b5563; }
.day .text-gray-500 { color: #6b7280; }
.day .border-white\/10 { border-color: rgba(15, 15, 40, 0.12); }

/* Gold reads poorly on white — switch gold *text* to deep amber */
.day .text-gold,
.day .nav-link:hover,
.day .jackpot-label,
.day .footer-h,
.day .t-meta strong,
.day .faq-q i,
.day .faq-item.open .faq-q,
.day .faq-q:hover,
.day .rg-chip i,
.day .promo-icon,
.day .scroll-hint { color: #a16207; }
.day .btn-ghost { color: #92600a; border-color: rgba(161, 98, 7, 0.55); background: rgba(255, 215, 0, 0.1); }
.day .btn-ghost:hover { border-color: #a16207; box-shadow: 0 0 22px rgba(161, 98, 7, 0.3); }
.day .btn-card { color: #92600a; border-color: rgba(161, 98, 7, 0.45); }
.day .btn-card:hover { background: var(--gold); color: #1a1400; }
.day .theme-toggle { color: #7C3AED; border-color: rgba(124, 58, 237, 0.4); background: rgba(124, 58, 237, 0.08); }
.day .theme-toggle:hover { background: rgba(124, 58, 237, 0.16); box-shadow: 0 0 20px rgba(124, 58, 237, 0.35); }

/* Gradient headings — deeper tones for light bg */
.day .gradient-text {
  background-image: linear-gradient(90deg, #d97706, #b45309, var(--royal), #d97706);
}
.day .gradient-text-gold {
  background-image: linear-gradient(90deg, #b45309, #d97706, #a16207, #d97706);
}
.day .stat-value { background-image: linear-gradient(90deg, #b45309, #d97706); }

/* Nav & structure */
.day .nav-link { color: #374151; }
.day #navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(15, 15, 40, 0.08);
  box-shadow: 0 10px 40px rgba(15, 15, 40, 0.08);
}
.day .glass-card:hover {
  border-color: rgba(161, 98, 7, 0.4);
  box-shadow: 0 18px 50px rgba(15, 15, 40, 0.12), 0 0 30px rgba(255, 215, 0, 0.15);
}

/* Cards & components */
.day .game-card p, .day .promo-card p, .day .feature-card p, .day .step p, .day .faq-a p, .day .stat p { color: #4b5563; }
.day .game-card[data-tone="gold"] .game-art { color: #b45309; }
.day .icon-gold { color: #b45309; }
.day .icon-green { color: #15803d; background: rgba(57, 255, 20, 0.12); }
.day .step-icon { color: #b45309; background: rgba(255, 215, 0, 0.12); }
.day .step:nth-child(even) .step-icon { color: var(--royal); }
.day .t-card blockquote { color: #374151; }
.day .t-meta { color: #6b7280; }
.day .t-stars { color: #d97706; text-shadow: none; }
.day .faq-q { color: #1f2937; }
.day .c-arrow { color: #92600a; border-color: rgba(161, 98, 7, 0.45); background: rgba(255, 215, 0, 0.08); }
.day .c-arrow:hover { background: var(--gold); color: #1a1400; }
.day .c-dot { background: rgba(15, 15, 40, 0.18); }
.day .rg-chip { color: #374151; background: rgba(15, 15, 40, 0.05); border-color: rgba(15, 15, 40, 0.12); }
.day .footer-links a { color: #4b5563; }
.day .footer-links a:hover { color: #a16207; }
.day .social { color: #374151; background: rgba(15, 15, 40, 0.06); border-color: rgba(15, 15, 40, 0.12); }
.day .hero-badge { border-color: rgba(161, 98, 7, 0.35); }
.day .jackpot { border-color: rgba(161, 98, 7, 0.3); box-shadow: 0 0 50px rgba(255, 215, 0, 0.2); }
.day .eyebrow { background: rgba(124, 58, 237, 0.08); }
.day .stats-panel { box-shadow: 0 0 60px rgba(124, 58, 237, 0.1); }
.day .rg-panel { border-color: rgba(161, 98, 7, 0.3); }
.day .card-el { box-shadow: 0 12px 30px rgba(15, 15, 40, 0.25); border: 1px solid rgba(15, 15, 40, 0.08); }
.day ::-webkit-scrollbar-track { background: #eceaf4; }

/* ---------- Reveal ----------
   Content is visible by default (good for Speed Index / no-JS);
   GSAP hides and reveals it only once it has loaded. ---------- */

/* ---------- Mobile performance ----------
   Continuous repaint-heavy animations (animated gradients on large text,
   blurred orbs, glowing box-shadows) are the main source of Total Blocking
   Time on low-end phones. Freeze them below 768px — the static gradients
   and glows still look premium; they just stop repainting every frame. */
@media (max-width: 767px) {
  .gradient-text,
  .gradient-text-gold,
  .btn-neon,
  .glow-orb,
  .step-icon,
  .loader-chip { animation: none; }
  .glow-orb { filter: blur(60px); }
}

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