/* Enhanced Organizers Page - Modern Design with Tailwind-inspired utilities
========================================================*/

/* CSS Variables for consistent theming */
:root {
  --primary-black: #000000;
  --primary-white: #ffffff;
  --secondary-red: #ff3b3b;
  --secondary-red-hover: #e63333;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Dark mode variables */
[data-theme="dark"] {
  --primary-black: #ffffff;
  --primary-white: #000000;
  --gray-50: #111827;
  --gray-100: #1f2937;
  --gray-200: #374151;
  --gray-300: #4b5563;
  --gray-400: #6b7280;
  --gray-500: #9ca3af;
  --gray-600: #d1d5db;
  --gray-700: #e5e7eb;
  --gray-800: #f3f4f6;
  --gray-900: #f9fafb;
}

/* Enhanced Organizer Section with Premium Design */
.organizer-section {
  background: linear-gradient(135deg, var(--primary-white) 0%, var(--gray-50) 50%, var(--primary-white) 100%);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 8rem;
  min-height: 100vh;
  
  /* Add sophisticated texture overlay */
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 59, 59, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.01) 0%, transparent 50%),
    linear-gradient(45deg, transparent 49%, rgba(255, 59, 59, 0.005) 50%, transparent 51%);
  background-size: 400px 400px, 300px 300px, 100px 100px;
  background-position: 0 0, 200px 200px, 50px 50px;
  animation: backgroundShift 30s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% {
    background-position: 0 0, 200px 200px, 50px 50px;
  }
  50% {
    background-position: 100px 100px, 300px 100px, 150px 150px;
  }
}

/* Animated background elements */
.organizer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 59, 59, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 40% 60%, rgba(255, 59, 59, 0.02) 0%, transparent 25%);
  z-index: 0;
}

/* Enhanced Floating geometric shapes with premium effects */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 59, 59, 0.08), rgba(255, 59, 59, 0.02), transparent);
  z-index: 0;
  animation: float 25s ease-in-out infinite;
  filter: blur(1px);
  
  /* Add subtle border and glow */
  border: 1px solid rgba(255, 59, 59, 0.1);
  box-shadow: 
    0 0 50px rgba(255, 59, 59, 0.05),
    inset 0 0 50px rgba(255, 255, 255, 0.1);
}

.floating-shape:nth-child(1) {
  width: 500px;
  height: 500px;
  top: -250px;
  left: -250px;
  animation-delay: 0s;
  background: linear-gradient(135deg, rgba(255, 59, 59, 0.06), rgba(255, 59, 59, 0.02), transparent);
}

.floating-shape:nth-child(2) {
  width: 350px;
  height: 350px;
  bottom: -175px;
  right: 8%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.01), transparent);
  animation-delay: 8s;
  border-color: rgba(0, 0, 0, 0.05);
  box-shadow: 
    0 0 40px rgba(0, 0, 0, 0.03),
    inset 0 0 40px rgba(255, 255, 255, 0.05);
}

.floating-shape:nth-child(3) {
  width: 250px;
  height: 250px;
  top: 15%;
  right: 3%;
  animation-delay: 16s;
  background: linear-gradient(135deg, rgba(255, 59, 59, 0.05), rgba(255, 59, 59, 0.01), transparent);
}

.floating-shape:nth-child(4) {
  width: 180px;
  height: 180px;
  top: 65%;
  left: 12%;
  background: linear-gradient(135deg, rgba(255, 59, 59, 0.07), rgba(255, 59, 59, 0.02), transparent);
  animation-delay: 4s;
}

/* Add more floating elements for richness */
.floating-shape:nth-child(5) {
  width: 120px;
  height: 120px;
  top: 40%;
  left: 5%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01), transparent);
  animation-delay: 12s;
  border-color: rgba(0, 0, 0, 0.03);
}

