/* anggota.css - Futuristic & Interactive Member Page */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0d1428 100%);
  background-attachment: fixed;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

/* Animated background particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(59, 130, 246, 0.5), rgba(59, 130, 246, 0)),
    radial-gradient(2px 2px at 60% 70%, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0)),
    radial-gradient(1px 1px at 50% 50%, rgba(236, 72, 153, 0.4), rgba(236, 72, 153, 0)),
    radial-gradient(1px 1px at 80% 10%, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0));
  background-repeat: repeat;
  background-size: 200% 200%, 150% 150%, 250% 250%, 200% 200%;
  pointer-events: none;
  z-index: -1;
  animation: particleMove 20s ease infinite;
}

@keyframes particleMove {
  0% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
  50% { background-position: 100% 100%, 50% 50%, 100% 0%, 0% 100%; }
  100% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
}

/* Loader - Futuristic Loading Screen */
.loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.24s ease;
  overflow: hidden;
}

.loader::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 8s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.loader.hide {
  opacity: 0;
  pointer-events: none;
}

.human-container {
  position: relative;
  width: 200px;
  height: 200px;
  z-index: 10;
}

.human {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 3rem;
  color: #3b82f6;
  text-shadow: 0 0 20px #3b82f6, 0 0 40px rgba(59, 130, 246, 0.5);
  transform: translate(-50%, -50%);
  animation: scatterFuture 2.5s ease forwards, uniteFuture 2.5s ease 2.5s forwards;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
}

.human:nth-child(1) { animation-delay: 0s, 2.5s; }
.human:nth-child(2) { animation-delay: 0.2s, 2.7s; }
.human:nth-child(3) { animation-delay: 0.4s, 2.9s; }
.human:nth-child(4) { animation-delay: 0.6s, 3.1s; }
.human:nth-child(5) { animation-delay: 0.8s, 3.3s; }

@keyframes scatterFuture {
  to { 
    transform: translate(var(--tx, -200%), var(--ty, -200%)) rotate(360deg) scale(0.5);
    opacity: 0;
  }
}

@keyframes uniteFuture {
  to { 
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }
}

#loading-text {
  margin-top: 2rem;
  font-size: 1.3rem;
  opacity: 0;
  transition: opacity 1s ease;
  color: #8b5cf6;
  text-shadow: 0 0 15px #8b5cf6, 0 0 30px rgba(139, 92, 246, 0.3);
  letter-spacing: 2px;
  animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% { 
    text-shadow: 0 0 15px #8b5cf6, 0 0 30px rgba(139, 92, 246, 0.3);
  }
  50% { 
    text-shadow: 0 0 25px #8b5cf6, 0 0 50px rgba(139, 92, 246, 0.6);
  }
}

header, main, footer {
  padding: 1rem;
}

/* Section Styling */
#anggota {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0;
}

#anggota h2 {
  font-size: 2rem;
  margin: 1.5rem 0 0.75rem 0;
  color: #e0e7ff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#anggota > p {
  font-size: 0.95rem;
  color: #a0aec0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Stats - Enhanced Futuristic */
.stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  perspective: 1000px;
}

.stat-item {
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  padding: 1.5rem;
  border-radius: 15px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-width: 140px;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
  animation: statShine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes statShine {
  0% { transform: translate(0, 0); }
  50% { transform: translate(25%, 25%); }
  100% { transform: translate(0, 0); }
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.4), 
              0 15px 40px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
}

.stat-number {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  margin-bottom: 0.5rem;
  animation: numberPulse 2s ease-in-out infinite;
}

@keyframes numberPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.stat-label {
  font-size: 0.9rem;
  color: #a0aec0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Search Bar - Enhanced Futuristic */
.search-container {
  margin-bottom: 2.5rem;
  text-align: center;
  perspective: 1000px;
  width: 100%;
  padding: 0 1rem;
}

.search-input {
  width: 100%;
  max-width: 500px;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  position: relative;
  box-sizing: border-box;
}

.search-input::placeholder {
  color: #718096;
}

.search-input:focus {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.4), 
              0 0 80px rgba(59, 130, 246, 0.2),
              inset 0 0 20px rgba(139, 92, 246, 0.1);
  transform: scale(1.02);
}

/* Filter Container & Buttons */
.filter-container {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
  animation: filterContainerFadeIn 0.6s ease;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@keyframes filterContainerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-section {
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.filter-section:last-child {
  margin-bottom: 0;
}

.filter-section h4 {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
  color: #c7d2e0;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  word-break: break-word;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.filter-btn {
  padding: 0.7rem 1.2rem;
  border: 2px solid rgba(59, 130, 246, 0.4);
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.05));
  color: #a0aec0;
  font-size: 0.85rem;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(139, 92, 246, 0.3);
  transition: left 0.3s ease;
  z-index: -1;
}

.filter-btn:hover {
  border-color: rgba(139, 92, 246, 0.6);
  color: #e0e7ff;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.filter-btn:hover::before {
  left: 0;
}

.filter-btn.active {
  border-color: #fff;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.3));
  color: #fff;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6), 0 0 60px rgba(59, 130, 246, 0.3);
  font-weight: bold;
}

.filter-btn.active::before {
  left: 0;
}

/* Group Header */
.group-header {
  grid-column: 1 / -1;
  font-size: 1.3rem;
  font-weight: bold;
  color: #e0e7ff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  animation: groupHeaderSlideIn 0.5s ease;
}

.group-header:first-child {
  margin-top: 0;
}

@keyframes groupHeaderSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Group Divider - Keren dan Eksklusif */
.group-divider {
  grid-column: 1 / -1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
  margin-bottom: 2rem;
  border-radius: 1px;
  position: relative;
  animation: dividerSlideIn 0.6s ease;
}

.group-divider::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.4), transparent);
  animation: dividerGlow 3s ease-in-out infinite;
}

@keyframes dividerSlideIn {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

@keyframes dividerGlow {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
  }
}

/* Badge-specific dividers */
.group-divider.badge-founder {
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.group-divider.badge-founder::before {
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.5), transparent);
  animation: dividerGlowGold 3s ease-in-out infinite;
}

