:root {
  --bg-primary: #0a0f1d;
  --bg-card: #141d33;
  --bg-card-hover: #1b2642;
  --accent-gold: #f5c518;
  --accent-gold-hover: #eab308;
  --accent-gold-glow: rgba(245, 197, 24, 0.25);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 197, 24, 0.3);
  --color-green: #10b981;
  --color-red: #ef4444;
  --color-blue: #3b82f6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.9rem 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.brand-logo span {
  color: var(--accent-gold);
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: #0a0f1d;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 197, 24, 0.4);
}

.btn-outline {
  border-color: var(--border-glass);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-green);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #fff 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Live Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Direct Answer Box */
.direct-answer {
  background: rgba(20, 29, 51, 0.7);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0 1.75rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

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

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

/* Mockup Live Table Section */
.mockup-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 992px) {
  .mockup-wrap {
    grid-template-columns: 2fr 1fr;
  }
}

.live-table-mockup {
  background: #0f1629;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.table-header-bar {
  background: #141d33;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.table-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-green);
  font-weight: 600;
}

.table-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

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

.table-canvas {
  padding: 1.5rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at 50% 30%, #172440 0%, #0a0f1d 80%);
}

.score-display {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.score-box {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  min-width: 110px;
}

.score-box.player {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.score-box.banker {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.score-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.score-box.player .score-tag { color: var(--color-blue); }
.score-box.banker .score-tag { color: var(--color-red); }

.score-number {
  font-size: 2rem;
  font-weight: 900;
}

.bet-road {
  display: flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  justify-content: center;
}

.road-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.road-dot.p { background: var(--color-blue); color: #fff; }
.road-dot.b { background: var(--color-red); color: #fff; }
.road-dot.t { background: var(--color-green); color: #fff; }

.bet-slip-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slip-title {
  font-size: 1rem;
  font-weight: 700;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.slip-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.slip-item .label { color: var(--text-muted); }
.slip-item .val { font-weight: 700; }
.slip-item .val.highlight { color: var(--accent-gold); }

/* Provider Grid */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .provider-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.provider-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.provider-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.provider-logo-badge {
  width: 60px;
  height: 60px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.provider-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.provider-features {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Data Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  margin-top: 1.5rem;
}

.semantic-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.semantic-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

.semantic-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-glass);
  color: #cbd5e1;
}

.semantic-table tbody tr:last-child td {
  border-bottom: none;
}

.semantic-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.faq-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-card h3::before {
  content: "Q:";
  color: var(--accent-gold);
  font-weight: 900;
}

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

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-glass);
  padding: 2.5rem 0 4.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  max-width: 600px;
  margin: 0.75rem auto 0;
  line-height: 1.5;
  color: #64748b;
}

/* Mobile Sticky CTA */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-gold);
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .sticky-mobile-cta {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

.sticky-mobile-cta .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}
