/* ============================================================
   8XBET – BẮN CÁ PAGE STYLES
   ============================================================ */

:root {
  --bc-teal:   #00c8a8;
  --bc-ocean:  #0077a8;
  --bc-dark:   #001a2e;
  --bc-mid:    #003355;
  --bc-light:  #e0faff;
  --bc-gold:   #f5c518;
  --bc-coral:  #ff6b6b;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(160deg, #001a2e 0%, #003355 45%, #005577 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,200,168,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(0,119,168,.15) 0%, transparent 50%);
  pointer-events: none;
}
/* Animated bubbles */
.page-hero::after {
  content: '🐠 🐡 🦈 🐙 🦐';
  position: absolute; bottom: -10px; left: 0; right: 0;
  font-size: 2rem; letter-spacing: 60px;
  opacity: .06; 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,200,168,.18); border: 1px solid rgba(0,200,168,.4);
  color: var(--bc-teal); 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(--bc-teal); }
.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, #005577, var(--bc-teal));
  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,200,168,.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(--bc-teal); }

/* Hero game preview card */
.hero-game-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,200,168,.2);
  border-radius: 20px; overflow: hidden;
  backdrop-filter: blur(10px);
}
.hgc-screen {
  background: linear-gradient(160deg,#001a2e,#003355 60%,#005577);
  padding: 20px; position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.hgc-topbar {
  display: flex; justify-content: space-between; align-items: center;
}
.hgc-game-name { font-size: .78rem; font-weight: 800; color: var(--bc-teal); letter-spacing: .5px; }
.hgc-jackpot {
  background: linear-gradient(90deg, #f57f17, var(--bc-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-size: .85rem; font-weight: 900;
}
.hgc-ocean {
  background: linear-gradient(180deg,#003d5c 0%,#001a2e 100%);
  border-radius: 12px; padding: 18px 16px;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
  position: relative; overflow: hidden;
}
.hgc-ocean::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--bc-teal), transparent);
  animation: wave 2s ease-in-out infinite;
}
@keyframes wave { 0%,100%{opacity:.4;} 50%{opacity:1;} }
.fish-item {
  background: rgba(0,200,168,.1); border: 1px solid rgba(0,200,168,.2);
  border-radius: 10px; padding: 10px 8px; text-align: center;
}
.fish-item .fi-emoji { font-size: 1.6rem; display: block; margin-bottom: 4px; }
.fish-item .fi-pts   { font-size: .7rem; font-weight: 700; color: var(--bc-gold); }
.fish-item .fi-name  { font-size: .62rem; color: rgba(255,255,255,.5); display: block; }
.hgc-ammo-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 4px;
}
.hgc-ammo-label { font-size: .72rem; color: rgba(255,255,255,.5); }
.hgc-ammo-dots { display: flex; gap: 5px; }
.hgc-ammo-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bc-teal); opacity: .8;
}
.hgc-ammo-dots span:nth-child(4),
.hgc-ammo-dots span:nth-child(5) { opacity: .2; }
.hgc-footer {
  padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.07);
}
.hgc-bal { font-size: .78rem; color: rgba(255,255,255,.5); }
.hgc-bal strong { color: var(--bc-gold); }
.hgc-play-btn {
  background: linear-gradient(90deg,#005577,var(--bc-teal));
  color: #fff; padding: 8px 20px; border-radius: 8px;
  font-size: .8rem; font-weight: 800; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: filter .2s;
}
.hgc-play-btn:hover { filter: brightness(1.1); text-decoration: none; }

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

/* ════════════════════════════════════════
   GAMES GRID
   ════════════════════════════════════════ */
.games-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 26px;
}
.game-card {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,.1);
  transition: transform .25s, box-shadow .25s;
  background: #fff;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(0,119,168,.18); }