.group-divider.badge-visionary {
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.6), transparent);
}

.group-divider.badge-visionary::before {
  background: radial-gradient(ellipse at center, rgba(138, 43, 226, 0.5), transparent);
  animation: dividerGlowPurple 3s ease-in-out infinite;
}

.group-divider.badge-elite {
  background: linear-gradient(90deg, transparent, rgba(157, 78, 221, 0.6), transparent);
}

.group-divider.badge-elite::before {
  background: radial-gradient(ellipse at center, rgba(157, 78, 221, 0.5), transparent);
}

.group-divider.badge-guardian {
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.6), transparent);
}

.group-divider.badge-commander {
  background: linear-gradient(90deg, transparent, rgba(255, 0, 110, 0.6), transparent);
}

.group-divider.badge-developer {
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
}

.group-divider.badge-moderator {
  background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.6), transparent);
}

.group-divider.badge-artist {
  background: linear-gradient(90deg, transparent, rgba(255, 152, 0, 0.6), transparent);
}

.group-divider.badge-supporter {
  background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.6), transparent);
}

.group-divider.badge-ambassador {
  background: linear-gradient(90deg, transparent, rgba(156, 39, 176, 0.6), transparent);
}

.group-divider.badge-contributor {
  background: linear-gradient(90deg, transparent, rgba(96, 125, 139, 0.6), transparent);
}

.group-divider.badge-member {
  background: linear-gradient(90deg, transparent, rgba(158, 158, 158, 0.6), transparent);
}

/* Status-specific dividers */
.group-divider.status-active {
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.6), transparent);
}

.group-divider.status-active::before {
  background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.5), transparent);
  animation: dividerGlowGreen 3s ease-in-out infinite;
}

.group-divider.status-inactive {
  background: linear-gradient(90deg, transparent, rgba(147, 112, 219, 0.6), transparent);
}

.group-divider.status-suspended {
  background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.6), transparent);
}

@keyframes dividerGlowGold {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  }
}

@keyframes dividerGlowPurple {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
  }
}

@keyframes dividerGlowGreen {
  0%, 100% {
    opacity: 0.3;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
  }
}

/* Member Grid - Enhanced */
.member-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
  perspective: 1000px;
  width: 100%;
  box-sizing: border-box;
}

/* Member Card - Futuristic Interactive */
.member-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 50, 80, 0.8));
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 
              0 0 20px rgba(59, 130, 246, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  cursor: pointer;
  position: relative;
  animation: cardEntry 0.6s ease forwards;
  opacity: 0;
  transform-style: preserve-3d;
}

@keyframes cardEntry {
  from {
    opacity: 0;
    transform: translateY(40px) rotateX(10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.2s; }
.member-card:nth-child(3) { animation-delay: 0.3s; }
.member-card:nth-child(4) { animation-delay: 0.4s; }
.member-card:nth-child(5) { animation-delay: 0.5s; }
.member-card:nth-child(6) { animation-delay: 0.6s; }
.member-card:nth-child(n+7) { animation-delay: 0.7s; }

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.member-card:hover::before {
  left: 100%;
}

.member-card:hover {
  transform: translateY(-15px) scale(1.05);
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3),
              0 0 40px rgba(59, 130, 246, 0.2),
              inset 0 0 30px rgba(139, 92, 246, 0.1);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(50, 70, 120, 0.9));
}

.member-card:active {
  transform: translateY(-10px) scale(1.03);
}

.member-card img {
  width: 100%;
  object-fit: cover;
  height: 200px;
  display: block;
  transition: all 0.5s ease;
  filter: brightness(0.9);
}

.member-card:hover img {
  filter: brightness(1.1) contrast(1.1) drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
  transform: scale(1.08);
}

.member-card-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.member-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.member-card:hover h3 {
  text-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.member-card .title {
  font-size: 0.9rem;
  color: #ec4899;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.member-card p {
  margin: 0.75rem 0;
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 0.95rem;
}

.member-card .works {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.member-card .works li {
  color: #f0f9ff;
  font-size: 0.85rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  transition: all 0.3s ease;
  cursor: default;
}

.member-card:hover .works li {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.25));
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateX(4px);
}

/* Badge System - Enhanced */
.badge-founder {
  background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700),
              radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.8) 2px, transparent 2px),
              radial-gradient(circle at 80% 80%, rgba(255, 165, 0, 0.6) 1px, transparent 1px),
              radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.7) 1.5px, transparent 1.5px) !important;
  background-size: 100% 100%, 20px 20px, 15px 15px, 25px 25px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 1), 0 0 60px rgba(255, 165, 0, 0.6), 0 0 90px rgba(255, 215, 0, 0.4) !important;
  /* Removed border for futuristic look */
  position: relative;
  overflow: hidden;
  animation: founderGlow 2s ease-in-out infinite, founderParticles 3s linear infinite;
}

.badge-founder::before {
  content: '👑';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2em;
  opacity: 0.8;
  animation: crownFloat 2s ease-in-out infinite;
}

.badge-founder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  animation: goldShimmer 1.5s ease-in-out infinite alternate;
}

.badge-founder-special {
  /* Enhanced futuristic effects for special founder badge */
  box-shadow: 0 0 40px rgba(255, 215, 0, 1), 0 0 80px rgba(255, 165, 0, 0.65), 0 0 120px rgba(255, 215, 0, 0.5) !important;
  animation: founderGlow 1.5s ease-in-out infinite, founderParticles 2.5s linear infinite, specialPulse 3s ease-in-out infinite;
}

