body.motoroad-home-loading {
  overflow: hidden;
}

.motoroad-home-overlay,
.motoroad-home-overlay * {
  box-sizing: border-box;
}

.motoroad-home-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 120%, rgba(90, 0, 0, 0.9), transparent 34%),
    radial-gradient(circle at 20% 18%, rgba(255, 0, 40, 0.10), transparent 24%),
    radial-gradient(circle at 80% 22%, rgba(255, 40, 60, 0.08), transparent 22%),
    linear-gradient(180deg, #020202 0%, #070709 40%, #030304 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.motoroad-home-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.motoroad-home-vignette,
.motoroad-home-road,
.motoroad-home-speedtunnel,
.motoroad-home-smoke,
.motoroad-home-sparks,
.motoroad-home-glow,
.motoroad-home-center,
.motoroad-home-lights,
.motoroad-home-wheel-left,
.motoroad-home-wheel-right,
.motoroad-home-road-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.motoroad-home-vignette {
  background:
    radial-gradient(circle at center, transparent 32%, rgba(0, 0, 0, 0.38) 72%, rgba(0, 0, 0, 0.86) 100%);
}

.motoroad-home-glow::before,
.motoroad-home-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.motoroad-home-glow::before {
  width: 38vw;
  height: 38vw;
  left: -10vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(180, 0, 25, 0.24), transparent 72%);
  animation: homeGlowFloat 6s ease-in-out infinite alternate;
}

.motoroad-home-glow::after {
  width: 32vw;
  height: 32vw;
  right: -8vw;
  bottom: 10vh;
  background: radial-gradient(circle, rgba(255, 30, 60, 0.18), transparent 72%);
  animation: homeGlowFloat 5s ease-in-out infinite alternate-reverse;
}

@keyframes homeGlowFloat {
  from {
    transform: translateY(-10px) scale(0.96);
  }
  to {
    transform: translateY(16px) scale(1.05);
  }
}

/* side red lights */
.motoroad-home-lights::before,
.motoroad-home-lights::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 22vw;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 40, 70, 0.9), transparent);
  filter: blur(6px);
  opacity: 0.75;
}

.motoroad-home-lights::before {
  left: -2%;
  transform: rotate(8deg);
  animation: sideBeamLeft 1.6s ease-in-out infinite alternate;
}

.motoroad-home-lights::after {
  right: -2%;
  transform: rotate(-8deg);
  animation: sideBeamRight 1.6s ease-in-out infinite alternate;
}

@keyframes sideBeamLeft {
  from {
    opacity: 0.25;
    transform: translateX(0) rotate(8deg) scaleX(0.8);
  }
  to {
    opacity: 0.85;
    transform: translateX(20px) rotate(8deg) scaleX(1.1);
  }
}

@keyframes sideBeamRight {
  from {
    opacity: 0.25;
    transform: translateX(0) rotate(-8deg) scaleX(0.8);
  }
  to {
    opacity: 0.85;
    transform: translateX(-20px) rotate(-8deg) scaleX(1.1);
  }
}

/* perspective road */
.motoroad-home-road {
  top: auto;
  bottom: 0;
  height: 48%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.08) 16%, rgba(0, 0, 0, 0.94) 100%);
}

.motoroad-home-road::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(44% 0%, 56% 0%, 90% 100%, 10% 100%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(30, 30, 34, 0.22), rgba(6, 6, 8, 0.96));
  box-shadow:
    inset 0 40px 60px rgba(255, 255, 255, 0.02),
    inset 0 -40px 80px rgba(0, 0, 0, 0.4);
}

.motoroad-home-road-lines::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7px;
  height: 48%;
  transform: translateX(-50%);
  clip-path: polygon(45% 0%, 55% 0%, 100% 100%, 0% 100%);
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.95) 0 16px,
    transparent 16px 40px
  );
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.15))
    drop-shadow(0 0 18px rgba(255, 20, 50, 0.22));
  animation: roadDash 0.38s linear infinite;
}

@keyframes roadDash {
  from {
    background-position-y: 0;
  }
  to {
    background-position-y: 40px;
  }
}

/* speed tunnel */
.motoroad-home-speedtunnel span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 22vh;
  transform-origin: center bottom;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 30, 60, 0.85),
    rgba(255, 255, 255, 0)
  );
  filter: blur(1px);
  opacity: 0;
  animation: tunnelRush 1.2s linear infinite;
}

