/* =========== RESET & BASE =========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  background: #0d0d1a;
  color: #e8e8f0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =========== TYPE =========== */
h1, h2, h3 { font-family: 'Oswald', 'Impact', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========== SECTION =========== */
.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.section-dark {
  background: #111122;
}
.section-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  color: #e10600;
  border: 1px solid #e10600;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}
.section-sub {
  color: #888;
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* =========== BUTTONS =========== */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.btn-primary {
  background: #e10600;
  color: #fff;
  border: 2px solid #e10600;
}
.btn-primary:hover {
  background: #ff1a1a;
  border-color: #ff1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225,6,0,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: #e10600;
  color: #e10600;
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* =========== HERO =========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230d0d1a"/><circle cx="20" cy="30" r="1.5" fill="%23ffffff" opacity="0.08"/><circle cx="80" cy="15" r="1.5" fill="%23ffffff" opacity="0.08"/><circle cx="50" cy="75" r="1.5" fill="%23ffffff" opacity="0.08"/><circle cx="90" cy="60" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="80" r="1" fill="%23ffffff" opacity="0.05"/></svg>') repeat;
  background-size: 100px 100px;
  background-color: #0d0d1a;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(225,6,0,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 30% 50%, rgba(225,6,0,0.04) 0%, transparent 50%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: #e10600;
  margin-bottom: 0.5rem;
}
.hero-title {
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.9;
  color: #fff;
  margin-bottom: 0.5rem;
}
.hero-age {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: #e10600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.1rem;
  color: #999;
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.helmet-icon svg {
  width: 320px;
  height: 320px;
  filter: drop-shadow(0 0 60px rgba(225,6,0,0.2));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.checkered-flag {
  position: absolute;
  width: 120px;
  height: 80px;
  background: repeating-conic-gradient(#fff 0% 25%, #111 0% 50%) 0 0 / 20px 20px;
  bottom: 0;
  right: 10%;
  opacity: 0.15;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #555;
  font-size: 0.75rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  animation: bounce 2s infinite;
}
.scroll-indicator svg { animation: arrowBounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes arrowBounce { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* =========== ABOUT =========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  color: #999;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.stats-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #e10600;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.about-image .img-placeholder {
  border-radius: 16px;
  overflow: hidden;
  max-width: 400px;
}
.about-image svg { display: block; width: 100%; height: auto; }

/* =========== RESULTS =========== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.result-card {
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.result-card:hover {
  background: rgba(225,6,0,0.05);
  border-color: rgba(225,6,0,0.2);
  transform: translateY(-3px);
}
.result-pos {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #e10600;
  min-width: 60px;
  display: flex;
  align-items: center;
}
.result-body h3 {
  margin-bottom: 0.3rem;
  color: #e8e8f0;
}
.result-body p {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.result-date {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =========== GALLERY =========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item { border-radius: 12px; overflow: hidden; }
.gallery-wide { grid-column: span 2; }
.gallery-placeholder {
  aspect-ratio: 4/3;
  background: #1e1e32;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.9rem;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.gallery-wide .gallery-placeholder { aspect-ratio: 16/9; }
.gallery-placeholder:hover {
  border-color: rgba(225,6,0,0.3);
  background: #252540;
}

/* =========== CONTACT =========== */
.contact-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-box p {
  color: #999;
  margin-bottom: 2rem;
}

/* =========== FOOTER =========== */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.footer-logo {
  font-size: 1.8rem;
  color: #e10600;
}
.footer-num {
  color: #fff;
}
.footer-tagline {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: #444;
}

/* =========== RESPONSIVE =========== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .helmet-icon svg { width: 200px; height: 200px; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { display: flex; justify-content: center; }
  .about-image .img-placeholder { max-width: 300px; }
  .results-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.5rem, 15vw, 3.5rem); }
  .stats-row { gap: 1.5rem; }
  .stat-num { font-size: 1.8rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: 1; }
}