/* === GLOBAL STYLES === */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Orbitron', sans-serif;
  background: #000;
  color: #0ff;
}

/* === SPLASH SCREEN === */
.splash {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at top, #0f0c29, #302b63, #24243e);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #111;
  border: 2px solid #0ff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px #0ff;
  color: #0ff;
}

.modal-content input {
  padding: 0.75rem;
  width: 80%;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #0ff;
  background: black;
  color: #0ff;
  font-size: 1rem;
}

.modal-content button {
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border: none;
  border-radius: 8px;
  background: #0ff;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

/* === IMAGE === */
.full-image {
  width: 500px;
  max-width: 90vw;
  object-fit: contain;
  filter: drop-shadow(0 0 30px #00f2ff);
}

/* === HEADER === */
.page-title {
  margin: 1rem 0;
  font-size: 2rem;
  text-align: center;
  color: #0ff;
}
/* === HEADER STYLING === */
header {
  text-align: center;
  font-size: 2.5rem;
  padding: 0.5em 1em;
  color: #0ff;
  font-family: 'Orbitron', sans-serif;
  border-bottom: 4px solid #C73A9D; /* Neon pink line */
  box-shadow: 0 0 12px #C73A9D;
  margin-bottom: 1rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.header-container {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #000;
  z-index: 1000;
}
body {
  padding-top: 60px; /* Adjust based on header height */
}

.discover-icons {
  display: flex;
  gap: 12px;
}

/* === TOGGLE BUTTONS === */
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.toggle-group {
  display: flex;
  gap: 1rem;
}

.toggle-button {
  padding: 0.5rem 1rem;
  background-color: #111;
  border: 2px solid #0ff;
  color: #0ff;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.mode-toggle-container {
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 10;
}

.mode-toggle-button {
  font-family: 'Orbitron', sans-serif;
  background-color: #000;
  color: #00ffff;
  border: 2px solid #00ffff;
  padding: 0.5em 1em;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mode-toggle-button:hover {
  background-color: #00ffff;
  color: #000;
}

.toggle-button.active {
  background-color: #0ff;
  color: #000;
}

.toggle-button.gps-flash {
  animation: pulse 0.6s ease-out;
}

/* === ICON BUTTONS === */
.icon-group {
  display: flex;
  gap: 12px;
}

.icon-button {
  background-color: #000;
  border: none;
  padding: 0;
  margin: 0 0.3em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.2em;
  box-shadow: 0 0 4px #0ff;
}

.icon-button:focus {
  outline: none;
}

.controls {
  position: relative;
}

.neon-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 0 4px #0ff);
}

.neon-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px #0ff);
}

/* === MAP === */
#map {
  height: 500px; /* or 100vh for full screen */
  width: 100%;
  border: 2px solid #00ffff; /* optional neon border for visual confirmation */
  box-sizing: border-box;    
    
}


/* === SEARCH BAR === */
.search-bar {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 2px solid #C73A9D;
  background-color: #000;
  color: #C73A9D;
  font-size: 1.1rem;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 0 10px #C73A9D;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease;
}

.search-bar::placeholder {
  color: #ff8de2;
  text-shadow: 0 0 6px #ff8de2;
  font-family: 'Orbitron', sans-serif;
  opacity: 0.8;
}

.search-bar:focus {
  outline: none;
  box-shadow: 0 0 16px #C73A9D;
}
/* === Calendar Search === */
.calendar-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;              /* Use viewport units for full coverage */
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85); /* Slightly smoother overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;              /* Boost above all other elements */
}

.calendar-modal.hidden {
  display: none;
}
.hidden {
  display: none;
}
.calendar-content {
  background-color: #111;
  border: 2px solid #00ffff;
  box-shadow: 0 0 30px #00ffffaa;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  width: 90%;
  max-width: 400px;
  animation: fadeIn 0.3s ease-out;
}

.calendar-content h2 {
  color: #ff2ec4;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px #ff2ec4;
}

.calendar-content input {
  display: block;
  margin: 1rem auto;
  padding: 0.5rem;
  border: 2px solid #ff2ec4;
  border-radius: 8px;
  background-color: #000;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

/* Optional: Fade-in animation for extra flare */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* === GENRE BAR === */
#genre-bar {
  background: #000;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid #0ff;
}

#genre-bar button {
  background: #111;
  border: 2px solid #0ff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #0ff;
  font-family: 'Orbitron', sans-serif;
}

#genre-bar button:hover {
  background: #0ff;
  color: #000;
}
/* === GENRE BAR === */
.genre-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

/* === GENRE CHIP BUTTONS === */
.genre-chip {
  padding: 0.5rem 1rem;
  background-color: #111;
  border: 2px solid #0ff;
  border-radius: 20px;
  cursor: pointer;
  color: #0ff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  box-shadow: 0 0 6px #0ff;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.genre-chip:hover {
  background-color: #0ff;
  color: #000;
  box-shadow: 0 0 12px #0ff;
}