.badge-guardian {
  background: linear-gradient(135deg, #FF6B35, #FF8C42) !important;
  box-shadow: 0 0 25px rgba(255, 107, 53, 0.8), 0 0 50px rgba(255, 107, 53, 0.4) !important;
  border: 2px solid rgba(255, 107, 53, 0.6) !important;
  animation: guardianGlow 2.5s ease-in-out infinite;
}

.badge-developer {
  background: linear-gradient(135deg, #00D4FF, #00F0FF) !important;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.8), 0 0 50px rgba(0, 212, 255, 0.4) !important;
  border: 2px solid rgba(0, 212, 255, 0.6) !important;
  animation: devGlow 2s ease-in-out infinite;
}

.badge-elite {
  background: linear-gradient(135deg, #9D4EDD, #C77DFF) !important;
  box-shadow: 0 0 25px rgba(157, 78, 221, 0.8), 0 0 50px rgba(157, 78, 221, 0.4) !important;
  border: 2px solid rgba(157, 78, 221, 0.6) !important;
  animation: eliteGlow 2s ease-in-out infinite;
}

.badge-commander {
  background: linear-gradient(135deg, #FF006E, #FF1493) !important;
  box-shadow: 0 0 25px rgba(255, 0, 110, 0.8), 0 0 50px rgba(255, 0, 110, 0.4) !important;
  border: 2px solid rgba(255, 0, 110, 0.6) !important;
  animation: commanderGlow 2s ease-in-out infinite;
}

.badge-visionary {
  background: linear-gradient(135deg, #8A2BE2, #DA70D6) !important;
  box-shadow: 0 0 30px rgba(138, 43, 226, 1), 0 0 60px rgba(138, 43, 226, 0.6) !important;
  border: 2px solid rgba(138, 43, 226, 0.8) !important;
  animation: visionaryGlow 2.5s ease-in-out infinite;
}

.badge-moderator {
  background: linear-gradient(135deg, #4CAF50, #66BB6A) !important;
  box-shadow: 0 0 25px rgba(76, 175, 80, 0.8), 0 0 50px rgba(76, 175, 80, 0.4) !important;
  border: 2px solid rgba(76, 175, 80, 0.6) !important;
  animation: moderatorGlow 2s ease-in-out infinite;
}

.badge-artist {
  background: linear-gradient(135deg, #FF9800, #FFB74D) !important;
  box-shadow: 0 0 25px rgba(255, 152, 0, 0.8), 0 0 50px rgba(255, 152, 0, 0.4) !important;
  border: 2px solid rgba(255, 152, 0, 0.6) !important;
  animation: artistGlow 2s ease-in-out infinite;
}

.badge-supporter {
  background: linear-gradient(135deg, #2196F3, #42A5F5) !important;
  box-shadow: 0 0 25px rgba(33, 150, 243, 0.8), 0 0 50px rgba(33, 150, 243, 0.4) !important;
  border: 2px solid rgba(33, 150, 243, 0.6) !important;
  animation: supporterGlow 2s ease-in-out infinite;
}

.badge-ambassador {
  background: linear-gradient(135deg, #9C27B0, #BA68C8) !important;
  box-shadow: 0 0 25px rgba(156, 39, 176, 0.8), 0 0 50px rgba(156, 39, 176, 0.4) !important;
  border: 2px solid rgba(156, 39, 176, 0.6) !important;
  animation: ambassadorGlow 2s ease-in-out infinite;
}

.badge-contributor {
  background: linear-gradient(135deg, #607D8B, #78909C) !important;
  box-shadow: 0 0 25px rgba(96, 125, 139, 0.8), 0 0 50px rgba(96, 125, 139, 0.4) !important;
  border: 2px solid rgba(96, 125, 139, 0.6) !important;
  animation: contributorGlow 2s ease-in-out infinite;
}

.badge-member {
  background: linear-gradient(135deg, #9E9E9E, #BDBDBD) !important;
  box-shadow: 0 0 15px rgba(158, 158, 158, 0.6), 0 0 30px rgba(158, 158, 158, 0.3) !important;
  border: 2px solid rgba(158, 158, 158, 0.5) !important;
  animation: memberGlow 3s ease-in-out infinite;
}

@keyframes founderGlow {
  0%, 100% { 
    box-shadow: 0 0 30px rgba(255, 215, 0, 1), 0 0 60px rgba(255, 165, 0, 0.6);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 50px rgba(255, 215, 0, 1), 0 0 100px rgba(255, 165, 0, 0.8);
    transform: scale(1.08);
  }
}

@keyframes founderParticles {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

@keyframes crownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0px); opacity: 0.8; }
  50% { transform: translateX(-50%) translateY(-3px); opacity: 1; }
}

@keyframes goldShimmer {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes specialPulse {
  0%, 100% { filter: brightness(1) hue-rotate(0deg); }
  50% { filter: brightness(1.2) hue-rotate(10deg); }
}

@keyframes guardianGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.8), 0 0 50px rgba(255, 107, 53, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.9), 0 0 80px rgba(255, 107, 53, 0.6);
    transform: scale(1.05);
  }
}

@keyframes devGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.8), 0 0 50px rgba(0, 212, 255, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.9), 0 0 80px rgba(0, 212, 255, 0.6);
    transform: scale(1.05);
  }
}

@keyframes eliteGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(157, 78, 221, 0.8), 0 0 50px rgba(157, 78, 221, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(157, 78, 221, 0.9), 0 0 80px rgba(157, 78, 221, 0.6);
    transform: scale(1.05);
  }
}

@keyframes commanderGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.8), 0 0 50px rgba(255, 0, 110, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.9), 0 0 80px rgba(255, 0, 110, 0.6);
    transform: scale(1.05);
  }
}

@keyframes moderatorGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(76, 175, 80, 0.8), 0 0 50px rgba(76, 175, 80, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(76, 175, 80, 0.9), 0 0 80px rgba(76, 175, 80, 0.6);
    transform: scale(1.05);
  }
}

@keyframes artistGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(255, 152, 0, 0.8), 0 0 50px rgba(255, 152, 0, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(255, 152, 0, 0.9), 0 0 80px rgba(255, 152, 0, 0.6);
    transform: scale(1.05);
  }
}

@keyframes supporterGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(33, 150, 243, 0.8), 0 0 50px rgba(33, 150, 243, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(33, 150, 243, 0.9), 0 0 80px rgba(33, 150, 243, 0.6);
    transform: scale(1.05);
  }
}

@keyframes ambassadorGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(156, 39, 176, 0.8), 0 0 50px rgba(156, 39, 176, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(156, 39, 176, 0.9), 0 0 80px rgba(156, 39, 176, 0.6);
    transform: scale(1.05);
  }
}

