/* ============================================================
   GLOBAL BLOBS (home page)
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.08) 0%, transparent 60%);
  top: -300px;
  left: -300px;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 120, 0, 0.06) 0%, transparent 60%);
  bottom: -150px;
  right: -150px;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../../assets/make_it_a_bit_more_202605160041.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-6) var(--space-7);
}

.hero__title {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-hero);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   RACERS SECTION
   ============================================================ */
.racers {
  padding-block: var(--space-8);
  position: relative;
  overflow: hidden;
  background: transparent;
}

.racers::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.13) 0%, transparent 65%);
  top: -300px;
  right: -200px;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
}

.racers .container {
  position: relative;
  z-index: 1;
}


.racers__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.racers__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text-primary);
  line-height: 1.0;
  letter-spacing: -0.01em;
}

.racers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.racer-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  cursor: default;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.7);
}

.racer-card__image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(204, 0, 0, 0.04) inset;
}

.racer-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* show placeholder bg when image 404s */
  min-height: 1px;
}


.racer-card__name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
  text-align: center;
  line-height: 1.2;
  max-width: none;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.5rem;
}

.racers__decor-lines {
  position: absolute;
  bottom: var(--space-5);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  transform: skewX(-8deg);
  pointer-events: none;
}

.racers__decor-lines .line {
  height: 2px;
  background: var(--color-red);
  opacity: 0.12;
  display: block;
}

/* ============================================================
   HOME CTA
   ============================================================ */
.home-cta {
  padding-block: var(--space-8);
  background: rgba(12, 12, 12, 0.88);
  -webkit-backdrop-filter: blur(32px);
  backdrop-filter: blur(32px);
  border-top: 3px solid var(--color-red);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204, 0, 0, 0.18) 0%, transparent 65%);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 50%;
}

.home-cta__label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-red);
  display: block;
  margin-bottom: var(--space-3);
}

.home-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}

.home-cta__btn {
  font-size: var(--text-lg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .racers__grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-3);
  }
}

@media (max-width: 479px) {
  .racers__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
