/* ============================================================
   LeonBet — style.css
   Pure CSS, no frameworks, no libraries
   ============================================================ */

/* ---- CSS Variables ---------------------------------------- */
:root {
  --color-primary:       #1a9e3f;   /* Leon green */
  --color-primary-dark:  #157a31;
  --color-primary-light: #22c24e;
  --color-accent:        #e8ff00;   /* neon yellow accent */
  --color-bg:            #111214;   /* deep dark background */
  --color-surface:       #1c1e22;   /* card / panel surface */
  --color-surface-2:     #252830;   /* slightly lighter surface */
  --color-border:        #2e3038;
  --color-text:          #f0f0f2;
  --color-text-muted:    #8a8d99;
  --color-text-dim:      #5a5d6b;
  --color-danger:        #e03c3c;
  --color-warning:       #f5a623;
  --color-success:       #1a9e3f;
  --header-height:       64px;
  --radius-sm:           4px;
  --radius-md:           8px;
  --radius-lg:           12px;
  --container-max:       1200px;
  --font-main:           -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-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ---- Utility ---------------------------------------------- */
.container {
  max-width: var(--container-max);
  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(--radius-sm);
  font-size: 14px; font-weight: 700; letter-spacing: .5px;
  cursor: pointer; border: none; transition: background .2s, transform .1s;
  text-transform: uppercase;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ---- Header ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.site-header .container {
  display: flex; align-items: center; gap: 16px;
  height: 100%;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.site-logo img { height: 36px; width: auto; }
.site-logo .logo-text {
  font-size: 22px; font-weight: 900; letter-spacing: 1px;
  color: #fff; text-transform: uppercase;
}
.main-navigation {
  display: flex; align-items: center; gap: 2px;
  flex: 1; overflow: hidden;
}
.main-navigation a {
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--color-text-muted);
  white-space: nowrap; transition: color .2s, background .2s;
}
.main-navigation a:hover,
.main-navigation a.active {
  color: var(--color-text);
  background: var(--color-surface-2);
}
.main-navigation a.active { color: var(--color-primary); }
.header-actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.burger-btn {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px; color: var(--color-text);
}
.burger-btn span {
  display: block; width: 22px; height: 2px;
  background: currentColor; margin: 4px 0;
  transition: transform .3s, opacity .3s;
}

/* ---- Mobile Nav ------------------------------------------- */
.mobile-nav {
  display: none; position: fixed; top: var(--header-height);
  left: 0; right: 0; bottom: 0; z-index: 99;
  background: var(--color-surface);
  overflow-y: auto; padding: 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:hover { color: var(--color-primary); }
.mobile-nav .btn { width: 100%; margin-top: 16px; }

/* ---- Hero / Banner ---------------------------------------- */
.hero-section {
  background: linear-gradient(135deg, #0d1117 0%, #1a1d24 60%, #0f1a10 100%);
  padding: 56px 0 48px;
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,158,63,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(26,158,63,.2); border: 1px solid var(--color-primary);
  color: var(--color-primary); font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title span { color: var(--color-primary); }
.hero-desc {
  font-size: 16px; color: var(--color-text-muted);
  margin-bottom: 28px; max-width: 480px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 32px;
}
.hero-stat {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px; text-align: center;
}
.hero-stat .stat-num {
  font-size: 24px; font-weight: 900; color: var(--color-primary);
}
.hero-stat .stat-label {
  font-size: 12px; color: var(--color-text-muted); margin-top: 4px;
}
.hero-visual {
  display: flex; flex-direction: column; gap: 16px;
}
.bonus-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px; position: relative; overflow: hidden;
}
.bonus-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
}
.bonus-card .bonus-amount {
  font-size: 32px; font-weight: 900; color: var(--color-primary);
  line-height: 1;
}
.bonus-card .bonus-sub {
  font-size: 13px; color: var(--color-text-muted); margin-top: 4px;
}
.bonus-card .bonus-title {
  font-size: 14px; font-weight: 700; margin-top: 12px; margin-bottom: 8px;
}
.bonus-card .bonus-desc {
  font-size: 13px; color: var(--color-text-muted);
}

/* ---- Quick Nav Tabs --------------------------------------- */
.quick-nav {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto; scrollbar-width: none;
}
.quick-nav::-webkit-scrollbar { display: none; }
.quick-nav-inner {
  display: flex; align-items: center; gap: 4px;
  padding: 0 16px; min-width: max-content;
}
.quick-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 16px; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  color: var(--color-text-muted); font-size: 12px; font-weight: 600;
  white-space: nowrap;
}
.quick-nav-item:hover { color: var(--color-text); }
.quick-nav-item.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.quick-nav-item .qn-icon { font-size: 20px; }

/* ---- Info Table ------------------------------------------- */
.info-section { padding: 48px 0; }
.info-section .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: start;
}
.section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800; margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}
.section-intro {
  color: var(--color-text-muted); font-size: 15px;
  margin-bottom: 24px; line-height: 1.7;
}
.wp-block-table {
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--color-border);
}
.wp-block-table table { width: 100%; }
.wp-block-table td {
  padding: 11px 16px; font-size: 14px;
  border-bottom: 1px solid var(--color-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(--color-text-muted);
  background: var(--color-surface-2);
  width: 45%;
}
.wp-block-table td:last-child { background: var(--color-surface); }

/* ---- Content Sections ------------------------------------- */
.content-section { padding: 40px 0; }
.content-section + .content-section {
  border-top: 1px solid var(--color-border);
}
.entry-content h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800; margin: 32px 0 14px;
  color: var(--color-text);
}
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 {
  font-size: 18px; font-weight: 700;
  margin: 24px 0 10px; color: var(--color-text);
}
.entry-content p {
  color: var(--color-text-muted); font-size: 15px;
  margin-bottom: 14px; line-height: 1.75;
}
.entry-content ul, .entry-content ol {
  margin: 12px 0 16px 0; padding-left: 0;
}
.entry-content ul li, .entry-content ol li {
  position: relative; padding: 6px 0 6px 24px;
  color: var(--color-text-muted); font-size: 15px;
}
.entry-content ul li::before {
  content: '▸'; position: absolute; left: 0;
  color: var(--color-primary); font-size: 12px; top: 8px;
}
.entry-content ol { counter-reset: ol-counter; }
.entry-content ol li { counter-increment: ol-counter; }
.entry-content ol li::before {
  content: counter(ol-counter) '.';
  position: absolute; left: 0;
  color: var(--color-primary); font-weight: 700; font-size: 13px;
}

