/* ==========================================================================
   Ludo Tadka - Official Stylesheet
   Modern, Premium Dark Gaming Aesthetic with Ludo Color Vibrance
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #0a0e1a;
  --bg-secondary: #10172a;
  --bg-tertiary: #18223a;
  --bg-card: rgba(22, 31, 54, 0.75);
  --bg-card-hover: rgba(30, 42, 74, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.35);

  /* Ludo Accent Colors */
  --ludo-yellow: #f59e0b;
  --ludo-yellow-glow: rgba(245, 158, 11, 0.4);
  --ludo-gold: #fbbf24;
  --ludo-red: #ef4444;
  --ludo-red-glow: rgba(239, 68, 68, 0.35);
  --ludo-green: #10b981;
  --ludo-green-glow: rgba(16, 185, 129, 0.35);
  --ludo-blue: #3b82f6;
  --ludo-blue-glow: rgba(59, 130, 246, 0.35);

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-accent: #fbbf24;

  /* Typography */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(245, 158, 11, 0.25);
  --shadow-red-glow: 0 0 30px rgba(239, 68, 68, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #1a233e 0%, #0a0e1a 60%, #05070e 100%);
}

/* Background Ambient Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--ludo-yellow);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}
.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--ludo-red);
  top: 40%;
  left: -100px;
}
.glow-3 {
  width: 450px;
  height: 450px;
  background: var(--ludo-blue);
  bottom: 10%;
  right: -100px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

.gradient-text {
  background: linear-gradient(135deg, #fff 20%, #fcd34d 60%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-red {
  background: linear-gradient(135deg, #ffffff 10%, #fca5a5 50%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 14, 26, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  transition: all 0.3s ease;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.4rem;
  font-weight: 800;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}
.brand-link:hover .brand-logo {
  transform: rotate(-5deg) scale(1.06);
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  margin-left: 6px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s, transform 0.2s;
  position: relative;
}

.nav-link:hover {
  color: var(--ludo-gold);
}

.nav-link.active {
  color: var(--ludo-gold);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0e1a;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transition: all 0.3s ease;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.7rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  color: var(--ludo-gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34d399, #10b981);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: var(--ludo-gold);
}

.play-badge-icon {
  width: 24px;
  height: 24px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ludo-gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual / Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: float 6s ease-in-out infinite;
}

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

.phone-inner {
  border-radius: 30px;
  overflow: hidden;
  background: #0f172a;
  border: 2px solid #1e293b;
  position: relative;
}

.mockup-header {
  height: 28px;
  background: #0a0e1a;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-notch {
  width: 90px;
  height: 12px;
  background: #1e293b;
  border-radius: var(--radius-full);
}

.mockup-screen {
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: radial-gradient(circle at center, #1e2a4a 0%, #0d1222 100%);
  min-height: 480px;
}

.mockup-logo {
  max-width: 170px;
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5));
}

.mockup-board-preview {
  width: 220px;
  height: 220px;
  background: #131d36;
  border-radius: 20px;
  border: 3px solid rgba(245, 158, 11, 0.4);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 10px;
  gap: 10px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}

.board-quad {
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.quad-red { background: linear-gradient(135deg, #ef4444, #b91c1c); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4); }
.quad-green { background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4); }
.quad-yellow { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4); }
.quad-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); }

.board-center-die {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.board-center-die img {
  width: 42px;
  height: 42px;
}

.mockup-pills {
  display: flex;
  gap: 8px;
  width: 100%;
}
.pill {
  flex: 1;
  background: rgba(255,255,255,0.08);
  padding: 8px 6px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pill img {
  width: 16px;
  height: 16px;
}

/* Floating Badges on Mockup */
.floating-badge {
  position: absolute;
  background: rgba(16, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  z-index: 2;
  white-space: nowrap;
}
.fb-1 {
  top: 15%;
  left: -40px;
  border-left: 4px solid var(--ludo-green);
  animation: floatBadge 5s ease-in-out infinite alternate;
}
.fb-2 {
  bottom: 18%;
  right: -30px;
  border-left: 4px solid var(--ludo-yellow);
  animation: floatBadge 5s ease-in-out infinite alternate-reverse;
}
@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ludo-gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Game Modes Grid */
.modes-section {
  padding: 90px 0;
  position: relative;
}
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-subtle);
  transition: background 0.3s;
}
.mode-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(245, 158, 11, 0.15);
}
.mode-card:hover::before {
  background: linear-gradient(90deg, var(--ludo-yellow), var(--ludo-red));
}
.mode-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.mode-card:hover .mode-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}
.mode-icon-wrapper img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.mode-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.mode-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Features Section */
.features-section {
  padding: 90px 0;
  background: linear-gradient(180deg, rgba(16, 23, 42, 0.4) 0%, rgba(10, 14, 26, 0.8) 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}
.feature-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}
.feature-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ludo-gold);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.feature-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Fair Play & Security Banner */
.fairplay-section {
  padding: 80px 0;
}
.fairplay-banner {
  background: linear-gradient(135deg, rgba(30, 41, 69, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.fairplay-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.fairplay-content h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.fairplay-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 24px;
}
.fairplay-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.fp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
}

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
}
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-item.active {
  border-color: rgba(245, 158, 11, 0.4);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--ludo-gold);
}
.faq-arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}
.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-answer-inner {
  padding: 0 24px 20px;
}

/* Call to Action Bar */
.cta-section {
  padding: 80px 0 100px;
  text-align: center;
}
.cta-box {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 60px 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-box h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}
.cta-box p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 36px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: #05070f;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 16px 0 24px;
  max-width: 320px;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s, transform 0.2s;
}
.footer-links a:hover {
  color: var(--ludo-gold);
  transform: translateX(3px);
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.footer-contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-item a:hover {
  color: var(--ludo-gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ==========================================================================
   Documentation & Legal Pages (Privacy Policy, Terms)
   ========================================================================== */
.legal-wrapper {
  padding: 60px 0 100px;
}
.legal-header {
  background: linear-gradient(180deg, rgba(22, 31, 54, 0.8) 0%, rgba(10, 14, 26, 0.4) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  text-align: center;
  margin-bottom: 50px;
}
.legal-header h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}
.legal-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: flex-start;
}
.legal-nav-card {
  position: sticky;
  top: 90px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}
.legal-nav-card h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--ludo-gold);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.legal-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s;
  display: block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}
.legal-nav-links a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}
.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #cbd5e1;
}
.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: 100px;
}
.legal-section h2 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-section h3 {
  font-size: 1.2rem;
  color: #f1f5f9;
  margin: 20px 0 10px;
}
.legal-section p {
  margin-bottom: 14px;
  line-height: 1.75;
}
.legal-section ul, .legal-section ol {
  margin: 12px 0 16px 24px;
  line-height: 1.7;
}
.legal-section li {
  margin-bottom: 8px;
}
.highlight-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--ludo-yellow);
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 0.95rem;
}
.highlight-box strong {
  color: var(--ludo-gold);
}
.danger-box {
  background: rgba(239, 68, 68, 0.08);
  border-left: 4px solid var(--ludo-red);
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}
.danger-box strong {
  color: #fca5a5;
}

/* Tables for Legal */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  text-align: left;
}
.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-weight: 700;
}
.legal-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .fairplay-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .fairplay-tags {
    justify-content: center;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-nav-card {
    display: none; /* Hide sticky sidebar on mobile */
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2.1rem;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d1222;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .nav-menu.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-content {
    padding: 28px 20px;
  }
  .floating-badge {
    display: none;
  }
}
