/* V9 FSL11 WinFantasy IPL — DARK Cash Conversion theme
   Palette: deep forest green #0f1c14, cash green #00cc66, winning gold #ffd700 */

:root {
  --primary: #00cc66;
  --primary-strong: #00994d;
  --primary-soft: rgba(0, 204, 102, 0.12);
  --accent: #ffd700;
  --accent-soft: rgba(255, 215, 0, 0.16);
  --bg: #0f1c14;
  --surface: #1a2b22;
  --surface-elev: #1f3329;
  --surface-dark: #0a1410;
  --surface-darker: #050a07;
  --text: #e8f5e9;
  --text-soft: #c8e6c9;
  --text-muted: #88a892;
  --text-on-dark: #e8f5e9;
  --border: rgba(0, 204, 102, 0.30);
  --border-strong: rgba(0, 204, 102, 0.55);
  --border-soft: rgba(232, 245, 233, 0.10);
  --primary-border: rgba(0, 204, 102, 0.50);
  --soft-border: rgba(232, 245, 233, 0.10);
  --danger: #ff5e5e;

  --gradient-hero: linear-gradient(135deg, #050a07 0%, #0f1c14 50%, #1a2b22 100%);
  --gradient-cta: linear-gradient(135deg, #ffd700 0%, #00cc66 100%);
  --gradient-ticker: linear-gradient(90deg, #00cc66 0%, #ffd700 50%, #00cc66 100%);

  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-elev: 0 12px 32px rgba(0, 0, 0, 0.55);

  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1280px;
  --header-h: 74px;
  --ticker-h: 42px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: calc(var(--header-h) + var(--ticker-h));
}
body, html { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--accent); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
h3 { font-size: clamp(20px, 2vw, 24px); margin-bottom: 8px; }
p { margin-bottom: 12px; color: var(--text-soft); }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

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

/* ===== TICKER ===== */
.ticker {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--ticker-h);
  background: var(--gradient-ticker);
  color: var(--surface-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  z-index: 200;
  display: flex; align-items: center;
}
.ticker .container { display: flex; align-items: center; gap: 16px; width: 100%; }
.ticker-label { background: var(--surface-dark); color: var(--accent); padding: 4px 10px; border-radius: 4px; font-size: 11px; flex-shrink: 0; font-family: var(--font-display); letter-spacing: 0.12em; }
.ticker-track { display: flex; gap: 36px; flex: 1; white-space: nowrap; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ticker-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--surface-dark); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 20, 16, 0.7); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: var(--ticker-h); left: 0; right: 0;
  height: var(--header-h);
  background: rgba(15, 28, 20, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 250;
}
.site-header .container { display: flex; align-items: center; gap: 16px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--gradient-cta);
  color: var(--surface-dark);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.brand-text-name em { color: var(--accent); font-style: normal; }
.brand-text-tag { font-size: 10px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.main-nav { display: none; gap: 22px; align-items: center; margin-left: auto; flex-wrap: wrap; }
.main-nav a { color: var(--text-soft); font-size: 14px; font-weight: 700; padding: 6px 0; position: relative; letter-spacing: 0.02em; }
.main-nav a:hover, .main-nav a.is-active { color: var(--primary); }
.main-nav a.is-active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); }
.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-cta-ghost {
  display: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.header-cta-ghost:hover { color: var(--accent); border-color: var(--accent); }
.header-cta {
  display: none;
  color: var(--surface-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  background: var(--gradient-cta);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.header-cta:hover { color: var(--surface-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4); }

/* HAMBURGER */
.hamburger {
  display: inline-flex; flex-direction: column; gap: 4px;
  background: none; border: 0; padding: 10px;
  cursor: pointer;
  z-index: 300 !important;
  position: relative !important;
}
.hamburger span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: transform 0.18s, opacity 0.18s; }
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 320px);
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-darker) 100%);
  z-index: 199;
  padding: 110px 28px 36px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.2,.7,.3,1);
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.6);
}
.mobile-drawer.is-open, .mobile-drawer.open { transform: translateX(0) !important; }
.mobile-drawer a {
  display: flex !important;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-on-dark);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.mobile-drawer a:hover { color: var(--accent); }
