/* ============================================
   ALL EVENTS PAGE - MODERN REDESIGN v3
   ============================================ */

/* ---- ANIMATED BACKGROUND WRAPPER ---- */
.animated-bg-wrapper {
  position: relative;
  overflow: hidden;
  background: transparent;
}

@keyframes bgFlow {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 100% 25%; }
  50%  { background-position: 50% 100%; }
  75%  { background-position: 0% 75%; }
  100% { background-position: 0% 50%; }
}


/* ---- FLOATING PARTICLES ---- */
.floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.p1 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #dc3545 0%, transparent 70%);
  top: 5%; left: -5%;
  animation: floatA 18s infinite;
}
.p2 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, #e04b59 0%, transparent 70%);
  top: 40%; right: -3%;
  animation: floatB 22s infinite;
}
.p3 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, #f87171 0%, transparent 70%);
  bottom: 20%; left: 15%;
  animation: floatC 16s infinite;
}
.p4 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, #fca5a5 0%, transparent 70%);
  top: 60%; right: 20%;
  animation: floatA 25s infinite reverse;
}
.p5 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, #dc3545 0%, transparent 70%);
  bottom: 5%; right: 5%;
  animation: floatB 20s infinite;
}
.p6 {
  width: 90px; height: 90px;
  background: radial-gradient(circle, #fb923c 0%, transparent 70%);
  top: 15%; left: 50%;
  animation: floatC 24s infinite reverse;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, -40px) scale(1.1); }
  66%      { transform: translate(-30px, 50px) scale(0.9); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-50px, 30px) scale(1.15); }
  66%      { transform: translate(40px, -60px) scale(0.85); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, 30px) scale(1.2); }
}

/* Make content sit above particles */
.animated-bg-wrapper > .container,
.animated-bg-wrapper > section,
.animated-bg-wrapper > .social-footer {
  position: relative;
  z-index: 1;
}


/* ---- HERO CAROUSEL ---- */
.hero-carousel-section {
  /* Use Bootstrap's own gutter variable so it stays perfectly centered
     on every device regardless of gutter override */
  margin-top: -1.5rem;
  margin-left: calc(var(--bs-gutter-x, 1.5rem) * -.5);
  margin-right: calc(var(--bs-gutter-x, 1.5rem) * -.5);
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

@media (max-width: 991.98px) {
  .hero-carousel-section {
    margin-top: calc(-70px - 1rem);
    padding-top: 0;
  }
}

@media (min-width: 992px) {
  .hero-carousel-section {
    margin: -1.5rem 0 0 0;
    border-radius: 0 0 32px 32px;
  }
}

.hero-slide {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #1a1a2e;
}

@media (max-width: 991.98px) {
  .hero-slide {
    height: 300px;
    padding-top: 56px;
  }
}

@media (min-width: 768px) {
  .hero-slide {
    height: 420px;
  }
}

@media (min-width: 1200px) {
  .hero-slide {
    height: 480px;
  }
}

.hero-slide-empty {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}

.carousel-item.active .hero-slide-img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 35%,
    transparent 60%
  );
  z-index: 1;
}

.hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-caption {
    padding: 3rem 2.5rem;
  }
}

.hero-category-badge {
  display: inline-block;
  background: rgba(220, 53, 69, 0.9);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero-meta i {
  margin-right: 4px;
  color: #dc3545;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc3545;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.hero-cta-btn:hover {
  background: #c82333;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
}

/* Carousel nav arrows */
.carousel-nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-nav-icon,
.carousel-control-next:hover .carousel-nav-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none;
}

.carousel-indicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  width: 24px;
  border-radius: 4px;
  background: #dc3545;
}


/* ---- SEARCH + CATEGORIES BAR ---- */
.search-categories-bar {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.search-glass-form {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 4px 4px 4px 16px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.search-glass-form:focus-within {
  border-color: rgba(220, 53, 69, 0.4);
  box-shadow:
    0 4px 24px rgba(220, 53, 69, 0.1),
    0 0 0 3px rgba(220, 53, 69, 0.08);
  background: rgba(255, 255, 255, 0.85);
}

.search-icon {
  color: #999;
  font-size: 1rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.search-glass-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 8px;
  font-size: 0.95rem;
  color: #333;
  outline: none;
}

.search-glass-input::placeholder {
  color: #aaa;
}

.search-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: #999;
  text-decoration: none;
  transition: all 0.2s ease;
}

.search-clear-btn:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* Categories */
.categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0 4px 0;
  justify-content: center;
  flex-wrap: wrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

@media (max-width: 576px) {
  .categories-scroll {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: #555;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-chip:hover {
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.3);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.1);
}

