/* Base Variables */
:root {
  --bg-dark: #0B0E14;
  --bg-surface: #151A22;
  --bg-surface-light: #1E2532;
  --accent: #CCFF00;
  --accent-hover: #E0FF4D;
  --text-main: #FFFFFF;
  --text-muted: #A0A5B5;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(21, 26, 34, 0.7);
  
  --font-main: 'Outfit', sans-serif;
}

/* Reset & Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #000;
  border: none;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-glow {
  animation: pulse-glow 2.5s infinite;
}

.btn-glow:hover {
  animation: none;
  box-shadow: 0 0 40px rgba(204, 255, 0, 0.8);
  transform: translateY(-2px) scale(1.05);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: rgba(204, 255, 0, 0.05);
  border-color: var(--accent);
  color: var(--accent);
}

.mt-4 {
  margin-top: 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-dot {
  color: var(--accent);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  text-align: center;
}

.glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.15) 0%, rgba(11, 14, 20, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(204, 255, 0, 0.1);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border: 1px solid rgba(204, 255, 0, 0.2);
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #A0A5B5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.05);
}

.stat-item:hover .stat-value {
  color: var(--accent);
  text-shadow: 0 0 15px rgba(204, 255, 0, 0.4);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Features */
.features {
  padding: 120px 0;
  background-color: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(204, 255, 0, 0.3);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(204, 255, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* How It Works */
.how-it-works {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.how-text h2 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.how-text > p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 48px;
}

.steps-list {
  list-style: none;
}

.steps-list li {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(204, 255, 0, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(204, 255, 0, 0.2);
}

.step-content h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-muted);
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 12px;
  background: #111;
  border: 1px solid #333;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #111;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-screen {
  background: #0B141A; /* WhatsApp Dark Mode BG */
  border-radius: 32px;
  height: 600px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: #202C33;
  padding: 40px 16px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00A884;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-title {
  font-weight: 600;
  color: #E9EDEF;
}

.chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.msg {
  padding: 8px 12px;
  border-radius: 8px;
  max-width: 85%;
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
}

.received {
  background: #202C33;
  color: #E9EDEF;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.sent {
  background: #005C4B;
  color: #E9EDEF;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.premium-msg {
  background: #3A2E10;
  border-left: 4px solid #F1C40F;
}

/* Footer */
.footer {
  padding: 64px 0 32px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.disclaimer {
  font-size: 0.75rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 992px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .stats-row {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════
   NAVIGATION LINKS
   ═══════════════════════════════════════════ */

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
  z-index: 100;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ═══════════════════════════════════════════
   LEGAL PAGE — Premium Redesign
   ═══════════════════════════════════════════ */

.legal-page {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 100vh;
  position: relative;
}

.legal-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(204, 255, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.legal-container {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.wide-legal-container {
  max-width: 1000px;
  position: relative;
  z-index: 1;
}

.legal-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.last-updated {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(204, 255, 0, 0.08);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.legal-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 12px;
}

/* Section numbering */
.legal-section {
  margin-bottom: 0;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-section h2 .sn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(204, 255, 0, 0.08);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(204, 255, 0, 0.15);
}

.legal-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.legal-section p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
  font-size: 0.925rem;
}

.legal-section ul {
  padding-left: 0;
  margin-bottom: 14px;
  list-style: none;
}

.legal-section li {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 8px;
  font-size: 0.925rem;
  padding-left: 20px;
  position: relative;
}

.legal-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.legal-section li strong {
  color: var(--text-main);
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(204, 255, 0, 0.3);
  transition: border-color 0.3s;
}

.legal-section a:hover {
  border-color: var(--accent);
}

/* Callouts — compact glass cards */
.legal-callout {
  padding: 16px 20px;
  border-radius: 12px;
  margin: 20px 0;
  border: 1px solid;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
}

.legal-callout.info {
  border-color: rgba(59, 130, 246, 0.2);
}

.legal-callout.info strong {
  color: #60A5FA;
}

.legal-callout.warning {
  border-color: rgba(245, 158, 11, 0.2);
}

.legal-callout.warning strong {
  color: #FBBF24;
}

.legal-callout.danger {
  border-color: rgba(239, 68, 68, 0.2);
}

.legal-callout.danger strong {
  color: #F87171;
}

.legal-callout p {
  color: var(--text-muted);
  margin-bottom: 6px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

/* Tables — dark sleek style */
.legal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 16px 0;
  font-size: 0.85rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.legal-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--bg-surface-light);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-table td {
  padding: 10px 14px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.legal-table tbody tr {
  transition: background 0.2s;
}

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

/* Footer Legal Links */
.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   RESPONSIBLE GAMBLING PAGE
   ═══════════════════════════════════════════ */

.rg-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.rg-rule {
  text-align: left;
  padding: 24px;
  border-radius: 16px;
}

.rg-rule:hover {
  transform: translateY(-2px);
}

.rg-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
}

.rg-rule h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.rg-rule p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.warning-list li::before {
  background: #EF4444;
  opacity: 0.8;
}

.help-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.help-card {
  padding: 20px;
  text-align: left;
  border-radius: 16px;
}

.help-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.help-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════ */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.about-card {
  text-align: left;
  padding: 24px;
  border-radius: 16px;
}

.about-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
}

.about-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

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

.leagues-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.league-tag {
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg-surface-light);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: border-color 0.3s, color 0.3s;
}

.league-tag:hover {
  border-color: rgba(204, 255, 0, 0.3);
  color: var(--text-main);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Legal Pages
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .rg-rules-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .legal-table {
    font-size: 0.8rem;
  }

  .legal-table th,
  .legal-table td {
    padding: 8px 10px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    gap: 32px;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-links .nav-link {
    font-size: 1.5rem;
  }

  .nav-links .btn {
    font-size: 1.2rem;
    padding: 14px 32px;
  }
}

/* ═══════════════════════════════════════════
   PRICING & PREDICTIONS
   ═══════════════════════════════════════════ */

.pricing-section {
  padding: 100px 0;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-card {
  width: 100%;
  margin: 0;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(204,255,0,0.05) 0%, rgba(10,10,10,0) 100%);
  border: 1px solid rgba(204, 255, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(204, 255, 0, 0.15);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
  line-height: 1;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.pricing-features li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* High-End Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 15px rgba(204, 255, 0, 0.2); transform: scale(1); }
  50% { box-shadow: 0 0 35px rgba(204, 255, 0, 0.5); transform: scale(1.02); }
  100% { box-shadow: 0 0 15px rgba(204, 255, 0, 0.2); transform: scale(1); }
}

.animated-float {
  animation: float 6s ease-in-out infinite;
}

.social-links a {
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-4px) scale(1.15);
  filter: drop-shadow(0 0 8px rgba(204, 255, 0, 0.6));
}

.predictions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.prediction-card {
  padding: 24px;
  margin-bottom: 24px;
  border-radius: 16px;
}

@media (min-width: 768px) {
  .predictions-grid { grid-template-columns: 1fr 1fr; }
}
