/* ============================================================
   8XBET – CÁ CƯỢC BÓNG ĐÁ PAGE STYLES
   ============================================================ */

:root {
  --bd-green:  #00a84f;
  --bd-lime:   #76c442;
  --bd-dark:   #011a0a;
  --bd-mid:    #013d1a;
  --bd-light:  #e8fff1;
  --bd-gold:   #f5c518;
  --bd-red:    #e53935;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(160deg,#011a0a 0%,#013d1a 45%,#0a2e10 100%);
  padding: 60px 32px 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(0,168,79,.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(118,196,66,.09) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: '⚽ ⚽ ⚽ ⚽ ⚽';
  position: absolute; bottom: -8px; left: 0; right: 0;
  font-size: 2rem; letter-spacing: 70px;
  opacity: .05; pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,168,79,.18); border: 1px solid rgba(118,196,66,.4);
  color: var(--bd-lime); font-size: .78rem; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(2rem,4vw,3rem); font-weight: 900;
  color: #fff; line-height: 1.2; margin-bottom: 18px;
}
.page-hero h1 .hl { color: var(--bd-lime); }
.page-hero p {
  color: rgba(255,255,255,.75); font-size: 1.05rem; line-height: 1.75;
  max-width: 560px; margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-hero-primary {
  background: linear-gradient(90deg,var(--bd-mid),var(--bd-green));
  color: #fff; padding: 14px 30px; border-radius: 8px;
  font-weight: 800; font-size: .9rem; letter-spacing: .4px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 22px rgba(0,168,79,.45);
  transition: filter .2s, transform .2s;
}
.btn-hero-primary:hover { filter: brightness(1.12); transform: translateY(-2px); text-decoration: none; }
.btn-hero-secondary {
  background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.3);
  color: #fff; padding: 14px 28px; border-radius: 8px;
  font-weight: 700; font-size: .9rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.18); text-decoration: none; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 600;
  padding: 6px 14px; border-radius: 20px;
}
.pill i { color: var(--bd-lime); }

/* Hero match board */
.hero-match-board {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(118,196,66,.2);
  border-radius: 20px; overflow: hidden;
  backdrop-filter: blur(10px);
}
.hmb-header {
  background: linear-gradient(90deg,var(--bd-mid),var(--bd-green));
  padding: 13px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; font-weight: 700; color: #fff;
}
.live-badge {
  background: var(--bd-red); color: #fff; font-size: .68rem; font-weight: 800;
  letter-spacing: .6px; padding: 3px 9px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 5px;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;}50%{opacity:.65;} }
