/* ==========================================
   BetRank.es - Estilos Principales
   Comparador de Bonos de Apuestas España
   ========================================== */

/* --- Variables --- */
:root {
  --bg-primary: #080c18;
  --bg-secondary: #0f1525;
  --bg-card: #141b2d;
  --bg-card-hover: #1a2340;
  --accent-gold: #f0b429;
  --accent-gold-dark: #d4991f;
  --accent-cyan: #00d4ff;
  --accent-green: #00e676;
  --accent-red: #ff4444;
  --text-primary: #e8eaf0;
  --text-secondary: #9aa3b8;
  --text-muted: #5c6480;
  --border: #1e2a45;
  --border-glow: rgba(240, 180, 41, 0.3);
  --gradient-gold: linear-gradient(135deg, #f0b429, #d4991f);
  --gradient-hero: linear-gradient(135deg, #080c18 0%, #0f1a35 50%, #080c18 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(240, 180, 41, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-gold-dark); }

img { max-width: 100%; height: auto; }

ul { list-style: none; }

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

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 40px;
}

.gold-text { color: var(--accent-gold); }
.cyan-text { color: var(--accent-cyan); }
.green-text { color: var(--accent-green); }

/* --- Aviso +18 --- */
.age-banner {
  background: linear-gradient(90deg, #1a0505, #2d0808, #1a0505);
  border-bottom: 1px solid #3d0a0a;
  padding: 7px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #ff9999;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.age-banner .badge-18 {
  background: var(--accent-red);
  color: #fff;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.age-banner a {
  color: #ff9999;
  text-decoration: underline;
  font-size: 0.75rem;
}

/* --- Header / Navbar --- */
.navbar {
  background: rgba(8, 12, 24, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  position: sticky;
  top: 35px;
  z-index: 999;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.logo span.bet { color: var(--accent-gold); }
.logo span.rank { color: var(--text-primary); }
.logo .logo-dot { color: var(--accent-cyan); font-size: 1.8rem; line-height: 0; }
.logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-cta {
  background: var(--gradient-gold) !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 70px 20px 80px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 60% 50%, rgba(240,180,41,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(0,212,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.3);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero h1 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-gold);
  display: block;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #000;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(240,180,41,0.4);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(240,180,41,0.05);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-green {
  background: linear-gradient(135deg, #00c853, #00a843);
  color: #fff;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,200,83,0.35);
  color: #fff;
}

/* --- AdSense Spaces --- */
.adsense-slot {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.adsense-leaderboard {
  width: 100%;
  height: 90px;
  margin: 20px auto;
  max-width: 728px;
}

.adsense-rectangle {
  width: 100%;
  max-width: 336px;
  height: 280px;
  margin: 0 auto;
}

.adsense-banner {
  width: 100%;
  height: 60px;
  margin: 16px 0;
}

/* --- Filter Bar --- */
.filter-section {
  background: var(--bg-secondary);
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: var(--transition);
}

.chip:hover,
.chip.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(240,180,41,0.08);
}

/* --- Ranking Section --- */
.ranking-section {
  padding: 60px 20px;
}

/* --- Casa Card --- */
.ranking-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.casa-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.casa-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition);
}

.casa-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(240,180,41,0.3);
  box-shadow: var(--shadow-glow);
  transform: translateX(4px);
}

.casa-card:hover::before {
  opacity: 1;
}

.casa-card.top-1 { border-color: rgba(240,180,41,0.4); }
.casa-card.top-1::before { opacity: 1; }

.rank-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  flex-shrink: 0;
  position: relative;
}

.rank-badge.rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  box-shadow: 0 0 20px rgba(255,215,0,0.4);
}
.rank-badge.rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #a0a0a0);
  color: #000;
}
.rank-badge.rank-3 {
  background: linear-gradient(135deg, #CD7F32, #a0622a);
  color: #fff;
}
.rank-badge.rank-other {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.casa-info {
  min-width: 0;
}

.casa-logo-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.casa-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--accent-gold);
  flex-shrink: 0;
  letter-spacing: -0.5px;
  text-align: center;
}

