/* ============================================================
   8XBET – KÈO NHÀ CÁI PAGE STYLES
   ============================================================ */

/* ── Accent palette ── */
:root {
  --keo-green:   #00b050;
  --keo-green2:  #007a37;
  --keo-dark:    #041a0e;
  --keo-light:   #e8f8ef;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #041a0e 0%, #0d3b20 45%, #1557c0 100%);
  padding: 60px 32px 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  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,176,80,.18); border: 1px solid rgba(0,176,80,.4);
  color: #4dff91; 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(--keo-green); }
.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(--keo-green2), var(--keo-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 20px rgba(0,176,80,.4);
  transition: filter .2s, transform .2s;
}
.btn-hero-primary:hover { filter: brightness(1.1); 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(--keo-green); }

/* Hero odds board */
.hero-odds-board {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(8px);
}
.hob-header {
  background: var(--keo-green2);
  padding: 12px 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; } }
.hob-match {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hob-match:last-child { border-bottom: none; }
.hob-teams {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.hob-team { font-size: .85rem; font-weight: 700; color: #fff; }
.hob-vs { font-size: .7rem; color: rgba(255,255,255,.4); font-weight: 600; }
.hob-odds {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
}
.odd-btn {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px; padding: 7px 4px; text-align: center; cursor: pointer;
  transition: background .2s;
}
.odd-btn:hover { background: rgba(0,176,80,.25); border-color: var(--keo-green); }
.odd-btn .odd-label { font-size: .65rem; color: rgba(255,255,255,.5); display: block; }
.odd-btn .odd-val { font-size: .88rem; font-weight: 800; color: var(--keo-green); display: block; }
.hob-league {
  font-size: .68rem; color: rgba(255,255,255,.4); margin-bottom: 6px;
  display: flex; align-items: center; gap: 5px;
}

/* ════════════════════════════════════════
   STATS BANNER
   ════════════════════════════════════════ */
.stats-banner {
  background: linear-gradient(90deg, var(--keo-green2), var(--keo-green));
  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; }

/* ════════════════════════════════════════
   SHARED SECTION WRAPPER
   ════════════════════════════════════════ */
.section { padding: 64px 32px; }
.section-alt { background: #f7fbf9; }
.section-dark { background: var(--keo-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(--keo-light); color: var(--keo-green2);
  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(--keo-dark); line-height: 1.25;
}
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: #555; 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,.6); }
.hl-green { color: var(--keo-green); }

/* ════════════════════════════════════════
   ODDS TYPES GRID
   ════════════════════════════════════════ */
.odds-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.odds-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
}
.odds-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.oc-img {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.oc-img.green-grad  { background: linear-gradient(135deg, #041a0e, #007a37); }
.oc-img.blue-grad   { background: linear-gradient(135deg, #0d1b5c, #1a73e8); }
.oc-img.orange-grad { background: linear-gradient(135deg, #4a1500, #e65c00); }
.oc-icon {
  font-size: 4rem; color: rgba(255,255,255,.15);
  position: absolute; bottom: -10px; right: -10px;
}
.oc-badge {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .6px;
  padding: 5px 14px; border-radius: 20px;
  position: relative; z-index: 1;
}
.oc-body { padding: 24px; background: #fff; }
.oc-body h3 { font-size: 1.15rem; font-weight: 800; color: var(--keo-dark); margin-bottom: 10px; }
.oc-body p { color: #555; font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.oc-tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.oc-tag {
  background: var(--keo-light); color: var(--keo-green2);
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 4px;
}

/* ════════════════════════════════════════
   HOW TO READ ODDS — STEP CARDS
   ════════════════════════════════════════ */
.how-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.how-card {
  background: #fff; border-radius: 14px;
  padding: 28px 22px; text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  border-top: 4px solid var(--keo-green);
  transition: transform .2s;
}
.how-card:hover { transform: translateY(-4px); }
.how-num {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--keo-green2), var(--keo-green));
  color: #fff; font-size: 1.3rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.how-card h3 { font-size: .95rem; font-weight: 800; color: var(--keo-dark); margin-bottom: 8px; }
.how-card p { font-size: .84rem; color: #666; line-height: 1.65; }

/* ════════════════════════════════════════
   FEATURE TABLE — WHY 8XBET
   ════════════════════════════════════════ */
.why-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.why-img-block {
  border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #041a0e 0%, #007a37 60%, #1557c0 100%);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.why-stat-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.why-stat {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; padding: 20px 16px; text-align: center;
}
.why-stat .ws-num { font-size: 1.8rem; font-weight: 900; color: var(--keo-green); line-height: 1; }
.why-stat .ws-lbl { font-size: .75rem; color: rgba(255,255,255,.65); margin-top: 6px; }
.why-badge-row {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.why-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .8rem; font-weight: 700;
  padding: 8px 16px; border-radius: 8px;
}
.why-badge i { color: var(--keo-green); }
.why-content h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 900; color: var(--keo-dark); margin-bottom: 20px; }
.why-list { display: flex; flex-direction: column; gap: 16px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 20px; background: #fff;
  border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-left: 4px solid var(--keo-green);
}
.why-item-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--keo-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--keo-green2); font-size: 1.1rem;
}
.why-item h4 { font-size: .9rem; font-weight: 800; color: var(--keo-dark); margin-bottom: 4px; }
.why-item p { font-size: .83rem; color: #666; line-height: 1.6; }

/* ════════════════════════════════════════
   LEAGUES / POPULAR SPORTS
   ════════════════════════════════════════ */
.leagues-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.league-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 24px 20px; text-align: center;
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.league-card:hover { background: rgba(0,176,80,.15); border-color: var(--keo-green); transform: translateY(-4px); }
.lc-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--keo-green2), var(--keo-green));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; margin: 0 auto 14px;
}
.league-card h3 { font-size: .9rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.league-card p { font-size: .75rem; color: rgba(255,255,255,.5); }

/* ════════════════════════════════════════
   TIPS & STRATEGY
   ════════════════════════════════════════ */
.tips-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tip-card {
  background: #fff; border-radius: 14px;
  padding: 28px 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(--keo-green2), var(--keo-green));
}
.tip-num {
  font-size: 4rem; font-weight: 900; color: rgba(0,176,80,.08);
  position: absolute; top: 8px; right: 16px; line-height: 1;
}
.tip-card h3 { font-size: 1rem; font-weight: 800; color: var(--keo-dark); margin-bottom: 10px; }
.tip-card p { font-size: .88rem; color: #555; line-height: 1.75; }

/* ════════════════════════════════════════
   PROMO BANNER
   ════════════════════════════════════════ */
.promo-banner {
  background: linear-gradient(135deg, #041a0e 0%, #007a37 60%, #0d1b5c 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 #d8ede3; 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(--keo-dark);
  background: transparent; border: none; text-align: left;
  transition: background .2s;
  gap: 12px;
}
.faq-q:hover { background: var(--keo-light); }
.faq-q i { color: var(--keo-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: 300px; padding: 0 22px 18px; }

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