/*
Theme Name: Indian iGaming Micro
Author: Kabir - iGaming Analyst
Description: Lightweight 4-page micro-theme for Spribe Aviator (IN market). Dark neon aesthetic, mobile-first, CLS-safe.
Version: 1.0.0
*/

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

:root {
  --bg: #0b0f19;
  --surface: #131825;
  --surface-2: #1a1f2e;
  --text: #e6e9f0;
  --text-dim: #9ba3b4;
  --text-mute: #6b7280;
  --neon-green: #00ff88;
  --neon-purple: #a855f7;
  --border: #1f2738;
  --warn: #fbbf24;
  --danger: #ef4444;
  --radius: 14px;
  --max-w: 880px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--neon-green); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--text); }
h1 { font-size: 1.85rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.4rem; margin: 2rem 0 0.8rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.5rem; }

p { margin: 0 0 1rem; color: var(--text-dim); }
p strong { color: var(--text); }

ul { margin: 0 0 1rem 1.25rem; color: var(--text-dim); }
li { margin-bottom: 0.35rem; }

/* ============ Layout ============ */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }

.section { padding: 2.2rem 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0.5rem 1rem; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.05rem; color: var(--text); }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--neon-green); box-shadow: 0 0 12px var(--neon-green); }
.brand span { color: var(--neon-purple); }

.nav-links { display: none; list-style: none; margin: 0; gap: 1.4rem; }
.nav-links a {
  color: var(--text-dim); font-weight: 600; font-size: 0.95rem; padding: 0.5rem 0;
  min-height: 48px; display: inline-flex; align-items: center;
}
.nav-links a:hover, .nav-links a.active { color: var(--neon-green); text-decoration: none; }

.nav-toggle {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  width: 48px; height: 48px; border-radius: 10px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.nav-toggle:hover { border-color: var(--neon-green); }

.nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0;
  background: var(--bg); padding: 0.5rem 1rem 1rem; border-bottom: 1px solid var(--border); gap: 0.2rem; }

@media (min-width: 640px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; position: static; flex-direction: row; background: transparent; padding: 0; border: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative; padding: 3rem 0 2.4rem; overflow: hidden;
  background: linear-gradient(180deg, rgba(11,15,25,0.6) 0%, rgba(11,15,25,0.92) 70%, var(--bg) 100%),
              url("wp-content/themes/cosmosaviators/img/Background.webp") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(168,85,247,0.18), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(0,255,136,0.12), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--neon-purple); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.6rem; }
.hero h1 { font-size: 2.1rem; max-width: 18ch; }
.hero h1 .hl { color: var(--neon-green); }
.hero p.lead { font-size: 1.05rem; color: var(--text); max-width: 50ch; margin-top: 0.8rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 10px;
  font-weight: 700; font-size: 1rem; cursor: pointer; border: 1px solid transparent;
  text-decoration: none; transition: transform 0.08s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--neon-green); color: #00120a; }
.btn--primary:hover { box-shadow: 0 0 22px rgba(0,255,136,0.45); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--neon-purple); text-decoration: none; color: var(--neon-purple); }
.btn-row { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.2rem; }
@media (min-width: 540px) { .btn-row { flex-direction: row; } }

/* ============ Cards ============ */
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--2 { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--neon-green); transform: translateY(-2px); }
.card h3 { color: var(--text); }
.card p { margin-bottom: 0.4rem; }

.card-icon {
  width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; margin-bottom: 0.7rem;
  background: linear-gradient(135deg, rgba(0,255,136,0.18), rgba(168,85,247,0.18));
  color: var(--neon-green); border: 1px solid var(--border);
}

/* Feature list */
.feature-num { color: var(--neon-purple); font-weight: 800; }

/* ============ Author Bio (E-E-A-T) ============ */
.author {
  display: flex; flex-direction: column; gap: 1rem; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem;
}
@media (min-width: 540px) { .author { flex-direction: row; align-items: center; } }
.author img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--neon-green);
  flex-shrink: 0;
}
.author-name { color: var(--text); font-weight: 800; font-size: 1.05rem; }
.author-role { color: var(--neon-purple); font-weight: 600; font-size: 0.85rem; }
.author-bio { color: var(--text-dim); font-size: 0.92rem; margin-top: 0.4rem; }

/* ============ Data Table ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.specs { width: 100%; border-collapse: collapse; min-width: 320px; }
table.specs th, table.specs td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
table.specs th { background: var(--surface-2); color: var(--text); font-weight: 700; }
table.specs td { color: var(--text-dim); }
table.specs td strong { color: var(--neon-green); }
table.specs tr:last-child td, table.specs tr:last-child th { border-bottom: none; }

/* = Casino cards ============ */
.casino-card { display: flex; flex-direction: column; gap: 0.7rem; }
.casino-card .badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 0.6rem;
  font-size: 0.78rem; font-weight: 700; border-radius: 6px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-dim);
}
.badge--upi { color: var(--neon-green); border-color: rgba(0,255,136,0.4); }
.badge--paytm { color: var(--neon-purple); border-color: rgba(168,85,247,0.4); }
.rating { color: var(--warn); font-weight: 700; letter-spacing: 1px; }

/* ============ Footer ============ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 1.6rem 0; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
@media (min-width: 540px) { .footer-links { flex-direction: row; flex-wrap: wrap; gap: 1.2rem; } }
.footer-links a { color: var(--text-dim); font-size: 0.9rem; min-height: 36px; display: inline-flex; align-items: center; }
.footer-disclaimer { font-size: 0.8rem; color: var(--text-mute); border-top: 1px solid var(--border); padding-top: 1rem; }

/* ============ Utilities ============ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0 0; }

.notice {
  background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.3);
  color: var(--warn); padding: 0.7rem 1rem; border-radius: 10px; font-size: 0.88rem; margin-bottom: 1rem;
}
.notice--neutral { background: var(--surface-2); border-color: var(--border); color: var(--text-dim); }