@keyframes contributorGlow {
  0%, 100% { 
    box-shadow: 0 0 25px rgba(96, 125, 139, 0.8), 0 0 50px rgba(96, 125, 139, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(96, 125, 139, 0.9), 0 0 80px rgba(96, 125, 139, 0.6);
    transform: scale(1.05);
  }
}

@keyframes memberGlow {
  0%, 100% { 
    box-shadow: 0 0 15px rgba(158, 158, 158, 0.6), 0 0 30px rgba(158, 158, 158, 0.3);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 25px rgba(158, 158, 158, 0.8), 0 0 50px rgba(158, 158, 158, 0.5);
    transform: scale(1.02);
  }
}

/* Suspended Card Punishment Visual Effects - Enhanced Frozen Look */
.suspended-card {
  position: relative;
  opacity: 0.7;
  filter: grayscale(100%) blur(0.5px) sepia(0.3) hue-rotate(180deg) saturate(0.5);
  /* Removed pointer-events: none to allow clicking for dramatic effect */
  border: 3px solid #00BFFF !important; /* Deep sky blue for icy effect */
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.6), 0 0 50px rgba(0, 191, 255, 0.3) !important;
  background: linear-gradient(135deg, rgba(173, 216, 230, 0.2), rgba(135, 206, 250, 0.1));
  animation: suspendedFreeze 4s ease-in-out infinite;
  will-change: filter, transform; /* Optimize for mobile performance */
  cursor: pointer; /* Indicate it's clickable */
}

.suspended-card::before {
  content: '🚫 CONDEMNED 🚫';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.9), rgba(30, 144, 255, 0.8));
  color: white;
  padding: 12px 25px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  z-index: 10;
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
  animation: suspendedFrost 3s ease-in-out infinite alternate;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.suspended-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.3) 0.5px, transparent 0.5px),
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.5) 0.8px, transparent 0.8px),
    linear-gradient(45deg, transparent 40%, rgba(173, 216, 230, 0.1) 50%, transparent 60%);
  pointer-events: none;
  animation: iceCrystals 6s linear infinite;
}

/* Additional frost particles for dramatic effect */
.suspended-card .frost-particle-1,
.suspended-card .frost-particle-2,
.suspended-card .frost-particle-3 {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(173, 216, 230, 0.6));
  border-radius: 50%;
  animation: snowFall 4s linear infinite;
}

.suspended-card .frost-particle-1 {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.suspended-card .frost-particle-2 {
  top: 20%;
  right: 20%;
  animation-delay: 1s;
  width: 3px;
  height: 3px;
}

.suspended-card .frost-particle-3 {
  bottom: 15%;
  left: 70%;
  animation-delay: 2s;
  width: 5px;
  height: 5px;
}

@keyframes suspendedFreeze {
  0%, 100% {
    filter: grayscale(100%) blur(0.5px) sepia(0.3) hue-rotate(180deg) saturate(0.5) brightness(0.9);
    transform: scale(1) rotate(0deg);
  }
  25% {
    filter: grayscale(100%) blur(0.3px) sepia(0.3) hue-rotate(180deg) saturate(0.5) brightness(0.95);
    transform: scale(1.01) rotate(0.5deg);
  }
  50% {
    filter: grayscale(100%) blur(0.5px) sepia(0.3) hue-rotate(180deg) saturate(0.5) brightness(0.85);
    transform: scale(0.99) rotate(-0.5deg);
  }
  75% {
    filter: grayscale(100%) blur(0.3px) sepia(0.3) hue-rotate(180deg) saturate(0.5) brightness(0.95);
    transform: scale(1.01) rotate(0.5deg);
  }
}

@keyframes suspendedFrost {
  0% {
    transform: translate(-50%, -50%) rotate(-10deg) scale(1);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-10deg) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 191, 255, 1), inset 0 0 15px rgba(255, 255, 255, 0.5);
  }
  100% {
    transform: translate(-50%, -50%) rotate(-10deg) scale(1);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.3);
  }
}

@keyframes iceCrystals {
  0% { opacity: 0.3; }
  50% { opacity: 0.6; }
  100% { opacity: 0.3; }
}

@keyframes snowFall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(110px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes visionaryGlow {
  0%, 100% { 
    box-shadow: 0 0 30px rgba(138, 43, 226, 1), 0 0 60px rgba(138, 43, 226, 0.6);
    transform: scale(1) rotate(0deg);
  }
  25% { 
    box-shadow: 0 0 45px rgba(138, 43, 226, 1.1), 0 0 90px rgba(138, 43, 226, 0.7);
    transform: scale(1.1) rotate(1deg);
  }
  50% { 
    box-shadow: 0 0 60px rgba(138, 43, 226, 1.2), 0 0 120px rgba(138, 43, 226, 0.8);
    transform: scale(1.15) rotate(0deg);
  }
  75% { 
    box-shadow: 0 0 45px rgba(138, 43, 226, 1.1), 0 0 90px rgba(138, 43, 226, 0.7);
    transform: scale(1.1) rotate(-1deg);
  }
}

/* Inactive Card Mystical Ghost Effects - Creative Haunted Look */
.inactive-card {
  position: relative;
  opacity: 0.6;
  filter: sepia(0.4) hue-rotate(45deg) saturate(0.3) brightness(0.7) contrast(1.2);
  border: 2px solid rgba(147, 112, 219, 0.6) !important;
  box-shadow: 0 0 20px rgba(147, 112, 219, 0.4), 0 0 40px rgba(75, 0, 130, 0.2) !important;
  background: linear-gradient(135deg, rgba(25, 25, 112, 0.3), rgba(72, 61, 139, 0.2));
  animation: ghostFloat 6s ease-in-out infinite;
  will-change: filter, transform;
  cursor: pointer;
  overflow: hidden;
}

.inactive-card::before {
  content: '👻 TIDAK AKTIF 👻';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  background: linear-gradient(135deg, rgba(147, 112, 219, 0.8), rgba(75, 0, 130, 0.7));
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9em;
  text-align: center;
  z-index: 10;
  box-shadow: 0 0 15px rgba(147, 112, 219, 0.6), inset 0 0 8px rgba(255, 255, 255, 0.2);
  animation: ghostPulse 4s ease-in-out infinite alternate;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.inactive-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 20%, rgba(147, 112, 219, 0.1) 1.5px, transparent 1.5px),
    linear-gradient(45deg, transparent 30%, rgba(72, 61, 139, 0.05) 50%, transparent 70%);
  pointer-events: none;
  animation: dustParticles 8s linear infinite;
}

