@import url(https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Great+Vibes&family=Allura:wght@400&family=Pacifico:wght@400&family=Satisfy&display=swap);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: rgb(0, 88, 71) !important;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-brown);
  background: rgb(0, 88, 71) !important;
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--psychedelic-cyan);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--psychedelic-yellow);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
}

input, textarea, select {
  font-family: inherit;
  border: 2px solid var(--light-brown);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: var(--cream);
  color: var(--dark-brown);
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--psychedelic-cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--wood-grain);
  color: var(--cream);
  border: 2px solid var(--psychedelic-cyan);
  box-shadow: var(--shadow-wood);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 20px var(--psychedelic-cyan);
  border-color: var(--psychedelic-yellow);
}

.btn-secondary {
  background: transparent;
  color: var(--psychedelic-pink);
  border: 2px solid var(--psychedelic-pink);
}

.btn-secondary:hover {
  background: var(--psychedelic-pink);
  color: var(--dark-wood);
  box-shadow: 0 0 15px var(--psychedelic-pink);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.card {
  background: var(--wood-grain);
  border: 2px solid var(--medium-wood);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-wood);
  transition: var(--transition);
  color: var(--cream);
}

.card:hover {
  box-shadow: var(--shadow-lg), 0 0 15px var(--psychedelic-purple);
  transform: translateY(-2px);
  border-color: var(--psychedelic-purple);
}

.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--medium-wood);
  border-top: 4px solid var(--psychedelic-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



.error {
  color: var(--danger-red);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.success {
  color: var(--success-green);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

:root {
  --primary-brown: #6B4423;
  --dark-brown: #4A2F18;
  --light-brown: #8B5A3C;
  --medium-wood: #6B4423;
  --cream: #F5E6D3;
  --off-white: #FEFEFE;
  --marble-white: #F8F8F8;
  --marble-gray: #E5E5E5;
  --marble-vein: #D0D0D0;
  --bright-yellow: #00ffbb;
  --puple: #6f02d6;
  --beige: #e3d494;
  --red: #fa6c6c;
  --gray: #808080;
  --dark-puple: #37026f;
  --wood-grain: linear-gradient(135deg, var(--primary-brown), var(--dark-brown));
  --marble-background:
    /* Subtle organic marble patterns - very light */
    radial-gradient(ellipse 400px 100px at 20% 30%, rgba(220, 220, 220, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 300px 80px at 80% 70%, rgba(210, 210, 210, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 500px 120px at 50% 90%, rgba(215, 215, 215, 0.1) 0%, transparent 70%),

    /* Very subtle cloud-like variations */
    radial-gradient(circle at 30% 40%, rgba(225, 225, 225, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(218, 218, 218, 0.06) 0%, transparent 45%),

    /* Clean white marble base */
    linear-gradient(0deg, #FDFDFD 0%, #FAFAFA 100%);
  --shadow-wood: 0 8px 16px rgba(45, 24, 16, 0.3);
  --psychedelic-purple: #9B59B6;
  --psychedelic-pink: #FF69B4;
  --psychedelic-orange: #FF6347;
  --psychedelic-yellow: #FFD700;
  --psychedelic-green: #00CED1;
  --success-green: #27AE60;
  --danger-red: #E74C3C;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
  --radius: 10px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0, -30px, 0);
  }
  70% {
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-10px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(10px);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-in-out;
}

.animate-slideInUp {
  animation: slideInUp 0.6s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  width: 100%;
  max-width: 500px;
}

.modal-small {
  max-width: 400px;
}

.modal-medium {
  max-width: 600px;
}

.modal-large {
  max-width: 800px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 1.5rem;
}

.modal-title {
  margin: 0;
  color: var(--primary-brown);
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--light-brown);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--cream);
  color: var(--primary-brown);
}

.modal-body {
  padding: 0 1.5rem 1.5rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: inherit;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-brown), var(--dark-brown));
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary-brown);
  border: 2px solid var(--primary-brown);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--primary-brown);
  color: white;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-medium {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--primary-brown);
  font-size: 0.875rem;
}

.form-group input {
  padding: 0.75rem;
  border: 2px solid #e1e1e1;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--primary-brown);
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 68, 35, 0.1);
}

.auth-submit {
  margin-top: 1rem;
  padding: 0.875rem;
  font-size: 1rem;
  font-weight: 600;
}

