/* ============================================================
   8XBET – XÌ TỐ / POKER PAGE STYLES
   ============================================================ */

:root {
  --pk-gold:    #b8860b;
  --pk-bright:  #f5c518;
  --pk-dark:    #0a1a0d;
  --pk-mid:     #0d2b18;
  --pk-felt:    #1a4a2a;
  --pk-light:   #fdf8e7;
  --pk-red:     #e53935;
  --pk-white:   #ffffff;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #050e07 0%, #0d2b18 50%, #1a4a2a 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(184,134,11,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(245,197,24,.07) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: '♠ ♦ ♣ ♥ ♠ ♦ ♣ ♥';
  position: absolute; bottom: -8px; left: 0; right: 0;
  font-size: 2.2rem; letter-spacing: 48px;
  opacity: .04; 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(184,134,11,.18); border: 1px solid rgba(245,197,24,.35);
  color: var(--pk-bright); 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(--pk-bright); }
.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(135deg, var(--pk-gold), var(--pk-bright));
  color: var(--pk-dark); padding: 14px 30px; border-radius: 8px;
  font-weight: 900; font-size: .9rem; letter-spacing: .4px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 22px rgba(184,134,11,.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(--pk-bright); }

/* ── Hero Live Board (Poker Table) ── */
.hero-live-board {
  background: radial-gradient(ellipse at center, #1a4a2a 0%, #0d2b18 100%);
  border: 1px solid rgba(184,134,11,.4);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.5), inset 0 1px 0 rgba(245,197,24,.15);
}
.hlb-header {
  background: linear-gradient(90deg, #0a1a0d, rgba(184,134,11,.6));
  border-bottom: 1px solid rgba(184,134,11,.3);
  padding: 13px 20px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; font-weight: 700; color: #fff;
}
.live-badge {
  background: var(--pk-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;} }
.hlb-table {
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.hlb-table:last-of-type { border-bottom: none; }
.hlb-table-name {
  font-size: .88rem; font-weight: 800; color: var(--pk-bright);
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.suit-icon { font-size: 1rem; }
.hlb-table-info { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.hlb-info-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .75rem;
}
.hlb-lbl { color: rgba(255,255,255,.4); }
.hlb-val { color: #fff; font-weight: 700; }
.hlb-val.pot { color: var(--pk-bright); }
.hlb-status {
  display: inline-block; font-size: .7rem; font-weight: 800;
  padding: 4px 12px; border-radius: 20px; letter-spacing: .4px;
}
.hlb-status.open {
  background: rgba(0,168,79,.2); color: #4ade80;
  border: 1px solid rgba(0,168,79,.4);
}
.hlb-status.tourney {
  background: rgba(184,134,11,.2); color: var(--pk-bright);
  border: 1px solid rgba(184,134,11,.4);
}
.hlb-table.tournament { background: rgba(184,134,11,.06); }
.hlb-view-all {
  display: block; text-align: center; padding: 11px;
  color: var(--pk-bright); font-size: .8rem; font-weight: 700;
  text-decoration: none; border-top: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
}
.hlb-view-all:hover { background: rgba(255,255,255,.04); text-decoration: none; }

/* ════════════════════════════════════════
   STATS BANNER
   ════════════════════════════════════════ */
.stats-banner {
  background: var(--pk-mid);
  border-top: 1px solid rgba(184,134,11,.25);
  border-bottom: 1px solid rgba(184,134,11,.25);
  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: var(--pk-bright); line-height: 1; }
.s-lbl { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 4px; font-weight: 600; }

/* ════════════════════════════════════════
   SECTION WRAPPERS
   ════════════════════════════════════════ */
.section      { padding: 64px 32px; }
.section-alt  { background: var(--pk-light); }
.section-dark { background: var(--pk-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: rgba(184,134,11,.12); color: var(--pk-gold);
  font-size: .75rem; font-weight: 800; letter-spacing: .7px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-alt .section-head .eyebrow { background: rgba(184,134,11,.15); }
.section-dark .section-head .eyebrow { background: rgba(245,197,24,.12); color: var(--pk-bright); }
.section-head h2 {
  font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 900;
  color: var(--pk-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-gold { color: var(--pk-gold); }

/* ════════════════════════════════════════
   GAME CARDS (Biến Thể Poker)
   ════════════════════════════════════════ */
.game-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.game-card {
  background: #fff; border-radius: 18px; padding: 28px 24px;
  border: 1px solid #e8d5a0;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.game-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--pk-gold), var(--pk-bright));
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(184,134,11,.2);
  border-color: var(--pk-gold);
}
.gc-suit {
  font-size: 2.5rem; margin-bottom: 14px; display: block; line-height: 1;
}
.game-card h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--pk-dark); margin-bottom: 10px;
}
.game-card p {
  font-size: .87rem; color: #555; line-height: 1.7; margin-bottom: 16px;
}
.gc-stake {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(184,134,11,.1); color: var(--pk-gold);
  font-size: .75rem; font-weight: 800; padding: 5px 12px; border-radius: 6px;
  border: 1px solid rgba(184,134,11,.25);
}

/* ════════════════════════════════════════
   STAKES TABLE
   ════════════════════════════════════════ */
.stakes-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(245,197,24,.2);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.stakes-table {
  width: 100%; border-collapse: collapse;
  background: var(--pk-mid);
  font-size: .9rem;
}
.stakes-table thead tr {
  background: linear-gradient(90deg, var(--pk-dark), rgba(184,134,11,.4));
  border-bottom: 2px solid rgba(245,197,24,.3);
}
.stakes-table th {
  padding: 16px 20px; text-align: left;
  color: var(--pk-bright); font-size: .8rem; font-weight: 800;
  letter-spacing: .5px; text-transform: uppercase;
}
.stakes-table td {
  padding: 14px 20px; color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .88rem;
}
.stakes-table tbody tr:hover { background: rgba(245,197,24,.05); }
.stakes-table .vip-row td { background: rgba(184,134,11,.1); }
.stakes-table .vip-row:hover td { background: rgba(184,134,11,.16); }
.tier-badge {
  display: inline-block; font-size: .72rem; font-weight: 800;
  padding: 4px 12px; border-radius: 20px; letter-spacing: .3px;
}
.tier-badge.micro  { background: rgba(100,148,112,.2);  color: #6ebe8a; border: 1px solid rgba(110,190,138,.3); }
.tier-badge.low    { background: rgba(59,130,246,.15);  color: #7eb8f7; border: 1px solid rgba(126,184,247,.3); }
.tier-badge.mid    { background: rgba(234,179,8,.15);   color: #fbbf24; border: 1px solid rgba(251,191,36,.3);  }
.tier-badge.high   { background: rgba(239,68,68,.15);   color: #f87171; border: 1px solid rgba(248,113,113,.3); }
.tier-badge.vip    { background: linear-gradient(135deg,rgba(184,134,11,.3),rgba(245,197,24,.25)); color: var(--pk-bright); border: 1px solid rgba(245,197,24,.4); }
.fit-tag {
  display: inline-block; font-size: .76rem; font-weight: 700;
  color: rgba(255,255,255,.6); background: rgba(255,255,255,.07);
  padding: 3px 10px; border-radius: 5px;
}
.fit-tag.vip { color: var(--pk-bright); background: rgba(184,134,11,.15); }

/* ════════════════════════════════════════
   TOURNAMENT CARDS
   ════════════════════════════════════════ */
.tournament-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
}
.tournament-card {
  background: linear-gradient(160deg, #fff 0%, #fdf8e7 100%);
  border-radius: 18px; padding: 28px 22px; text-align: center;
  border: 1px solid #e8d5a0;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.tournament-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--pk-gold), var(--pk-bright));
}
.tournament-card.featured {
  background: linear-gradient(160deg, #0d2b18 0%, #1a4a2a 100%);
  border-color: rgba(245,197,24,.4);
  box-shadow: 0 8px 32px rgba(184,134,11,.25);
}
.tournament-card.featured h3 { color: #fff; }
.tournament-card.featured .tc-schedule { color: rgba(255,255,255,.55); }
.tournament-card.featured .tc-buyin { color: rgba(255,255,255,.7); }
.tournament-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(184,134,11,.2); }
.tc-icon-wrap { font-size: 2.8rem; margin-bottom: 10px; display: block; line-height: 1; }
.tc-badge {
  display: inline-block; font-size: .68rem; font-weight: 800;
  padding: 3px 10px; border-radius: 20px; letter-spacing: .4px;
  margin-bottom: 12px;
}
.tc-badge.free   { background: rgba(0,168,79,.15);  color: #00a84f; border: 1px solid rgba(0,168,79,.3); }
.tc-badge.hot    { background: var(--pk-red);        color: #fff; }
.tc-badge.major  { background: linear-gradient(135deg,var(--pk-gold),var(--pk-bright)); color: var(--pk-dark); }
.tc-badge.invite { background: rgba(184,134,11,.2);  color: var(--pk-gold); border: 1px solid rgba(184,134,11,.4); }
.tournament-card h3 {
  font-size: 1rem; font-weight: 800; color: var(--pk-dark); margin-bottom: 10px;
}
.tc-schedule {
  font-size: .78rem; color: #666; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.tc-prize-pool {
  background: rgba(184,134,11,.1); border: 1px solid rgba(184,134,11,.25);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 14px;
}
.tournament-card.featured .tc-prize-pool { background: rgba(184,134,11,.15); border-color: rgba(245,197,24,.3); }
.tp-label { font-size: .65rem; font-weight: 700; color: var(--pk-gold); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 4px; }
.tp-amount { font-size: 1.1rem; font-weight: 900; color: var(--pk-bright); }
.tc-buyin { font-size: .82rem; color: #666; margin-bottom: 18px; }
.tc-buyin strong { color: var(--pk-gold); }
.tournament-card.featured .tc-buyin strong { color: var(--pk-bright); }
.tc-btn {
  display: block; background: linear-gradient(135deg,var(--pk-gold),var(--pk-bright));
  color: var(--pk-dark); padding: 11px 20px; border-radius: 8px;
  font-weight: 900; font-size: .85rem; text-decoration: none;
  transition: filter .2s, transform .2s;
}
.tc-btn:hover { filter: brightness(1.1); transform: translateY(-1px); text-decoration: none; }

/* ════════════════════════════════════════
   STEPS (Hướng Dẫn)
   ════════════════════════════════════════ */
.steps-list { display: flex; flex-direction: column; gap: 20px; max-width: 820px; margin: 0 auto; }
.step-item {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 22px 26px; background: #fff;
  border-radius: 16px; box-shadow: 0 2px 14px rgba(0,0,0,.06);
  border-left: 4px solid var(--pk-gold);
  transition: box-shadow .2s, transform .2s;
}
.step-item:hover { box-shadow: 0 6px 24px rgba(184,134,11,.15); transform: translateX(4px); }
.si-num {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pk-gold), var(--pk-bright));
  color: var(--pk-dark); font-size: 1.1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(184,134,11,.35);
}
.si-body h4 { font-size: .95rem; font-weight: 800; color: var(--pk-dark); margin-bottom: 6px; }
.si-body p  { font-size: .87rem; color: #555; line-height: 1.7; margin: 0; }

/* ════════════════════════════════════════
   FEATURE CARDS (Ưu Điểm) – DARK BG
   ════════════════════════════════════════ */
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(184,134,11,.12);
  border-radius: 16px; padding: 28px 22px; text-align: center;
  transition: background .2s, transform .2s, border-color .2s;
}
.feature-card:hover {
  background: rgba(184,134,11,.1); border-color: rgba(245,197,24,.35);
  transform: translateY(-4px);
}
.fc-icon {
  font-size: 2.4rem; display: block; margin-bottom: 16px; line-height: 1;
}
.feature-card h3 { font-size: .95rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.feature-card p  { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ════════════════════════════════════════
   FAQ
   ════════════════════════════════════════ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid #e8d5a0; 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(--pk-dark);
  background: transparent; border: none; text-align: left;
  transition: background .2s; gap: 12px;
}
.faq-q:hover { background: var(--pk-light); }
.faq-q i { color: var(--pk-gold); 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: 400px; padding: 0 22px 18px; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1100px) {
  .tournament-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1024px) {
  .game-grid        { grid-template-columns: repeat(2,1fr); }
  .features-grid    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner        { grid-template-columns: 1fr; }
  .hero-live-board   { display: none; }
  .stats-grid        { grid-template-columns: repeat(3,1fr); }
  .game-grid         { grid-template-columns: 1fr 1fr; }
  .tournament-grid   { grid-template-columns: 1fr 1fr; }
  .features-grid     { grid-template-columns: 1fr; }
  .section           { padding: 44px 20px; }
}
@media (max-width: 480px) {
  .stats-grid      { grid-template-columns: repeat(2,1fr); }
  .game-grid       { grid-template-columns: 1fr; }
  .tournament-grid { grid-template-columns: 1fr; }
  .step-item       { flex-direction: column; gap: 14px; }
}
