.explore-content {
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

/* Enhanced Filter Section */
.filter-section {
  margin-bottom: 32px;
  background-color: #000000;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.filter-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: "Baloo Thambi 2", cursive;
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-tab:hover {
  background-color: #333;
  border-color: #666;
  transform: translateY(-2px);
}

.filter-tab:active {
  transform: translateY(0);
}

.filter-tab.active {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.filter-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-select {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Baloo Thambi 2", cursive;
  min-width: 150px;
  transition: all 0.3s ease;
  font-size: 14px;
  min-height: 44px;
}

.filter-select:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.filter-select:hover {
  background-color: #333;
  border-color: #666;
}

/* Enhanced Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.event-card {
  background-color: #000000;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #1a1a1a;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
  border-color: #333;
}

.event-card:active {
  transform: translateY(-4px);
}

.event-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.08);
}

.event-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: #ffffff;
  color: #000000;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.save-event {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.save-event:hover {
  background-color: rgba(26, 26, 26, 0.9);
  transform: scale(1.1);
}

.save-event:active {
  transform: scale(0.95);
}

.save-event.saved {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000000;
}

.event-info {
  display: flex;
  padding: 20px;
  gap: 16px;
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #1a1a1a;
  padding: 12px;
  border-radius: 12px;
  min-width: 60px;
  border: 1px solid #333;
}

.date-day {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.date-month {
  font-size: 12px;
  font-weight: 600;
  color: #ccc;
  text-transform: uppercase;
  margin-top: 2px;
}

.event-details {
  flex: 1;
}

.event-details h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-location,
.event-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ccc;
  margin-bottom: 6px;
}

.event-location i,
.event-time i {
  color: #666;
  width: 14px;
  font-size: 12px;
}

.event-price {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 12px;
}

.event-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid #1a1a1a;
  background-color: rgba(26, 26, 26, 0.5);
}

.event-stats {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #666;
}

.event-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-stats i {
  color: #666;
  font-size: 12px;
}

.join-btn {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Baloo Thambi 2", cursive;
  font-size: 14px;
  min-height: 40px;
}

.join-btn:hover {
  background-color: #ccc;
  transform: translateY(-2px);
}

.join-btn:active {
  transform: translateY(0);
}

.join-btn.joined {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333;
  cursor: default;
}

.join-btn.joined:hover {
  background-color: #1a1a1a;
  transform: none;
}

/* Enhanced Event Details Modal */
.event-details-modal .modal-content {
  max-width: 700px;
  max-height: 90vh;
}

.event-image-large {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.event-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-details-content {
  padding: 24px;
}

.event-details-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
  line-height: 1.2;
}

.event-meta {
  margin-bottom: 24px;
}

.event-meta p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 16px;
  color: #ccc;
}

.event-meta i {
  color: #666;
  width: 16px;
}

.event-meta .price {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 8px;
}

.event-description {
  margin-bottom: 24px;
}

.event-description h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.event-description p {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 12px;
}

.event-organizer {
  margin-bottom: 24px;
  padding: 20px;
  background-color: #1a1a1a;
  border-radius: 16px;
  border: 1px solid #333;
}

.event-organizer h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.organizer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.organizer-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.organizer-info h5 {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.organizer-info p {
  font-size: 14px;
  color: #666;
}

.event-actions-large {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.share-event-btn,
.join-event-btn {
  flex: 1;
  min-width: 140px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Baloo Thambi 2", cursive;
  font-size: 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
}

.share-event-btn {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333;
}

.share-event-btn:hover {
  background-color: #333;
  border-color: #666;
}

.join-event-btn {
  background-color: #ffffff;
  color: #000000;
}

.join-event-btn:hover {
  background-color: #ccc;
  transform: translateY(-2px);
}

/* Enhanced Payment Modal */
.payment-modal .modal-content {
  max-width: 600px;
}

.event-summary {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid #333;
}

.event-summary h4 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.price-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.price-label {
  font-size: 14px;
  color: #666;
}

.ticket-quantity {
  margin-bottom: 24px;
}

.ticket-quantity label {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 600;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.quantity-btn {
  background-color: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background-color: #333;
  border-color: #666;
}

.quantity-value {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  min-width: 40px;
  text-align: center;
}

.payment-form {
  margin-bottom: 24px;
}

.payment-form h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row input {
  width: 100%;
  padding: 14px 16px;
  background-color: #1a1a1a !important;
  border: 1px solid #333 !important;
  border-radius: 12px;
  color: #ffffff !important;
  font-family: "Baloo Thambi 2", cursive;
  transition: border-color 0.3s ease;
  font-size: 16px;
  min-height: 48px;
}

.form-row input:focus {
  outline: none;
  border-color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
  background-color: #222 !important;
}

.form-row input::placeholder {
  color: #666 !important;
}

.total-section {
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid #333;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: #ccc;
}

.total-row.total {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  padding-top: 12px;
  border-top: 1px solid #333;
  margin-top: 12px;
  margin-bottom: 0;
}

.purchase-btn {
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Baloo Thambi 2", cursive;
  font-size: 16px;
  min-height: 52px;
}

.purchase-btn:hover {
  background-color: #ccc;
  transform: translateY(-2px);
}

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

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .explore-content {
    padding: 16px;
  }

  .filter-section {
    padding: 20px;
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .filter-container {
    gap: 20px;
  }

  .filter-tabs {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-tab {
    padding: 10px 16px;
    font-size: 13px;
    min-height: 40px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .filter-options {
    flex-direction: column;
    gap: 12px;
  }

  .filter-select {
    min-width: auto;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    min-height: 40px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-card {
    border-radius: 16px;
  }

  .event-image {
    height: 200px;
  }

  .event-badge {
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 11px;
  }

  .save-event {
    top: 12px;
    right: 12px;
    padding: 8px;
    min-width: 36px;
    min-height: 36px;
    font-size: 16px;
  }

  .event-info {
    padding: 16px;
    gap: 14px;
  }

  .event-date {
    padding: 10px;
    min-width: 50px;
  }

  .date-day {
    font-size: 18px;
  }

  .date-month {
    font-size: 11px;
  }

  .event-details h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .event-location,
  .event-time {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .event-price {
    font-size: 18px;
    margin-top: 10px;
  }

  .event-actions {
    padding: 14px 16px;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .event-stats {
    justify-content: center;
    font-size: 13px;
  }

  .join-btn {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    min-height: 44px;
  }

  /* Modal adjustments for mobile */
  .event-details-modal .modal-content {
    margin: 10px;
    max-width: none;
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .event-image-large {
    height: 250px;
  }

  .event-details-content {
    padding: 20px;
  }

  .event-details-content h2 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .event-meta p {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .event-meta .price {
    font-size: 18px;
  }

  .event-description p {
    font-size: 14px;
  }

  .event-organizer {
    padding: 16px;
  }

  .event-actions-large {
    flex-direction: column;
    gap: 12px;
  }

  .share-event-btn,
  .join-event-btn {
    min-width: auto;
    padding: 12px 16px;
    font-size: 14px;
    min-height: 44px;
  }

  .payment-modal .modal-content {
    margin: 10px;
    max-width: none;
    width: calc(100% - 20px);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-row input {
    padding: 12px 14px;
    font-size: 16px;
    min-height: 44px;
  }

  .quantity-controls {
    gap: 12px;
  }

  .quantity-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .quantity-value {
    font-size: 18px;
  }

  .purchase-btn {
    padding: 14px;
    font-size: 15px;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .explore-content {
    padding: 12px;
  }

  .filter-section {
    padding: 16px;
    margin-bottom: 20px;
  }

  .filter-container {
    gap: 16px;
  }

  .filter-tab {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 36px;
  }

  .filter-select {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 36px;
  }

  .events-grid {
    gap: 16px;
  }

  .event-image {
    height: 180px;
  }

  .event-info {
    padding: 14px;
    gap: 12px;
  }

  .event-date {
    padding: 8px;
    min-width: 45px;
  }

  .date-day {
    font-size: 16px;
  }

  .date-month {
    font-size: 10px;
  }

  .event-details h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .event-location,
  .event-time {
    font-size: 12px;
  }

  .event-price {
    font-size: 16px;
    margin-top: 8px;
  }

  .event-actions {
    padding: 12px 14px;
    gap: 10px;
  }

  .event-stats {
    font-size: 12px;
    gap: 12px;
  }

  .join-btn {
    padding: 10px;
    font-size: 12px;
    min-height: 40px;
  }

  .event-image-large {
    height: 200px;
  }

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

  .event-details-content h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .event-meta p {
    font-size: 13px;
  }

  .event-meta .price {
    font-size: 16px;
  }

  .event-description p {
    font-size: 13px;
  }

  .event-organizer {
    padding: 14px;
  }

  .organizer-info img {
    width: 40px;
    height: 40px;
  }

  .organizer-info h5 {
    font-size: 14px;
  }

  .organizer-info p {
    font-size: 12px;
  }

  .share-event-btn,
  .join-event-btn {
    padding: 10px 14px;
    font-size: 13px;
    min-height: 40px;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .filter-tab,
  .filter-select,
  .event-card,
  .save-event,
  .join-btn,
  .share-event-btn,
  .join-event-btn,
  .quantity-btn,
  .purchase-btn {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
  }

  .event-card:active {
    transform: scale(0.98);
  }

  .filter-tab:active {
    transform: scale(0.95);
  }

  .save-event:active {
    transform: scale(0.9);
  }

  .join-btn:active,
  .share-event-btn:active,
  .join-event-btn:active {
    transform: scale(0.95);
  }

  .quantity-btn:active {
    transform: scale(0.9);
  }

  .purchase-btn:active {
    transform: scale(0.98);
  }
}