.gc-banner {
  height: 180px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.gc-banner.g1 { background: linear-gradient(160deg,#001a2e,#0077a8); }
.gc-banner.g2 { background: linear-gradient(160deg,#001a0e,#00a857); }
.gc-banner.g3 { background: linear-gradient(160deg,#1a0028,#7b1fa2); }
.gc-banner.g4 { background: linear-gradient(160deg,#1a0800,#e65c00); }
.gc-banner.g5 { background: linear-gradient(160deg,#1a0a00,#c49000); }
.gc-banner.g6 { background: linear-gradient(160deg,#001a2e,#00c8a8); }
.gc-bg-emoji {
  font-size: 5rem; position: absolute; bottom:-10px; right:-5px; opacity: .15;
}
.gc-emoji { font-size: 2.8rem; position: relative; z-index:1; }
.gc-badge {
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .5px;
  padding: 4px 12px; border-radius: 20px; position: relative; z-index:1;
}
.gc-body { padding: 22px 22px 20px; }
.gc-body h3 { font-size: 1.05rem; font-weight: 800; color: var(--bc-dark); margin-bottom: 8px; }
.gc-body p  { font-size: .87rem; color: #555; line-height: 1.7; margin-bottom: 14px; }
.gc-meta { display: flex; justify-content: space-between; align-items: center; }
.gc-rtp {
  background: var(--bc-light); color: var(--bc-ocean);
  font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 5px;
  display: inline-flex; align-items: center; gap: 4px;
}
.gc-play {
  background: linear-gradient(90deg,var(--bc-mid),var(--bc-teal));
  color: #fff; font-size: .78rem; font-weight: 700;
  padding: 7px 16px; border-radius: 7px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
  transition: filter .2s;
}
.gc-play:hover { filter: brightness(1.1); text-decoration: none; }

/* ════════════════════════════════════════
   HOW TO PLAY
   ════════════════════════════════════════ */
.htp-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.htp-visual {
  background: linear-gradient(160deg,#001a2e,#003355 60%,#005577);
  border-radius: 20px; padding: 30px 26px;
  border: 1px solid rgba(0,200,168,.15);
  display: flex; flex-direction: column; gap: 16px;
}
.htp-title {
  font-size: .72rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.htp-fish-types {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
}
.htp-fish {
  background: rgba(0,200,168,.08); border: 1px solid rgba(0,200,168,.2);
  border-radius: 12px; padding: 14px 10px; text-align: center;
  transition: background .2s;
}
.htp-fish:hover { background: rgba(0,200,168,.18); }
.htp-fish .hf-emoji { font-size: 2rem; display: block; margin-bottom: 6px; }
.htp-fish .hf-name  { font-size: .72rem; font-weight: 700; color: #fff; display: block; margin-bottom: 3px; }
.htp-fish .hf-pts   { font-size: .68rem; color: var(--bc-gold); font-weight: 700; }
.htp-ammo-section {
  background: rgba(255,255,255,.05); border-radius: 10px; padding: 14px 16px;
}
.htp-ammo-title { font-size: .7rem; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.htp-ammo-row { display: flex; gap: 8px; }
.htp-bullet {
  flex: 1; background: rgba(0,200,168,.12); border: 1px solid rgba(0,200,168,.25);
  border-radius: 8px; padding: 8px 6px; text-align: center;
}
.htp-bullet .b-emoji { font-size: 1.1rem; display: block; margin-bottom: 3px; }
.htp-bullet .b-name  { font-size: .62rem; color: rgba(255,255,255,.5); }
.htp-bullet .b-val   { font-size: .75rem; font-weight: 800; color: var(--bc-teal); }
.htp-steps { display: flex; flex-direction: column; gap: 18px; }
.htp-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,.06);
  border-left: 4px solid var(--bc-teal);
}
.hs-num {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--bc-mid), var(--bc-teal));
  color: #fff; font-size: 1.1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.htp-step h4 { font-size: .92rem; font-weight: 800; color: var(--bc-dark); margin-bottom: 5px; }
.htp-step p  { font-size: .84rem; color: #666; line-height: 1.65; }

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

/* ════════════════════════════════════════
   JACKPOT / FISH POINTS TABLE
   ════════════════════════════════════════ */
.points-table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.points-table {
  width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff;
}
.points-table thead tr { background: linear-gradient(90deg,var(--bc-mid),var(--bc-teal)); }
.points-table thead th {
  padding: 14px 18px; color: #fff; font-weight: 800; text-align: left; white-space: nowrap;
}
.points-table tbody tr { border-bottom: 1px solid #d0f5f0; transition: background .15s; }
.points-table tbody tr:hover { background: var(--bc-light); }
.points-table tbody tr:last-child { border-bottom: none; }
.points-table td { padding: 13px 18px; color: #333; }
.pts-val  { color: var(--bc-ocean); font-weight: 800; }
.pts-rate { color: #e65c00;         font-weight: 800; }
.rarity-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px;
}
.rarity-badge.common   { background: #e8f5e9; color: #2e7d32; }
.rarity-badge.rare     { background: #e3f2fd; color: #1565c0; }
.rarity-badge.epic     { background: #f3e5f5; color: #6a1b9a; }
.rarity-badge.legendary{ background: #fff8e1; color: #e65100; }

/* ════════════════════════════════════════
   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(--bc-mid),var(--bc-teal));
}
.tip-num {
  font-size: 4.5rem; font-weight: 900; color: rgba(0,200,168,.07);
  position: absolute; top: 4px; right: 14px; line-height: 1;
}
.tip-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px;
  background: var(--bc-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--bc-ocean); font-size: 1.2rem;
}
.tip-card h3 { font-size: 1rem; font-weight: 800; color: var(--bc-dark); margin-bottom: 10px; }
.tip-card p  { font-size: .88rem; color: #555; line-height: 1.75; }

/* ════════════════════════════════════════
   PROMO BANNER
   ════════════════════════════════════════ */
.promo-banner {
  background: linear-gradient(135deg,#001a2e 0%,#003355 55%,#005577 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 #b2ece3; 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(--bc-dark);
  background: transparent; border: none; text-align: left;
  transition: background .2s; gap: 12px;
}
.faq-q:hover { background: var(--bc-light); }
.faq-q i { color: var(--bc-teal); 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) {
  .games-grid    { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .htp-layout    { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-inner      { grid-template-columns: 1fr; }
  .hero-game-card  { display: none; }
  .stats-grid      { grid-template-columns: repeat(2,1fr); }
  .games-grid      { grid-template-columns: 1fr; }
  .features-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; }
}