/* Ghost particles - mystical floating elements */
.inactive-card .ghost-particle-1,
.inactive-card .ghost-particle-2,
.inactive-card .ghost-particle-3,
.inactive-card .ghost-particle-4,
.inactive-card .ghost-particle-5 {
  position: absolute;
  width: 3px;
  height: 3px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(147, 112, 219, 0.4));
  border-radius: 50%;
  animation: ghostDrift 5s linear infinite;
}

.inactive-card .ghost-particle-1 {
  top: 15%;
  left: 20%;
  animation-delay: 0s;
  width: 4px;
  height: 4px;
}

.inactive-card .ghost-particle-2 {
  top: 25%;
  right: 25%;
  animation-delay: 1.2s;
  width: 2px;
  height: 2px;
}

.inactive-card .ghost-particle-3 {
  bottom: 20%;
  left: 30%;
  animation-delay: 2.4s;
  width: 3px;
  height: 3px;
}

.inactive-card .ghost-particle-4 {
  top: 40%;
  right: 15%;
  animation-delay: 3.6s;
  width: 2px;
  height: 2px;
}

.inactive-card .ghost-particle-5 {
  bottom: 30%;
  left: 60%;
  animation-delay: 4.8s;
  width: 4px;
  height: 4px;
}

/* Ethereal orb - floating mystical energy */
.inactive-card .ethereal-orb {
  position: absolute;
  top: 70%;
  right: 10%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, rgba(147, 112, 219, 0.4), rgba(75, 0, 130, 0.2));
  border-radius: 50%;
  animation: etherealGlow 3s ease-in-out infinite alternate;
  box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
}

@keyframes ghostFloat {
  0%, 100% {
    filter: sepia(0.4) hue-rotate(45deg) saturate(0.3) brightness(0.7) contrast(1.2);
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  25% {
    filter: sepia(0.4) hue-rotate(45deg) saturate(0.35) brightness(0.75) contrast(1.1);
    transform: translateY(-2px) rotate(0.5deg) scale(1.01);
  }
  50% {
    filter: sepia(0.4) hue-rotate(45deg) saturate(0.25) brightness(0.65) contrast(1.3);
    transform: translateY(2px) rotate(-0.5deg) scale(0.99);
  }
  75% {
    filter: sepia(0.4) hue-rotate(45deg) saturate(0.35) brightness(0.75) contrast(1.1);
    transform: translateY(-1px) rotate(0.3deg) scale(1.005);
  }
}

@keyframes ghostPulse {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) rotate(-5deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-5deg) scale(1.05);
  }
}

@keyframes dustParticles {
  0% { background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%; }
  25% { background-position: 25% 25%, 50% 50%, 75% 25%, 100% 0%; }
  50% { background-position: 50% 50%, 100% 100%, 50% 50%, 0% 100%; }
  75% { background-position: 75% 75%, 50% 50%, 25% 75%, 100% 0%; }
  100% { background-position: 100% 100%, 0% 0%, 0% 0%, 0% 0%; }
}

@keyframes ghostDrift {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-5px) translateX(3px) rotate(90deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) translateX(-2px) rotate(180deg);
    opacity: 1;
  }
  75% {
    transform: translateY(-5px) translateX(1px) rotate(270deg);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0px) translateX(0px) rotate(360deg);
    opacity: 0.3;
  }
}

@keyframes etherealGlow {
  0% {
    opacity: 0.4;
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 10px rgba(147, 112, 219, 0.5);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.2) rotate(180deg);
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.8), 0 0 30px rgba(75, 0, 130, 0.4);
  }
}

.member-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 10;
  backdrop-filter: blur(15px);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.member-badge:hover,
.member-card:hover .member-badge {
  transform: scale(1.1) rotate(5deg);
}

/* Founder Ultra-VIP Exclusive Effects - Imperial Majesty */
.member-card.founder-card {
  border: 4px solid linear-gradient(45deg, #FFD700, #FF8C00, #FFD700) !important;
  border-image: linear-gradient(45deg, #FFD700, #FF8C00, #FFD700) 1 !important;
  box-shadow:
    0 0 60px rgba(255, 215, 0, 0.9),
    0 0 120px rgba(255, 140, 0, 0.6),
    0 0 180px rgba(255, 215, 0, 0.3),
    inset 0 0 40px rgba(255, 215, 0, 0.15),
    inset 0 0 80px rgba(255, 140, 0, 0.1) !important;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 140, 0, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, rgba(20, 15, 5, 0.95), rgba(45, 35, 15, 0.95), rgba(20, 15, 5, 0.95)) !important;
  position: relative;
  animation: imperialMajesty 5s ease-in-out infinite;
  border-radius: 30px;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 3;
  transform: scale(1.02);
  transition: all 0.5s ease;
}

.member-card.founder-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow:
    0 0 80px rgba(255, 215, 0, 1),
    0 0 160px rgba(255, 140, 0, 0.8),
    0 0 240px rgba(255, 215, 0, 0.5),
    inset 0 0 60px rgba(255, 215, 0, 0.2),
    inset 0 0 120px rgba(255, 140, 0, 0.15) !important;
}

.member-card.founder-card::before {
  content: '';
  position: absolute;
  inset: -10px;
  background:
    conic-gradient(from 0deg at 50% 50%, rgba(255, 215, 0, 0.1) 0deg, rgba(255, 140, 0, 0.05) 90deg, rgba(255, 215, 0, 0.1) 180deg, rgba(255, 140, 0, 0.05) 270deg, rgba(255, 215, 0, 0.1) 360deg),
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 140, 0, 0.12) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0.6;
  animation: royalAura 4s ease-in-out infinite;
  border-radius: 35px;
}