.casa-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.casa-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tag-destacado { background: rgba(240,180,41,0.15); color: var(--accent-gold); }
.tag-sin-rollover { background: rgba(0,230,118,0.12); color: var(--accent-green); }
.tag-sin-deposito { background: rgba(0,212,255,0.12); color: var(--accent-cyan); }
.tag-nuevo { background: rgba(255,68,68,0.12); color: var(--accent-red); }
.tag-popular { background: rgba(156,39,176,0.15); color: #ce93d8; }

.casa-bono {
  text-align: center;
  padding: 0 20px;
  flex-shrink: 0;
}

.bono-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-gold);
  display: block;
  line-height: 1.1;
}

.bono-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
}

.casa-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--accent-gold);
  font-size: 0.85rem;
}

.star-empty { color: var(--text-muted); }

/* --- Score Badge --- */
.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1rem;
  border: 2px solid;
}

.score-9 { border-color: #00e676; color: #00e676; }
.score-8 { border-color: #69f0ae; color: #69f0ae; }
.score-7 { border-color: var(--accent-gold); color: var(--accent-gold); }
.score-6 { border-color: #ff9800; color: #ff9800; }

/* --- Pros Cons inline --- */
.pros-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.82rem;
}

.pros-list li::before { content: '✓ '; color: var(--accent-green); }
.pros-list li.con::before { content: '✗ '; color: var(--accent-red); }

/* --- Comparador Section --- */
.comparador-section {
  padding: 60px 20px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 30px;
  background: var(--bg-card);
  padding: 5px;
  border-radius: var(--radius);
  overflow-x: auto;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.tab-btn:hover { color: var(--text-primary); }

.tab-btn.active {
  background: var(--gradient-gold);
  color: #000;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th {
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(30,42,69,0.5);
  vertical-align: middle;
}

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

.compare-table .amount {
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1rem;
}

/* --- Top Picks Grid --- */
.top-picks {
  padding: 60px 20px;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.pick-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pick-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.pick-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.pick-logo {
  width: 52px;
  height: 52px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--accent-gold);
  text-align: center;
}

.pick-bono-main {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-gold);
}

.pick-bono-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pick-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.pick-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.pick-min-dep {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pick-min-dep span { color: var(--accent-green); font-weight: 600; }

/* --- Blog Section --- */
.blog-section {
  padding: 60px 20px;
  background: var(--bg-primary);
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: rgba(240,180,41,0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.blog-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.blog-body { padding: 20px; }

.blog-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.blog-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- FAQ --- */
.faq-section {
  padding: 60px 20px;
  background: var(--bg-secondary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  gap: 10px;
}

.faq-question:hover { color: var(--accent-gold); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 0 20px 18px;
  max-height: 300px;
}

/* --- Info Boxes --- */
.info-strip {
  padding: 40px 20px;
  background: var(--bg-primary);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.info-box .icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.info-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent-gold);
}

.info-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Footer --- */
footer {
  background: #050810;
  border-top: 1px solid var(--border);
  padding: 50px 20px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo { margin-bottom: 12px; font-size: 1.3rem; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--accent-gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-dgoj {
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-18-footer {
  background: rgba(255,68,68,0.1);
  border: 1px solid rgba(255,68,68,0.2);
  color: #ff4444;
  font-size: 0.85rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 4px;
}

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8,12,24,0.97);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 14px 40px;
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
  min-width: 220px;
}

.mobile-menu a:hover { background: var(--bg-card); color: var(--accent-gold); }
.mobile-menu .close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .casa-card {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
  }

  .casa-bono { padding: 0; }
  .casa-actions { flex-direction: row; }

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

@media (max-width: 640px) {
  .hero { padding: 50px 16px 60px; }
  .hero-stats { gap: 24px; }

  .casa-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rank-badge { display: none; }

  .casa-logo-name { gap: 10px; }

  .casa-bono {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .casa-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

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

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

  .footer-brand p { max-width: none; }

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

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

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,180,41,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(240,180,41,0); }
}

.animate-in { animation: fadeInUp 0.5s ease forwards; }

.pulse-gold { animation: pulse-gold 2s infinite; }