.auth-switch {
  text-align: center;
  margin-top: 1rem;
}

.auth-switch p {
  color: var(--dark-brown);
  margin: 0;
}

.switch-btn {
  background: none;
  border: none;
  color: var(--primary-brown);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 0.5rem;
  transition: var(--transition);
}

.switch-btn:hover {
  color: var(--dark-brown);
}

.error {
  color: var(--danger-red);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.header {
  background: linear-gradient(to right, #808080 35%, #f5f5f5 100%);
  border-bottom: 3px solid var(--psychedelic-purple);
  padding: 1rem 2rem;
  box-shadow: var(--shadow-wood);
  position: relative;
  z-index: 1000;
}

.header-content {
  background: linear-gradient(to right, #808080 50%, #f5f5f5 0%, var(--marble-background) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  height: 100px;
  margin: 0 auto;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-decoration: none;
  border-radius: var(--radius);
  min-width: 200px;
}

.app-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 5rem;
  object-fit: fill;
  color: var(--marble-white);
  letter-spacing: 0px;
  text-shadow: 2px 4px 3px var(--primary-brown);
  margin: 0;
  line-height: 0.8;
  transform: translateY(10px);
}

.tagline {
  font: bold 1.5rem 'Bebas Neue', cursive;
  font-size: 1.5rem;
  color: var(--bright-yellow);
  text-shadow: 0 0 5px var(--dark-purple);
  margin: 0;
  line-height: 1;
  transform: translateY(12px);
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-item {
  font: bold 1.5rem 'Bebas Neue', cursive;
  color: var(--dark-purple);
  -webkit-text-decoration: style;
          text-decoration: style;
  padding: 0.5rem .2rem;
  border-radius: 25px;
  transition: var(--transition);
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item:hover {
  background: rgba(0,0,0,0.2);
  border-color: var(--psychedelic-pink);
  color: var(--psychedelic-pink);
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--psychedelic-pink);
}

.footer {
  background: var(--wood-grain);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 3px solid var(--psychedelic-lime);
  color: var(--cream);
  padding: 3rem 0 1rem;
  margin-top: auto;
  box-shadow: var(--shadow-wood);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.footer-section h3 {
  font: bold 1.5rem 'Bebas Neue', cursive;
  color: rgb(255, 248, 189);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section h4 {
  font: bold 1.5rem 'Bebas Neue', cursive;
  color: rgb(255, 248, 189);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: rgb(255, 248, 189);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(13, 255, 231, 0.92);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--cream);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: rgba(241, 255, 133, 0.8);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: rgb(13, 255, 231, 0.92);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding: 1rem 2rem;
  text-align: center;
  color: rgba(13, 255, 231, 0.92);
}

.footer-bottom p {
  margin: 0.5rem 0;
}

.heart {
  color: var(--psychedelic-pink);
  animation: pulse 2s infinite;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 1;
  padding-top: 2rem;
}

* HomePage Styles with Original Fonts and Colors */

.home-page {
  min-height: 100vh;
  background: var(--marble-background);
  background-attachment: fixed;
  position: relative;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem 4rem;
    border-radius: 15px;
    z-index: 1;
}

/* Hero Content Styles */
.hero-content h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 5rem;
    color: var(--cream);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 30px var(--psychedelic-yellow);
    text-transform: uppercase;
}

.hero-content p {
    font-family: 'Apple Chancery', cursive;
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.hero-button {
    background: linear-gradient(135deg, var(--psychedelic-cyan), var(--psychedelic-purple));
    color: white;
    font-family: 'Bebas Neue', cursive;
    font-weight: bold;
    padding: 1rem 2.5rem;
    font-size: 1.3rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 0 0 40px var(--psychedelic-cyan);
    background: linear-gradient(135deg, var(--psychedelic-purple), var(--psychedelic-cyan));
}

 .features-section {
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.features-section .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  color: var(--cream);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 2px;
  text-shadow: 0 0 20px var(--psychedelic-yellow);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.feature-card {
  background: var(--wood-grain);
  border: 2px solid var(--medium-wood);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-wood);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), 0 0 20px var(--psychedelic-green);
  border-color: var(--psychedelic-green);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--psychedelic-orange));
}

.feature-card h3 {
  font-family: 'Bebas Neue', cursive;
  color: var(--psychedelic-cyan);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--psychedelic-cyan);
  letter-spacing: 1px;
}