.mobile-drawer a.drawer-cta {
  background: var(--gradient-cta);
  color: var(--surface-dark);
  border: 0;
  border-radius: 10px;
  margin-top: 18px;
  padding: 14px;
  justify-content: center;
  font-weight: 700;
  text-align: center;
}
.drawer-section { /* explicit class */ }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--text-on-dark);
  padding: 80px 0 100px;
  overflow: hidden;
  min-height: 720px;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--text); font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.01em; font-family: var(--font-display); }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero .hero-lede { color: var(--text-soft); font-size: 17px; line-height: 1.55; max-width: 620px; margin: 14px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.hero-copy { background: rgba(26, 43, 34, 0.7); border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px; backdrop-filter: blur(8px); box-shadow: var(--shadow-elev); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 6px; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.hero-stat { background: rgba(10, 20, 16, 0.5); border: 1px solid var(--border-soft); border-radius: 12px; padding: 14px 10px; text-align: center; }
.hero-stat-num { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--accent); }
.hero-stat-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; font-weight: 700; }
.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.18s, box-shadow 0.18s;
  letter-spacing: 0.02em;
}
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--gradient-cta); color: var(--surface-dark); border: 1px solid var(--accent); box-shadow: 0 4px 14px rgba(0, 204, 102, 0.36); }
.btn-primary:hover { color: var(--surface-dark); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(255, 215, 0, 0.5); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

/* ===== BANDS ===== */
.band { padding: 64px 0; }
.band-elev-0 { background: var(--bg); }
.band-elev-1 { background: var(--surface); }
.band-elev-2 { background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-darker) 100%); color: var(--text); padding: 80px 0; }
.band-elev-2 h2, .band-elev-2 h3 { color: var(--text); }
.band-title { margin-bottom: 10px; }
.band-lede { color: var(--text-soft); font-size: 17px; max-width: 720px; margin-bottom: 32px; }
.band-cta { background: var(--gradient-cta); color: var(--surface-dark); padding: 80px 0; }
.band-cta .cta-title { color: var(--surface-dark); font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 12px; }
.band-cta .cta-body { color: var(--surface-dark); font-size: 17px; max-width: 640px; margin: 0 auto 22px; opacity: 0.85; font-weight: 500; }
.band-cta .btn-primary { background: var(--surface-dark); color: var(--accent); border-color: var(--surface-dark); }
.band-cta .btn-primary:hover { background: var(--surface-darker); color: var(--accent); }
.band-cta .btn-ghost { background: transparent; color: var(--surface-dark); border-color: var(--surface-dark); }
.band-cta .btn-ghost:hover { background: var(--surface-dark); color: var(--accent); }
.cta-band { text-align: center; max-width: 720px; margin: 0 auto; }

/* ===== CARDS / GRIDS ===== */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--primary-border); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.18s, border-color 0.18s; }
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card h3 { color: var(--text); font-size: 18px; }
.card p { color: var(--text-soft); font-size: 14px; line-height: 1.55; }
.card a { color: var(--accent); }

.data-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.data-card { background: linear-gradient(135deg, var(--surface) 0%, var(--surface-dark) 100%); border: 1px solid var(--primary-border); border-radius: 14px; padding: 22px 18px; text-align: center; color: var(--text); box-shadow: var(--shadow-card); }
.data-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--accent); }
.data-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; font-weight: 700; }

.step-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.step-card { background: var(--surface); border: 1px solid var(--primary-border); border-radius: 14px; padding: 26px 22px; position: relative; display: flex; flex-direction: column; gap: 10px; transition: transform 0.18s, border-color 0.18s; }
.step-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.step-card h3 { color: var(--text); }
.step-num {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-cta);
  color: var(--surface-dark);
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(0, 204, 102, 0.4);
}

.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hub-card { background: var(--surface); border: 1px solid var(--primary-border); border-radius: 14px; padding: 18px; text-decoration: none; color: var(--text); transition: transform 0.18s, border-color 0.18s; display: flex; flex-direction: column; gap: 8px; }
.hub-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.hub-card h3 { color: var(--text); font-family: var(--font-display); font-size: 17px; }
.hub-card p { color: var(--text-muted); font-size: 13px; }
.hub-img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 6px; background: var(--surface-elev); }

