/* =========================================================
   Lucky Neon Social Casino - Design System & Styles
   ========================================================= */

:root {
  --bg-dark: #080a11;
  --bg-card: rgba(18, 22, 38, 0.78);
  --bg-card-border: rgba(255, 255, 255, 0.1);
  --accent-gold: #f5b700;
  --accent-gold-glow: rgba(245, 183, 0, 0.4);
  --accent-neon: #8b5cf6;
  --accent-cyan: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --danger-color: #ef4444;
  --success-color: #10b981;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(139, 92, 246, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(6, 182, 212, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.7) 0%, var(--bg-dark) 100%);
  background-attachment: fixed;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Top Compliance Banner ---------------- */
.compliance-banner {
  background: linear-gradient(90deg, #1b092b, #2b1248, #1b092b);
  border-bottom: 1px solid rgba(245, 183, 0, 0.3);
  padding: 10px 0;
  font-size: 0.84rem;
  color: #e2e8f0;
}

.banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: center;
}

.banner-badge-group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.badge-18 {
  background: var(--danger-color);
  color: #fff;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.badge-virtual {
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.banner-text {
  line-height: 1.4;
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 17, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: #fff;
}

.logo .highlight {
  color: var(--accent-gold);
}

.tag-free {
  font-size: 0.68rem;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-left: 6px;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.header-nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.btn-playstore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.04);
}

.btn-playstore:hover {
  border-color: var(--accent-gold);
  background: rgba(245, 183, 0, 0.12);
  color: var(--accent-gold);
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  padding: 65px 0 75px;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 183, 0, 0.12);
  border: 1px solid rgba(245, 183, 0, 0.3);
  color: var(--accent-gold);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--accent-gold) 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 26px;
  max-width: 530px;
}

.feature-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #e2e8f0;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--success-color);
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.8rem;
}

.cta-group {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #ff9800);
  color: #050608;
  box-shadow: 0 8px 24px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 183, 0, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--bg-card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------------- Slot Machine Card ---------------- */
.slot-machine-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(139, 92, 246, 0.25);
  backdrop-filter: blur(16px);
  position: relative;
}

.slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.slot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-cyan);
}

.slot-led {
  width: 10px;
  height: 10px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulseLed 1.5s infinite;
}

@keyframes pulseLed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.slot-stat {
  background: rgba(0, 0, 0, 0.55);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(245, 183, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-unit {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Reels Container */
.reels-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #000;
  border: 2px solid rgba(245, 183, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.95);
}

.reel {
  background: linear-gradient(180deg, #0e1220 0%, #1c223a 50%, #0e1220 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.85);
}

.reel-symbol {
  font-size: 3.5rem;
  display: block;
  transition: transform 0.1s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}

.reel.spinning .reel-symbol {
  animation: reelBlur 0.12s infinite linear;
}

@keyframes reelBlur {
  0% { transform: translateY(-50px) scale(0.8); opacity: 0.3; }
  50% { transform: translateY(0px) scale(1.1); opacity: 0.8; }
  100% { transform: translateY(50px) scale(0.8); opacity: 0.3; }
}

.game-message {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 28px;
  margin-bottom: 18px;
  color: #cbd5e1;
}

.game-message.win {
  color: var(--accent-gold);
  font-size: 1.05rem;
  animation: flashWin 0.6s 3;
}

@keyframes flashWin {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Controls */
.slot-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.bet-control {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 4px;
}

.btn-bet {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
}

.btn-bet:hover {
  background: rgba(255, 255, 255, 0.2);
}

.bet-display {
  padding: 0 12px;
  text-align: center;
}

.bet-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.bet-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent-gold);
}

.btn-spin {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  letter-spacing: 0.5px;
}

.btn-spin:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-spin:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-refill {
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: #d8b4fe;
  font-size: 0.85rem;
  padding: 10px 14px;
}

.btn-refill:hover {
  background: rgba(139, 92, 246, 0.45);
}

.slot-footer-notice {
  margin-top: 16px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

/* ---------------- How It Works Section ---------------- */
.section-how {
  padding: 80px 0;
  border-top: 1px solid var(--bg-card-border);
}

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

.sub-heading {
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 50px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------------- Paytable Section ---------------- */
.section-paytable {
  padding: 70px 0;
  border-top: 1px solid var(--bg-card-border);
  background: rgba(0, 0, 0, 0.25);
}

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.paytable-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s ease;
}

.paytable-item:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 183, 0, 0.3);
}

.pay-sym {
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.pay-name {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-weight: 600;
}

.pay-mult {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-gold);
  font-size: 1rem;
}

/* ---------------- Compliance Section (#107 Mandate) ---------------- */
.section-compliance {
  padding: 70px 0;
  border-top: 1px solid var(--bg-card-border);
}

.compliance-box {
  background: rgba(18, 22, 38, 0.92);
  border: 1px solid rgba(245, 183, 0, 0.25);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.compliance-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compliance-icon {
  font-size: 2.4rem;
}

.compliance-header h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.compliance-sub {
  color: var(--accent-gold);
  font-size: 0.88rem;
  font-weight: 500;
}

.disclosure-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.disclosure-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 22px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-cyan);
}

.disclosure-item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
}

.disclosure-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------------- State Restrictions Section ---------------- */
.section-states {
  padding: 60px 0;
  border-top: 1px solid var(--bg-card-border);
}

.states-box {
  background: rgba(26, 17, 36, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 35px rgba(239, 68, 68, 0.1);
}

.states-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alert-icon {
  font-size: 2.2rem;
}

.states-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fca5a5;
}

.states-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.states-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 18px;
}

.state-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.state-pill {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.state-legal-note {
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

/* ---------------- Responsible Support Section ---------------- */
.section-support {
  padding: 60px 0;
  border-top: 1px solid var(--bg-card-border);
  background: rgba(0, 0, 0, 0.2);
}

.section-support h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.support-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.support-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.support-btn {
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bg-card-border);
  border-radius: 50px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.support-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
  color: #fff;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #040508;
  border-top: 1px solid var(--bg-card-border);
  padding: 60px 0 30px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-desc {
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-store-link {
  margin-top: 16px;
}

.btn-outline-play {
  display: inline-block;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.btn-outline-play:hover {
  color: var(--accent-gold);
}

.footer-nav-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col li {
  margin-bottom: 10px;
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.88rem;
  padding: 0;
  text-align: left;
  font-family: var(--font-body);
  transition: color 0.2s ease;
}

.footer-link-btn:hover {
  color: var(--text-main);
  text-decoration: underline;
}

.publisher-info {
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-card-border);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-mini {
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* ---------------- Modal Dialog ---------------- */
.policy-modal {
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: #10131d;
  color: #f3f4f6;
  max-width: 680px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.policy-modal::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  padding: 28px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

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

.modal-body {
  max-height: 65vh;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.modal-body h4 {
  color: #fff;
  margin: 16px 0 6px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-cards {
    grid-template-columns: 1fr;
  }
  .paytable-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .disclosure-list {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 600px) {
  .header-nav {
    display: none;
  }
  .hero-title {
    font-size: 1.95rem;
  }
  .paytable-grid {
    grid-template-columns: 1fr;
  }
  .slot-controls {
    grid-template-columns: 1fr;
  }
  .banner-inner {
    flex-direction: column;
    gap: 6px;
  }
}
