/* ===== Italian Import Racing — Coming Soon ===== */
/* Guía de marca: rojo F1 #E30613 · dark #1A1A1A · Nunito */

:root {
  --accent: #E30613;
  --accent-dark: #C80510;
  --dark: #1A1A1A;
  --dark-2: #111111;
  --it-green: #008C45;
  --it-white: #F4F5F0;
  --it-red: #CD212A;
  --text: #F5F5F5;
  --text-muted: #A3A3A3;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: "Nunito", system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, #242424 0%, var(--dark) 45%, var(--dark-2) 100%);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Franja a cuadros ===== */
.checkered-bar {
  height: 14px;
  width: 100%;
  background-image:
    linear-gradient(45deg, var(--dark) 25%, transparent 25%),
    linear-gradient(-45deg, var(--dark) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--dark) 75%),
    linear-gradient(-45deg, transparent 75%, var(--dark) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  background-color: #ffffff;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 22px;
}

.glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 620px;
  height: 620px;
  max-width: 90vw;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.22) 0%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero > *:not(.glow) {
  position: relative;
  z-index: 1;
}

.logo {
  width: min(460px, 80vw);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.5));
  animation: fadeInDown 0.8s ease both;
}

/* ===== Bandera italiana ===== */
.flag {
  display: flex;
  width: min(220px, 60vw);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.flag span { flex: 1; }
.flag-green { background: var(--it-green); }
.flag-white { background: var(--it-white); }
.flag-red { background: var(--it-red); }

/* ===== Títulos ===== */
.title {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff 0%, #ffd0d3 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 600;
  color: var(--text-muted);
  animation: fadeInUp 0.8s 0.2s ease both;
}

/* ===== Countdown ===== */
.countdown {
  display: flex;
  gap: clamp(10px, 3vw, 24px);
  margin-top: 8px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: clamp(64px, 18vw, 96px);
  padding: 16px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.count-num {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fff;
}

.count-label {
  font-size: clamp(0.65rem, 2vw, 0.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/* ===== Tagline ===== */
.tagline {
  max-width: 480px;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.5;
  animation: fadeInUp 0.8s 0.4s ease both;
}

/* ===== Redes sociales ===== */
.social {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  animation: fadeInUp 0.8s 0.5s ease both;
}

.social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social a:hover {
  transform: translateY(-3px);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 18px 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
