/* ============================================================
   8XBET – CÁ CƯỢC THỂ THAO PAGE STYLES
   ============================================================ */

:root {
  --sp-blue:    #0077ff;
  --sp-cyan:    #00c8ff;
  --sp-dark:    #020d1f;
  --sp-mid:     #062a5a;
  --sp-light:   #e8f4ff;
  --sp-gold:    #f5c518;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #020d1f 0%, #062a5a 50%, #003366 100%);
  padding: 60px 32px 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0,120,255,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(0,200,255,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,119,255,.18); border: 1px solid rgba(0,200,255,.4);
  color: var(--sp-cyan); 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(--sp-cyan); }
.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(--sp-mid), var(--sp-blue));
  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,119,255,.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(--sp-cyan); }

/* Hero live sports board */
.hero-sports-board {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,200,255,.2);
  border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(10px);
}
.hsb-header {
  background: linear-gradient(90deg, var(--sp-mid), var(--sp-blue));
  padding: 13px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; font-weight: 700; color: #fff;
}
.live-badge {
  background: #e53935; 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: pulse-bg 1.5s ease-in-out infinite;
}
.live-badge i { font-size: .55rem; }
@keyframes pulse-bg { 0%,100%{background:#e53935;}50%{background:#c62828;} }

.hsb-match {
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hsb-match:last-child { border-bottom: none; }
.hsb-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.hsb-league { font-size: .66rem; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 5px; }
.hsb-time   { font-size: .68rem; font-weight: 700; color: var(--sp-cyan); }
.hsb-teams  {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.hsb-team  { font-size: .85rem; font-weight: 700; color: #fff; }
.hsb-score { font-size: 1rem; font-weight: 900; color: var(--sp-gold); background: rgba(245,197,24,.15); padding: 2px 10px; border-radius: 6px; }
.hsb-btns  { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.sb-btn {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  border-radius: 6px; padding: 7px 4px; text-align: center; cursor: pointer;
  transition: background .2s;
}
.sb-btn:hover { background: rgba(0,119,255,.3); border-color: var(--sp-cyan); }
.sb-btn .sb-lbl { font-size: .62rem; color: rgba(255,255,255,.45); display: block; }
.sb-btn .sb-val { font-size: .9rem; font-weight: 800; color: var(--sp-cyan); display: block; }

/* ════════════════════════════════════════
   STATS BANNER
   ════════════════════════════════════════ */
.stats-banner {
  background: linear-gradient(90deg, var(--sp-mid), var(--sp-blue));
  padding: 28px 32px;
}
.stats-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,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: #f0f6ff; }
.section-dark { background: var(--sp-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(--sp-light); color: var(--sp-blue);
  font-size: .75rem; font-weight: 800; letter-spacing: .7px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 900;
  color: var(--sp-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-blue { color: var(--sp-blue); }
.hl-cyan { color: var(--sp-cyan); }

/* ════════════════════════════════════════
   SPORTS GRID
   ════════════════════════════════════════ */
.sports-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 22px;
}
.sport-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.sport-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,119,255,.15); }
.sc-top {
  height: 120px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.sc-top.c1 { background: linear-gradient(135deg,#020d1f,#0077ff); }
.sc-top.c2 { background: linear-gradient(135deg,#1a0033,#7b1fa2); }
.sc-top.c3 { background: linear-gradient(135deg,#002200,#2e7d32); }
.sc-top.c4 { background: linear-gradient(135deg,#1a0800,#e65c00); }
.sc-top.c5 { background: linear-gradient(135deg,#00001a,#283593); }
.sc-top.c6 { background: linear-gradient(135deg,#001a33,#0277bd); }
.sc-top.c7 { background: linear-gradient(135deg,#1a0a00,#f57f17); }
.sc-top.c8 { background: linear-gradient(135deg,#0a001a,#6a1b9a); }
.sc-bg-icon {
  font-size: 5rem; color: rgba(255,255,255,.1);
  position: absolute; bottom:-10px; right:-10px;
}
.sc-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; position: relative; z-index: 1;
}
.sc-body { padding: 18px 20px; }
.sc-body h3 { font-size: .95rem; font-weight: 800; color: var(--sp-dark); margin-bottom: 6px; }
.sc-body p  { font-size: .8rem; color: #666; line-height: 1.6; margin-bottom: 10px; }
.sc-count {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--sp-light); color: var(--sp-blue);
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 5px;
}

/* ════════════════════════════════════════
   LIVE BETTING FEATURES
   ════════════════════════════════════════ */
.live-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.live-visual {
  background: linear-gradient(135deg,#020d1f,#062a5a 60%,#003d00 100%);
  border-radius: 20px; padding: 30px 26px;
  border: 1px solid rgba(0,200,255,.15);
}
.lv-title {
  font-size: .72rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.lv-title::after {
  content: 'LIVE';
  background: #e53935; color: #fff;
  font-size: .62rem; padding: 2px 7px; border-radius: 4px;
}
.lv-match {
  background: rgba(255,255,255,.06); border: 1px solid rgba(0,200,255,.15);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 10px;
}
.lv-match-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.lv-team { font-size: .88rem; font-weight: 700; color: #fff; }
.lv-score-box {
  background: rgba(245,197,24,.15); border: 1px solid rgba(245,197,24,.3);
  color: var(--sp-gold); font-size: 1.1rem; font-weight: 900;
  padding: 4px 14px; border-radius: 8px;
}
.lv-meta {
  display: flex; justify-content: space-between;
  font-size: .7rem; color: rgba(255,255,255,.4); margin-bottom: 10px;
}
.lv-meta .lv-min { color: var(--sp-cyan); font-weight: 700; }
.lv-odds-strip { display: flex; gap: 6px; }
.lv-odd {
  flex: 1; background: rgba(0,119,255,.18); border: 1px solid rgba(0,200,255,.25);
  border-radius: 7px; padding: 8px 6px; text-align: center;
}
.lv-odd .lo-label { font-size: .62rem; color: rgba(255,255,255,.45); display: block; }
.lv-odd .lo-val   { font-size: .92rem; font-weight: 800; color: var(--sp-cyan); display: block; }
.lv-stats-row {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center;
  margin-top: 8px;
}
.lv-stat-bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.lv-stat-fill { height: 100%; background: linear-gradient(90deg,var(--sp-blue),var(--sp-cyan)); border-radius: 3px; }
.lv-stat-lbl { font-size: .62rem; color: rgba(255,255,255,.4); text-align: center; }
.live-features { display: flex; flex-direction: column; gap: 18px; }
.lf-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,.07);
  border-left: 4px solid var(--sp-blue);
}
.lfi-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--sp-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--sp-blue); font-size: 1.15rem;
}
.lf-item h4 { font-size: .92rem; font-weight: 800; color: var(--sp-dark); margin-bottom: 5px; }
.lf-item p  { font-size: .84rem; color: #666; line-height: 1.65; }

/* ════════════════════════════════════════
   BET TYPES GRID
   ════════════════════════════════════════ */
.bet-types-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.bt-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(0,200,255,.12);
  border-radius: 16px; padding: 26px 22px;
  transition: background .2s, transform .2s, border-color .2s;
}
.bt-card:hover {
  background: rgba(0,119,255,.12); border-color: rgba(0,200,255,.35);
  transform: translateY(-4px);
}
.bt-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg,var(--sp-mid),var(--sp-blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}
.bt-card h3 { font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.bt-card p  { font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ════════════════════════════════════════
   HOW TO BET STEPS
   ════════════════════════════════════════ */
.steps-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute; top: 36px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg,var(--sp-blue),var(--sp-cyan));
  z-index: 0;
}
.step-item {
  text-align: center; padding: 0 12px; position: relative; z-index: 1;
}
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg,var(--sp-mid),var(--sp-blue));
  border: 4px solid #f0f6ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900; color: #fff;
  box-shadow: 0 4px 20px rgba(0,119,255,.35);
}
.step-item h4 { font-size: .88rem; font-weight: 800; color: var(--sp-dark); margin-bottom: 6px; }
.step-item p  { font-size: .8rem; color: #666; line-height: 1.6; }

/* ════════════════════════════════════════
   WHY 8XBET CARDS
   ════════════════════════════════════════ */
.why-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 26px;
}
.why-card {
  background: #fff; border-radius: 16px; padding: 30px 26px;
  box-shadow: 0 4px 22px rgba(0,0,0,.07);
  border-top: 4px solid var(--sp-blue);
  transition: transform .2s;
}
.why-card:hover { transform: translateY(-5px); }
.wc-icon {
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg,var(--sp-mid),var(--sp-blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.why-card h3 { font-size: 1rem; font-weight: 800; color: var(--sp-dark); margin-bottom: 10px; }
.why-card p  { font-size: .88rem; color: #555; line-height: 1.75; }

/* ════════════════════════════════════════
   PROMOTIONS
   ════════════════════════════════════════ */
.promos-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.promo-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.09);
  transition: transform .2s;
}
.promo-card:hover { transform: translateY(-5px); }
.pc-top {
  padding: 28px 24px;
  display: flex; align-items: center; gap: 16px;
}
.pc-top.b1 { background: linear-gradient(135deg,#020d1f,#0077ff); }
.pc-top.b2 { background: linear-gradient(135deg,#062a5a,#00c8ff); }
.pc-top.b3 { background: linear-gradient(135deg,#003d00,#00b050); }
.pc-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.pc-title { font-size: 1.05rem; font-weight: 800; color: #fff; }
.pc-subtitle { font-size: .75rem; color: rgba(255,255,255,.65); margin-top: 4px; }
.pc-body { padding: 20px 24px; background: #fff; }
.pc-body p { font-size: .88rem; color: #555; line-height: 1.7; margin-bottom: 14px; }
.pc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sp-light); color: var(--sp-blue);
  font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 6px;
}

/* ════════════════════════════════════════
   PROMO BANNER
   ════════════════════════════════════════ */
.promo-banner {
  background: linear-gradient(135deg,#020d1f 0%,#062a5a 55%,#003d00 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; }

/* ════════════════════════════════════════
   FAQ
   ════════════════════════════════════════ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid #d0e4ff; 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(--sp-dark);
  background: transparent; border: none; text-align: left;
  transition: background .2s; gap: 12px;
}
.faq-q:hover { background: var(--sp-light); }
.faq-q i { color: var(--sp-blue); 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: 1100px) {
  .sports-grid    { grid-template-columns: repeat(4,1fr); }
  .steps-grid     { grid-template-columns: repeat(3,1fr); }
  .steps-grid::before { display: none; }
}
@media (max-width: 1024px) {
  .sports-grid    { grid-template-columns: repeat(2,1fr); }
  .live-layout    { grid-template-columns: 1fr; }
  .bet-types-grid { grid-template-columns: 1fr 1fr; }
  .why-cards      { grid-template-columns: 1fr 1fr; }
  .promos-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner         { grid-template-columns: 1fr; }
  .hero-sports-board  { display: none; }
  .stats-grid         { grid-template-columns: repeat(2,1fr); }
  .sports-grid        { grid-template-columns: repeat(2,1fr); }
  .bet-types-grid     { grid-template-columns: 1fr; }
  .steps-grid         { grid-template-columns: 1fr 1fr; }
  .why-cards          { grid-template-columns: 1fr; }
  .promos-grid        { grid-template-columns: 1fr; }
  .section            { padding: 44px 20px; }
  .promo-banner       { padding: 32px 24px; text-align: center; justify-content: center; }
}