.member-card.founder-card::after {
  content: '👑 FOUNDER 👑';
  position: absolute;
  top: 20px;
  right: 15px;
  transform: translateY(0) rotate(-3deg);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 140, 0, 0.25), rgba(255, 215, 0, 0.3));
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 15px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 0.8em;
  text-align: center;
  z-index: 13;
  box-shadow:
    0 0 15px rgba(255, 215, 0, 0.4),
    0 0 25px rgba(255, 140, 0, 0.3);
  animation: founderLabelFloat 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  pointer-events: none;
}

.founder-card .member-card-content h3 {
  background: linear-gradient(135deg, #FFD700, #FF8C00, #FFD700, #FF8C00);
  color: #FFD700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.6));
  font-weight: bold;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.suspended-drama {
  text-align: center;
  padding: 2rem;
  color: white;
}

.condemnation-symbol {
  font-size: 4rem;
  animation: symbolPulse 2s ease-in-out infinite;
  margin-bottom: 1rem;
}

.condemnation-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FF4500;
  text-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
  animation: titleShake 1.5s ease-in-out infinite;
  margin-bottom: 2rem;
}

.condemnation-message {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.heroic-quote {
  font-style: italic;
  color: #FFD700;
  font-size: 1.4rem;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  animation: quoteGlow 3s ease-in-out infinite alternate;
}

.condemnation-effects {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.condemnation-effects span {
  font-size: 3rem;
  animation: effectFloat 2s ease-in-out infinite alternate;
}

.effect-1 { animation-delay: 0s; }
.effect-2 { animation-delay: 0.5s; }
.effect-3 { animation-delay: 1s; }

.condemnation-close {
  background: linear-gradient(135deg, #FF4500, #FF6347);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.6);
  transition: all 0.3s ease;
  animation: buttonPulse 2s ease-in-out infinite;
}

.condemnation-close:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 69, 0, 0.8);
}

@keyframes modalCondemnation {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes symbolPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes titleShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes quoteGlow {
  0% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
  100% { text-shadow: 0 0 25px rgba(255, 215, 0, 1); }
}

@keyframes effectFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.6); }
  50% { box-shadow: 0 0 30px rgba(255, 69, 0, 0.9); }
}

/* Imperial Diamond Particles - Ultra VIP */
.member-card.founder-card .star-sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 215, 0, 0.8));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow:
    0 0 15px rgba(255, 255, 255, 0.9),
    0 0 30px rgba(255, 215, 0, 0.7),
    0 0 45px rgba(255, 140, 0, 0.5);
  animation: imperialDiamond 4s ease-in-out infinite;
  transform-origin: center;
}

.member-card.founder-card .star-sparkle:nth-child(1) {
  top: 5%;
  left: 8%;
  animation-delay: 0s;
  width: 10px;
  height: 10px;
}

.member-card.founder-card .star-sparkle:nth-child(2) {
  top: 20%;
  right: 10%;
  animation-delay: 0.8s;
  width: 6px;
  height: 6px;
}

.member-card.founder-card .star-sparkle:nth-child(3) {
  bottom: 15%;
  left: 12%;
  animation-delay: 1.6s;
  width: 8px;
  height: 8px;
}

.member-card.founder-card .star-sparkle:nth-child(4) {
  top: 12%;
  left: 85%;
  animation-delay: 2.4s;
  width: 7px;
  height: 7px;
}

.member-card.founder-card .star-sparkle:nth-child(5) {
  bottom: 20%;
  right: 12%;
  animation-delay: 3.2s;
  width: 9px;
  height: 9px;
}

/* Imperial Crown Ornaments */
.founder-card .imperial-ornament {
  position: absolute;
  font-size: 1.5rem;
  z-index: 11;
  animation: imperialFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

.founder-card .imperial-ornament.top-left {
  top: -5px;
  left: -5px;
  animation-delay: 0.5s;
}

.founder-card .imperial-ornament.top-right {
  top: -5px;
  right: -5px;
  animation-delay: 1.5s;
}

.founder-card .imperial-ornament.bottom-left {
  bottom: -5px;
  left: -5px;
  animation-delay: 2.5s;
}

.founder-card .imperial-ornament.bottom-right {
  bottom: -5px;
  right: -5px;
  animation-delay: 3.5s;
}


@keyframes imperialMajesty {
  0%, 100% {
    box-shadow:
      0 0 60px rgba(255, 215, 0, 0.9),
      0 0 120px rgba(255, 140, 0, 0.6),
      0 0 180px rgba(255, 215, 0, 0.3),
      inset 0 0 40px rgba(255, 215, 0, 0.15);
    filter: brightness(1) contrast(1);
  }
  25% {
    box-shadow:
      0 0 80px rgba(255, 215, 0, 1),
      0 0 160px rgba(255, 140, 0, 0.8),
      0 0 240px rgba(255, 215, 0, 0.5),
      inset 0 0 60px rgba(255, 215, 0, 0.2);
    filter: brightness(1.1) contrast(1.05);
  }
  50% {
    box-shadow:
      0 0 100px rgba(255, 215, 0, 1.2),
      0 0 200px rgba(255, 140, 0, 1),
      0 0 300px rgba(255, 215, 0, 0.7),
      inset 0 0 80px rgba(255, 215, 0, 0.25);
    filter: brightness(1.2) contrast(1.1);
  }
  75% {
    box-shadow:
      0 0 80px rgba(255, 215, 0, 1),
      0 0 160px rgba(255, 140, 0, 0.8),
      0 0 240px rgba(255, 215, 0, 0.5),
      inset 0 0 60px rgba(255, 215, 0, 0.2);
    filter: brightness(1.1) contrast(1.05);
  }
}

@keyframes royalAura {
  0%, 100% {
    opacity: 0.6;
    transform: rotate(0deg) scale(1);
  }
  33% {
    opacity: 0.8;
    transform: rotate(120deg) scale(1.02);
  }
  66% {
    opacity: 0.7;
    transform: rotate(240deg) scale(0.98);
  }
}

@keyframes founderLabelFloat {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-2px) rotate(-2deg);
    opacity: 0.85;
  }
  50% {
    transform: translateY(1px) rotate(-4deg);
    opacity: 0.9;
  }
  75% {
    transform: translateY(-1px) rotate(-2.5deg);
    opacity: 0.8;
  }
}

