/* =========================================================
   AsiaHandicapOdds.com — Premium SEO Site Styles
   Keyword focus: asiahandicapodds · Asian Handicap Odds
   ========================================================= */

:root {
  --bg-0: #070b14;
  --bg-1: #0c1424;
  --bg-2: #121c30;
  --bg-3: #1a2740;
  --card: rgba(18, 28, 48, 0.78);
  --card-solid: #121c30;
  --border: rgba(212, 175, 55, 0.18);
  --border-strong: rgba(212, 175, 55, 0.42);
  --gold: #d4af37;
  --gold-light: #f6e27a;
  --gold-dark: #a67c00;
  --teal: #5eead4;
  --teal-dim: rgba(94, 234, 212, 0.14);
  --text: #eef2f7;
  --text-muted: #9aa4b2;
  --text-dim: #6b7687;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --telegram: #2aabee;
  --telegram-dark: #229ed9;
  --fotbet: #e8a317;
  --fotbet-dark: #c4890f;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --nav-h: 72px;
  --sticky-h: 0px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.splash-active,
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

body.menu-open .sticky-cta {
  visibility: hidden;
  pointer-events: none;
}

img { max-width: 100%; display: block; }

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

a:hover { color: var(--gold); }

ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0;
}

/* ---------- Splash / Opening Screen ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(212, 175, 55, 0.18), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(94, 234, 212, 0.1), transparent 45%),
    linear-gradient(160deg, #050912 0%, #0a1424 50%, #070b14 100%);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.splash-ring {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--teal);
  animation: splashSpin 1.1s linear infinite;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(246, 226, 122, 0.25);
  border-bottom-color: var(--gold-light);
  animation: splashSpin 1.6s linear infinite reverse;
}

.splash-logo-mark {
  width: 48px;
  height: 48px;
  animation: splashPulse 1.4s ease-in-out infinite;
}

.splash-brand {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: splashFadeUp 0.7s ease 0.25s forwards;
}

.splash-tagline {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  animation: splashFadeUp 0.7s ease 0.45s forwards;
}

.splash-bar {
  width: 180px;
  height: 3px;
  margin: 1.6rem auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  opacity: 0;
  animation: splashFadeUp 0.5s ease 0.55s forwards;
}

.splash-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--gold-light));
  animation: splashLoad 1.8s ease 0.4s forwards;
}

.splash-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.splash-particles i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0.5;
  animation: particleRise 3.5s linear infinite;
}

.splash-particles i:nth-child(1) { left: 12%; bottom: -10px; animation-delay: 0s; }
.splash-particles i:nth-child(2) { left: 28%; bottom: -10px; animation-delay: 0.6s; width: 3px; height: 3px; }
.splash-particles i:nth-child(3) { left: 45%; bottom: -10px; animation-delay: 1.1s; background: var(--teal); }
.splash-particles i:nth-child(4) { left: 62%; bottom: -10px; animation-delay: 0.3s; }
.splash-particles i:nth-child(5) { left: 78%; bottom: -10px; animation-delay: 1.5s; width: 5px; height: 5px; }
.splash-particles i:nth-child(6) { left: 90%; bottom: -10px; animation-delay: 0.9s; background: var(--teal); }

@keyframes splashSpin {
  to { transform: rotate(360deg); }
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes splashLoad {
  to { width: 100%; }
}

@keyframes particleRise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  15% { opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(0.4); opacity: 0; }
}

/* ---------- Background ---------- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(42, 100, 180, 0.14), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(94, 234, 212, 0.06), transparent 55%),
    linear-gradient(180deg, #070b14 0%, #0a1220 45%, #070b14 100%);
}

.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  animation: gridFloat 28s linear infinite;
  opacity: 0.45;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  animation: orbFloat 16s ease-in-out infinite;
}

.orb-1 {
  width: 340px;
  height: 340px;
  background: rgba(212, 175, 55, 0.18);
  top: 12%;
  left: -80px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(40, 90, 180, 0.16);
  top: 40%;
  right: -120px;
  animation-delay: -6s;
}

.orb-3 {
  width: 280px;
  height: 280px;
  background: rgba(94, 234, 212, 0.08);
  bottom: 8%;
  left: 30%;
  animation-delay: -11s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

@keyframes gridFloat {
  from { transform: translateY(0); }
  to { transform: translateY(56px); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 720px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.gradient-text {
  background: linear-gradient(120deg, #fff 10%, var(--gold-light) 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.teal-text {
  background: linear-gradient(120deg, var(--teal), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Header / Menu ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  height: auto;
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 11, 20, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  padding-top: env(safe-area-inset-top, 0px);
}

.header.scrolled {
  background: rgba(7, 11, 20, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  flex-shrink: 0;
}

.logo:hover { color: var(--text); }

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.16), rgba(94, 234, 212, 0.08));
  border: 1px solid var(--border);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.12);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(18, 28, 48, 0.6);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(212, 175, 55, 0.1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  -webkit-user-select: none;
  user-select: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.95rem 1.55rem;
  font-size: 1.02rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-dark));
  color: #1a1200;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.28);
}

.btn-primary:hover {
  color: #1a1200;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

/* WhatsApp brand style */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.42);
  filter: brightness(1.05);
}

