/* ============================================================
   8XBET – KÈO TÀI XỈU PAGE STYLES
   ============================================================ */

:root {
  --tx-orange:  #e65c00;
  --tx-amber:   #f7a800;
  --tx-dark:    #1a0a00;
  --tx-light:   #fff5e8;
  --tx-mid:     #4a1500;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #1a0800 0%, #4a1500 45%, #0d1b5c 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='52' height='52' viewBox='0 0 52 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10h32v32H10z' fill='none' stroke='%23ffffff' stroke-width='0.4' stroke-opacity='0.04'/%3E%3C/svg%3E");
  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(230,92,0,.2); border: 1px solid rgba(247,168,0,.4);
  color: var(--tx-amber); 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(--tx-amber); }
.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(--tx-mid), var(--tx-orange));
  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(230,92,0,.45);
  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(--tx-amber); }

/* Hero Tài/Xỉu live board */
.hero-tx-board {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; overflow: hidden;
  backdrop-filter: blur(8px);
}
.htb-header {
  background: linear-gradient(90deg, var(--tx-mid), var(--tx-orange));
  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; } }

.htb-row {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 8px;
}
.htb-row:last-child { border-bottom: none; }
.htb-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .7rem;
}
.htb-league { color: rgba(255,255,255,.45); display: flex; align-items: center; gap: 5px; }
.htb-time { color: var(--tx-amber); font-weight: 700; }
.htb-match-name { font-size: .88rem; font-weight: 700; color: #fff; }
.htb-odds-row {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center;
}
.tx-btn {
  border-radius: 8px; padding: 9px 10px; text-align: center; cursor: pointer;
  border: 1px solid rgba(255,255,255,.15); transition: all .2s;
}
.tx-btn.tai  { background: rgba(230,92,0,.2); }
.tx-btn.xiu  { background: rgba(26,115,232,.2); }
.tx-btn:hover { filter: brightness(1.2); transform: scale(1.03); }
.tx-btn .tb-label { font-size: .65rem; color: rgba(255,255,255,.5); display: block; }
.tx-btn .tb-line  { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.7); display: block; }
.tx-btn .tb-val   { font-size: 1rem; font-weight: 900; display: block; }
.tx-btn.tai  .tb-val { color: var(--tx-amber); }
.tx-btn.xiu  .tb-val { color: #64b5f6; }
.htb-divider {
  font-size: .72rem; font-weight: 800; color: rgba(255,255,255,.35);
  text-align: center;
}

/* ════════════════════════════════════════
   STATS BANNER
   ════════════════════════════════════════ */
.stats-banner {
  background: linear-gradient(90deg, var(--tx-mid), var(--tx-orange));
  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: #fff8f0; }
.section-dark{ background: var(--tx-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(--tx-light); color: var(--tx-orange);
  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(--tx-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-orange { color: var(--tx-orange); }
.hl-amber  { color: var(--tx-amber);  }

/* ════════════════════════════════════════
   TX TYPES GRID
   ════════════════════════════════════════ */
.tx-types-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px;
}
.tx-type-card {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
  transition: transform .25s, box-shadow .25s;
  background: #fff;
}
.tx-type-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,.14); }
.ttc-img {
  height: 160px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.ttc-img.g1 { background: linear-gradient(135deg,#1a0800,#e65c00); }
.ttc-img.g2 { background: linear-gradient(135deg,#0d1b5c,#1a73e8); }
.ttc-img.g3 { background: linear-gradient(135deg,#0a2a00,#2e7d32); }
.ttc-img.g4 { background: linear-gradient(135deg,#1a0033,#7b1fa2); }
.ttc-img.g5 { background: linear-gradient(135deg,#001a33,#0277bd); }
.ttc-img.g6 { background: linear-gradient(135deg,#1a1a00,#f9a825); }
.ttc-bg-icon {
  font-size: 5rem; color: rgba(255,255,255,.1);
  position: absolute; bottom: -8px; right: -8px;
}
.ttc-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: .5px;
  padding: 5px 14px; border-radius: 20px; position: relative; z-index: 1;
}
.ttc-body { padding: 22px 24px; }
.ttc-body h3 { font-size: 1.05rem; font-weight: 800; color: var(--tx-dark); margin-bottom: 10px; }
.ttc-body p  { font-size: .88rem; color: #555; line-height: 1.7; margin-bottom: 14px; }
.ttc-line {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tx-light); color: var(--tx-orange);
  font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 6px;
}

/* ════════════════════════════════════════
   HOW TO READ
   ════════════════════════════════════════ */
.how-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.how-visual {
  background: linear-gradient(135deg,#1a0800,#4a1500 50%,#0d1b5c);
  border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px;
}
.hv-title {
  font-size: .72rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 4px;
}
.hv-match {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 16px 18px;
}
.hv-match-teams {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: 12px;
}
.hv-match-teams .score { color: var(--tx-amber); font-size: 1.1rem; }
.hv-line-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: 6px;
}
.hv-line-val { color: #fff; font-weight: 800; }
.hv-result-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px;
}
.hv-result {
  padding: 10px 12px; border-radius: 8px; text-align: center;
}
.hv-result.win  { background: rgba(230,92,0,.25); border: 1px solid rgba(247,168,0,.4); }
.hv-result.lose { background: rgba(26,115,232,.15); border: 1px solid rgba(26,115,232,.3); }
.hv-result .r-label { font-size: .65rem; color: rgba(255,255,255,.5); display: block; }
.hv-result .r-val   { font-size: .9rem; font-weight: 800; display: block; }
.hv-result.win  .r-val { color: var(--tx-amber); }
.hv-result.lose .r-val { color: #64b5f6; }
.how-steps { display: flex; flex-direction: column; gap: 20px; }
.how-step {
  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(--tx-orange);
}
.hs-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--tx-mid), var(--tx-orange));
  color: #fff; font-size: 1.1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.how-step h4 { font-size: .92rem; font-weight: 800; color: var(--tx-dark); margin-bottom: 5px; }
.how-step p  { font-size: .84rem; color: #666; line-height: 1.65; }

/* ════════════════════════════════════════
   ODDS TABLE
   ════════════════════════════════════════ */
.tx-table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.tx-table {
  width: 100%; border-collapse: collapse;
  font-size: .88rem; background: #fff;
}
.tx-table thead tr { background: linear-gradient(90deg, var(--tx-mid), var(--tx-orange)); }
.tx-table thead th {
  padding: 14px 18px; color: #fff; font-weight: 800;
  text-align: left; white-space: nowrap;
}
.tx-table tbody tr { border-bottom: 1px solid #f0e8dc; transition: background .15s; }
.tx-table tbody tr:hover { background: var(--tx-light); }
.tx-table tbody tr:last-child { border-bottom: none; }
.tx-table td { padding: 13px 18px; color: #333; }
.tx-table td.tai  { color: var(--tx-orange); font-weight: 800; }
.tx-table td.xiu  { color: #1a73e8;          font-weight: 800; }
.tx-table td.line { color: var(--tx-dark);   font-weight: 700; }
.league-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700; color: #888;
}
.league-tag i { color: var(--tx-orange); }

/* ════════════════════════════════════════
   WHY 8XBET
   ════════════════════════════════════════ */
.why-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.why-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 28px 22px; text-align: center;
  transition: transform .2s, background .2s;
}
.why-card:hover { background: rgba(230,92,0,.12); border-color: rgba(247,168,0,.4); transform: translateY(-4px); }
.wc-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--tx-mid), var(--tx-orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; margin: 0 auto 16px;
}
.why-card h3 { font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.why-card p  { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.65; }

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

/* ════════════════════════════════════════
   PROMO BANNER
   ════════════════════════════════════════ */
.promo-banner {
  background: linear-gradient(135deg,#1a0800 0%,#4a1500 55%,#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 #f0ddc8; 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(--tx-dark);
  background: transparent; border: none; text-align: left;
  transition: background .2s; gap: 12px;
}
.faq-q:hover { background: var(--tx-light); }
.faq-q i { color: var(--tx-orange); 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) {
  .tx-types-grid { grid-template-columns: 1fr 1fr; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-tx-board  { display: none; }
  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .tx-types-grid  { grid-template-columns: 1fr; }
  .how-layout     { grid-template-columns: 1fr; }
  .strategy-grid  { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
  .section        { padding: 44px 20px; }
  .promo-banner   { padding: 32px 24px; text-align: center; justify-content: center; }
}