.feature-card p {
  font-family: 'Roboto', sans-serif;
  color: var(--cream);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-shadow: 0 0 20px var(--psychedelic-yellow);
}

.cta-content p {
  font-family: 'Apple Chancery', cursive;
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.leaderboard-button {
  background: linear-gradient(135deg, var(--psychedelic-yellow), var(--psychedelic-orange));
  color: var(--dark-brown);
  font-family: 'Bebas Neue', cursive;
  font-weight: bold;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.leaderboard-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 30px var(--psychedelic-yellow);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}
.hero-section {
  padding: 4rem 0 6rem;
  text-align: center;
  position: relative;
  z-index: 1; /* keep hero above global background overlays */
  min-height: calc(100vh - 120px); /* Account for header height */
  margin-top: 0; /* Start right after header */
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #000; /* avoid white flash before video paints */
}

/* Local MP4 Background Video */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #000; /* in case of slow load */
}
/* Very light overlay above the video, below content */
.hero-video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-width: 177.78vh; /* 16:9 */
  min-height: calc(100vh - 120px); /* Fit from header bottom to hero bottom */
  transform: translate(-50%, -50%);
  pointer-events: none; /* keep non-interactive */
  object-fit: cover; /* Ensure video covers the area properly */
}

@media (max-aspect-ratio: 16/9) {
  .hero-video {
    width: 177.78vh;
    height: calc(100vh - 120px); /* Maintain header spacing on mobile */
  }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  background: var(--wood-grain);
  border: 2px solid var(--psychedelic-purple);
  color: var(--cream);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-wood), 0 0 15px var(--psychedelic-purple);
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 0 4rem;
  }
}

/* Map Page - State of the Art Design */

:root {
  --neon-blue: #00ffff;
  --neon-purple: #8a2be2;
  --neon-green: #00ff41;
  --neon-pink: #ff1493;
  --dark-bg: #0a0a0a;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --hologram-blue: rgba(0, 255, 255, 0.3);
  --command-orange: #ff6b35;
}

.map-page {
  min-height: 100vh;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: white;
  font-family: 'Orbitron', 'Roboto', sans-serif;
  overflow: hidden;
  position: relative;
}

.map-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 98px,
      rgba(0, 255, 255, 0.03) 100px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 98px,
      rgba(0, 255, 255, 0.03) 100px
    );
  pointer-events: none;
  z-index: 1;
}

/* Command Header */
.command-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.9) 0%, 
    rgba(26, 26, 46, 0.9) 50%, 
    rgba(22, 33, 62, 0.9) 100%
  );
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-bottom: 2px solid #00ffff;
  border-bottom: 2px solid var(--neon-blue);
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.command-icon {
  font-size: 1.5rem;
  color: #00ffff;
  color: var(--neon-blue);
  animation: pulse-glow 2s infinite;
}

.command-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(45deg, #00ffff, #8a2be2);
  background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.network-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.status-indicator.connected {
  background: #00ff41;
  background: var(--neon-green);
  box-shadow: 0 0 10px #00ff41;
  box-shadow: 0 0 10px var(--neon-green);
}

.status-indicator.connecting {
  background: #ff6b35;
  background: var(--command-orange);
  box-shadow: 0 0 10px #ff6b35;
  box-shadow: 0 0 10px var(--command-orange);
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Real-time Stats */
.header-center {
  flex: 1 1;
  display: flex;
  justify-content: center;
}

.real-time-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  min-width: 80px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
  border-color: #00ffff;
  border-color: var(--neon-blue);
}

.stat-icon {
  color: #00ffff;
  color: var(--neon-blue);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00ff41;
  color: var(--neon-green);
  text-shadow: 0 0 5px #00ff41;
  text-shadow: 0 0 5px var(--neon-green);
}

.stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
}

/* Header Controls */
.header-right {
  display: flex;
  gap: 1rem;
}