/* Telegram brand style */
.btn-telegram {
  background: linear-gradient(135deg, #2aabee, #229ed9);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.28);
}

.btn-telegram:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(42, 171, 238, 0.42);
  filter: brightness(1.05);
}

/* FotBet style */
.btn-fotbet {
  background: linear-gradient(135deg, #f0b429, #c4890f);
  color: #1a1200 !important;
  box-shadow: 0 8px 24px rgba(232, 163, 23, 0.28);
}

.btn-fotbet:hover {
  color: #1a1200 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(232, 163, 23, 0.42);
}

/* ---------- Hero ---------- */
.hero {
  padding: 3.5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.22);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  animation: heroIn 0.8s ease both;
  max-width: 100%;
  flex-wrap: wrap;
  line-height: 1.35;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero h1 {
  margin-bottom: 1.1rem;
  animation: heroIn 0.8s ease 0.1s both;
}

.hero .lead {
  margin-bottom: 1.6rem;
  animation: heroIn 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: heroIn 0.8s ease 0.3s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  animation: heroIn 0.8s ease 0.4s both;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(18, 28, 48, 0.55);
  border: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.55rem;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero visual / odds card */
.hero-visual {
  position: relative;
  animation: heroIn 0.9s ease 0.25s both;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(12, 20, 36, 0.9);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  box-shadow: var(--shadow);
  animation: floatChip 4.5s ease-in-out infinite;
}

.floating-chip.one { top: -8px; left: 8%; }
.floating-chip.two { top: 18%; right: -4%; animation-delay: -1.8s; color: var(--teal); border-color: rgba(94, 234, 212, 0.35); }
.floating-chip.three { bottom: 12%; left: -4%; animation-delay: -3s; }

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.odds-card {
  background: linear-gradient(165deg, rgba(24, 36, 58, 0.95), rgba(12, 18, 32, 0.98));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.odds-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
  animation: shimmerLine 3s linear infinite;
}

@keyframes shimmerLine {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.odds-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.odds-card-header h3 {
  font-size: 1rem;
  color: var(--text);
}

.live-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #0b1220;
  background: linear-gradient(90deg, var(--teal), var(--gold-light));
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.match-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.match-row:first-of-type { border-top: none; }

.teams {
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 0;
  flex: 1 1 140px;
  word-break: break-word;
}

.teams small {
  display: block;
  font-weight: 500;
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.odds-pills {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.pill {
  min-width: 58px;
  flex: 1 1 auto;
  text-align: center;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.pill span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-bottom: 0.1rem;
}

.pill strong {
  font-size: 0.92rem;
  color: var(--gold-light);
}

.pill.home strong { color: var(--teal); }

/* ---------- Sections ---------- */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head p {
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.section.alt {
  background: linear-gradient(180deg, transparent, rgba(18, 28, 48, 0.35), transparent);
}

/* Feature grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.16), rgba(94, 234, 212, 0.08));
  border: 1px solid var(--border);
  font-size: 1.35rem;
}

.card h3 {
  margin-bottom: 0.55rem;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card ul {
  margin-top: 0.75rem;
}

.card ul li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Keyword / SEO content block */
.content-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.content-block h2 {
  margin-bottom: 1rem;
}

.content-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.content-block p:last-child { margin-bottom: 0; }

.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.keyword-chips span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border);
}

/* AH table */
.ah-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

table.ah-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.ah-table th,
.ah-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.ah-table th {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ah-table td { color: var(--text-muted); }
.ah-table tr:last-child td { border-bottom: none; }
.ah-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Partner cards */
.partner-card {
  position: relative;
  overflow: hidden;
}

.partner-card .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.badge-singbet {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-strong);
}

.badge-fotbet {
  background: rgba(232, 163, 23, 0.15);
  color: #f0b429;
  border: 1px solid rgba(232, 163, 23, 0.35);
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-bottom: 0.9rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: #1a1200;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  margin: 1rem 0 0;
  padding: 2.75rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(212, 175, 55, 0.18), transparent 60%),
    radial-gradient(500px 200px at 90% 100%, rgba(94, 234, 212, 0.1), transparent 55%),
    linear-gradient(145deg, #121c30, #0c1424);
  border: 1px solid var(--border-strong);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "-"; }

.faq-item p {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3rem 0 2rem;
}

.page-hero h1 {
  margin-bottom: 0.85rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold); }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Sticky mobile CTA bar */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(7, 11, 20, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sticky-cta .btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.7rem 0.5rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Footer */
.footer {
  padding: 3.5rem 0 calc(2.5rem + var(--sticky-h));
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer h4 {
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer a {
  display: block;
  margin-bottom: 0.45rem;
}

.footer a:hover { color: var(--gold-light); }

.footer-brand p {
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  max-width: 900px;
  margin-top: 1.25rem;
  line-height: 1.55;
}

/* Float contact FAB */
.fab-stack {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  bottom: calc(1.25rem + var(--sticky-h));
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  pointer-events: none;
}

.fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: fabPop 0.5s ease both;
  pointer-events: auto;
  flex-shrink: 0;
}

.fab:hover {
  transform: scale(1.08);
  color: #fff !important;
}

.fab:active {
  transform: scale(0.96);
}

.fab-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.fab-tg {
  background: linear-gradient(135deg, #2aabee, #229ed9);
}

.fab svg {
  width: 24px;
  height: 24px;
}

@keyframes fabPop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

/* Menu toggle open state */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root {
    --nav-h: 64px;
    --sticky-h: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  .header {
    min-height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  }

  .header .container {
    width: min(100% - 1.25rem, var(--max));
    gap: 0.5rem;
    min-height: var(--nav-h);
  }

  .logo {
    min-width: 0;
    max-width: calc(100% - 56px);
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .logo-text strong {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-text span {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
    z-index: 110;
  }

  /* Compact dropdown: full menu visible without scrolling */
  .nav-wrap {
    position: fixed;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: auto;
    height: auto;
    max-height: none;
    z-index: 105;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem 0.85rem;
    background: rgba(7, 11, 20, 0.98);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
    overflow: visible;
    width: 100%;
    max-width: 100%;
  }

  .nav-wrap.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    flex: 0 0 auto;
  }

  .nav a {
    padding: 0.62rem 0.85rem;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .nav-cta {
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 0.15rem;
    gap: 0.5rem;
    flex: 0 0 auto;
  }

  .nav-cta .btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    padding: 0.62rem 0.55rem;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .nav-cta .btn svg {
    width: 16px;
    height: 16px;
  }

  /* Dim page behind open menu */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    z-index: 104;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: auto;
  }

  /* Ultra-short landscape phones only: allow scroll as last resort */
  @media (max-height: 380px) {
    .nav-wrap {
      max-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px) - 6px);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .nav a {
      padding: 0.45rem 0.75rem;
      font-size: 0.88rem;
    }
  }

  .hero {
    padding: 1.75rem 0 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-3,
  .grid-2,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-visual {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    word-break: break-word;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }

  .floating-chip {
    display: none;
  }

  .odds-card {
    padding: 1.1rem;
    border-radius: 16px;
  }

  .match-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .odds-pills {
    width: 100%;
  }

  .pill {
    flex: 1 1 0;
    min-width: 0;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .content-block {
    padding: 1.25rem;
  }

  .card {
    padding: 1.2rem;
  }

  .cta-band {
    padding: 1.75rem 1.15rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .partner-actions {
    flex-direction: column;
  }

  .partner-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .page-hero {
    padding: 2rem 0 1.25rem;
  }

  .page-hero .hero-actions {
    flex-direction: column;
  }

  .page-hero .hero-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .ah-table-wrap {
    -webkit-overflow-scrolling: touch;
    margin-inline: 0;
  }

  .keyword-chips span {
    font-size: 0.72rem;
  }

  .sticky-cta {
    display: flex;
  }

  /* Hide side FABs on mobile — sticky bar already has WA/TG */
  .fab-stack {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: left;
  }

  .splash-ring {
    width: 96px;
    height: 96px;
  }

  .orb {
    opacity: 0.28;
    filter: blur(50px);
  }

  .orb-1,
  .orb-2,
  .orb-3 {
    width: min(240px, 55vw);
    height: min(240px, 55vw);
  }
}

/* Tablet mid-width: two-column cards when space allows */
@media (min-width: 600px) and (max-width: 980px) {
  .grid-3,
  .grid-2,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .header .container {
    width: min(100% - 1rem, var(--max));
  }

  .stat {
    padding: 0.85rem;
  }

  .stat strong {
    font-size: 1.35rem;
  }

  .faq-item summary {
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
    gap: 0.5rem;
  }

  .faq-item p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  .steps {
    gap: 0.75rem;
  }

  .step {
    padding: 1.1rem;
  }
}

/* Touch devices: reduce hover lift that can feel janky */
@media (hover: none) {
  .card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

  .fab:hover {
    transform: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .splash {
    display: none !important;
  }

  body.splash-active {
    overflow: auto;
    touch-action: auto;
  }
}
