/* === Splash Screen === */
#splashScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ff6300;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease;
}
#splashScreen.fade-out {
  opacity: 0;
  pointer-events: none;
}
.splash-logo {
  width: 300px;
  animation: fadeInScale 1.2s ease-out forwards;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* === Flash text (Rider Alert signup) === */
@keyframes flashTextEdgeColors {
  0%,100% { color: black; }
  50%     { color: #ff6300; }
}
#rider-alert-signup .flash-text {
  animation: flashTextEdgeColors 1s infinite;
  font-weight: bold;
}

/* === Sponsor logo scroll bar === */
.scroll-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  background: #f1f1f1;
  border-radius: 10px;
}
.scroll-container {
  display: flex;
  width: max-content;
  animation: seamless-scroll 30s linear infinite;
  gap: 2rem;
  align-items: center;
}
.scroll-container img {
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
}
@keyframes seamless-scroll {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* === EdgeMX App Popup === */
.emx-app-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.emx-app-popup-box {
  background: #fff;
  padding: 1.75rem;
  border-radius: 12px;
  text-align: center;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}
.emx-app-popup-box h2 {
  margin: 0 0 .5rem 0;
  font-size: 1.35rem;
  color: #ff6300;
}
.emx-app-popup-box p {
  margin: 0 0 .75rem 0;
  color: #333;
}
.emx-app-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: .5rem 0 .25rem;
}
.emx-app-buttons img {
  height: 48px;
  max-width: 180px;
}
.emx-app-actions {
  margin-top: .75rem;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.emx-app-btn {
  padding: .5rem 1.1rem;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.emx-app-btn.primary {
  background: #ff6300;
  color: #fff;
}
.emx-app-btn.secondary {
  background: #efefef;
  color: #333;
}
