/* ============================================================
   LeonBet v2 — style.css
   Pure CSS, no frameworks, no libraries
   Layout: casino-first, sidebar jackpots, promo cards
   ============================================================ */

/* ---- CSS Variables ---------------------------------------- */
:root {
  --c-green:        #1a9e3f;
  --c-green-d:      #137a30;
  --c-green-l:      #22c24e;
  --c-gold:         #f5c518;
  --c-gold-d:       #d4a800;
  --c-bg:           #0e0f12;
  --c-bg2:          #13151a;
  --c-surface:      #1a1d24;
  --c-surface2:     #22262f;
  --c-surface3:     #2a2f3b;
  --c-border:       #2c303c;
  --c-text:         #eceef3;
  --c-muted:        #7c8096;
  --c-dim:          #484d60;
  --c-red:          #d93b3b;
  --header-h:       60px;
  --r-sm:           4px;
  --r-md:           8px;
  --r-lg:           14px;
  --r-xl:           20px;
  --max-w:          1240px;
  --font:           -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--c-bg); color: var(--c-text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ---- Utility ---------------------------------------------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 700; letter-spacing: .6px;
  cursor: pointer; border: none; transition: background .18s, transform .1s;
  text-transform: uppercase; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-green  { background: var(--c-green); color: #fff; }
.btn-green:hover { background: var(--c-green-d); }
.btn-ghost  { background: transparent; border: 1.5px solid var(--c-green); color: var(--c-green); }
.btn-ghost:hover { background: var(--c-green); color: #fff; }
.btn-gold   { background: var(--c-gold); color: #111; }
.btn-gold:hover { background: var(--c-gold-d); }
.btn-lg { padding: 13px 30px; font-size: 14px; }

/* ---- Header ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 14px; height: 100%;
}
.site-logo {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.site-logo img { height: 32px; width: auto; }
.logo-wordmark {
  font-size: 20px; font-weight: 900; letter-spacing: 2px;
  color: #fff; text-transform: uppercase;
}
.main-nav {
  display: flex; align-items: center; gap: 2px; flex: 1;
}
.main-nav a {
  padding: 7px 13px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; color: var(--c-muted);
  white-space: nowrap; transition: color .18s, background .18s;
}
.main-nav a:hover, .main-nav a.is-active {
  color: var(--c-text); background: var(--c-surface2);
}
.main-nav a.is-active { color: var(--c-green); }
.hdr-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--c-text);
}
.burger span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }

/* ---- Mobile Nav ------------------------------------------- */
.mob-nav {
  display: none; position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  z-index: 199; background: var(--c-surface);
  overflow-y: auto; padding: 12px;
}
.mob-nav.is-open { display: block; }
.mob-nav a {
  display: block; padding: 13px 16px;
  border-bottom: 1px solid var(--c-border);
  font-size: 15px; font-weight: 600; color: var(--c-muted);
}
.mob-nav a:hover { color: var(--c-green); }
.mob-nav .btn { width: 100%; margin-top: 14px; }

/* ---- Breadcrumb ------------------------------------------- */
.breadcrumb { padding: 10px 0; font-size: 12px; color: var(--c-dim); }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-green); }
.breadcrumb .sep { margin: 0 6px; }

/* ---- Hero Banner ------------------------------------------ */
.hero {
  background: linear-gradient(120deg, #080b0e 0%, #111520 55%, #0a1a0d 100%);
  padding: 52px 0 44px; position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,158,63,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,158,63,.15); border: 1px solid rgba(26,158,63,.4);
  color: var(--c-green); font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-eyebrow::before { content: '●'; font-size: 8px; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-h1 {
  font-size: clamp(26px, 3.5vw, 44px); font-weight: 900;
  line-height: 1.15; margin-bottom: 14px;
}
.hero-h1 .hl { color: var(--c-green); }
.hero-lead {
  font-size: 15px; color: var(--c-muted); margin-bottom: 28px;
  max-width: 520px; line-height: 1.75;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--c-surface2); border: 1px solid var(--c-border);
  border-radius: 20px; padding: 5px 14px;
  font-size: 12px; color: var(--c-muted); font-weight: 600;
}
.chip.chip-live {
  background: rgba(217,59,59,.15); border-color: rgba(217,59,59,.4);
  color: #e05555;
}
.chip.chip-live::before { content: '● '; font-size: 9px; }

/* Jackpot sidebar card */
.jackpot-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg); overflow: hidden;
}
.jp-header {
  background: linear-gradient(135deg, #1a1d24, #22262f);
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
}
.jp-header h3 { font-size: 14px; font-weight: 800; }
.jp-header a { font-size: 12px; color: var(--c-green); }
.jp-item {
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; gap: 12px;
}
.jp-item:last-child { border-bottom: none; }
.jp-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.jp-dot.gold { background: var(--c-gold); box-shadow: 0 0 8px rgba(245,197,24,.5); }
.jp-dot.silver { background: #a8b0c0; }
.jp-dot.bronze { background: #cd7f32; }
.jp-info { flex: 1; min-width: 0; }
.jp-name { font-size: 12px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jp-amount { font-size: 18px; font-weight: 900; color: var(--c-gold); line-height: 1.2; }
.jp-cta { padding: 16px 20px; }
.jp-cta .btn { width: 100%; }

/* ---- Section Titles --------------------------------------- */
.sec-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.sec-title {
  font-size: clamp(18px, 2.5vw, 22px); font-weight: 800;
  position: relative; padding-left: 14px;
}
.sec-title::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 22px; border-radius: 2px;
  background: var(--c-green);
}
.sec-link { font-size: 13px; color: var(--c-green); }
.sec-link:hover { text-decoration: underline; }

/* ---- Promo Cards ------------------------------------------ */
.promo-section { padding: 48px 0; }
.promo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.promo-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column;
}
.promo-card:hover { border-color: var(--c-green); transform: translateY(-3px); }
.promo-card-top {
  padding: 24px 20px 16px;
  background: linear-gradient(135deg, #1a1d24, #22262f);
  position: relative; overflow: hidden;
}
.promo-card-top::after {
  content: ''; position: absolute; bottom: -20px; right: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(26,158,63,.12);
}
.promo-icon { font-size: 32px; margin-bottom: 10px; }
.promo-amount {
  font-size: 28px; font-weight: 900; color: var(--c-green); line-height: 1;
}
.promo-sub { font-size: 12px; color: var(--c-muted); margin-top: 3px; }
.promo-card-body { padding: 16px 20px; flex: 1; }
.promo-card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.promo-card-desc { font-size: 13px; color: var(--c-muted); line-height: 1.6; }
.promo-card-foot { padding: 0 20px 20px; }
.promo-card-foot .btn { width: 100%; }

/* ---- Winners Ticker --------------------------------------- */
.winners-section { padding: 0 0 40px; }
.winners-ticker {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.winners-ticker-head {
  padding: 12px 20px;
  background: var(--c-surface2);
  border-bottom: 1px solid var(--c-border);
  font-size: 13px; font-weight: 700; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: .6px;
}
.winner-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--c-border);
  font-size: 13px;
}
.winner-row:last-child { border-bottom: none; }
.winner-game { flex: 1; font-weight: 600; }
.winner-name { color: var(--c-muted); min-width: 80px; }
.winner-amount { font-weight: 800; color: var(--c-gold); min-width: 110px; text-align: right; }

/* ---- Content Sections ------------------------------------- */
.content-area { padding: 40px 0; }
.content-area + .content-area { border-top: 1px solid var(--c-border); }

.entry-content h2 {
  font-size: clamp(17px, 2.2vw, 22px); font-weight: 800;
  margin: 32px 0 12px; color: var(--c-text);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 17px; font-weight: 700; margin: 22px 0 10px; }
.entry-content p { color: var(--c-muted); font-size: 15px; margin-bottom: 14px; line-height: 1.75; }
.entry-content ul, .entry-content ol { margin: 10px 0 16px; }
.entry-content li {
  position: relative; padding: 5px 0 5px 22px;
  color: var(--c-muted); font-size: 14px;
}
.entry-content ul li::before {
  content: '▸'; position: absolute; left: 0;
  color: var(--c-green); font-size: 11px; top: 8px;
}
.entry-content ol { counter-reset: li; }
.entry-content ol li { counter-increment: li; }
.entry-content ol li::before {
  content: counter(li) '.'; position: absolute; left: 0;
  color: var(--c-green); font-weight: 700; font-size: 13px;
}

/* ---- Info Table ------------------------------------------- */
.wp-block-table {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--c-border); margin: 20px 0;
}
.wp-block-table td {
  padding: 11px 16px; font-size: 14px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
}
.wp-block-table tr:last-child td { border-bottom: none; }
.wp-block-table td:first-child {
  font-weight: 700; color: var(--c-muted);
  background: var(--c-surface2); width: 44%;
}
.wp-block-table td:last-child { background: var(--c-surface); }

/* ---- Two-col layout --------------------------------------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}

/* ---- Feature Grid ----------------------------------------- */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0;
}
.feat-card {
  background: var(--c-surface2); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 18px 14px;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: var(--c-green); transform: translateY(-2px); }
.feat-icon { font-size: 26px; margin-bottom: 8px; }
.feat-title { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.feat-desc { font-size: 12px; color: var(--c-muted); line-height: 1.5; }

/* ---- Providers -------------------------------------------- */
.providers-wrap {
  overflow-x: auto; border-radius: var(--r-md);
  border: 1px solid var(--c-border); margin: 20px 0;
}
.providers-wrap table { min-width: 520px; }
.providers-wrap th {
  background: var(--c-surface2); padding: 11px 16px;
  font-size: 12px; font-weight: 700; color: var(--c-muted);
  text-align: left; border-bottom: 1px solid var(--c-border);
  text-transform: uppercase; letter-spacing: .5px;
}
.providers-wrap td {
  padding: 10px 16px; font-size: 13px;
  border-bottom: 1px solid var(--c-border); color: var(--c-muted);
}
.providers-wrap tr:last-child td { border-bottom: none; }
.providers-wrap td:first-child { color: var(--c-text); font-weight: 700; }
.providers-wrap tr:hover td { background: var(--c-surface2); }

/* ---- Advantages List -------------------------------------- */
.adv-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.adv-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--c-surface2); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 14px 16px;
}
.adv-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(26,158,63,.2); border: 1.5px solid var(--c-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 11px; color: var(--c-green); font-weight: 900;
}
.adv-text { font-size: 14px; color: var(--c-muted); line-height: 1.55; }
.adv-text strong { color: var(--c-text); }