@keyframes imperialDiamond {
  0%, 100% {
    opacity: 0.7;
    transform: rotate(0deg) scale(1) translateY(0px);
    filter: brightness(1);
  }
  25% {
    opacity: 1;
    transform: rotate(90deg) scale(1.1) translateY(-3px);
    filter: brightness(1.3);
  }
  50% {
    opacity: 0.9;
    transform: rotate(180deg) scale(1.2) translateY(2px);
    filter: brightness(1.5);
  }
  75% {
    opacity: 0.8;
    transform: rotate(270deg) scale(1.1) translateY(-2px);
    filter: brightness(1.2);
  }
}

@keyframes imperialFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.8;
  }
  25% {
    transform: translateY(-5px) rotate(5deg) scale(1.1);
    opacity: 1;
  }
  50% {
    transform: translateY(0px) rotate(0deg) scale(1.2);
    opacity: 0.9;
  }
  75% {
    transform: translateY(-3px) rotate(-5deg) scale(1.1);
    opacity: 0.95;
  }
}

.founder-card .member-card-content h3 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #FFD700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 5px rgba(255, 215, 0, 0.4));
}

/* Modal Styles - Futuristic & Interactive */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { 
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to { 
    opacity: 1;
    backdrop-filter: blur(12px);
  }
}

.modal-content {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 50, 80, 0.95));
  margin: 5% auto;
  padding: 0;
  border: 2px solid rgba(139, 92, 246, 0.4);
  border-radius: 25px;
  width: 90%;
  max-width: 650px;
  box-shadow: 0 30px 80px rgba(139, 92, 246, 0.3),
              0 0 60px rgba(59, 130, 246, 0.2);
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  backdrop-filter: blur(15px);
}

@keyframes modalSlideIn {
  from { 
    transform: translateY(-80px) scale(0.9);
    opacity: 0;
  }
  to { 
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal-header {
  position: relative;
  padding: 0;
  height: 300px;
  overflow: hidden;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.2));
  z-index: 2;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.5; }
}

.modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.95) contrast(1.05);
}

.modal:has(.modal-img-hover) .modal-header img {
  transform: scale(1.05);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.6), rgba(59, 130, 246, 0.6));
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.9), rgba(139, 92, 246, 0.9));
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}

.modal-body {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(20, 35, 60, 0.8));
  position: relative;
}

.modal-body h3 {
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  letter-spacing: 1px;
}

.modal-body .title {
  color: #ec4899;
  font-weight: bold;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.modal-body p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.modal-works {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(59, 130, 246, 0.3);
}

.modal-works h4 {
  color: #a0aec0;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-works ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.modal-works li {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  color: #f0f9ff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  cursor: default;
}

.modal-works li:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4));
  border-color: rgba(139, 92, 246, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.modal-badge {
  position: absolute;
  top: 25px;
  right: 75px;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1001;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Advanced Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interactive Touch/Ripple Effects */
.mobile-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.8), rgba(59, 130, 246, 0.4));
  transform: scale(0);
  animation: mobileRipple 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

