@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --black: #000000;
  --black-light: #09090b;
  --gray-dark: #111113;
  --gray: #1a1a1a;
  --gray-light: #2a2a2a;
  --gray-lighter: #3a3a3a;
  --white: #ffffff;
  --red: #EF4444;
  --red-dark: #DC2626;
  --red-light: #f87171;
  --red-shadow: rgba(239, 68, 68, 0.16);
  --red-glow: rgba(239, 68, 68, 0.3);
  --gold: #fbbf24;
  --gold-dark: #f59e0b;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

.gradient-text {
  background: linear-gradient(135deg, var(--white) 0%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-bg {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in-up-d1 { animation: fadeInUp 0.6s ease-out 0.15s forwards; opacity: 0; }
.animate-fade-in-up-d2 { animation: fadeInUp 0.6s ease-out 0.3s forwards; opacity: 0; }
.animate-fade-in-up-d3 { animation: fadeInUp 0.6s ease-out 0.45s forwards; opacity: 0; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  border: 2px solid var(--red);
  box-shadow: 0 4px 15px var(--red-shadow);
  cursor: pointer;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px var(--red-glow);
  border-color: var(--white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  border: 2px solid var(--red);
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--red);
  transform: scale(1.05);
  box-shadow: 0 6px 25px var(--red-glow);
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--red-shadow);
  border-color: var(--red) !important;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #EF4444;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-link:hover { color: #EF4444; }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(239,68,68,0.3);
  background: #1a1a1a;
  padding: 16px 20px;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu.active { display: flex; }

/* Hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(239,68,68,0.15));
}

/* Ranking */
.featured-card {
  background: linear-gradient(135deg, #1a1a0a 0%, #0a0a00 100%);
  border: 2px solid #fbbf24;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(251,191,36,0.12), 0 0 120px rgba(251,191,36,0.06);
}
.rank-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; flex-shrink: 0;
}
.rank-1 { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #000; box-shadow: 0 4px 15px rgba(251,191,36,0.35); }
.rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); color: #000; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }
.rank-default { background: linear-gradient(135deg, #3a3a3a, #2a2a2a); color: var(--white); }

.platform-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
}
.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 12px 40px var(--red-shadow);
}
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 20px;
}
.platform-tag {
  display: inline-block;
  background: rgba(239,68,68,0.08);
  color: #f87171;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid rgba(239,68,68,0.15);
}
.featured-tag {
  display: inline-block;
  background: rgba(239,68,68,0.1);
  color: #f87171;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(239,68,68,0.2);
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }

/* Info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.info-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 14px;
  padding: 32px 28px;
  transition: all 0.25s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.info-icon {
  width: 56px; height: 56px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #EF4444;
  margin-bottom: 20px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step-number {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff;
  box-shadow: 0 4px 24px rgba(239,68,68,0.3);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.step-line {
  position: absolute;
  top: 32px;
  left: 60%; right: -40%;
  height: 2px;
  background: linear-gradient(90deg, #EF4444, rgba(239,68,68,0.1));
}

/* FAQ */
.faq-item {
  background: var(--gray);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--red); }
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(239, 68, 68, 0.06); }
.faq-icon {
  font-size: 24px;
  color: var(--red);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}
.faq-answer p {
  padding: 0 24px 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  border-top: 2px solid #EF4444;
  padding: 64px 20px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}
.footer-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  display: block;
  padding-bottom: 10px;
}
.footer-link:hover { color: #EF4444; }
.whatsapp-btn {
  display: inline-block;
  background: #EF4444;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px var(--red-glow);
}

/* Legal pages */
.legal-container {
  padding: 120px 20px 80px;
  background: #000;
  min-height: 100vh;
}
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: #1a1a1a;
  border: 1px solid #EF4444;
  border-radius: 12px;
  padding: 48px;
}
.legal-content h1 {
  font-size: clamp(32px, 5vw, 42px);
  margin-bottom: 30px;
  font-weight: 700;
}
.legal-content h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 700;
}
.legal-content p {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 15px;
}
.legal-content ul {
  margin-left: 24px;
  margin-bottom: 20px;
  list-style-type: disc;
}
.legal-content li {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 8px;
  font-size: 15px;
}
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #EF4444;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.back-link:hover { color: var(--white); }
.legal-divider {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(239,68,68,0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; }
  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-line { display: none; }
  .platforms-grid { grid-template-columns: 1fr; }
  .legal-content { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
}