.floating-shape:nth-child(6) {
  width: 80px;
  height: 80px;
  top: 80%;
  right: 25%;
  background: linear-gradient(135deg, rgba(255, 59, 59, 0.04), rgba(255, 59, 59, 0.01), transparent);
  animation-delay: 20s;
}

/* Container with proper z-index */
.organizer-section .container {
  position: relative;
  z-index: 1;
}

/* Premium Section Heading with Advanced Typography */
.section-heading {
  margin-bottom: 5rem;
  position: relative;
  text-align: center;
  padding: 2rem 0;
}

.section-heading__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--gray-700) 50%, var(--secondary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  letter-spacing: -0.03em;
  line-height: 1.1;
  
  /* Add text shadow for depth */
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  
  /* Animation on load */
  opacity: 0;
  transform: translateY(30px);
  animation: titleReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-heading__title::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-red), transparent);
  border-radius: 2px;
  opacity: 0.7;
}

.section-heading__title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, transparent 0%, var(--secondary-red) 20%, var(--secondary-red) 80%, transparent 100%);
  border-radius: 3px;
  
  /* Animated underline */
  animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 59, 59, 0.3);
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.6);
    transform: translateX(-50%) scaleX(1.1);
  }
}

.section-heading__desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.35rem;
  color: var(--gray-600);
  line-height: 1.8;
  font-weight: 400;
  position: relative;
  
  /* Enhanced typography */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  
  /* Staggered animation */
  opacity: 0;
  transform: translateY(20px);
  animation: descReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

@keyframes descReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add decorative elements around the heading */
.section-heading::before,
.section-heading::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255, 59, 59, 0.1);
  border-radius: 50%;
  z-index: -1;
}

.section-heading::before {
  top: 0;
  left: 10%;
  animation: decorativeRotate 20s linear infinite;
}

.section-heading::after {
  bottom: 0;
  right: 10%;
  animation: decorativeRotate 25s linear infinite reverse;
}

@keyframes decorativeRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Premium Search Box with Advanced Styling */
.organizer-filter {
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
  
  /* Add entrance animation */
  opacity: 0;
  transform: translateY(20px);
  animation: filterReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}

@keyframes filterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-box-wrapper {
  max-width: 600px;
  width: 100%;
  position: relative;
}

.search-box {
  display: flex;
  background: var(--primary-white);
  border-radius: 60px;
  padding: 12px;
  box-shadow: 
    var(--shadow-2xl),
    0 0 0 1px rgba(255, 59, 59, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  
  /* Premium gradient border effect */
  background-clip: padding-box;
}

.search-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 59, 0.15), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.search-box::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--secondary-red), transparent, var(--secondary-red));
  border-radius: 60px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-box:focus-within::before {
  left: 100%;
}

.search-box:focus-within::after {
  opacity: 1;
}

.search-box:focus-within {
  box-shadow: 
    var(--shadow-2xl),
    0 0 30px rgba(255, 59, 59, 0.2),
    0 0 0 4px rgba(255, 59, 59, 0.1);
  transform: translateY(-2px);
}

.search-box:hover {
  transform: translateY(-1px);
  box-shadow: 
    var(--shadow-2xl),
    0 0 20px rgba(255, 59, 59, 0.1);
}

.search-box .form--control {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 24px;
  font-size: 1rem;
  background: transparent;
  color: var(--gray-900);
  font-weight: 500;
}

.search-box .form--control::placeholder {
  color: var(--gray-400);
  font-weight: 400;
}

.search-box__button {
  background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-hover) 100%);
  color: var(--primary-white);
  border: none;
  border-radius: 40px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}