.motoroad-home-speedtunnel span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(-70deg);
  animation-delay: 0s;
}
.motoroad-home-speedtunnel span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-50deg);
  animation-delay: 0.1s;
}
.motoroad-home-speedtunnel span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-30deg);
  animation-delay: 0.2s;
}
.motoroad-home-speedtunnel span:nth-child(4) {
  transform: translate(-50%, -50%) rotate(-10deg);
  animation-delay: 0.3s;
}
.motoroad-home-speedtunnel span:nth-child(5) {
  transform: translate(-50%, -50%) rotate(10deg);
  animation-delay: 0.4s;
}
.motoroad-home-speedtunnel span:nth-child(6) {
  transform: translate(-50%, -50%) rotate(30deg);
  animation-delay: 0.5s;
}
.motoroad-home-speedtunnel span:nth-child(7) {
  transform: translate(-50%, -50%) rotate(50deg);
  animation-delay: 0.6s;
}
.motoroad-home-speedtunnel span:nth-child(8) {
  transform: translate(-50%, -50%) rotate(70deg);
  animation-delay: 0.7s;
}

@keyframes tunnelRush {
  0% {
    opacity: 0;
    height: 5vh;
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    height: 48vh;
  }
}

/* spinning wheels */
.motoroad-home-wheel-left::before,
.motoroad-home-wheel-right::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  top: 58%;
  margin-top: -110px;
  border: 4px solid rgba(255, 40, 70, 0.22);
  box-shadow:
    0 0 24px rgba(255, 20, 40, 0.18),
    inset 0 0 24px rgba(255, 30, 60, 0.08);
  opacity: 0.46;
  animation: wheelSpin 1.2s linear infinite;
}

.motoroad-home-wheel-left::after,
.motoroad-home-wheel-right::after {
  content: "";
  position: absolute;
  width: 146px;
  height: 146px;
  border-radius: 50%;
  top: 58%;
  margin-top: -73px;
  border: 2px dashed rgba(255, 255, 255, 0.12);
  opacity: 0.45;
  animation: wheelSpinReverse 1.6s linear infinite;
}

.motoroad-home-wheel-left::before {
  left: 4%;
}
.motoroad-home-wheel-left::after {
  left: calc(4% + 37px);
}

.motoroad-home-wheel-right::before {
  right: 4%;
}
.motoroad-home-wheel-right::after {
  right: calc(4% + 37px);
}

@keyframes wheelSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes wheelSpinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

/* smoke */
.motoroad-home-smoke span {
  position: absolute;
  bottom: -100px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025) 52%, transparent 72%);
  filter: blur(20px);
  opacity: 0;
  animation: smokeRise 6.5s linear infinite;
}

.motoroad-home-smoke span:nth-child(1) {
  left: 8%;
  animation-delay: 0s;
}
.motoroad-home-smoke span:nth-child(2) {
  left: 20%;
  animation-delay: 1.4s;
}
.motoroad-home-smoke span:nth-child(3) {
  left: 43%;
  animation-delay: 2.2s;
}
.motoroad-home-smoke span:nth-child(4) {
  left: 70%;
  animation-delay: 0.8s;
}
.motoroad-home-smoke span:nth-child(5) {
  left: 84%;
  animation-delay: 1.8s;
}

@keyframes smokeRise {
  0% {
    transform: translateY(0) scale(0.7);
    opacity: 0;
  }
  18% {
    opacity: 0.2;
  }
  60% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(-560px) scale(1.9);
    opacity: 0;
  }
}

/* sparks */
.motoroad-home-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ff5c78 42%, transparent 76%);
  box-shadow: 0 0 14px rgba(255, 60, 90, 0.65);
  opacity: 0;
  animation: sparkFly 1.5s linear infinite;
}

.motoroad-home-spark:nth-child(1) {
  left: 22%;
  top: 70%;
  animation-delay: 0s;
}
.motoroad-home-spark:nth-child(2) {
  left: 28%;
  top: 66%;
  animation-delay: 0.22s;
}
.motoroad-home-spark:nth-child(3) {
  left: 34%;
  top: 72%;
  animation-delay: 0.42s;
}
.motoroad-home-spark:nth-child(4) {
  left: 66%;
  top: 64%;
  animation-delay: 0.1s;
}
.motoroad-home-spark:nth-child(5) {
  left: 72%;
  top: 69%;
  animation-delay: 0.3s;
}
.motoroad-home-spark:nth-child(6) {
  left: 79%;
  top: 66%;
  animation-delay: 0.54s;
}

@keyframes sparkFly {
  0% {
    transform: translate(0, 0) scale(0.4);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate(95px, -90px) scale(1.45);
    opacity: 0;
  }
}

