/* anti-fast CSS muehehe */

/* Apply Commissioner font to elements, but exclude navbar elements */
html,
body,
*:not(.navbar, .navbar *, .navbar-brand, .nav-link, .nav-item),
*:not(i):not(.navbar, .navbar *, .navbar-brand, .nav-link, .nav-item) {
  font-family: "Commissioner", sans-serif !important;
}

:root {
  --main-bg: #23242b;
  --section-bg: #232936;
  --card-bg: #181c24;
  --footer-bg: #11131a;
  --text-light: #f5f6fa;
  --text-subtle: #e3e6f3;
  --text-muted: #bfc6d8;
  --accent: #7ecfff;
  --accent2: #5865f2;
  --danger: #d32f2f;
  --support: #ff424d;
  --status: #00c853;
  --white: #fff;
  --navbar-bg: #232936;
  --navbar-border: #31374a;
  --navbar-text: #f5f6fa;
  --navbar-hover-text: #ffffff;
  --navbar-hover-bg: rgba(255, 255, 255, 0.1);
  --dropdown-bg: #181c24;
  --dropdown-border: #31374a;
  --dropdown-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

body {
  background-color: var(--main-bg);
  color: var(--text-light);
}

.wrapper.bg-light {
  background-color: var(--main-bg) !important;
}

.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding-top: 60px; /* Add padding instead of negative margin to properly position content */
}
.hero-title {
  color: var(--white);
  font-size: 3.5rem;
  text-shadow: 0 2px 8px #000;
  letter-spacing: 2px;
}

.hero-cta {
  margin-top: 2rem;
}

.btn-hero {
  background: linear-gradient(135deg, #ff9f43 0%, #ffb347 100%);
  border: none;
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: "Commissioner", sans-serif;
  letter-spacing: 1px;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(255, 159, 67, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  animation-delay: 0.6s;
}
.btn-hero:hover,
.btn-hero:focus {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 40px rgba(255, 159, 67, 0.4);
  color: var(--white);
  text-decoration: none;
}
.btn-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}
.btn-hero:hover::before {
  left: 100%;
}

.card {
  background-color: var(--card-bg);
  border: none;
  border-radius: 8px;
  will-change: transform;
  transform: translateY(0) translateX(0) rotate(0deg) scale(1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.card:hover {
  transform: translate3d(0, -12px, 0) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3) !important;
}
.card-body h5 {
  color: var(--white);
}
.card-body p {
  color: var(--text-light);
}

.why-section .card {
  background-color: var(--card-bg) !important;
  border: none !important;
  border-radius: 8px !important;
  will-change: transform, box-shadow, filter;
  transform: translateY(0) translateX(0) rotate(0deg) scale(1) !important;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s cubic-bezier(0.22, 1, 0.36, 1), background 0.38s !important;
  box-shadow: 0 2px 12px 0 rgba(30, 40, 80, 0.1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.98) !important;
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.why-section .card.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1) !important;
  visibility: visible;
}
.why-section .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 60% 40%,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 70%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
}
.why-section .card:hover,
.why-section .card:focus {
  transform: translateY(-10px) scale(1.045) rotate(-0.7deg) !important;
  box-shadow: 0 12px 32px 0 rgba(255, 159, 67, 0.13),
    0 2px 12px 0 rgba(255, 66, 77, 0.07) !important;
  filter: brightness(1.04) saturate(1.06);
  background-color: #232936 !important;
}
.why-section .card:hover::before,
.why-section .card:focus::before {
  opacity: 1;
}
.why-section .card .card-title {
  position: relative;
  z-index: 1;
}
.why-section .card .card-text {
  position: relative;
  z-index: 1;
}