.search-box__button:hover {
  background: linear-gradient(135deg, var(--secondary-red-hover) 0%, #d12b2b 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.search-box__button:active {
  transform: translateY(0);
}

/* Enhanced Organizer Grid */
.organizer-grid {
  position: relative;
}

/* Premium Organizer Cards with Advanced Styling */
.organizer-item {
  background: var(--primary-white);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    var(--shadow-lg),
    0 0 0 1px rgba(255, 59, 59, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-100);
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  
  /* Add subtle gradient overlay */
  background-image: linear-gradient(135deg, var(--primary-white) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.organizer-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 59, 59, 0.02) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.organizer-item:hover::before {
  opacity: 1;
}

.organizer-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    var(--shadow-2xl),
    0 0 40px rgba(255, 59, 59, 0.15),
    0 0 0 1px rgba(255, 59, 59, 0.1);
  border-color: rgba(255, 59, 59, 0.2);
}

/* Enhanced profile image container */
.organizer-item::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-white) 0%, rgba(255, 255, 255, 0.9) 100%);
  top: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 
    var(--shadow-lg),
    0 0 20px rgba(255, 59, 59, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
  border: 5px solid var(--primary-white);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.organizer-item:hover::after {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 
    var(--shadow-xl),
    0 0 30px rgba(255, 59, 59, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.9);
  border-width: 6px;
}

/* Thumbnail section */
.organizer-item__thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: block;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
}

.organizer-item__thumb::after {
  content: '';
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  top: 144px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  border: 4px solid var(--primary-white);
  transition: all 0.3s ease;
}

.organizer-item:hover .organizer-item__thumb::after {
  transform: translateX(-50%) scale(1.1);
}

.organizer-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.organizer-item:hover .organizer-item__thumb img {
  transform: scale(1.1);
}

/* Overlay with view profile button */
.organizer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 59, 59, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.organizer-item:hover .organizer-overlay {
  opacity: 1;
}

.view-profile {
  color: var(--primary-white);
  font-weight: 700;
  padding: 12px 28px;
  border: 2px solid var(--primary-white);
  border-radius: 50px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.organizer-item:hover .view-profile {
  transform: translateY(0);
  opacity: 1;
}

.view-profile:hover {
  background: var(--primary-white);
  color: var(--secondary-red);
}

/* Content section */
.organizer-item__content {
  padding: 100px 24px 32px;
  position: relative;
  z-index: 2;
  background: var(--primary-white);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.organizer-item__title {
  margin-bottom: 16px;
  font-size: 1.375rem;
  font-weight: 800;
  position: relative;
}

.organizer-item__title a {
  color: var(--gray-900);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.organizer-item__title a:hover {
  color: var(--secondary-red);
  transform: translateY(-2px);
}

.organizer-item__title a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-red), rgba(255, 59, 59, 0.5));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.organizer-item__title a:hover::after {
  width: 100%;
}

/* Stats section */
.organizer-stats {
  margin-bottom: 24px;
}

.organizer-follower {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.organizer-follower i {
  font-size: 1.25rem;
}

.organizer-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  position: relative;
}

.organizer-meta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  border-radius: 1px;
}

.organizer-events {
  font-size: 1rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.organizer-events i {
  color: var(--gray-500);
  font-size: 1.25rem;
}

/* Action buttons */
.organizer-action {
  display: flex;
  justify-content: center;
  margin-top: auto;
}

.organizer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 10px;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.organizer-button::before {
  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;
}

.organizer-button:hover::before {
  left: 100%;
}

.follow-btn {
  background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-hover) 100%);
  color: var(--primary-white);
  border: none;
  box-shadow: var(--shadow-lg);
}

