/* ==========================================================================
   FOOTBOT.NET - High-Performance AI SEO Theme
   ========================================================================== */

:root {
  --bg-dark: #080b11;
  --bg-card: rgba(15, 21, 33, 0.75);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --primary-red: #eb1616;
  --primary-red-glow: rgba(235, 22, 22, 0.4);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Compensar el espacio reservado para la barra superior fija */
main {
  padding-top: var(--header-height);
}

/* ==========================================================================
   Header & Navbar (FIJO AL HACER SCROLL)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(8, 11, 17, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bg-card-border);
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  z-index: 1002;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary-red);
}

.btn-primary {
  background: var(--primary-red);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 0 15px var(--primary-red-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--primary-red-glow);
}

.btn-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  font-weight: 600;
}

/* Botón Hamburguesa */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  z-index: 1002;
  padding: 6px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-toggle i {
  font-size: 30px;
  display: block;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 90px 20px 60px;
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(235, 22, 22, 0.12);
  border: 1px solid rgba(235, 22, 22, 0.3);
  color: #ff4d4d;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 25px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 35px;
}

.bet-box { background: #2d323a; color: #eb1616; font-family: 'Consolas', monospace; font-weight: bold; font-size: 17px; padding: 4px; border-radius: 4px; min-width: 75px; text-align: center; border: 1px solid #3d444d; transition: all 0.2s; position: relative; }

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
}

.btn-hero-primary {
  background: var(--primary-red);
  color: #fff;
  padding: 15px 36px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 20px var(--primary-red-glow);
  transition: transform 0.2s;
}

.btn-hero-primary:hover {
  transform: scale(1.03);
}

.btn-hero-secondary {
  border: 1px solid var(--bg-card-border);
  background: rgba(255, 255, 255, 0.04);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
}

/* Stats Cards */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.stat-card.highlight {
  border-color: rgba(235, 22, 22, 0.5);
  box-shadow: inset 0 0 20px rgba(235, 22, 22, 0.1);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-red);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Layout Grids & Sections
   ========================================================================== */
.section-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-container.dark-bg {
  background: rgba(255, 255, 255, 0.015);
  border-radius: 24px;
  padding: 10px 30px;
  border: 1px solid var(--bg-card-border);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.feature-card, .review-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 30px;
  border-radius: 16px;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature-card p, .review-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.stars {
  color: #ffb703;
  margin-bottom: 10px;
}

.reviewer {
  margin-top: 15px;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   Tabla de Pronósticos
   ========================================================================== */
.predictions-table-wrapper {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
}

.predictions-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  color: #fff;
}

.predictions-table th, 
.predictions-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.predictions-table th {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #8a99ad;
}

.league-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #d1d5db;
}

.tip-badge {
  background: #00e676;
  color: #0a0f1d;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  display: inline-block;
}

.prob-bar-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prob-bar {
  height: 6px;
  background: #00e676;
  border-radius: 3px;
}

.btn-table-sm {
  background: transparent;
  border: 1px solid #00e676;
  color: #00e676;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-table-sm:hover {
  background: #00e676;
  color: #0a0f1d;
}

/* ==========================================================================
   Pricing Card
   ========================================================================== */
.pricing-wrapper {
  max-width: 460px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 2px solid var(--primary-red);
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 0 35px rgba(235, 22, 22, 0.15);
}

.popular-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-red);
  padding: 4px 18px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 800;
}

.price-box {
  margin: 20px 0;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 10px;
}

.current-price {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
}

.price-features {
  list-style: none;
  text-align: left;
  margin: 25px 0;
}

.price-features li {
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ==========================================================================
   Video & FAQ
   ========================================================================== */
.video-container {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--bg-card-border);
}

.seo-article {
  max-width: 850px;
  margin: 0 auto;
}

.seo-article h2, .seo-article h3 {
  margin: 20px 0 10px;
  font-family: var(--font-display);
}

.seo-article p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1.05rem;
}

.faq-content {
  margin-top: 15px;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 60px 20px 20px;
  background: #04060a;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #eb1616;
}

.age-warning {
  color: var(--primary-red);
  font-size: 0.85rem;
  margin-top: 10px;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--bg-card-border);
  padding-top: 20px;
}

/* ==========================================================================
   Responsive Breakpoints & Menú Hamburguesa Móvil
   ========================================================================== */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(8, 11, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--bg-card-border);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 90px 25px 40px;
    gap: 18px;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    font-size: 1.05rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
  }

  .nav-links .btn-primary {
    text-align: center;
    margin-top: 10px;
    width: 100%;
    padding: 12px 0;
  }

  .nav-links .btn-account {
    padding: 12px 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}