.hmb-match {
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.hmb-match:last-child { border-bottom: none; }
.hmb-league { font-size: .66rem; color: rgba(255,255,255,.4); margin-bottom: 7px; }
.hmb-league span { color: var(--bd-lime); font-weight: 700; }
.hmb-teams { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.hmb-team { font-size: .84rem; font-weight: 700; color: #fff; }
.hmb-score {
  background: rgba(245,197,24,.15); border: 1px solid rgba(245,197,24,.3);
  color: var(--bd-gold); font-size: 1rem; font-weight: 900;
  padding: 3px 12px; border-radius: 7px;
}
.hmb-time { font-size: .62rem; color: var(--bd-red); font-weight: 700; display: block; text-align: center; margin-top: 2px; }
.hmb-odds { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.odd-btn {
  background: rgba(0,168,79,.15); border: 1px solid rgba(118,196,66,.2);
  border-radius: 7px; padding: 7px 5px; text-align: center; cursor: pointer;
  transition: all .2s;
}
.odd-btn:hover, .odd-btn.sel { background: rgba(0,168,79,.38); border-color: var(--bd-lime); }
.ob-lbl { font-size: .6rem; color: rgba(255,255,255,.4); display: block; }
.ob-val { font-size: .9rem; font-weight: 800; color: var(--bd-lime); display: block; }
.hmb-view-all {
  display: block; text-align: center; padding: 11px;
  color: var(--bd-lime); font-size: .8rem; font-weight: 700;
  text-decoration: none; border-top: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
}
.hmb-view-all:hover { background: rgba(255,255,255,.04); text-decoration: none; }

/* ════════════════════════════════════════
   STATS BANNER
   ════════════════════════════════════════ */
.stats-banner {
  background: linear-gradient(90deg,var(--bd-mid),var(--bd-green));
  padding: 28px 32px;
}
.stats-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5,1fr); gap: 20px;
}
.stat-item { text-align: center; }
.s-num { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.s-lbl { font-size: .8rem; color: rgba(255,255,255,.75); margin-top: 4px; font-weight: 600; }

/* ════════════════════════════════════════
   SECTION WRAPPERS
   ════════════════════════════════════════ */
.section      { padding: 64px 32px; }
.section-alt  { background: var(--bd-light); }
.section-dark { background: var(--bd-dark); }
.container    { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bd-light); color: var(--bd-green);
  font-size: .75rem; font-weight: 800; letter-spacing: .7px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-dark .section-head .eyebrow { background: rgba(118,196,66,.15); color: var(--bd-lime); }
.section-head h2 {
  font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 900;
  color: var(--bd-dark); line-height: 1.25;
}
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: #666; font-size: 1rem; margin-top: 12px; max-width: 640px; margin-left:auto; margin-right:auto; }
.section-dark .section-head p { color: rgba(255,255,255,.55); }
.hl-green { color: var(--bd-green); }
.hl-lime  { color: var(--bd-lime); }

/* ════════════════════════════════════════
   LEAGUES GRID
   ════════════════════════════════════════ */
.leagues-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 22px;
}
.league-card {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,.1);
  transition: transform .25s, box-shadow .25s;
  background: #fff;
}
.league-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(0,168,79,.18); }
.lc-top {
  height: 120px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; position: relative; overflow: hidden;
}
.lc-top.l1 { background: linear-gradient(160deg,#001040,#5c00b0); }
.lc-top.l2 { background: linear-gradient(160deg,#1a0000,#cc3300); }
.lc-top.l3 { background: linear-gradient(160deg,#001a10,#006633); }
.lc-top.l4 { background: linear-gradient(160deg,#1a0800,#8a4a00); }
.lc-top.l5 { background: linear-gradient(160deg,#001a1a,#005580); }
.lc-top.l6 { background: linear-gradient(160deg,#1a1a00,#808000); }
.lc-top.l7 { background: linear-gradient(160deg,#011a0a,#00a84f); }
.lc-top.l8 { background: linear-gradient(160deg,#0a001a,#6600cc); }
.lc-flag { font-size: 2.4rem; position: relative; z-index: 1; }
.lc-bg { font-size: 5rem; position: absolute; bottom:-10px; right:-5px; opacity: .12; }
.lc-badge {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: .68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; position: relative; z-index: 1;
}
.lc-badge.hot { background: var(--bd-red); border-color: var(--bd-red); }
.lc-body { padding: 16px 18px; }
.lc-body h3 { font-size: .9rem; font-weight: 800; color: var(--bd-dark); margin-bottom: 5px; }
.lc-body p  { font-size: .78rem; color: #666; line-height: 1.55; margin-bottom: 10px; }
.lc-matches {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bd-light); color: var(--bd-green);
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 5px;
}

/* ════════════════════════════════════════
   BET TYPES – 2-COL LAYOUT
   ════════════════════════════════════════ */
.bet-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start;
}
.bet-visual {
  background: linear-gradient(160deg,#011a0a,#013d1a 60%,#0a2e10);
  border-radius: 20px; padding: 28px 24px;
  border: 1px solid rgba(118,196,66,.15);
  display: flex; flex-direction: column; gap: 12px;
}
.bv-title {
  font-size: .72rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 4px;
}
.bv-keo {
  background: rgba(255,255,255,.06); border: 1px solid rgba(118,196,66,.15);
  border-radius: 12px; padding: 16px 18px;
}
.bv-teams { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.bv-team  { font-size: .86rem; font-weight: 700; color: #fff; }
.bv-score { color: var(--bd-gold); font-size: 1rem; font-weight: 900; background: rgba(245,197,24,.12); padding: 3px 10px; border-radius: 7px; }
.bv-row   { display: flex; justify-content: space-between; font-size: .76rem; margin-bottom: 5px; color: rgba(255,255,255,.5); }
.bv-val   { color: #fff; font-weight: 700; }
.bv-odds-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 10px; }
.bv-odd {
  background: rgba(0,168,79,.15); border: 1px solid rgba(118,196,66,.2);
  border-radius: 7px; padding: 8px 5px; text-align: center;
}
.bv-odd .bo-l { font-size: .62rem; color: rgba(255,255,255,.4); display: block; }
.bv-odd .bo-v { font-size: .9rem; font-weight: 800; color: var(--bd-lime); display: block; }
.bet-list { display: flex; flex-direction: column; gap: 16px; }
.bet-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 22px; background: #fff;
  border-radius: 14px; box-shadow: 0 2px 14px rgba(0,0,0,.06);
  border-left: 4px solid var(--bd-green);
}
.bi-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--bd-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--bd-green); font-size: 1.2rem;
}
.bet-item h4 { font-size: .92rem; font-weight: 800; color: var(--bd-dark); margin-bottom: 5px; }
.bet-item p  { font-size: .84rem; color: #666; line-height: 1.65; }

/* ════════════════════════════════════════
   LIVE FEATURES GRID (DARK)
   ════════════════════════════════════════ */
.live-features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.lf-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(118,196,66,.12);
  border-radius: 16px; padding: 26px 22px;
  transition: background .2s, transform .2s, border-color .2s;
}
.lf-card:hover {
  background: rgba(0,168,79,.12); border-color: rgba(118,196,66,.35);
  transform: translateY(-4px);
}
.lf-icon {
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg,var(--bd-mid),var(--bd-green));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}
.lf-card h3 { font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.lf-card p  { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ════════════════════════════════════════
   HOW TO BET STEPS
   ════════════════════════════════════════ */
.steps-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.steps-visual {
  background: linear-gradient(160deg,#011a0a,#013d1a 60%,#0a2e10);
  border-radius: 20px; padding: 28px 24px;
  border: 1px solid rgba(118,196,66,.15);
}
.sv-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(118,196,66,.12); border-radius: 10px; margin-bottom: 10px;
}
.sv-row:last-child { margin-bottom: 0; }
.sv-step {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,var(--bd-mid),var(--bd-green));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; font-weight: 900;
}
.sv-text h5 { font-size: .86rem; font-weight: 800; color: #fff; margin-bottom: 2px; }
.sv-text p  { font-size: .76rem; color: rgba(255,255,255,.5); line-height: 1.5; margin: 0; }
.steps-list { display: flex; flex-direction: column; gap: 18px; }
.step-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 22px; background: #fff;
  border-radius: 14px; box-shadow: 0 2px 14px rgba(0,0,0,.06);
  border-left: 4px solid var(--bd-green);
}
.si-num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,var(--bd-mid),var(--bd-green));
  color: #fff; font-size: 1.1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.step-item h4 { font-size: .92rem; font-weight: 800; color: var(--bd-dark); margin-bottom: 5px; }
.step-item p  { font-size: .84rem; color: #666; line-height: 1.65; margin: 0; }

/* ════════════════════════════════════════
   WHY 8XBET FEATURES
   ════════════════════════════════════════ */
.why-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 22px;
}
.why-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(118,196,66,.12);
  border-radius: 16px; padding: 26px 20px; text-align: center;
  transition: background .2s, transform .2s, border-color .2s;
}
.why-card:hover {
  background: rgba(0,168,79,.12); border-color: rgba(118,196,66,.35);
  transform: translateY(-4px);
}
.why-icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg,var(--bd-mid),var(--bd-green));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.why-card h3 { font-size: .92rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.why-card p  { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.65; }

/* ════════════════════════════════════════
   TIPS GRID
   ════════════════════════════════════════ */
.tips-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.tip-card {
  background: #fff; border-radius: 14px; padding: 26px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07); position: relative; overflow: hidden;
}
.tip-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg,var(--bd-mid),var(--bd-green));
}
.tip-num {
  font-size: 4.5rem; font-weight: 900; color: rgba(0,168,79,.07);
  position: absolute; top: 4px; right: 14px; line-height: 1;
}
.tip-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  background: var(--bd-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--bd-green); font-size: 1.2rem;
}
.tip-card h3 { font-size: 1rem; font-weight: 800; color: var(--bd-dark); margin-bottom: 10px; }
.tip-card p  { font-size: .88rem; color: #555; line-height: 1.75; }

/* ════════════════════════════════════════
   PROMO BANNER
   ════════════════════════════════════════ */
.promo-banner {
  background: linear-gradient(135deg,#011a0a 0%,#013d1a 55%,#0a2e10 100%);
  border-radius: 20px; padding: 48px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.promo-text h2 { font-size: clamp(1.5rem,2.5vw,2rem); font-weight: 900; color: #fff; margin-bottom: 10px; }
.promo-text p  { color: rgba(255,255,255,.7); font-size: .95rem; max-width: 560px; }
.promo-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-promo-main {
  background: linear-gradient(90deg,var(--bd-green),var(--bd-lime));
  color: var(--bd-dark); padding: 14px 28px; border-radius: 8px;
  font-weight: 900; font-size: .9rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 22px rgba(118,196,66,.4); transition: filter .2s, transform .2s;
}
.btn-promo-main:hover { filter: brightness(1.1); transform: translateY(-2px); text-decoration: none; }
.btn-promo-sec {
  background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.3);
  color: #fff; padding: 14px 24px; border-radius: 8px;
  font-weight: 700; font-size: .9rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s;
}
.btn-promo-sec:hover { background: rgba(255,255,255,.18); text-decoration: none; }

/* ════════════════════════════════════════
   FAQ
   ════════════════════════════════════════ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid #b2e8c8; border-radius: 12px;
  overflow: hidden; background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer;
  font-weight: 700; font-size: .95rem; color: var(--bd-dark);
  background: transparent; border: none; text-align: left;
  transition: background .2s; gap: 12px;
}
.faq-q:hover { background: var(--bd-light); }
.faq-q i { color: var(--bd-green); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 22px; color: #555; font-size: .9rem; line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 320px; padding: 0 22px 18px; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .leagues-grid   { grid-template-columns: repeat(2,1fr); }
  .bet-layout     { grid-template-columns: 1fr; }
  .live-features-grid { grid-template-columns: 1fr 1fr; }
  .steps-layout   { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-match-board { display: none; }
  .stats-grid       { grid-template-columns: repeat(3,1fr); }
  .leagues-grid     { grid-template-columns: 1fr 1fr; }
  .live-features-grid { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr 1fr; }
  .tips-grid        { grid-template-columns: 1fr; }
  .section          { padding: 44px 20px; }
  .promo-banner     { padding: 32px 24px; text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid   { grid-template-columns: 1fr; }
}