/* content */
.motoroad-home-center {
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.motoroad-home-card {
  position: relative;
  width: min(920px, 100%);
  max-width: 920px;
  padding: 52px 34px 34px;
  border-radius: 30px;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 0 0 1px rgba(255, 30, 60, 0.08) inset,
    0 0 50px rgba(120, 0, 20, 0.16),
    0 24px 80px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.94) translateY(14px);
  animation: cardIn 0.9s ease forwards;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.motoroad-home-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(90deg, rgba(255, 0, 40, 0), rgba(255, 70, 90, 0.95), rgba(255, 0, 40, 0));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderSpin 2.8s linear infinite;
}

@keyframes borderSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.motoroad-home-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.motoroad-home-logo {
  display: block;
  width: 154px;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(255, 40, 70, 0.18))
    drop-shadow(0 0 20px rgba(255, 40, 70, 0.10));
}

.motoroad-home-title-top {
  margin: 0;
  font-size: clamp(26px, 4.7vw, 54px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.05),
    0 0 18px rgba(255, 20, 40, 0.06);
}

.motoroad-home-title-bottom {
  margin: 8px 0 0;
  font-size: clamp(34px, 6vw, 78px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #ffd0d7 24%, #ff677f 60%, #bd001f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 10px rgba(255, 40, 70, 0.08),
    0 0 28px rgba(255, 40, 70, 0.14);
  animation: titlePulse 1.6s ease-in-out infinite alternate;
}

@keyframes titlePulse {
  from {
    transform: scale(0.986);
    filter: drop-shadow(0 0 10px rgba(255, 30, 60, 0.12));
  }
  to {
    transform: scale(1.014);
    filter: drop-shadow(0 0 18px rgba(255, 30, 60, 0.26));
  }
}

.motoroad-home-line {
  width: min(430px, 82%);
  height: 4px;
  margin: 18px auto 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #ff2448, #ff8a9d, #ff2448, transparent);
  background-size: 200% 100%;
  box-shadow: 0 0 18px rgba(255, 40, 70, 0.22);
  animation: lineRun 1.5s linear infinite;
}

@keyframes lineRun {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 200% 0;
  }
}

.motoroad-home-tagline {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(15px, 2vw, 24px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 600;
}

.motoroad-home-status {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  animation: statusBlink 0.8s ease-in-out infinite alternate;
}

@keyframes statusBlink {
  from {
    opacity: 0.48;
  }
  to {
    opacity: 1;
  }
}

.motoroad-home-countdown {
  margin-top: 14px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
  color: #ff6b82;
  text-shadow: 0 0 14px rgba(255, 40, 70, 0.18);
}

@media (max-width: 900px) {
  .motoroad-home-wheel-left::before,
  .motoroad-home-wheel-right::before {
    width: 160px;
    height: 160px;
    margin-top: -80px;
  }

  .motoroad-home-wheel-left::after,
  .motoroad-home-wheel-right::after {
    width: 108px;
    height: 108px;
    margin-top: -54px;
  }

  .motoroad-home-card {
    padding: 40px 22px 28px;
  }
}

@media (max-width: 640px) {
  .motoroad-home-center {
    padding: 14px;
  }

  .motoroad-home-card {
    width: 100%;
    padding: 28px 16px 24px;
    border-radius: 22px;
  }

  .motoroad-home-card::before {
    border-radius: 24px;
  }

  .motoroad-home-logo {
    width: 150px !important;
    max-width: none !important;
    height: auto !important;
  }

  .motoroad-home-wheel-left::before,
  .motoroad-home-wheel-right::before,
  .motoroad-home-wheel-left::after,
  .motoroad-home-wheel-right::after {
    display: none;
  }

  .motoroad-home-title-top {
    font-size: clamp(18px, 4.5vw, 26px);
    letter-spacing: 1.4px;
  }

  .motoroad-home-title-bottom {
    font-size: clamp(26px, 7vw, 42px);
    letter-spacing: 2px;
  }

  .motoroad-home-tagline {
    font-size: 15px;
  }

  .motoroad-home-status {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .motoroad-home-countdown {
    font-size: 16px;
  }

  .motoroad-home-road {
    height: 38%;
  }

  .motoroad-home-speedtunnel span {
    height: 16vh;
  }

  .motoroad-home-lights::before,
  .motoroad-home-lights::after {
    width: 34vw;
    height: 3px;
    top: 48%;
  }

  .motoroad-home-smoke span {
    width: 110px;
    height: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motoroad-home-overlay *,
  .motoroad-home-overlay::before,
  .motoroad-home-overlay::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}