/* ═══════════════════════════════════════════════════════
   Hotspots4Jackpots — Unified Stylesheet
   Dark Gold/Green Theme
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* ── CSS Variables ── */
:root {
  --gold:        #f0b429;
  --gold-dark:   #c8891a;
  --gold-light:  #f7d070;
  --green:       #1a7c52;
  --green-light: #22a06b;
  --dark:        #0d1117;
  --dark-card:   #161c25;
  --dark-row:    #1c2530;
  --border:      #2a3545;
  --text:        #e0e8f0;
  --muted:       #7a8fa6;
  --white:       #ffffff;

  /* Legacy light-theme aliases (kept for any fallback) */
  --black:       #0d1117;
  --gray:        #7a8fa6;
  --gray-light:  #161c25;

  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--dark);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  line-height: 1.15;
  letter-spacing: 1px;
}

/* ── Header / Nav ── */
header {
  background: linear-gradient(135deg, #0a0f16 0%, #0f1a10 60%, #0a0f16 100%);
  border-bottom: 2px solid var(--gold);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(240,180,41,0.15);
}

nav,
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo,
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  font-family: 'Lato', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  color: #fff;
}

.nav-brand span  { color: var(--gold); }

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 14px rgba(240,180,41,0.5);
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Lato', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-text .hot   { color: var(--gold); }
.logo-text .spots { color: #fff; }
.logo-text .four  { color: var(--gold); }
.logo-text .jacks { color: var(--green-light); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav-links .btn-nav {
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav-links .btn-nav:hover {
  background: #e0a020;
}

.nav-links .btn-red {
  background: rgba(239,68,68,0.12);
  color: #fca5a5 !important;
  border: 1px solid rgba(239,68,68,0.25);
  padding: 7px 12px;
  border-radius: 8px;
}

.nav-links .btn-red:hover {
  background: rgba(239,68,68,0.22);
}

/* ── Buttons ── */
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn-gold,
.button {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover,
.button:hover {
  background: #e0a020;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(240,180,41,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(240,180,41,0.06);
}

.btn-full { width: 100%; }

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  flex: 1;
}

/* ── Cards ── */
.card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(240,180,41,0.3);
}

/* ── Forms ── */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #3d5066;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(240,180,41,0.12);
}

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; font-size: 14px; }

thead th {
  background: #111922;
  padding: 11px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.02); }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-gold {
  background: rgba(240,180,41,0.15);
  color: var(--gold);
  border: 1px solid rgba(240,180,41,0.35);
}

.badge-green {
  background: rgba(34,160,107,0.15);
  color: var(--green-light);
  border: 1px solid rgba(34,160,107,0.3);
}

.badge-gray {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Footer ── */
footer {
  background: #080c10;
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
}

.footer-logo .four { color: var(--gold); }

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* Legacy footer link color (for pages using plain footer > a) */
footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

footer a:hover { color: var(--gold); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up   { animation: fadeUp 0.5s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.45s; }

/* ── Utility ── */
.text-gold   { color: var(--gold); }
.text-green  { color: var(--green-light); }
.text-muted  { color: var(--muted); }
.text-white  { color: #fff; }
.text-center { text-align: center; }

.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links a:not(.btn-nav):not(.btn-red) { display: none; }
  header { padding: 0 16px; }
  .container { padding: 32px 16px; }
  .card { padding: 16px 18px; }
}

@media (max-width: 480px) {
  .logo-text { font-size: 22px; }
  .footer-links { gap: 12px; }
}

/* Light theme override */
:root {
  --dark: #ffffff !important;
  --dark-card: #ffffff !important;
  --dark-row: #f8fafc !important;
  --border: #d1d5db !important;
  --text: #111111 !important;
  --muted: #374151 !important;
  --white: #ffffff !important;
  --black: #111111 !important;
  --gray: #6b7280 !important;
  --gray-light: #f3f4f6 !important;
  --shadow: 0 4px 18px rgba(15, 23, 42, 0.08) !important;
  --shadow-lg: 0 12px 36px rgba(15, 23, 42, 0.12) !important;
}

body,
header,
footer,
main,
section,
.container,
.card,
.auth-wrapper,
.auth-box,
.redirect-box,
.table-wrap,
.table-wrapper,
.table-scroll,
.modal,
.modal-content,
.pricing-card,
.plan-card,
.feature-card,
.stat-card,
.policy-card,
.faq-card,
.hero,
.stats-bar,
.cta-section,
.winners-section {
  background: #ffffff !important;
  color: var(--text) !important;
}

body,
header,
footer,
.card,
.auth-box,
.redirect-box,
.table-wrap,
.table-wrapper,
.table-scroll,
.modal-content,
.pricing-card,
.plan-card,
.feature-card,
.stat-card,
.policy-card,
.faq-card,
thead th,
tbody td {
  border-color: var(--border) !important;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
dt,
dd,
label,
th,
td {
  color: var(--text) !important;
}

.nav-links a,
.footer-links a,
.footer-copy,
.subtitle,
.table-source,
.hero-note,
.cta-guarantee,
.text-muted {
  color: var(--muted) !important;
}

.logo-text .spots,
.auth-logo .text .spots,
.footer-logo,
.nav-brand {
  color: var(--text) !important;
}

.hero::before,
.cta-section::before,
.auth-wrapper::before,
.auth-wrapper::after {
  opacity: 0.25 !important;
}

.btn-outline {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.nav-links a:hover,
.footer-links a:hover,
footer a:hover {
  background: transparent !important;
  color: var(--gold) !important;
}

.form-group input,
.form-group select,
.form-group textarea,
input,
select,
textarea {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: #6b7280 !important;
}

thead th {
  background: #f3f4f6 !important;
  color: var(--text) !important;
}

tbody tr:hover {
  background: #f8fafc !important;
}

.badge-gray {
  background: #f3f4f6 !important;
  color: var(--text) !important;
}