/* ---- Providers Table -------------------------------------- */
.providers-table-wrap {
  overflow-x: auto; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); margin: 20px 0;
}
.providers-table-wrap table { min-width: 560px; }
.providers-table-wrap th {
  background: var(--color-surface-2);
  padding: 12px 16px; font-size: 13px;
  font-weight: 700; color: var(--color-text-muted);
  text-align: left; border-bottom: 1px solid var(--color-border);
}
.providers-table-wrap td {
  padding: 11px 16px; font-size: 14px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.providers-table-wrap tr:last-child td { border-bottom: none; }
.providers-table-wrap td:first-child { color: var(--color-text); font-weight: 700; }
.providers-table-wrap tr:hover td { background: var(--color-surface-2); }

/* ---- Feature Cards ---------------------------------------- */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 24px 0;
}
.feature-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.feature-card .fc-icon { font-size: 28px; margin-bottom: 10px; }
.feature-card .fc-title {
  font-size: 14px; font-weight: 700; margin-bottom: 6px;
}
.feature-card .fc-desc {
  font-size: 13px; color: var(--color-text-muted); line-height: 1.5;
}

/* ---- Payment Methods -------------------------------------- */
.payment-section { padding: 40px 0; border-top: 1px solid var(--color-border); }
.payment-grid {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px;
}
.payment-badge {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  color: var(--color-text-muted);
}

/* ---- CTA Banner ------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #0f1f12 0%, #1a2e1c 50%, #0d1a0f 100%);
  border: 1px solid rgba(26,158,63,.3);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center; margin: 40px 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(26,158,63,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900; margin-bottom: 12px;
}
.cta-banner p {
  color: var(--color-text-muted); font-size: 15px;
  margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto;
}
.cta-banner .btn { margin: 0 6px; }

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

/* ---- Footer ----------------------------------------------- */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 40px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
.footer-brand .site-logo { margin-bottom: 12px; }
.footer-brand p {
  font-size: 13px; color: var(--color-text-muted); line-height: 1.6;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--color-text-muted);
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13px; color: var(--color-text-dim);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid var(--color-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(--color-text-dim);
}
.footer-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--color-text-dim);
  font-size: 11px; font-weight: 700; color: var(--color-text-dim);
}

/* ---- Breadcrumb ------------------------------------------- */
.breadcrumb {
  padding: 12px 0; font-size: 13px;
  color: var(--color-text-dim);
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { margin: 0 6px; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .info-section .container { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .burger-btn { display: flex; flex-direction: column; }
  .header-actions .btn-outline { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 28px 16px; }
  .hero-section { padding: 36px 0 32px; }
}