.genre-chip.active {
  background-color: #0ff;
  color: #000;
  box-shadow: 0 0 16px #0ff;
}

/* === VENUE LIST === */
.venue-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.venue-card {
  background-color: #111;
  border: 2px solid #f0f;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 8px #f0f;
  transition: transform 0.3s ease;
}

.venue-card:hover {
  transform: scale(1.03);
  border-color: #0ff;
}

.venue-card h2 {
  margin-top: 0;
  color: #0ff;
}

.venue-card a {
  color: #f0f;
  text-decoration: none;
}

.venue-card a:hover {
  text-decoration: underline;
}

/* === MISC === */
.leaflet-popup-content h2 {
  margin-top: 0;
}

.tip-button {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  background: #d84e4e;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.coming-soon {
  text-align: center;
  font-size: 1.1em;
  color: #ff69b4;
  margin-bottom: 16px;
  font-weight: bold;
  text-shadow:
    0 0 5px #ff69b4,
    0 0 10px #ff69b4,
    0 0 20px #ff69b4;
  animation: pulse 2.5s infinite;
}

/* === User Profile === */
.user-profile-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  font-family: 'Orbitron', sans-serif;
  color: #f0f0f0;
}
.profile-card {
  background-color: #0a0a0a;
  border: 2px solid #00ffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 12px #00ffff55;
}
.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #00ffff;
  text-transform: uppercase;
}
.profile-field {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}
.profile-field label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #ff00cc;
}
.profile-field input,
.profile-field select {
  background-color: #111;
  border: 2px solid #ff00cc;
  border-radius: 8px;
  padding: 0.5rem;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}
.profile-field input:focus,
.profile-field select:focus {
  outline: none;
  box-shadow: 0 0 8px #ff00cc88;
}
.neon-button {
  background-color: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.neon-button:hover {
  background-color: #00ffff22;
  box-shadow: 0 0 12px #00ffffaa;
}
.neon-button.danger {
  border-color: #ff0033;
  color: #ff0033;
}
.neon-button.danger:hover {
  background-color: #ff003322;
  box-shadow: 0 0 12px #ff0033aa;
}
.genre-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  background-color: #111;
  border: 2px solid #ff00cc;
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover {
  background-color: #ff00cc22;
  box-shadow: 0 0 8px #ff00cc88;
}

.save-wrapper {
  margin-top: 40px;
  text-align: center;
}

#saveChangesBtn.neon-button {
  display: inline-block;
  width: 100%;
  max-width: 400px; /* keeps it elegant on desktop */
  padding: 14px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #ff007f; /* neon pink core */
  color: #00ffff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 0 12px #ff007f, 0 0 24px #ff007f;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

#saveChangesBtn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px #ff33a6, 0 0 32px #ff33a6;
}
.subtle-card {
  margin-top: 40px;
  padding: 20px;
  background-color: #111;
  border-top: 1px solid #333;
  text-align: center;
}

.small-title {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 10px;
}

.subtle-role-card {
  margin: 10px 0;
}

.subtle-text {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 6px;
}

.subtle-button {
  font-size: 0.85rem;
  padding: 6px 12px;
  background-color: #222;
  color: #0ff;
  border: 1px solid #0ff;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.subtle-button:hover {
  background-color: #0ff;
  color: #000;
}
.subtle-neon {
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 4px;
  background-color: transparent;
  border: 1px solid #0ff;
  color: #0ff;
  transition: all 0.2s ease;
}

.subtle-neon:hover {
  background-color: #0ff;
  color: #000;
}

.favorites-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.favorite-card {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 1rem;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 150, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


.favorite-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px #00ffff;
  margin-bottom: 1rem;
}

.bio {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  max-height: 6em;
  overflow-y: auto;
}

.remove-btn {
  background-color: transparent;
  border: 2px solid #ff0044;
  color: #ff0044;
  padding: 0.5em 1em;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background-color: #ff0044;
  color: black;
  box-shadow: 0 0 12px #ff0044;
}



/* === ANIMATIONS === */
@keyframes gpsPulse {
  0% { box-shadow: 0 0 6px #0ff; }
  50% { box-shadow: 0 0 12px #0ff; }
  100% { box-shadow: 0 0 6px #0ff; }
}

@keyframes pulse {
  0% { text-shadow: 0 0 5px #ff69b4, 0 0 10px #ff69b4, 0 0 20px #ff69b4; }
  50% { text-shadow: 0 0 10px #ff8de2, 0 0 20px #ff8de2, 0 0 30px #ff8de2; }
  100% { text-shadow: 0 0 5px #ff69b4, 0 0 10px #ff69b4, 0 0 20px #ff69b4; }
}