.why-section .card,
.card {
  transition: all 0.4s ease-out !important;
  transform-origin: center bottom !important;
}
.why-section .card:hover,
.card:hover {
  transform: translateY(-8px) translateX(8px) rotate(-1deg) scale(1.05) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3) !important;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.fade-in-section {
  opacity: 0;
  animation: fadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.2s;
}
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.4s;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-badge {
  display: inline-block;
  background: linear-gradient(135deg, #232936 0%, #1e2228 50%, #23242b 100%);
  color: var(--white);
  font-family: "Commissioner", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 16px;
  padding: 0.8em 1.5em;
  margin: 0.3em 0.25em;
  box-shadow: 0 4px 20px rgba(255, 159, 67, 0.15), 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid #ff9f43;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: mapBadgeIn 0.6s ease-out forwards;
  overflow: hidden;
  /* Hardware acceleration optimizations */
  backface-visibility: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
}
.map-badge:nth-child(1) {
  animation-delay: 0.1s;
}
.map-badge:nth-child(2) {
  animation-delay: 0.15s;
}
.map-badge:nth-child(3) {
  animation-delay: 0.2s;
}
.map-badge:nth-child(4) {
  animation-delay: 0.25s;
}
.map-badge:nth-child(5) {
  animation-delay: 0.3s;
}
.map-badge:nth-child(6) {
  animation-delay: 0.35s;
}
.map-badge:nth-child(7) {
  animation-delay: 0.4s;
}
.map-badge:nth-child(8) {
  animation-delay: 0.45s;
}

/* Performance optimizations for map badges */
.map-badge {
  /* Hardware acceleration optimizations */
  backface-visibility: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* Optimized hover states to reduce repaints */
.map-badge:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 6px 24px rgba(255, 159, 67, 0.2), 0 3px 12px rgba(0, 0, 0, 0.25);
  border-color: #ffb347;
  background: linear-gradient(135deg, #ff9f43 0%, #ffb347 50%, #ff9f43 100%);
  color: var(--white);
}

/* Reduce animations on lower-end devices */
@media (max-width: 1024px) and (max-height: 768px) {
  .map-badge {
    animation-duration: 0.4s;
  }

  .map-badge:nth-child(n) {
    animation-delay: calc(var(--badge-index, 0) * 0.03s);
  }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
  .map-badge {
    /* Further performance optimizations for mobile */
    transform: translateY(10px) scale(0.98);
    animation: mapBadgeInMobile 0.3s ease-out forwards;
  }

  /* Disable complex effects on very small screens */
  .map-badge::before {
    display: none !important;
  }

  .map-badge:hover::before {
    display: none !important;
  }
}

/* Battery saving mode optimization */
@media (prefers-reduced-motion: reduce) {
  .map-badge,
  .map-badge:hover {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

@keyframes mapBadgeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Maps Section Animations */
.maps-title {
  opacity: 0;
  transform: translateY(20px);
  animation: titleFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-alert-premium {
  background: linear-gradient(135deg, #232936 0%, #1e2228 100%);
  border: 2px solid #ff9f43;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin: 1rem auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(255, 159, 67, 0.1);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: mapAlertFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s
    forwards;
  position: relative;
  overflow: hidden;
}

.map-alert-icon {
  display: inline-block;
  margin-right: 0.75rem;
  color: #ff9f43;
  font-size: 1.3rem;
  opacity: 0;
  transform: scale(0.5) rotate(-15deg);
  animation: mapAlertIconPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1.4s
    forwards;
}

.map-alert-link {
  color: #ff9f43;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.map-alert-link:hover {
  color: #ffb347;
  border-bottom-color: #ffb347;
  text-decoration: none;
}

.patron-card {
  background: #181c24;
  color: var(--white);
  border-radius: 16px;
  min-width: 200px;
  max-width: 240px;
  margin: 0 0.7em 1.3em 0.7em;
  padding: 1.7em 1.2em 1.2em 1.2em;
  box-shadow: 0 6px 32px 0 rgba(30, 40, 80, 0.18);
  align-items: center;
  border-bottom: 6px solid var(--main-accent);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: visible;
  display: flex;
}
.patron-card.fan {
  border-bottom: 6px solid var(--main-accent);
}
.patron-card.driver {
  border-bottom: 6px solid var(--support);
}
.patron-card .patron-avatar {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #31374a;
  margin-bottom: 1em;
  box-shadow: 0 2px 10px 0 rgba(30, 40, 80, 0.13);
  background: #232936;
  transition: box-shadow 0.38s, border-color 0.38s;
}
.patron-card .patron-avatar-fallback {
  width: 84px;
  height: 84px;
  background: #232936;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 1em;
  border: 3px solid #31374a;
}
.patron-card .patron-name {
  color: var(--white);
  font-family: "Commissioner", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  text-decoration: none;
  text-align: center;
  display: block;
  letter-spacing: 0.5px;
  transition: color 0.22s;
}
.patron-card .patron-role {
  font-size: 1.08rem;
  margin-top: 0.22em;
  font-family: "Commissioner", sans-serif;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-align: center;
  border-radius: 10px;
  padding: 4px 18px 4px 18px;
  display: inline-block;
  margin-bottom: 0.1em;
  box-shadow: 0 1px 6px 0 rgba(255, 179, 71, 0.1);
  border: 2px solid;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.patron-card .patron-role.fan {
  color: var(--main-accent);
  background: rgba(255, 179, 71, 0.13);
  border-color: var(--main-accent);
}
.patron-card .patron-role.driver {
  color: var(--support);
  background: rgba(255, 66, 77, 0.13);
  border-color: var(--support);
}
.patron-card:hover,
.patron-card:focus {
  transform: translateY(-12px) scale(1.045) rotate(-0.7deg);
  box-shadow: 0 18px 48px 0 rgba(255, 179, 71, 0.13),
    0 4px 18px 0 rgba(255, 66, 77, 0.09);
  background: #20222b;
}
.patron-card:hover .patron-avatar,
.patron-card:focus .patron-avatar {
  box-shadow: 0 6px 24px 0 rgba(255, 179, 71, 0.13);
  border-color: var(--main-accent);
}
.patron-card.driver:hover .patron-avatar,
.patron-card.driver:focus .patron-avatar {
  border-color: var(--support);
}
.patron-card .patron-name:hover,
.patron-card .patron-name:focus {
  color: var(--main-accent);
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .patron-card {
    min-width: 160px;
    max-width: 180px;
    padding: 1.2em 0.8em 1em 0.8em;
  }
  .patron-card .patron-avatar,
  .patron-card .patron-avatar-fallback {
    width: 64px;
    height: 64px;
  }
}
@media (max-width: 767.98px) {
  .patron-card {
    min-width: 120px;
    max-width: 140px;
    padding: 0.8em 0.5em 0.7em 0.5em;
  }
  .patron-card .patron-avatar,
  .patron-card .patron-avatar-fallback {
    width: 48px;
    height: 48px;
  }
}

main.container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.maps-title {
  color: var(--white) !important;
  font-family: "Commissioner", sans-serif;
  letter-spacing: 2px;
  font-size: 2.5rem;
}

.patrons-scroll-container {
  width: 100%;
  display: flex;
  justify-content: center;
}
.patrons-scroll-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: flex-start;
  gap: 1.2em 0.5em;
  width: 100%;
}
@media (max-width: 991.98px) {
  .patrons-scroll-inner {
    justify-content: center !important;
    gap: 1em 0.5em;
  }
}
@media (max-width: 767.98px) {
  .patrons-scroll-inner {
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 0.7em 0.3em;
  }
}

.custom-footer {
  background: linear-gradient(120deg, #181c24 60%, #232936 100%);
  color: var(--text-light);
  font-family: "Commissioner", sans-serif;
  border-top: 2px solid #232936;
  box-shadow: 0 -2px 24px 0 rgba(30, 40, 80, 0.1);
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.custom-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 60% 0%,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 159, 67, 0.04) 60%,
    transparent 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.custom-footer:hover::before,
.custom-footer:focus-within::before {
  opacity: 1;
}
.custom-footer .widget-title {
  color: var(--white);
  font-size: 1.15rem;
  font-family: "Commissioner", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  transition: color 0.3s;
}
.custom-footer .widget-title:hover,
.custom-footer .widget-title:focus {
  color: #ff9f43;
}
.custom-footer .widget p,
.custom-footer .widget ul {
  color: var(--text-muted);
  font-size: 1rem;
}
.custom-footer .widget ul li a {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.18s, text-shadow 0.3s;
  position: relative;
  z-index: 2;
}
.custom-footer .widget ul li a:hover,
.custom-footer .widget ul li a:focus {
  color: #ff9f43;
  text-decoration: underline;
  text-shadow: 0 2px 8px #ff9f4344;
}
.custom-footer .btn-red,
.custom-footer .btn-primary {
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.22s;
  box-shadow: 0 2px 8px 0 rgba(255, 66, 77, 0.1);
  font-weight: 600;
  border-radius: 8px;
  isolation: isolate;
}
.custom-footer .btn-red::after,
.custom-footer .btn-primary::after {
  content: "";
  position: absolute;
  left: -60%;
  top: 0;
  width: 220%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  opacity: 0.7;
  transform: skewX(-18deg) translateX(-40%);
  animation: footer-btn-shine 2.8s infinite linear;
  pointer-events: none;
  z-index: 1;
}
@keyframes footer-btn-shine {
  0% {
    transform: skewX(-18deg) translateX(-40%);
    opacity: 0.7;
  }
  60% {
    opacity: 0.7;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: skewX(-18deg) translateX(100%);
    opacity: 0;
  }
}
.custom-footer .btn-red {
  background: #ff424d;
  color: #fff;
  border: none;
}
.custom-footer .btn-primary {
  background: #5865f2;
  color: #fff;
  border: none;
}
.custom-footer .btn-discord {
  background: #5865f2;
  color: #fff;
  border: none;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.22s;
  box-shadow: 0 2px 8px 0 rgba(88, 101, 242, 0.13);
  font-weight: 600;
  border-radius: 8px;
  isolation: isolate;
}
.custom-footer .btn-discord::after {
  content: "";
  position: absolute;
  left: -60%;
  top: 0;
  width: 220%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  opacity: 0.7;
  transform: skewX(-18deg) translateX(-40%);
  animation: footer-btn-shine 2.8s infinite linear;
  pointer-events: none;
  z-index: 1;
}
.custom-footer .social a {
  color: #ff9f43;
  font-size: 1.6rem;
  margin-right: 0.7em;
  transition: color 0.18s, transform 0.18s;
  display: inline-block;
  position: relative;
  z-index: 2;
}
.custom-footer .social a:last-child {
  margin-right: 0;
}
.custom-footer .social a:hover,
.custom-footer .social a:focus {
  color: #ff424d;
  transform: scale(1.18) rotate(-7deg);
  filter: drop-shadow(0 0 8px #ff9f4344);
}
.custom-footer hr {
  border-color: #232936;
  opacity: 0.5;
}
@media (max-width: 991.98px) {
  .custom-footer {
    padding-top: 1.2rem;
    padding-bottom: 0.7rem;
    font-size: 0.98rem;
  }
  .custom-footer .widget-title {
    font-size: 1.08rem;
  }
  .custom-footer .social a {
    font-size: 1.3rem;
    margin-right: 0.5em;
  }
}
@media (max-width: 767.98px) {
  .custom-footer .row > div {
    margin-bottom: 1.2rem;
  }
  .custom-footer .widget-title {
    font-size: 1rem;
  }
}

section.patrons-section {
  padding-bottom: 0.5rem !important;
  margin-bottom: 0 !important;
}
.patrons-scroll-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.container-fluid.px-0 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
section.patrons-section.py-5 {
  padding-top: 2rem !important;
  padding-bottom: 0.5rem !important;
}

/* Section Spacing Adjustments */
section.wrapper.bg-light.py-5.fade-in-section.fade-in:nth-of-type(2) {
  padding-bottom: 2rem !important;
}

section.wrapper.bg-light.py-5.fade-in-section.fade-in:nth-of-type(3) {
  padding-top: 2rem !important;
}

.maps-list.mb-4 {
  margin-bottom: 1.5rem !important;
}

.row.justify-content-center.mb-3 {
  margin-bottom: 1rem !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .maps-title {
    font-size: 2.5rem !important;
    margin-bottom: 2rem !important;
    padding: 0 1rem;
  }

  .maps-list {
    padding: 0 1rem;
    gap: 0.5rem !important;
  }

  .map-badge {
    font-size: 0.9rem;
    padding: 0.6em 1.2em;
    margin: 0.2em 0.1em;
    border-radius: 12px;
    transform: translateY(20px) scale(0.9);
    animation-duration: 0.6s;
  }

  .map-badge:hover {
    transform: translateY(-4px) scale(1.05);
  }

  .map-alert-premium {
    margin: 1.5rem 1rem;
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
  }

  .map-alert-icon {
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .maps-title {
    font-size: 2rem !important;
    letter-spacing: 1px;
  }

  .map-badge {
    font-size: 0.85rem;
    padding: 0.5em 1em;
    margin: 0.15em 0.08em;
    animation: mapBadgeInMobile 0.5s ease-out forwards;
  }

  .map-alert-premium {
    margin: 1rem 0.5rem;
    padding: 1rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .map-alert-icon {
    display: block;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
  }
}

@keyframes mapBadgeInMobile {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  .map-badge {
    will-change: auto;
    animation-duration: 0.4s;
    transform: translateY(15px) scale(0.98);
  }

  .map-badge::before {
    display: none;
  }

  .map-badge:hover {
    transform: translateY(-2px) scale(1.02);
  }

  /* Reduce motion for performance */
  @media (prefers-reduced-motion: reduce) {
    .map-badge {
      animation: none;
      opacity: 1;
      transform: none;
    }
  }
}

.user-action-btn {
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.22s;
  box-shadow: 0 2px 8px 0 rgba(88, 101, 242, 0.1);
  font-weight: 600;
  border-radius: 10px;
  isolation: isolate;
}
.user-action-btn::after {
  content: "";
  position: absolute;
  left: -60%;
  top: 0;
  width: 220%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  opacity: 0.7;
  transform: skewX(-18deg) translateX(-40%);
  animation: footer-btn-shine 2.8s infinite linear;
  pointer-events: none;
  z-index: 1;
}