/* ---- CTA Strip -------------------------------------------- */
.cta-strip {
  background: linear-gradient(110deg, #0b1a0d 0%, #132018 50%, #0d1510 100%);
  border: 1px solid rgba(26,158,63,.25);
  border-radius: var(--r-xl); padding: 44px 36px;
  text-align: center; margin: 40px 0; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 50%, rgba(26,158,63,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-strip h2 { font-size: clamp(20px, 3vw, 30px); font-weight: 900; margin-bottom: 10px; }
.cta-strip p { color: var(--c-muted); font-size: 15px; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-strip-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- FAQ -------------------------------------------------- */
.faq-section { padding: 40px 0; border-top: 1px solid var(--c-border); }
.faq-list { margin-top: 20px; }
.faq-item { border: 1px solid var(--c-border); border-radius: var(--r-md); margin-bottom: 8px; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 20px; cursor: pointer; background: var(--c-surface2);
  font-size: 14px; font-weight: 600; transition: background .18s;
  border: none; width: 100%; text-align: left; color: var(--c-text);
}
.faq-q:hover { background: var(--c-surface3); }
.faq-q[aria-expanded="true"] { color: var(--c-green); }
.faq-arr {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid var(--c-muted); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; transition: transform .3s, border-color .3s;
}
.faq-q[aria-expanded="true"] .faq-arr { transform: rotate(180deg); border-color: var(--c-green); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; background: var(--c-surface); }
.faq-a.open { max-height: 400px; }
.faq-a-inner { padding: 14px 20px; font-size: 13px; color: var(--c-muted); line-height: 1.7; }

/* ---- Payment --------------------------------------------- */
.pay-section { padding: 36px 0; border-top: 1px solid var(--c-border); }
.pay-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-badge {
  background: var(--c-surface2); border: 1px solid var(--c-border);
  border-radius: var(--r-sm); padding: 7px 14px;
  font-size: 12px; font-weight: 600; color: var(--c-muted);
}

/* ---- Footer ----------------------------------------------- */
.site-footer {
  background: var(--c-surface); border-top: 1px solid var(--c-border);
  padding: 44px 0 24px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
.footer-brand p { font-size: 13px; color: var(--c-muted); max-width: 260px; margin-top: 12px; line-height: 1.6; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--c-muted); margin-bottom: 14px;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--c-dim); transition: color .18s; }
.footer-col a:hover { color: var(--c-green); }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--c-surface2); border: 1px solid var(--c-border);
  font-size: 16px; transition: border-color .18s, background .18s;
}
.social-btn:hover { border-color: var(--c-green); background: rgba(26,158,63,.1); }
.footer-bottom {
  border-top: 1px solid var(--c-border); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--c-dim); }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--c-dim); font-size: 10px; font-weight: 800; color: var(--c-dim);
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .jackpot-panel { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .hdr-right .btn-ghost { display: none; }
  .promo-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .feat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 30px 16px; }
  .hero { padding: 36px 0 30px; }
}
