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

:root {
  --bg: #050505;
  --bg-soft: #101010;
  --card: #161616;
  --card-2: #1f1f1f;
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --orange: #ff5a00;
  --orange-2: #ff7a18;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 90, 0, 0.18), transparent 32%),
    radial-gradient(circle at 90% 30%, rgba(255, 90, 0, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  z-index: -1;
}

/* SPLASH */

.splash {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 90, 0, 0.22), transparent 36%),
    #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  animation: splashOut 0.8s ease forwards;
  animation-delay: 2.4s;
}

.splash-content {
  text-align: center;
  padding: 24px;
  animation: pulseIn 1s ease forwards;
}

.splash h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 15vw, 7rem);
  line-height: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.splash h2 {
  margin-top: 10px;
  color: var(--orange);
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.loading-text {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* GENERAL */

.page {
  min-height: 100vh;
}

.section {
  padding: 72px 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-header h2 {
  margin-top: 8px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.2rem, 11vw, 4.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 28px 18px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.25), #050505 92%),
    linear-gradient(135deg, rgba(255, 90, 0, 0.18), transparent 45%),
    url("image(13).png");
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92), rgba(0,0,0,0.42)),
    radial-gradient(circle at 80% 20%, rgba(255, 90, 0, 0.22), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.hero h1 {
  margin-top: 16px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 18vw, 9rem);
  line-height: 0.86;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: var(--orange);
  font-size: clamp(1.7rem, 8vw, 4rem);
}

.race-lines {
  margin-top: 28px;
  display: grid;
  gap: 8px;
}

.race-lines p {
  width: fit-content;
  padding: 9px 14px;
  background: rgba(255, 90, 0, 0.12);
  border: 1px solid rgba(255, 90, 0, 0.45);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-phrase {
  margin-top: 28px;
  max-width: 560px;
  color: var(--text);
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #090909;
  box-shadow: 0 18px 38px rgba(255, 90, 0, 0.28);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.full {
  width: 100%;
}

/* CARDS */

.data-grid,
.category-list {
  display: grid;
  gap: 14px;
}

.data-card,
.category-card,
.inscription-box,
.community-box,
.results-box {
  background:
    linear-gradient(135deg, rgba(255, 90, 0, 0.08), transparent 36%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.data-card {
  padding: 22px;
}

.data-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.data-card strong {
  display: block;
  margin-top: 7px;
  font-size: 1.15rem;
}

.category-card {
  padding: 22px;
}

.category-card h3 {
  font-family: 'Anton', sans-serif;
  color: var(--orange);
  font-size: 1.7rem;
  text-transform: uppercase;
}

.category-card p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.inscription-box,
.community-box,
.results-box {
  padding: 24px;
}

.inscription-box h3 {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

.inscription-box p,
.community-box p,
.results-box p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.price-box {
  margin: 24px 0;
  padding: 20px;
  border-radius: 20px;
  background: #0c0c0c;
  border: 1px solid rgba(255, 90, 0, 0.4);
}

.price-box span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-box strong {
  display: block;
  margin-top: 4px;
  font-family: 'Anton', sans-serif;
  color: var(--orange);
  font-size: 3rem;
}

.small-note {
  font-size: 0.82rem;
}

/* FOOTER */

.footer {
  padding: 70px 18px 90px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.4rem, 12vw, 5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.footer p {
  margin-top: 14px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ANIMACIONES */

@keyframes splashOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes pulseIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVE */

@media (min-width: 720px) {
  .data-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .category-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 96px 28px;
  }

  .hero {
    padding: 40px 28px;
  }
}