.category-chip.active {
  background: linear-gradient(135deg, #dc3545, #e04b59);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.35);
}

.category-chip i {
  font-size: 0.85rem;
}


/* ---- EVENTS SECTION HEADER ---- */
.events-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 0 2px;
}

.events-section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1a1a2e;
  margin: 0;
}

.events-count {
  font-size: 0.78rem;
  color: #888;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}


/* ---- EVENTS GRID ---- */
.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
}

@media (min-width: 576px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .events-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}


/* ---- GLASS EVENT CARD ---- */
.event-card-wrapper {
  perspective: 800px;
}

.glass-event-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.2),
    rgba(220, 53, 69, 0.1),
    rgba(255, 255, 255, 0.4)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-event-card:hover::before {
  opacity: 1;
}

.glass-event-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.9);
}


/* ---- DATE FLAG ---- */
.date-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 52px;
  background: linear-gradient(135deg, #e70000, #c00000);
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(231, 0, 0, 0.4);
  overflow: hidden;
  transition: all 0.3s ease;
}

.date-flag::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 60%
  );
  animation: flag-shine 3s ease-in-out infinite;
}

@keyframes flag-shine {
  0%, 100% { transform: translateX(-100%); }
  50%      { transform: translateX(100%); }
}

.date-flag-day {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.date-flag-month {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}


/* ---- APPROACHING DATE: CONTINUOUS SUBTLE PULSE ---- */
.date-approaching {
  animation: approachPulse 2.5s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

@keyframes approachPulse {
  0%, 100% {
    background: linear-gradient(135deg, #dc3545, #b91c1c);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
  }
  50% {
    background: linear-gradient(135deg, #ef4444, #dc3545);
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.7), 0 0 8px rgba(220, 53, 69, 0.3);
  }
}

/* ---- APPROACHING DATE: SHAKE BURST (JS triggered) ---- */
.date-approaching.shake-now {
  animation: shakeRedWave 0.6s ease-in-out 3;
}

@keyframes shakeRedWave {
  0%   { transform: translateX(0) rotate(0deg); background: linear-gradient(135deg, #dc3545, #b91c1c); }
  10%  { transform: translateX(-4px) rotate(-3deg); }
  20%  { transform: translateX(4px) rotate(3deg); background: linear-gradient(135deg, #ff0000, #dc3545); }
  30%  { transform: translateX(-4px) rotate(-2deg); }
  40%  { transform: translateX(4px) rotate(2deg); background: linear-gradient(135deg, #ef4444, #ff0000); }
  50%  { transform: translateX(-2px) rotate(-1deg); }
  60%  { transform: translateX(2px) rotate(1deg); background: linear-gradient(135deg, #dc3545, #ef4444); }
  70%  { transform: translateX(-2px) rotate(0deg); }
  80%  { transform: translateX(2px) rotate(0deg); background: linear-gradient(135deg, #ff0000, #dc3545); }
  90%  { transform: translateX(-1px); }
  100% { transform: translateX(0); background: linear-gradient(135deg, #dc3545, #b91c1c); }
}


/* ---- CARD POSTER ---- */
.card-poster-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
}

.card-poster-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .card-poster-img {
    height: 200px;
  }
}

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

.poster-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translateX(-100%);
}

.glass-event-card:hover .poster-shimmer {
  opacity: 1;
  animation: shimmerSlide 0.8s ease forwards;
}

@keyframes shimmerSlide {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}


/* ---- CARD BODY ---- */
.glass-card-body {
  padding: 12px 14px 14px;
}

@media (min-width: 768px) {
  .glass-card-body {
    padding: 14px 16px 16px;
  }
}

.card-event-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #1a1a2e;
  margin: 0 0 6px 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-event-meta {
  margin-bottom: 8px;
}

.meta-venue {
  font-size: 0.72rem;
  color: #777;
  display: flex;
  align-items: center;
  gap: 3px;
}

.meta-venue i {
  color: #dc3545;
  font-size: 0.7rem;
}


/* ---- CARD FOOTER (PRICE + SHARE) ---- */
.card-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-price {
  flex: 1;
}

.price-amount {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #dc3545;
}

.price-free {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 10px;
  border-radius: 20px;
}

.share-icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  color: #888;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-icon-btn:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  transform: scale(1.1);
}

.share-dropdown {
  border: none;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
  min-width: 180px;
}

.share-dropdown .dropdown-item {
  border-radius: 8px;
  font-size: 0.8rem;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.share-dropdown .dropdown-item:hover {
  background: #f8f9fa;
  transform: translateX(3px);
}


/* ---- GET TICKETS BUTTON ---- */
.get-tickets-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 8px 0;
  background: linear-gradient(135deg, #dc3545, #e04b59);
  color: white;
  font-weight: 600;
  font-size: 0.78rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(220, 53, 69, 0.2);
  position: relative;
  overflow: hidden;
}

.get-tickets-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.get-tickets-btn:hover::after {
  left: 100%;
}

.get-tickets-btn:hover {
  background: linear-gradient(135deg, #c82333, #dc3545);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(220, 53, 69, 0.35);
}

.get-tickets-btn i {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.get-tickets-btn:hover i {
  transform: translateX(3px);
}


/* ---- PAGINATION ---- */
.pagination-nav {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.pagination-list {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.page-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.page-link-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-link-btn.active {
  background: linear-gradient(135deg, #dc3545, #e04b59);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(220, 53, 69, 0.3);
  font-weight: 600;
}


/* ---- EMPTY STATE ---- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #999;
}

.empty-state i {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  color: #ddd;
}

.empty-state h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9rem;
  max-width: 400px;
  margin: 0 auto;
}


/* ---- ABOUT SECTION ---- */
.about-section {
  margin-top: 3rem;
  padding: 2.5rem 0;
}

.about-glass-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.about-content {
  text-align: center;
}

.about-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.about-icon {
  color: #dc3545;
}

.about-text {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  background: rgba(255, 255, 255, 0.5);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.about-stat i {
  color: #dc3545;
  font-size: 1rem;
}


/* ---- SOCIAL FOOTER ---- */
.social-footer {
  text-align: center;
  padding: 1.5rem 0 2rem;
}

.social-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 0.75rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.05);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.social-fb {
  background: linear-gradient(135deg, #3b5998, #4c6fb0);
}

.social-x {
  background: linear-gradient(135deg, #14171a, #333);
}

.social-li {
  background: linear-gradient(135deg, #0077b5, #0088cc);
}


/* ---- ANIMATION: FADE-IN STAGGER ---- */
.event-card-wrapper {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.event-card-wrapper:nth-child(1)  { animation-delay: 0.05s; }
.event-card-wrapper:nth-child(2)  { animation-delay: 0.1s; }
.event-card-wrapper:nth-child(3)  { animation-delay: 0.15s; }
.event-card-wrapper:nth-child(4)  { animation-delay: 0.2s; }
.event-card-wrapper:nth-child(5)  { animation-delay: 0.25s; }
.event-card-wrapper:nth-child(6)  { animation-delay: 0.3s; }
.event-card-wrapper:nth-child(7)  { animation-delay: 0.35s; }
.event-card-wrapper:nth-child(8)  { animation-delay: 0.4s; }
.event-card-wrapper:nth-child(9)  { animation-delay: 0.45s; }
.event-card-wrapper:nth-child(10) { animation-delay: 0.5s; }
.event-card-wrapper:nth-child(11) { animation-delay: 0.55s; }
.event-card-wrapper:nth-child(12) { animation-delay: 0.6s; }

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


/* ============================================
   MOBILE CENTERING & STICKY FILTER BAR
   ============================================ */

/* Sticky search + categories on mobile — stays pinned just
   below the fixed navbar so users can always filter */
@media (max-width: 991.98px) {
  .search-categories-bar {
    position: sticky;
    top: 70px;   /* matches main-content padding-top on mobile */
    z-index: 99;
    max-width: none;
    /* cancel px-3 padding so bar spans edge-to-edge of the inner container */
    margin-left: -1rem;
    margin-right: -1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: rgba(254, 242, 242, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 53, 69, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border-radius: 0 0 14px 14px;
  }
}


/* ============================================
   SINGLE COLUMN ON VERY SMALL PHONES (< 400 px)
   ============================================ */
@media (max-width: 399.98px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .card-poster-img {
    height: 195px;
  }
  /* Particles are subtle anyway — drop them to save paint on tiny screens */
  .floating-particles {
    display: none;
  }
}


/* ============================================
   CATEGORY SCROLL — RIGHT-FADE INDICATOR
   Signals to users that more chips await on scroll
   ============================================ */
.categories-scroll-wrapper {
  position: relative;
}

/* Fade gradient on the right edge — only when chips can scroll */
@media (max-width: 575.98px) {
  .categories-scroll-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12px;
    bottom: 4px;
    width: 44px;
    background: linear-gradient(to right, transparent, rgba(254, 242, 242, 1));
    pointer-events: none;
    z-index: 2;
    border-radius: 0 8px 8px 0;
  }
}


/* ============================================
   BACK-TO-TOP FLOATING BUTTON
   ============================================ */
.back-to-top-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.25rem;
  z-index: 990;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #dc3545, #e04b59);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(220, 53, 69, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.1);
  /* hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.85);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background: linear-gradient(135deg, #c82333, #dc3545);
  color: white;
  box-shadow:
    0 6px 24px rgba(220, 53, 69, 0.5),
    0 3px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px) scale(1.08);
}

.back-to-top-btn:active {
  transform: translateY(0) scale(0.95);
}