.control-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  background: var(--glass-bg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border: 2px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ffff;
  color: var(--neon-blue);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.control-btn:hover {
  background: rgba(0, 255, 255, 0.3);
  background: var(--hologram-blue);
  border-color: #00ffff;
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  transform: scale(1.1);
}

.control-btn.active {
  background: #00ffff;
  background: var(--neon-blue);
  color: #0a0a0a;
  color: var(--dark-bg);
  box-shadow: 0 0 30px #00ffff;
  box-shadow: 0 0 30px var(--neon-blue);
}

.add-btn.active {
  background: #00ff41;
  background: var(--neon-green);
  border-color: #00ff41;
  border-color: var(--neon-green);
  box-shadow: 0 0 30px #00ff41;
  box-shadow: 0 0 30px var(--neon-green);
  animation: pulse-glow 1s infinite;
}

/* Main Content */
.command-content {
  position: relative;
  height: calc(100vh - 80px);
  margin-top: 80px;
  overflow: hidden;
}

/* Floating Search Panel */
.floating-search-panel {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 400px;
  max-height: calc(100vh - 160px);
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.8) 0%, 
    rgba(26, 26, 46, 0.8) 100%
  );
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 2px solid #8a2be2;
  border: 2px solid var(--neon-purple);
  border-radius: 20px;
  box-shadow: 
    0 0 30px rgba(138, 43, 226, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 100;
  overflow-y: auto;
}

/* Holographic Map Container */
.holographic-map-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.holographic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.scan-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 255, 0.1) 2px,
    rgba(0, 255, 255, 0.1) 4px
  );
  animation: scan 3s linear infinite;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(0, 255, 255, 0.1) 50px,
      rgba(0, 255, 255, 0.1) 52px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(0, 255, 255, 0.1) 50px,
      rgba(0, 255, 255, 0.1) 52px
    );
}

/* Floating Stats Panel */
.floating-stats-panel {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 350px;
  background: linear-gradient(135deg, 
    rgba(0, 0, 0, 0.9) 0%, 
    rgba(22, 33, 62, 0.9) 100%
  );
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 2px solid #00ff41;
  border: 2px solid var(--neon-green);
  border-radius: 20px;
  box-shadow: 
    0 0 30px rgba(0, 255, 65, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  z-index: 100;
}

.stats-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid var(--glass-border);
}

.stats-icon {
  color: #00ff41;
  color: var(--neon-green);
  font-size: 1.2rem;
}

.stats-header span {
  font-weight: 700;
  letter-spacing: 1px;
  color: #00ff41;
  color: var(--neon-green);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
  border-color: #00ffff;
  border-color: var(--neon-blue);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00ffff;
  color: var(--neon-blue);
  text-shadow: 0 0 10px #00ffff;
  text-shadow: 0 0 10px var(--neon-blue);
  margin-bottom: 0.25rem;
}

.stat-description {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
}

