/* CityBoiz Entertainment Hub - Custom Styles */

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

/* Grid overlay background */
.grid-overlay {
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

/* Navigation */
.nav-link {
  @apply px-3 py-2 text-sm font-medium text-gray-300 hover:text-white rounded-lg transition-colors;
}
.nav-link:hover {
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.05);
}

.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: #d1d5db;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.mobile-link:hover {
  background: rgba(46, 46, 64, 0.8);
  color: #00f0ff;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: #d1d5db;
  transition: all 0.15s;
}
.dropdown-item:hover {
  background: rgba(46, 46, 64, 0.8);
  color: #00f0ff;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #00f0ff, #b026ff);
  color: white;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.25);
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  transition: all 0.3s;
}
.btn-secondary:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: #00f0ff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: #00f0ff;
  color: #00f0ff;
  background: rgba(0, 240, 255, 0.05);
}

/* Cards */
.feature-card {
  background: rgba(26, 26, 37, 0.6);
  border: 1px solid rgba(46, 46, 64, 0.8);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.feature-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.station-card {
  border-radius: 1rem;
  border: 1px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.station-card:hover {
  transform: scale(1.03);
}

.station-select {
  background: rgba(26, 26, 37, 0.7);
  border: 2px solid rgba(46, 46, 64, 0.8);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: all 0.25s;
}
.station-select:hover {
  border-color: rgba(0, 240, 255, 0.4);
}
.station-select.active {
  border-color: #00f0ff;
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.membership-card {
  background: rgba(26, 26, 37, 0.7);
  border: 1px solid rgba(46, 46, 64, 0.8);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}
.membership-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.glass-card {
  background: rgba(26, 26, 37, 0.7);
  border: 1px solid rgba(46, 46, 64, 0.8);
  border-radius: 1.25rem;
  backdrop-filter: blur(12px);
}

/* Inputs */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(18, 18, 26, 0.8);
  border: 1px solid rgba(46, 46, 64, 0.9);
  border-radius: 0.75rem;
  color: white;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}
.input-field:focus {
  border-color: #00f0ff;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}
.input-field::placeholder {
  color: #6b7280;
}

/* Time slots */
.time-slot {
  padding: 0.5rem;
  text-align: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(46, 46, 64, 0.9);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(18, 18, 26, 0.6);
}
.time-slot:hover:not(.disabled):not(.selected) {
  border-color: rgba(0, 240, 255, 0.5);
  color: #00f0ff;
}
.time-slot.selected {
  background: rgba(0, 240, 255, 0.2);
  border-color: #00f0ff;
  color: #00f0ff;
  font-weight: 600;
}
.time-slot.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.hidden {
  display: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: #1a1a25;
  border: 1px solid rgba(46, 46, 64, 0.9);
  border-radius: 1.25rem;
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.25s ease-out;
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Social */
.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(46, 46, 64, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.2s;
}
.social-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  color: #00f0ff;
}

/* Event card */
.event-card {
  background: rgba(26, 26, 37, 0.7);
  border: 1px solid rgba(46, 46, 64, 0.8);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
}
.event-card:hover {
  border-color: rgba(57, 255, 20, 0.3);
  transform: translateY(-4px);
}

/* Update card */
.update-card {
  background: rgba(26, 26, 37, 0.7);
  border: 1px solid rgba(46, 46, 64, 0.8);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.2s;
}
.update-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
}

.update-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-general { background: rgba(0, 240, 255, 0.15); color: #00f0ff; }
.badge-event { background: rgba(57, 255, 20, 0.15); color: #39ff14; }
.badge-promo { background: rgba(255, 45, 149, 0.15); color: #ff2d95; }
.badge-maintenance { background: rgba(255, 107, 0, 0.15); color: #ff6b00; }

/* Toast */
.toast-msg {
  background: #1a1a25;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 0.75rem;
  padding: 0.875rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease-out;
  max-width: 360px;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.toast-success { border-color: rgba(57, 255, 20, 0.4); }
.toast-error { border-color: rgba(255, 45, 149, 0.4); }

/* Navbar scrolled */
#navbar.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(46, 46, 64, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #12121a;
}
::-webkit-scrollbar-thumb {
  background: #2e2e40;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00f0ff;
}

/* Utility for Tailwind @apply fallback if needed */
.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
  border-radius: 0.5rem;
  transition: all 0.2s;
}