.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--primary-border); border-radius: 14px; padding: 26px 22px; box-shadow: var(--shadow-card); }
.testimonial-prize { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.testimonial-card blockquote { color: var(--text-soft); font-size: 14px; line-height: 1.55; margin-bottom: 14px; font-style: italic; }
.testimonial-meta { color: var(--text); font-size: 13px; padding-top: 12px; border-top: 1px solid var(--border-soft); font-weight: 700; }

.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pricing-card { background: var(--surface); border: 1px solid var(--primary-border); border-radius: 16px; padding: 32px 24px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.pricing-tier { font-size: 12px; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.pricing-price { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--text); margin: 4px 0; }
.pricing-note { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; font-weight: 700; }

.faq-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--primary-border); border-radius: 12px; padding: 18px 22px; }
.faq-item summary { font-weight: 700; color: var(--text); cursor: pointer; font-size: 16px; font-family: var(--font-display); letter-spacing: 0.01em; }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { margin-top: 12px; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0; }
.data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--primary-border); border-radius: 12px; overflow: hidden; }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.data-table th { background: var(--surface-elev); color: var(--accent); font-weight: 700; font-family: var(--font-display); letter-spacing: 0.04em; }
.data-table tr:last-child td { border-bottom: 0; }

.inline-image-row {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  background: var(--surface); border: 1px solid var(--primary-border);
  border-radius: 14px; padding: 22px; margin: 22px 0;
}
.inline-image-row img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; background: var(--surface-elev); }
.inline-image-row h3 { color: var(--text); font-family: var(--font-display); font-size: 20px; }
.inline-image-row p { color: var(--text-soft); font-size: 14px; line-height: 1.55; }

.loose-card {
  background: linear-gradient(135deg, rgba(0, 204, 102, 0.06) 0%, rgba(0, 204, 102, 0.02) 100%);
  border: 2px solid var(--primary-border);
  border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px;
  margin: 18px 0; box-shadow: var(--shadow-card);
}
.loose-card h3 { color: var(--text); font-family: var(--font-display); font-size: 18px; }
.loose-card p { color: var(--text-soft); font-size: 14px; line-height: 1.55; margin: 0; }

/* ===== FOOTER ===== */
.site-footer { background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-darker) 100%); color: var(--text); padding: 64px 0 32px; border-top: 2px solid var(--primary); }
.site-footer .container { display: flex; flex-direction: column; gap: 36px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col h4 { font-family: var(--font-display); color: var(--accent); font-size: 16px; margin-bottom: 10px; letter-spacing: 0.04em; }
.footer-col p { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin-bottom: 10px; }
.footer-col a { color: var(--text-soft); font-size: 13px; padding: 3px 0; text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.social-icons { display: flex; gap: 10px; margin-top: 10px; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary); font-size: 14px; font-weight: 700;
}
.social-icons a:hover { background: var(--primary); color: var(--surface-dark); border-color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 22px; color: var(--text-muted); font-size: 12px; text-align: center; }

/* ===== SKIP LINK ===== */
.skip-link { position: absolute; top: -100px; left: 0; padding: 10px 16px; background: var(--primary); color: var(--surface-dark); z-index: 999; font-weight: 700; }
.skip-link:focus { top: 0; }
section[id] { scroll-margin-top: calc(var(--header-h) + var(--ticker-h) + 16px); }

/* ===== RESPONSIVE — MUST COME LAST IN FILE ===== */
@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .data-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .hub-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .main-nav { display: flex !important; }
  .header-cta, .header-cta-ghost { display: inline-flex !important; }
  .hamburger { display: none !important; }
  .hero-grid { grid-template-columns: 5fr 7fr; gap: 40px; }
  .hero-trust { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .hub-grid { grid-template-columns: repeat(3, 1fr); }
}

/* MOBILE HERO CAP */
@media (max-width: 899px) {
  .main-nav { display: none !important; }
  .header-cta, .header-cta-ghost { display: none !important; }
  .hamburger { display: inline-flex !important; }
  .ticker-track .ticker-item:nth-child(n+7) { display: none !important; }
  .ticker-pulse { animation: none !important; }
  .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .hero { min-height: 430px !important; max-height: 560px !important; padding: 48px 0 40px !important; overflow: hidden !important; }
  .hero-copy { padding: 24px 20px !important; backdrop-filter: none !important; }
  .hero-banner { opacity: 0.10 !important; }
  .hero h1 { font-size: 32px !important; line-height: 1.1 !important; }
  .hero .hero-lede { font-size: 15px !important; line-height: 1.5 !important; }
  .hero-cta .btn { flex: 1 1 auto !important; padding: 12px 16px !important; font-size: 14px !important; }
  .hero-trust { grid-template-columns: repeat(3, 1fr) !important; }
}

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