.stat-trend {
  font-size: 0.7rem;
  color: #00ff41;
  color: var(--neon-green);
  font-weight: 600;
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.7; 
    transform: scale(1.05);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes spinning-globe {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .floating-search-panel {
    width: 300px;
  }
  
  .floating-stats-panel {
    width: 280px;
  }
  
  .real-time-stats {
    gap: 1rem;
  }
  
  .stat-item {
    min-width: 60px;
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 768px) {
  .command-header {
    padding: 0 1rem;
    height: 70px;
  }
  
  .command-content {
    height: calc(100vh - 70px);
    margin-top: 70px;
  }
  
  .floating-search-panel {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  
  .floating-stats-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
  }
  
  .real-time-stats {
    gap: 0.5rem;
  }
  
  .header-center {
    display: none;
  }
  
  .command-title {
    font-size: 1rem;
  }
}

/* Holographic Modals */
.holographic-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.holographic-modal {
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(26, 26, 46, 0.9) 100%
  );
  border: 2px solid #00ffff;
  border: 2px solid var(--neon-blue);
  border-radius: 20px;
  box-shadow:
    0 0 50px rgba(0, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
}

.command-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.command-modal {
  background: linear-gradient(135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(22, 33, 62, 0.95) 100%
  );
  border: 2px solid #00ff41;
  border: 2px solid var(--neon-green);
  border-radius: 20px;
  box-shadow:
    0 0 50px rgba(0, 255, 65, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  width: 90vw;
  max-width: 600px;
  max-height: 90vh;
  overflow: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.1);
  background: var(--glass-bg);
}

.modal-header .modal-icon {
  color: #00ff41;
  color: var(--neon-green);
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.modal-header span {
  flex: 1 1;
  font-weight: 700;
  letter-spacing: 1px;
  color: #00ff41;
  color: var(--neon-green);
}

.close-btn {
  background: none;
  border: none;
  color: #ff1493;
  color: var(--neon-pink);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(0, 255, 255, 0.3);
  background: var(--hologram-blue);
  transform: scale(1.1);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.loading-content {
  text-align: center;
  color: white;
}

.holographic-loader {
  margin-bottom: 2rem;
}

.spinning-globe {
  font-size: 4rem;
  color: #00ffff;
  color: var(--neon-blue);
  animation: spinning-globe 2s linear infinite;
  filter: drop-shadow(0 0 20px #00ffff);
  filter: drop-shadow(0 0 20px var(--neon-blue));
}

.loading-text {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #00ffff;
  color: var(--neon-blue);
  text-shadow: 0 0 10px #00ffff;
  text-shadow: 0 0 10px var(--neon-blue);
}

/* Additional Map Container Styles (from demo integration) */
.simple-map-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.simple-map-canvas {
    width: 100%;
    height: 100%;
}

.simple-back-button {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background: white;
    color: #333;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.simple-back-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.profile-page {
  min-height: 100vh;
  padding: 2rem 0;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-brown), var(--dark-brown));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: var(--shadow);
}

.profile-info h1 {
  color: var(--primary-brown);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.profile-info p {
  color: var(--light-brown);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.profile-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark-brown);
  font-weight: 500;
}

.stat svg {
  color: var(--primary-brown);
  font-size: 1.125rem;
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  gap: 2rem;
}

.badges-section,
.activity-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.badges-section h2,
.activity-section h2 {
  color: var(--primary-brown);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.badge-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.badge-icon {
  font-size: 2rem;
}

.badge-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-brown);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-brown);
}

.activity-time {
  color: var(--light-brown);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-stats {
    justify-content: center;
  }
  
  .profile-content {
    grid-template-columns: 1fr;
  }
  
  .badges-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

.leaderboard-page {
  min-height: 100vh;
  padding: 2rem 0;
}

.leaderboard-header {
  text-align: center;
  margin-bottom: 3rem;
}

.leaderboard-header h1 {
  color: var(--primary-brown);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.leaderboard-header p {
  color: var(--dark-brown);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.period-selector {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  background: white;
  padding: 0.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: inline-flex;
}

.period-selector button {
  padding: 0.75rem 1.5rem;
  border: none;
  background: none;
  color: var(--dark-brown);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.period-selector button.active {
  background: var(--primary-brown);
  color: white;
}

.period-selector button:hover:not(.active) {
  background: var(--cream);
}

.leaderboard-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.leaderboard-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.leaderboard-item.top-three {
  background: linear-gradient(135deg, var(--cream), white);
  border: 2px solid var(--psychedelic-yellow);
}

.rank {
  font-size: 1.5rem;
  font-weight: bold;
  min-width: 60px;
  text-align: center;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-brown), var(--dark-brown));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: var(--shadow);
}

.user-info {
  flex: 1 1;
}

.user-info h3 {
  color: var(--primary-brown);
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}

.user-info p {
  color: var(--light-brown);
  margin: 0;
}

.user-stats {
  display: flex;
  gap: 1.5rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark-brown);
  font-weight: 500;
  font-size: 0.875rem;
}

.stat svg {
  color: var(--primary-brown);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .leaderboard-header h1 {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .period-selector {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .leaderboard-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .user-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .rank {
    min-width: auto;
  }
}

.about-page {
  min-height: 100vh;
  padding: 2rem 0;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h1 {
  color: var(--cream);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 2px;
  text-shadow: 0 0 20px var(--psychedelic-yellow);
}

.about-subtitle {
  color: var(--psychedelic-cyan);
  font-size: 1.5rem;
  font-weight: 500;
  text-shadow: 0 0 10px var(--psychedelic-cyan);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-content section {
  background: var(--wood-grain);
  border: 2px solid var(--medium-wood);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-wood);
  color: var(--cream);
}

.about-content h2 {
  color: var(--psychedelic-yellow);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: 0 0 15px var(--psychedelic-yellow);
}

.about-content p {
  color: var(--cream);
  line-height: 1.8;
  font-size: 1.125rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--wood-grain);
  border: 2px solid var(--light-wood);
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--cream);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 15px var(--psychedelic-green);
  border-color: var(--psychedelic-green);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--psychedelic-orange);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--psychedelic-orange));
}

.feature-item h3 {
  color: var(--psychedelic-cyan);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  text-shadow: 0 0 10px var(--psychedelic-cyan);
}

