:root {
  --bg: #050508;
  --accent: #a855f7;
  --accent-soft: rgba(168, 85, 247, 0.45);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.99)),
    url("https://www.motoamerica.com/wp-content/uploads/2021/12/Bagnaia-Rossi-Valencia-2021-Lean-Angle.jpeg")
      center/cover no-repeat fixed;
  color: var(--text-main);
  min-height: 100vh;
}

#preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #020617 0, #000 65%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 1000;
}

.preloader-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(148, 163, 184, 0.35);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-soft), 0 0 40px rgba(37, 99, 235, 0.35);
  animation: spin 1s linear infinite;
  position: relative;
}

.preloader-bike {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent);
  text-shadow: 0 0 16px var(--accent-soft);
}

.preloader-title {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
}

.preloader-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.page {
  opacity: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: opacity 0.9s ease;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}

.socials {
  display: flex;
  gap: 0.75rem;
  pointer-events: auto;
}

.socials a {
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  transition: 0.2s ease;
}

.socials a:hover {
  color: var(--accent);
  border-color: var(--accent-soft);
  box-shadow: 0 0 12px var(--accent-soft);
}

.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.title-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.4rem;
  text-align: left;
}

.eyebrow-main {
  position: absolute;
  top: -1rem;
  left: 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(156, 163, 175, 0.75);
  opacity: 0.85;
}

.motto-tag {
  margin-top: 0rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(221, 221, 221);
  opacity: 1;
}

.team-name {
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 18px var(--accent-soft), 0 0 36px rgba(37, 99, 235, 0.3);
  line-height: 0.95;
  margin-bottom: 0.1rem;
}

.divider-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
  padding: 0 1rem;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.team-desc {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-main);
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

@media (max-width: 640px) {
  .divider-wrap {
    flex-direction: column;
  }

  .divider-line {
    width: 100%;
  }

  .team-desc {
    white-space: normal;
  }
}

/* FLAT COMING SOON */
.coming-soon {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.coming-soon span:first-child {
  font-weight: 500;
}

.dots::after {
  content: "...";
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 0;
  animation: dotsMask 1.2s steps(4, end) infinite;
}

@keyframes dotsMask {
  0% {
    width: 0;
  }
  25% {
    width: 0.4em;
  }
  50% {
    width: 0.8em;
  }
  75% {
    width: 1.2em;
  }
  100% {
    width: 0;
  }
}
.long-desc-card {
  margin-top: 1.7rem;
  max-width: 640px;
  padding: 1.4rem 1.6rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: none;
  position: relative;
}

.long-desc-card::before,
.long-desc-card::after {
  display: none;
}
.long-desc-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.accent-bar {
  margin-top: 1rem;
  height: 2px;
  width: 120px;
  margin-inline: auto;
  background: var(--accent);
  opacity: 0.5;
  border-radius: 2px;
}

.accent-bar {
  margin-top: 1rem;
  height: 3px;
  width: 120px;
  margin-inline: auto;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
  box-shadow: 0 0 18px var(--accent-soft);
}