@keyframes mobileRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Mobile Optimizations & Responsive Design */
@media (max-width: 1024px) {
  header, main, footer {
    padding: 1rem 0.75rem;
  }

  main {
    max-width: 100%;
    overflow-x: hidden;
  }

  .member-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .stats {
    gap: 1.5rem;
  }

  .search-input {
    max-width: 90%;
    font-size: 0.95rem;
  }

  .filter-container {
    width: 100%;
    box-sizing: border-box;
  }

  #anggota {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }

  header, main, footer {
    padding: 0.75rem 0.5rem;
  }

  main {
    max-width: 100%;
    overflow-x: hidden;
  }

  #anggota {
    width: 100%;
    box-sizing: border-box;
    padding: 0 0.5rem;
  }

  #anggota h2 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
  }

  #anggota > p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .member-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }

  .member-card {
    margin-bottom: 0.5rem;
    width: 100%;
  }

  .member-card:hover {
    transform: translateY(-8px) scale(1.02);
  }

  /* Filter Container Mobile Optimization */
  .filter-container {
    padding: 1rem 0.75rem;
    margin: 0 0 1.5rem 0;
    width: 100%;
    box-sizing: border-box;
  }

  .filter-section {
    margin-bottom: 1rem;
    width: 100%;
  }

  .filter-section h4 {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .filter-buttons {
    gap: 0.4rem;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
  }

  .filter-buttons::-webkit-scrollbar {
    height: 4px;
  }

  .filter-buttons::-webkit-scrollbar-track {
    background: transparent;
  }

  .filter-buttons::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 2px;
  }

  .filter-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.7rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .group-header {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .group-divider {
    margin-bottom: 1.5rem;
  }

  .modal-content {
    margin: 15% auto;
    width: 95%;
    max-width: none;
    border-radius: 20px;
  }

  .modal-header {
    height: 200px;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-body h3 {
    font-size: 1.5rem;
  }

  .search-container {
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
  }

  .search-input {
    font-size: 16px; /* Prevent zoom on iOS */
    padding: 0.9rem 1rem;
    max-width: 100%;
    width: 100%;
  }

  .stats {
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0 0.5rem;
  }

  .stat-item {
    padding: 0.8rem;
    min-width: 100px;
    flex: 1;
    min-width: 80px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* Optimize animations for mobile */
  .member-card {
    animation-duration: 0.4s;
  }

  .member-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  /* Slow down badge animations on mobile for better performance */
  .badge-founder {
    animation: founderGlow 4s ease-in-out infinite !important;
  }

  .badge-guardian {
    animation: guardianGlow 4s ease-in-out infinite !important;
  }

  .badge-developer {
    animation: devGlow 4s ease-in-out infinite !important;
  }

  .badge-elite {
    animation: eliteGlow 4s ease-in-out infinite !important;
  }

  .badge-commander {
    animation: commanderGlow 4s ease-in-out infinite !important;
  }

  .badge-visionary {
    animation: visionaryGlow 5s ease-in-out infinite !important;
  }

  .badge-moderator {
    animation: moderatorGlow 4s ease-in-out infinite !important;
  }

  .badge-artist {
    animation: artistGlow 4s ease-in-out infinite !important;
  }

  .badge-supporter {
    animation: supporterGlow 4s ease-in-out infinite !important;
  }

  .badge-ambassador {
    animation: ambassadorGlow 4s ease-in-out infinite !important;
  }

  .badge-contributor {
    animation: contributorGlow 4s ease-in-out infinite !important;
  }

  .badge-member {
    animation: memberGlow 6s ease-in-out infinite !important;
  }

  /* Optimize imperial founder card animations for mobile performance */
  .member-card.founder-card {
    animation: imperialMajesty 7s ease-in-out infinite !important;
    transform: scale(1.01); /* Reduce scale for mobile */
  }

  .member-card.founder-card:hover {
    transform: scale(1.02) translateY(-3px); /* Reduce hover effect for mobile */
  }

  .member-card.founder-card::before {
    animation: royalAura 6s ease-in-out infinite !important;
  }

  .member-card.founder-card::after {
    animation: founderLabelFloat 8s ease-in-out infinite !important;
    font-size: 0.75em;
    padding: 5px 12px;
    top: 15px;
    right: 10px;
  }

  .founder-card .imperial-ornament {
    font-size: 1.2rem;
    animation: imperialFloat 5s ease-in-out infinite !important;
  }

  /* Disable some suspended card animations on mobile for performance */
  .suspended-card {
    animation: suspendedFreeze 5s ease-in-out infinite !important;
  }

  .suspended-card::before {
    animation: suspendedFrost 4s ease-in-out infinite alternate !important;
  }

  /* Optimize inactive card animations for mobile performance */
  .inactive-card {
    animation: ghostFloat 8s ease-in-out infinite !important;
  }

  .inactive-card::before {
    animation: ghostPulse 5s ease-in-out infinite alternate !important;
    font-size: 0.8em;
    padding: 6px 15px;
  }

  .inactive-card .ethereal-orb {
    width: 15px;
    height: 15px;
    animation: etherealGlow 4s ease-in-out infinite alternate !important;
  }

  .suspended-card::after {
    animation: iceCrystals 8s linear infinite !important;
  }

  /* Reduce frost particle animations */
  .suspended-card .frost-particle-1,
  .suspended-card .frost-particle-2,
  .suspended-card .frost-particle-3 {
    animation: snowFall 5s linear infinite !important;
  }

  .modal {
    backdrop-filter: blur(8px); /* Reduce blur for performance */
  }

  .founder-card::after {
    font-size: 1.5rem;
    top: -5px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
    padding-top: 60px;
  }

  header, main, footer {
    padding: 0.5rem;
  }

  main {
    max-width: 100%;
    overflow-x: hidden;
  }

  #anggota {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
  }

  #anggota h2 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    word-break: break-word;
  }

  #anggota > p {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .member-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .member-card {
    border-radius: 12px;
    width: 100%;
  }

  .member-card img {
    height: 120px;
  }

  .member-card-content {
    padding: 0.8rem;
  }

  .member-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .member-card p {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .search-container {
    padding: 0;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .search-input {
    max-width: 100%;
    padding: 0.7rem 0.8rem;
    border-radius: 16px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Filter Container Micro-optimization */
  .filter-container {
    padding: 0.75rem 0.5rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .filter-section {
    margin-bottom: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }

  .filter-section:last-child {
    margin-bottom: 0;
  }

  .filter-section h4 {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
  }

  .filter-buttons {
    gap: 0.3rem;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.3rem 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    padding: 0.5rem 0.7rem;
    font-size: 0.6rem;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 16px;
    letter-spacing: 0;
  }

  .modal-content {
    margin: 25% auto;
    border-radius: 12px;
    width: 95vw;
    max-width: none;
    box-sizing: border-box;
  }

  .modal-close {
    width: 35px;
    height: 35px;
    font-size: 1.8rem;
  }

  .modal-header {
    height: 150px;
  }

  .modal-body {
    padding: 0.8rem;
  }

  .modal-body h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.3rem;
  }

  .modal-body p {
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
  }

  .modal-body h4 {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
  }

  .modal-works li {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    line-height: 1.3;
  }

  .stats {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0;
    margin-bottom: 1rem;
  }

  .stat-item {
    width: 100%;
    max-width: none;
    padding: 0.6rem;
    border-radius: 10px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.65rem;
    letter-spacing: 0;
  }

  .group-header {
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
  }

  .group-divider {
    margin-bottom: 1rem;
    height: 1px;
  }

  .member-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
  }

  /* Ultra-aggressive performance optimization for very small mobile devices */
  /* Slow down all animations further */
  .badge-founder {
    animation: founderGlow 6s ease-in-out infinite !important;
  }

  .badge-guardian,
  .badge-developer,
  .badge-elite,
  .badge-commander {
    animation-duration: 5s !important;
  }

  .badge-visionary {
    animation-duration: 6s !important;
  }

  .badge-moderator,
  .badge-artist,
  .badge-supporter,
  .badge-ambassador,
  .badge-contributor {
    animation-duration: 5s !important;
  }

  .badge-member {
    animation-duration: 7s !important;
  }

  .member-card.founder-card {
    animation: founderShine 8s ease-in-out infinite !important;
  }

  .founder-card::before {
    animation: crownFloat 4s ease-in-out infinite !important;
  }

  .suspended-card {
    animation: suspendedFreeze 6s ease-in-out infinite !important;
  }

  .suspended-card .frost-particle-1 {
    animation: snowFall 6s linear infinite !important;
  }

  /* Ensure no overflow on any element */
  * {
    max-width: 100vw;
  }

  body {
    overflow-x: hidden;
  }
}

/* Accessibility: Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .member-card,
  .member-badge,
  .modal,
  .modal-content,
  .human,
  .stat-item,
  .search-input {
    animation: none !important;
  }

  body::before {
    display: none !important;
  }
}