.feature-item p {
  color: var(--cream);
  font-size: 1rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--wood-grain);
  border: 2px solid var(--psychedelic-magenta);
  color: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-wood), 0 0 15px var(--psychedelic-magenta);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--psychedelic-yellow), var(--psychedelic-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

.team-section {
  text-align: center;
}

.heart {
  color: var(--psychedelic-pink);
  animation: pulse 2s infinite;
  margin: 0 0.5rem;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.contact-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-header h1 {
    font-size: 2.5rem;
  }
  
  .about-content section {
    padding: 2rem 1.5rem;
  }
  
  .features-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

.connection-test {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--marble-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-brown);
}

.connection-test h2 {
  font-family: 'Bebas Neue', cursive;
  color: var(--primary-brown);
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.connection-test p {
  text-align: center;
  color: var(--dark-purple);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.test-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.test-item {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.8);
}

.test-item.testing {
  border-color: var(--psychedelic-cyan);
  background: rgba(0, 255, 187, 0.1);
}

.test-item.success {
  border-color: var(--psychedelic-lime);
  background: rgba(0, 255, 0, 0.1);
}

.test-item.error {
  border-color: var(--red);
  background: rgba(255, 0, 0, 0.1);
}

.test-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.test-icon {
  font-size: 1.5rem;
}

.test-header h3 {
  font-family: 'Bebas Neue', cursive;
  color: var(--primary-brown);
  margin: 0;
  font-size: 1.5rem;
}

.test-message {
  margin: 0;
  color: var(--dark-purple);
  font-weight: 500;
}

.test-data {
  margin-top: 1rem;
}

.test-data summary {
  cursor: pointer;
  color: var(--psychedelic-purple);
  font-weight: bold;
  padding: 0.5rem;
  background: rgba(111, 2, 214, 0.1);
  border-radius: var(--radius);
  border: 1px solid var(--psychedelic-purple);
}

.test-data summary:hover {
  background: rgba(111, 2, 214, 0.2);
}

.test-data pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  border: 1px solid #ddd;
}

.test-actions {
  text-align: center;
  margin-bottom: 2rem;
}

.retry-button {
  background: linear-gradient(135deg, var(--primary-brown), var(--psychedelic-purple));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.retry-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--psychedelic-purple), var(--primary-brown));
}

.environment-info {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--psychedelic-cyan);
}

.environment-info h3 {
  font-family: 'Bebas Neue', cursive;
  color: var(--primary-brown);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.env-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.env-item:last-child {
  border-bottom: none;
}

.env-item strong {
  color: var(--dark-purple);
}

@media (max-width: 768px) {
  .connection-test {
    margin: 1rem;
    padding: 1rem;
  }
  
  .connection-test h2 {
    font-size: 2rem;
  }
  
  .test-item {
    padding: 1rem;
  }
}

.geospatial-test {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--marble-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-brown);
}

.geospatial-test h2 {
  font-family: 'Bebas Neue', cursive;
  color: var(--primary-brown);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.error-banner {
  background: rgba(255, 0, 0, 0.1);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.error-banner p {
  margin: 0;
  color: var(--red);
  font-weight: bold;
}

.error-banner button {
  background: var(--red);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.error-banner button:hover {
  background: darkred;
}

.test-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  gap: 2rem;
  margin-bottom: 2rem;
}

.location-controls,
.search-controls {
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--psychedelic-cyan);
}

.location-controls h3,
.search-controls h3 {
  font-family: 'Bebas Neue', cursive;
  color: var(--primary-brown);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.input-group {
  margin-bottom: 1rem;
}

.input-group label {
  display: block;
  color: var(--dark-purple);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.input-group input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--primary-brown);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.input-group input:focus {
  outline: none;
  border-color: var(--psychedelic-purple);
  box-shadow: 0 0 0 3px rgba(111, 2, 214, 0.1);
}

.location-btn {
  background: linear-gradient(135deg, var(--psychedelic-cyan), var(--psychedelic-purple));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 1rem;
}

.location-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.test-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 2rem;
}

.test-btn {
  background: linear-gradient(135deg, var(--primary-brown), var(--psychedelic-purple));
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.test-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--psychedelic-purple), var(--primary-brown));
}

