/* Mobile App-like Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  border-top: 2px solid #d4af37;
  z-index: 1000; /* Nav under modal/backdrop */
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  max-width: 500px;
  margin: 0 auto;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  min-width: 60px;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(212,175,55,0.2);
  transform: translateY(-2px);
}

.nav-icon {
  font-size: 20px;
  margin-bottom: 4px;
  color: #d4af37;
  transition: all 0.3s ease;
}

.nav-icon-img {
  width: 22px;
  height: 22px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(534%) hue-rotate(7deg) brightness(95%) contrast(90%);
}

.nav-icon-img.costume-icon {
  width: 26px;
  height: 26px;
}

.nav-item:hover .nav-icon,
.nav-item.active .nav-icon {
  color: #f4d03f;
  transform: scale(1.1);
}

.nav-item:hover .nav-icon-img,
.nav-item.active .nav-icon-img {
  filter: brightness(0) saturate(100%) invert(88%) sepia(48%) saturate(1027%) hue-rotate(359deg) brightness(104%) contrast(92%);
  transform: scale(1.1);
}

.nav-label {
  font-size: 10px;
  font-weight: 600;
  color: #e5e5e5;
  text-align: center;
  line-height: 1.2;
}

/* Mobile Modal Styles */
.mobile-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1200; /* Above backdrop and nav */
  max-height: 85vh;
  overflow-y: auto;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-top: 2px solid #d4af37;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.6);
  display: none; /* Hidden by default */
}

.mobile-modal.active {
  transform: translateY(0);
  display: block; /* Show when active */
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1100; /* Between nav and modal */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: none; /* Hidden by default */
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
  display: block; /* Show when active */
}

.modal-header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(212,175,55,0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #d4af37;
  font-family: 'Orbitron', sans-serif;
}

.modal-close {
  background: none;
  border: none;
  color: #d4af37;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(212,175,55,0.2);
  transform: scale(1.1);
}

.modal-content {
  padding: 20px;
}

.modal-drag-handle {
  width: 40px;
  height: 4px;
  background: #d4af37;
  border-radius: 2px;
  margin: 8px auto;
  opacity: 0.6;
}

/* Mobile Event Card Styles */
.mobile-event-card {
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-event-card:hover {
  border-color: #d4af37;
  box-shadow: 0 4px 16px rgba(212,175,55,0.2);
}

.mobile-event-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mobile-event-content {
  padding: 16px;
}

.mobile-event-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 8px;
  font-family: 'Orbitron', sans-serif;
}

.mobile-event-description {
  color: #e5e5e5;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.mobile-event-cta {
  display: inline-block;
  padding: 8px 16px;
  background: #d4af37;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.mobile-event-cta:hover {
  background: #f4d03f;
  transform: scale(1.05);
}

/* Mobile Offer Card Styles */
.mobile-offer-card {
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.mobile-offer-card:hover {
  border-color: #d4af37;
  box-shadow: 0 4px 16px rgba(212,175,55,0.2);
}

.mobile-offer-image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-offer-content {
  padding: 16px;
}

.mobile-offer-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 8px;
  font-family: 'Orbitron', sans-serif;
}

.mobile-offer-description {
  color: #e5e5e5;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

.mobile-offer-cta {
  display: inline-block;
  padding: 10px 20px;
  background: #d4af37;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.mobile-offer-cta:hover {
  background: #f4d03f;
  transform: scale(1.05);
}

/* Show mobile nav on small screens */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }
  
  body {
    padding-bottom: 80px;
  }
}