.follow-btn:hover {
  background: linear-gradient(135deg, var(--secondary-red-hover) 0%, #d12b2b 100%);
  color: var(--primary-white);
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.unfollow-btn {
  background: var(--primary-white);
  color: var(--secondary-red);
  border: 2px solid var(--secondary-red);
  box-shadow: var(--shadow-md);
}

.unfollow-btn:hover {
  background: var(--secondary-red);
  color: var(--primary-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.login-btn {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
  color: var(--primary-white);
  border: none;
  box-shadow: var(--shadow-lg);
}

.login-btn:hover {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-600) 100%);
  color: var(--primary-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Premium Empty State with Advanced Styling */
.empty-message {
  text-align: center;
  padding: 5rem 3rem;
  background: linear-gradient(135deg, var(--primary-white) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-radius: 24px;
  box-shadow: 
    var(--shadow-xl),
    0 0 0 1px rgba(255, 59, 59, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-100);
  max-width: 600px;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  
  /* Add entrance animation */
  opacity: 0;
  transform: translateY(30px);
  animation: emptyReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

@keyframes emptyReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.empty-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 59, 59, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
  z-index: 0;
}

.empty-message > * {
  position: relative;
  z-index: 1;
}

.empty-message i {
  font-size: 5rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  display: block;
  
  /* Add subtle animation */
  animation: iconFloat 3s ease-in-out infinite;
  
  /* Add gradient effect */
  background: linear-gradient(135deg, var(--gray-400) 0%, var(--secondary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.empty-message h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  
  /* Add text shadow for depth */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.empty-message p {
  font-size: 1.2rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  
  /* Enhanced typography */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Enhanced button in empty state */
.empty-message .organizer-button {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    var(--shadow-lg),
    0 0 20px rgba(255, 59, 59, 0.2);
  
  /* Add hover animation */
  position: relative;
  overflow: hidden;
}

.empty-message .organizer-button::before {
  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 cubic-bezier(0.4, 0, 0.2, 1);
}

.empty-message .organizer-button:hover::before {
  left: 100%;
}

.empty-message .organizer-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    var(--shadow-xl),
    0 0 30px rgba(255, 59, 59, 0.3);
}

/* Premium Pagination with Advanced Styling */
.pagination-wrapper {
  margin-top: 5rem;
  display: flex;
  justify-content: center;
  position: relative;
  
  /* Add entrance animation */
  opacity: 0;
  transform: translateY(20px);
  animation: paginationReveal 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s forwards;
}

@keyframes paginationReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 
    var(--shadow-lg),
    0 0 0 1px rgba(255, 59, 59, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pagination .page-item {
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination .page-link {
  padding: 14px 18px;
  border: 2px solid transparent;
  background: var(--primary-white);
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  min-width: 50px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  
  /* Add subtle gradient */
  background-image: linear-gradient(135deg, var(--primary-white) 0%, rgba(255, 255, 255, 0.9) 100%);
  box-shadow: var(--shadow-sm);
}

.pagination .page-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 59, 59, 0.1), transparent);
  transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination .page-link:hover::before {
  left: 100%;
}

.pagination .page-link:hover {
  background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-hover) 100%);
  color: var(--primary-white);
  border-color: var(--secondary-red);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 
    var(--shadow-lg),
    0 0 20px rgba(255, 59, 59, 0.3);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--secondary-red) 0%, var(--secondary-red-hover) 100%);
  color: var(--primary-white);
  border-color: var(--secondary-red);
  box-shadow: 
    var(--shadow-lg),
    0 0 25px rgba(255, 59, 59, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
  background: var(--gray-100);
  color: var(--gray-400);
}

/* Add special styling for prev/next buttons */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  font-size: 1.1rem;
  font-weight: 800;
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
  transform: translateY(-3px) scale(1.15);
}

/* Dark mode styles */
[data-theme="dark"] .organizer-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #111827 100%);
}

[data-theme="dark"] .organizer-section::before {
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 59, 59, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 40% 60%, rgba(255, 59, 59, 0.05) 0%, transparent 25%);
}

[data-theme="dark"] .section-heading__title {
  background: linear-gradient(135deg, var(--primary-white) 0%, var(--gray-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .section-heading__desc {
  color: var(--gray-400);
}

[data-theme="dark"] .search-box {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

[data-theme="dark"] .search-box .form--control {
  color: var(--primary-white);
}

[data-theme="dark"] .search-box .form--control::placeholder {
  color: var(--gray-500);
}

[data-theme="dark"] .organizer-item {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

[data-theme="dark"] .organizer-item::after {
  background: var(--gray-800);
  border-color: var(--gray-800);
}

[data-theme="dark"] .organizer-item__thumb::after {
  border-color: var(--gray-800);
}

[data-theme="dark"] .organizer-item__content {
  background: var(--gray-800);
}

[data-theme="dark"] .organizer-item__title a {
  color: var(--primary-white);
}

[data-theme="dark"] .organizer-events {
  color: var(--gray-400);
}

[data-theme="dark"] .organizer-meta::after {
  background: linear-gradient(90deg, transparent, var(--gray-700), transparent);
}

[data-theme="dark"] .unfollow-btn {
  background: var(--gray-800);
  border-color: var(--secondary-red);
}

[data-theme="dark"] .empty-message {
  background: linear-gradient(135deg, var(--gray-800) 0%, rgba(31, 41, 55, 0.95) 100%);
  border-color: var(--gray-700);
}

[data-theme="dark"] .empty-message::before {
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 59, 59, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

[data-theme="dark"] .empty-message i {
  background: linear-gradient(135deg, var(--gray-400) 0%, var(--secondary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .empty-message h4 {
  color: var(--primary-white);
}

[data-theme="dark"] .empty-message p {
  color: var(--gray-400);
}

[data-theme="dark"] .pagination {
  background: var(--gray-800);
  border-color: var(--gray-700);
}

[data-theme="dark"] .pagination .page-item .page-link {
  color: var(--gray-400);
}

[data-theme="dark"] .pagination .page-item .page-link:hover {
  background-color: var(--gray-700);
  color: var(--secondary-red);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-30px) rotate(5deg);
  }
  66% {
    transform: translateY(-15px) rotate(-3deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.organizer-item.animated {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.section-heading.animated {
  animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.organizer-filter.animated {
  animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .organizer-section {
    padding: 4rem 0;
  }
  
  .section-heading__title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
}

@media (max-width: 992px) {
  .organizer-section {
    padding: 3rem 0;
  }
  
  .section-heading {
    margin-bottom: 3rem;
  }
  
  .organizer-filter {
    margin-bottom: 2.5rem;
  }
  
  .search-box-wrapper {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .organizer-section {
    padding: 2.5rem 0;
  }
  
  .section-heading__desc {
    font-size: 1.125rem;
  }
  
  .search-box .form--control {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  
  .search-box__button {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  
  .organizer-item__title {
    font-size: 1.25rem;
  }
  
  .organizer-follower, .organizer-events {
    font-size: 0.95rem;
  }
  
  .organizer-button {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .view-profile {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
  
  .organizer-item::after {
    width: 80px;
    height: 80px;
    top: 130px;
  }
  
  .organizer-item__thumb::after {
    width: 72px;
    height: 72px;
    top: 134px;
  }
  
  .organizer-item__content {
    padding: 80px 20px 28px;
  }
}

@media (max-width: 576px) {
  .section-heading__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  
  .section-heading__title::after {
    width: 60px;
    margin-top: 15px;
  }
  
  .search-box {
    flex-direction: column;
    padding: 12px;
    border-radius: 20px;
  }
  
  .search-box .form--control {
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 8px;
  }
  
  .search-box__button {
    border-radius: 16px;
    justify-content: center;
  }
  
  .organizer-item::after {
    width: 70px;
    height: 70px;
    top: 125px;
  }
  
  .organizer-item__thumb::after {
    width: 62px;
    height: 62px;
    top: 129px;
  }
  
  .organizer-item__content {
    padding: 70px 16px 24px;
  }
  
  .empty-message {
    padding: 4rem 2rem;
    margin: 2rem auto;
  }
  
  .empty-message i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }
  
  .empty-message h4 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
  
  .empty-message p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .empty-message .organizer-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Utility classes for enhanced functionality */
.fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-left {
  opacity: 0;
  animation: slideInLeft 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-right {
  opacity: 0;
  animation: slideInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Theme toggle button */
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: var(--primary-white);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gray-700);
}

.theme-toggle:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .theme-toggle {
  background: var(--gray-800);
  border-color: var(--gray-600);
  color: var(--gray-300);
}

[data-theme="dark"] .theme-toggle:hover {
  background: var(--gray-700);
}

.theme-toggle i {
  font-size: 1.25rem;
}

/* Loading states */
.organizer-item.loading {
  opacity: 0.7;
  pointer-events: none;
}

.organizer-item.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
  z-index: 10;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Enhanced focus states for accessibility */
.organizer-button:focus,
.search-box__button:focus,
.organizer-item__title a:focus {
  outline: 3px solid rgba(255, 59, 59, 0.5);
  outline-offset: 2px;
}

.search-box .form--control:focus {
  outline: none;
}

/* Enhanced overlay content */
.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.quick-stats {
  color: var(--primary-white);
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.organizer-item:hover .quick-stats {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.1s;
}

/* Location styling */
.organizer-location {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}

.organizer-location i {
  color: var(--secondary-red);
  font-size: 1rem;
}

/* Enhanced stats layout */
.organizer-stats {
  margin-bottom: 24px;
}

.organizer-follower {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary-red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.organizer-follower .count {
  font-size: 1.125rem;
  font-weight: 800;
}

.organizer-follower .label {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
}

.organizer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  position: relative;
  flex-wrap: wrap;
}

.organizer-events,
.organizer-rating {
  font-size: 0.95rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.organizer-events .count,
.organizer-rating .count {
  font-weight: 700;
  color: var(--gray-800);
}

.organizer-events .label {
  font-size: 0.875rem;
}

.organizer-rating {
  color: #fbbf24;
}

.organizer-rating i {
  color: #fbbf24;
}

/* Verification and Featured Badges */
.verified-badge,
.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.verified-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--primary-white);
  box-shadow: var(--shadow-md);
}

.featured-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--primary-white);
  box-shadow: var(--shadow-md);
  top: 60px;
}

.verified-badge:hover,
.featured-badge:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* Enhanced button styles */
.organizer-button span {
  margin-left: 4px;
}

.organizer-button.unfollow-btn:hover span {
  display: none;
}

.organizer-button.unfollow-btn:hover::after {
  content: 'Unfollow';
  margin-left: 4px;
}

/* Improved responsive design for new elements */
@media (max-width: 768px) {
  .organizer-location {
    font-size: 0.8125rem;
    margin-bottom: 12px;
  }
  
  .organizer-follower .count {
    font-size: 1rem;
  }
  
  .organizer-follower .label,
  .organizer-events .label {
    font-size: 0.8125rem;
  }
  
  .organizer-meta {
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }
  
  .verified-badge,
  .featured-badge {
    width: 32px;
    height: 32px;
    font-size: 1.125rem;
    top: 12px;
    right: 12px;
  }
  
  .featured-badge {
    top: 50px;
  }
  
  .quick-stats {
    font-size: 0.8125rem;
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {
  .organizer-meta {
    flex-direction: column;
    gap: 12px;
  }
  
  .organizer-events,
  .organizer-rating {
    font-size: 0.875rem;
  }
  
  .verified-badge,
  .featured-badge {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    top: 10px;
    right: 10px;
  }
  
  .featured-badge {
    top: 44px;
  }
}

/* Dark mode adjustments for new elements */
[data-theme="dark"] .organizer-location {
  color: var(--gray-400);
}

[data-theme="dark"] .organizer-events .count,
[data-theme="dark"] .organizer-rating .count {
  color: var(--gray-200);
}

[data-theme="dark"] .quick-stats {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Print styles */
@media print {
  .organizer-section {
    background: white !important;
    box-shadow: none !important;
  }
  
  .floating-shape {
    display: none !important;
  }
  
  .organizer-item {
    break-inside: avoid;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  }
  
  .search-box,
  .theme-toggle,
  .verified-badge,
  .featured-badge {
    display: none !important;
  }
}