.test-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.loading {
  text-align: center;
  padding: 2rem;
  background: rgba(111, 2, 214, 0.1);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(111, 2, 214, 0.3);
  border-top: 4px solid var(--psychedelic-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.results h3 {
  font-family: 'Bebas Neue', cursive;
  color: var(--primary-brown);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.no-results {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
}

.restroom-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.restroom-card {
  background: white;
  border: 2px solid var(--psychedelic-cyan);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.restroom-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--psychedelic-purple);
}

.restroom-card h4 {
  color: var(--primary-brown);
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.restroom-card .description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-style: italic;
}

.restroom-details p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--dark-purple);
}

.features {
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(111, 2, 214, 0.1);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .geospatial-test {
    margin: 1rem;
    padding: 1rem;
  }

  .test-controls {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .test-buttons {
    grid-template-columns: 1fr;
  }

  .restroom-list {
    grid-template-columns: 1fr;
  }

  .geospatial-test h2 {
    font-size: 2rem;
  }
}

/* Demo Hero Section Styles */
.demo-hero-container {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-brown), var(--psychedelic-purple));
}

.demo-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: opacity 0.5s ease-in-out;
}

.demo-hero-video.video-hidden {
  opacity: 0;
}

.demo-video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-brown) 0%,
    var(--psychedelic-purple) 50%,
    var(--psychedelic-magenta) 100%
  );
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.demo-video-fallback.show-fallback {
  opacity: 1;
  z-index: 2;
}

.demo-hero-overlay {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(111, 2, 214, 0.3);
  max-width: 600px;
  margin: 2rem;
}

.demo-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.demo-logo {
  margin-bottom: 1rem;
}

.demo-logo-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 
    var(--shadow-lg),
    0 0 20px rgba(0,0,0,0.3),
    5px 5px 0px var(--primary-brown),
    10px 10px 0px #654321;
  border: 3px solid var(--primary-brown);
  transition: var(--transition);
}

.demo-logo-image:hover {
  transform: scale(1.05) rotate(2deg);
}

.demo-hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 4rem;
  color: white;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0;
  text-shadow:
    0 0 20px var(--psychedelic-yellow),
    2px 2px 4px rgba(0, 0, 0, 0.8),
    4px 4px 8px rgba(0, 0, 0, 0.6);
  transform: perspective(500px) rotateX(10deg);
}

.demo-hero-description {
  font-family: 'Apple Chancery', cursive;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--marble-white);
  margin: 0;
  line-height: 1.6;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(255, 255, 255, 0.3);
}

.demo-cta-button {
  background: linear-gradient(135deg, var(--primary-brown), var(--psychedelic-purple));
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 
    var(--shadow),
    0 0 20px rgba(111, 2, 214, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.demo-cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    var(--shadow-lg),
    0 0 30px rgba(111, 2, 214, 0.6);
  background: linear-gradient(135deg, var(--psychedelic-purple), var(--primary-brown));
}

/* Demo Map Styles */
.demo-map-container {
  position: relative;
  height: 100vh;
  width: 100%;
}

.demo-map {
  width: 100%;
  height: 100%;
}

.demo-map-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  z-index: 1000;
}

.demo-loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid var(--psychedelic-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.demo-back-button {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: 2px solid var(--psychedelic-purple);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.demo-back-button:hover {
  background: var(--psychedelic-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Responsive Design */
@media (max-width: 768px) {
  .demo-hero-overlay {
    padding: 2rem;
    margin: 1rem;
  }
  
  .demo-hero-title {
    font-size: 3rem;
  }
  
  .demo-hero-description {
    font-size: 1.2rem;
  }
  
  .demo-logo-image {
    width: 80px;
    height: 80px;
    padding: 1rem;
  }
  
  .demo-back-button {
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

.App {
  min-height: 100vh;
  background: var(--marble-background);
  background-attachment: fixed;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.psychedelic-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 30%, var(--psychedelic-purple) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, var(--psychedelic-pink) 0%, transparent 40%),
    radial-gradient(circle at 50% 10%, var(--psychedelic-orange) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, var(--psychedelic-green) 0%, transparent 40%),
    radial-gradient(circle at 70% 40%, var(--psychedelic-cyan) 0%, transparent 40%),
    radial-gradient(circle at 40% 60%, var(--psychedelic-magenta) 0%, transparent 40%);
  animation: psychedelicMove 25s ease-in-out infinite;
}

@keyframes psychedelicMove {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(90deg); }
  50% { transform: scale(0.9) rotate(180deg); }
  75% { transform: scale(1.05) rotate(270deg); }
}

