/* Services Page - Revolutionary Modern Layout */
.services-main {
  position: relative;
  overflow-x: hidden;
}

/* Floating Navigation */
.floating-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.nav-dots {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.nav-dot:hover::before {
  border-color: rgba(139,92,246,0.5);
}

.nav-dot.active {
  background: #8b5cf6;
  transform: scale(1.2);
}

.nav-dot.active::before {
  border-color: rgba(139,92,246,0.8);
}

/* Hero Section - OLD STYLES REMOVED */

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(139,92,246,0.1), rgba(168,85,247,0.1));
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  max-width: 1000px;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 1rem 2rem;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: 50px;
  backdrop-filter: blur(20px);
}

.eyebrow-text {
  color: #a78bfa;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eyebrow-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, transparent);
}

.hero-title {
  margin: 0 0 3rem 0;
  line-height: 1.1;
}

.title-word {
  display: block;
  font-size: 5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: titleReveal 0.8s ease forwards;
}

.title-word-1 { animation-delay: 0.2s; }
.title-word-2 { animation-delay: 0.4s; }
.title-word-3 { 
  animation-delay: 0.6s;
  background: linear-gradient(135deg, #8b5cf6, #a855f7, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-description {
  color: rgba(255,255,255,0.8);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

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

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-btn.primary {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: #fff;
  box-shadow: 0 8px 30px rgba(139,92,246,0.4);
}

.hero-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139,92,246,0.6);
}

.hero-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(20px);
}

.hero-btn.secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, rgba(139,92,246,0.8), transparent);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* Services Section */
.services-section {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Access Denied Page - SearchHub.vip Style */
.access-denied {
  text-align: center;
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.access-denied::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
  border-radius: 24px;
  z-index: -1;
}

.access-icon {
  font-size: 5rem;
  color: #8b5cf6;
  margin-bottom: 2rem;
  position: relative;
  animation: pulse 2s ease-in-out infinite;
}

.access-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
  border-radius: 50%;
  z-index: -1;
  animation: ripple 3s ease-in-out infinite;
}

.access-denied h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.access-denied p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 400;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.back-btn::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;
}

.back-btn:hover::before {
  left: 100%;
}

.back-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
  border-color: rgba(139, 92, 246, 0.6);
}

.back-btn:active {
  transform: translateY(-1px) scale(0.98);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}

/* Maintenance Page Styles */
.maintenance-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 2rem;
}

.maintenance-container {
  text-align: center;
  max-width: 500px;
  padding: 3rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.maintenance-icon {
  font-size: 4rem;
  color: #8b5cf6;
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.maintenance-container h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.maintenance-container p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.maintenance-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #8b5cf6;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

.maintenance-status span:last-child {
  color: #8b5cf6;
  font-weight: 600;
  font-size: 0.95rem;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

/* SearchHub Modal Styles */
.searchhub-modal-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  width: 100%;
}

.searchhub-modal {
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  border-radius: 20px;
  padding: 3rem;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  backdrop-filter: blur(20px);
}

.searchhub-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
  border-radius: 20px;
  z-index: -1;
}

.modal-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.modal-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-content {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.4);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.modal-avatar {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.25);
  margin-top: 0;
}

.modal-avatar i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.modal-text {
  flex: 1;
  color: white;
}

.important-message {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.redirect-message {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  min-width: 280px;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: all 0.3s ease;
  min-width: 220px;
  text-align: center;
}

.btn-secondary:hover {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .searchhub-modal-section {
    padding: 1rem;
  }
  
  .searchhub-modal {
    padding: 2rem;
    margin: 1rem;
  }
  
  .modal-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .modal-avatar {
    align-self: center;
    margin-top: 0;
  }
  
  .modal-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .modal-actions {
    padding: 1.5rem;
  }
  
  .btn-primary,
  .btn-secondary {
    min-width: 100%;
  }
}

/* ===== MODERN STYLES FOR ALL PAGES ===== */

/* Global container reset */
.container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden;
}

/* Reset all sections */
main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
}

section {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
}

/* Force full width for all modern sections */
.hero-section-modern,
.search-hero-section,
.hall-hero-section {
  margin: 0 !important;
  padding: 0.5rem 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Hero Section Modern - Index Page */
.hero-section-modern {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 60vh;
  background: rgba(0, 0, 0, 0.2);
}

.hero-background-modern {
  display: none;
}

.floating-shapes-modern {
  display: none;
}

.shape-modern {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(139,92,246,0.1), rgba(168,85,247,0.1));
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 30%;
  animation-delay: 1s;
}

.hero-content-modern {
  max-width: 800px;
  z-index: 1;
  padding: 0 2rem;
  margin: 0 auto;
  width: 100%;
}

/* Two Column Hero Layout */
.hero-two-column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  width: 100%;
  z-index: 1;
  min-height: 80vh;
}

.hero-content-left {
  flex: 1;
  max-width: 650px;
  text-align: left;
  padding-right: 2rem;
}

.hero-content-right {
  flex: 1;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 2rem;
}

.hero-image-container {
  width: 100%;
  max-width: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.6);
  border-color: rgba(139, 92, 246, 0.6);
}

/* Section Separators */
.section-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 0;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  margin-left: calc(-50vw + 50%);
  background: rgba(0, 0, 0, 0.2);
}

/* Hall of Shame Separator - Red Theme */
.hall-separator .separator-line {
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.5), transparent);
}

.hall-separator .separator-icon {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.hall-separator .separator-icon:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.1);
}

/* Global Mirrors Section - SearchHub Style */
.global-mirrors-section {
  width: 100%;
  max-width: 1000px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
  background: transparent;
}

.mirrors-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Mirrors Header */
.mirrors-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}



.mirrors-info {
  flex: 1;
}

.mirrors-info h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mirrors-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.mirrors-status {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.status-buttons {
  display: flex;
  gap: 0.75rem;
}

.status-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-btn.active {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.5);
  color: #8b5cf6;
}

.status-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.last-updated {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

/* Mirrors Grid */
.mirrors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mirror-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
  max-width: 320px;
  backdrop-filter: blur(10px);
}

.mirror-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.mirror-card.primary {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.05);
}

.mirror-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.mirror-card.primary {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.05);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.domain-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.globe-icon {
  width: 32px;
  height: 32px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.globe-icon i {
  color: #8b5cf6;
  font-size: 0.9rem;
}

.domain-info h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.type {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
}

.latency {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #10b981;
  font-size: 0.9rem;
  font-weight: 500;
}

.card-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn-open {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #3b82f6;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-open:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.card-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0 0 0.75rem 0;
}

.current-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 1rem;
}

.current-dot {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
}

.mirrors-footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrollbar styling for modal */
.global-mirrors-content::-webkit-scrollbar {
  width: 8px;
}

.global-mirrors-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.global-mirrors-content::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5);
  border-radius: 4px;
}

.global-mirrors-content::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.7);
}

.separator-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.5), transparent);
  border-radius: 1px;
  min-width: 200px;
}

.separator-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.1);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  color: #8b5cf6;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.separator-icon:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  transform: scale(1.1);
}

/* Responsive adjustments for two column layout */
@media (max-width: 1200px) {
  .hero-two-column {
    flex-direction: column;
    gap: 4rem;
    text-align: center;
    min-height: auto;
    padding: 2rem;
  }
  
  .hero-content-left {
    text-align: center;
    padding-right: 0;
    max-width: 100%;
  }
  
  .hero-content-right {
    max-width: 600px;
    padding-left: 0;
  }
  
  .hero-image-container {
    max-width: 500px;
  }
  
  .section-separator {
    padding: 2rem 0;
    gap: 1.5rem;
  }
  
  .separator-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .global-mirrors-section {
    padding: 1rem;
  }
  
  .mirrors-container {
    padding: 1.5rem;
  }
  
  .mirrors-header {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    max-width: 100%;
    align-items: center;
  }
  
  .mirrors-status {
    align-items: center;
  }
  
  .mirrors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .mirror-card {
    max-width: 100%;
  }
  
  .hero-cta-modern {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-two-column {
    padding: 1rem;
    gap: 3rem;
  }
  
  .hero-title-modern {
    font-size: 2.5rem;
  }
  
  .hero-description-modern {
    font-size: 1.1rem;
  }
  
  .cta-primary-modern,
  .cta-secondary-modern {
    min-width: 180px;
    padding: 1rem 2rem;
  }
}

.hero-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-title-modern {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.title-gradient-modern {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-white-modern {
  color: white;
}

.hero-description-modern {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.hero-cta-modern {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.cta-primary-modern {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 200px;
  justify-content: center;
}

.cta-primary-modern::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;
}

.cta-primary-modern:hover::before {
  left: 100%;
}

.cta-primary-modern:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

.cta-secondary-modern {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  min-width: 200px;
  justify-content: center;
}

.cta-secondary-modern:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

/* Terminal Section Modern */
.terminal-section-modern {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  margin: 0;
  width: 100%;
}

.terminal-container-modern {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  width: 100%;
  overflow: hidden;
  margin: 0;
  transform: scale(0.9);
}

.terminal-header-modern {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.terminal-buttons-modern {
  display: flex;
  gap: 0.5rem;
}

.terminal-btn-modern {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
}

.terminal-btn-modern.close {
  background: #ff5f56;
}

.terminal-btn-modern.minimize {
  background: #ffbd2e;
}

.terminal-btn-modern.maximize {
  background: #27ca3f;
}

.terminal-title-modern {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #8b5cf6;
  font-weight: 600;
  font-size: 0.9rem;
}

.terminal-body-modern {
  padding: 2.5rem;
  background: rgba(0,0, 0, 0.9);
}

.terminal-line-modern {
  margin-bottom: 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.6;
}

.prompt-modern {
  color: #8b5cf6;
  margin-right: 1rem;
}

.command-modern {
  color: #ffffff;
}

.output-modern {
  color: #10b981;
  margin-left: 2rem;
}

.cursor-modern {
  color: #ffffff;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Features Section Modern */
.features-section-modern {
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  margin: 0;
  width: 100%;
}

.features-header-modern {
  text-align: center;
  margin-bottom: 3rem;
}

.feature-badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.features-title-modern {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.features-subtitle-modern {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card-modern {
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card-modern:hover::before {
  opacity: 1;
}

.feature-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.3);
}

.card-header-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card-header-modern i {
  font-size: 1.5rem;
  color: #8b5cf6;
}

.card-badge-modern {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge-modern.primary {
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.card-badge-modern.core {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-badge-modern.security {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.card-badge-modern.access {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-badge-modern.community {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.feature-card-modern h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.feature-card-modern p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Search Page Modern Styles */
.search-hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 60vh;
}

.search-hero-background {
  display: none;
}

.search-floating-shapes {
  display: none;
}

.search-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(16, 185, 129, 0.1), rgba(34, 197, 94, 0.1));
  animation: float 6s ease-in-out infinite;
}

.search-shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.search-shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.search-shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.search-shape-4 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 30%;
  animation-delay: 1s;
}

.search-hero-content {
  max-width: 800px;
  z-index: 1;
  padding: 0 2rem;
  margin: 0 auto;
  width: 100%;
}

.search-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.search-hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.search-title-gradient {
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search-title-white {
  color: white;
}

.search-hero-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.search-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
}

.search-cta-primary::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;
}

.search-cta-primary:hover::before {
  left: 100%;
}

.search-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

.search-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.search-cta-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

/* Search Screenshot Section */
.search-screenshot-section {
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  margin: 0;
}

.search-screenshot-container {
  max-width: 1200px;
  margin: 0 auto;
}

.search-screenshot-header {
  text-align: center;
  margin-bottom: 3rem;
}

.search-screenshot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.search-screenshot-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.search-screenshot-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.search-screenshot-image {
  width: 100%;
  height: auto;
  display: block;
}

.search-screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.search-screenshot-wrapper:hover .search-screenshot-overlay {
  opacity: 1;
}

.search-overlay-content {
  text-align: center;
  color: white;
}

.search-overlay-content i {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.search-overlay-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.search-overlay-content p {
  color: rgba(255, 255, 255, 0.8);
}

/* Search Features Section */
.search-features-section {
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  margin: 0;
}

.search-features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.search-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.search-features-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.search-features-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.search-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.search-feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.search-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(34, 197, 94, 0.1));
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.search-feature-card:hover::before {
  opacity: 1;
}

.search-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
}

.search-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-card-header i {
  font-size: 1.5rem;
  color: #10b981;
}

.search-card-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.search-feature-card h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.search-feature-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Hall of Shame Modern Styles */
.hall-hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 60vh;
}

.hall-hero-background {
  display: none;
}

.hall-floating-shapes {
  display: none;
}

.hall-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
  animation: float 6s ease-in-out infinite;
}

.hall-shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.hall-shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.hall-shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.hall-shape-4 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 30%;
  animation-delay: 1s;
}

.hall-hero-content {
  max-width: 800px;
  z-index: 1;
  padding: 0 2rem;
  margin: 0 auto;
  width: 100%;
}

.hall-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.hall-hero-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hall-title-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hall-hero-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hall Portals Section */
.hall-portals-section {
  padding: 2rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  margin: 0;
}

.hall-portals-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hall-portals-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hall-portals-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hall-portals-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hall-portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

.hall-portal-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hall-portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hall-portal-card.predator::before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
}

.hall-portal-card.ficha::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
}

.hall-portal-card:hover::before {
  opacity: 1;
}

.hall-portal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hall-portal-card.predator:hover {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 25px 50px rgba(239, 68, 68, 0.2);
}

.hall-portal-card.ficha:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
}

.hall-portal-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.hall-portal-card.predator .hall-portal-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
  border-color: rgba(239, 68, 68, 0.3);
}

.hall-portal-card.ficha .hall-portal-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
  border-color: rgba(59, 130, 246, 0.3);
}

.hall-portal-icon i {
  font-size: 2rem;
  color: white;
}

.hall-portal-content {
  flex: 1;
}

.hall-portal-title {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hall-portal-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hall-portal-description {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.hall-portal-arrow {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.hall-portal-card:hover .hall-portal-arrow {
  color: white;
  transform: translateX(5px);
}

/* Hall Info Section */
.hall-info-section {
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  margin: 0;
}

.hall-info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hall-info-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hall-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hall-info-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hall-info-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.hall-info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hall-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hall-info-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.hall-info-icon i {
  font-size: 2rem;
  color: #ef4444;
}

.hall-info-card h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hall-info-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title-modern,
  .search-hero-title,
  .hall-hero-title {
    font-size: 2.5rem;
  }
  
  .features-title-modern,
  .search-features-title,
  .search-screenshot-title,
  .hall-portals-title,
  .hall-info-title {
    font-size: 2rem;
  }
  
  .hero-cta-modern,
  .search-hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid-modern,
  .search-features-grid,
  .hall-portals-grid,
  .hall-info-content {
        grid-template-columns: 1fr; 
  }
  
  .hall-portal-card {
    flex-direction: column;
    text-align: center;
        gap: 1.5rem;
    } 
  
  .hall-portal-arrow {
    display: none;
  }
}

/* Animation Keyframes */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Footer and Bottom Spacing */
.footer-spacing {
  display: none;
}

/* Bottom margin for all main sections */
main {
  margin-bottom: 0;
}

/* Extra spacing for last sections */
.features-section-modern:last-child,
.search-features-section:last-child,
.hall-info-section:last-child {
  margin-bottom: 0;
}

/* Bottom padding for all pages */
.container {
  padding-bottom: 0;
}

/* Natural bottom spacing for specific sections */
.terminal-section-modern,
.features-section-modern,
.search-screenshot-section,
.search-features-section,
.hall-portals-section,
.hall-info-section {
  margin-bottom: 0;
}

/* Add natural bottom spacing to the last content element */
.features-grid-modern:last-child,
.search-features-grid:last-child,
.hall-portals-grid:last-child,
.hall-info-content:last-child {
  margin-bottom: 2rem;
}

/* Natural bottom spacing for the last section of each page */
.features-section-modern,
.search-features-section,
.hall-info-section {
  padding-bottom: 5rem;
}

/* Add subtle bottom shadow to create depth */
.features-section-modern:last-child,
.search-features-section:last-child,
.hall-info-section:last-child {
  position: relative;
}

.features-section-modern:last-child::after,
.search-features-section:last-child::after,
.hall-info-section:last-child::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

/* Title Section */
.title-section {
  text-align: center;
  margin-bottom: 3rem;
}

.title-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #8b5cf6;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  width: fit-content;
}

.title-badge i {
  color: #8b5cf6;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-gradient {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-white {
  color: white;
}

.title-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
  position: relative;
}

.header-content {
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.section-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.decoration-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.6), transparent);
  animation: linePulse 2s ease-in-out infinite;
}

.decoration-line:nth-child(3) {
  animation-delay: 1s;
}

.decoration-dot {
  width: 8px;
  height: 8px;
  background: #8b5cf6;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.7; }
}

.services-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-showcase-item {
  position: relative;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(25px);
  animation: serviceCardEntrance 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.service-showcase-item:nth-child(1) { animation-delay: 0.1s; }
.service-showcase-item:nth-child(2) { animation-delay: 0.2s; }
.service-showcase-item:nth-child(3) { animation-delay: 0.3s; }
.service-showcase-item:nth-child(4) { animation-delay: 0.4s; }

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

.service-showcase-item:hover {
  transform: translateY(-20px) scale(1.03);
  border-color: rgba(139,92,246,0.8);
  box-shadow: 
    0 40px 80px rgba(0,0,0,0.7),
    0 0 0 2px rgba(139,92,246,0.3),
    0 0 40px rgba(139,92,246,0.1);
}

.service-showcase-item.featured {
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(0,0,0,0.95));
  border-color: rgba(139,92,246,0.8);
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.4),
    0 0 0 1px rgba(139,92,246,0.4);
}

.service-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139,92,246,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-showcase-item:hover .service-glow {
  opacity: 1;
}

.featured-glow {
  background: radial-gradient(circle at 50% 0%, rgba(139,92,246,0.2), transparent 70%);
}

.featured-indicator {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(139,92,246,0.4);
  z-index: 2;
  animation: featuredPulse 2s ease-in-out infinite;
}

@keyframes featuredPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.service-preview {
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(0,0,0,0.3));
  border-bottom: 1px solid rgba(255,255,255,0.12);
  position: relative;
}

.service-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(168,85,247,0.25));
  border-radius: 50%;
  border: 3px solid rgba(139,92,246,0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(139,92,246,0.2);
}

.service-showcase-item:hover .service-icon {
  transform: scale(1.15) rotate(8deg);
  border-color: rgba(139,92,246,1);
  box-shadow: 
    0 0 60px rgba(139,92,246,0.6),
    0 0 120px rgba(139,92,246,0.3),
    0 0 0 4px rgba(139,92,246,0.2);
}

.service-icon i {
  font-size: 3rem;
  color: #8b5cf6;
  transition: all 0.3s ease;
}

.service-showcase-item:hover .service-icon i {
  color: #a855f7;
  transform: scale(1.1);
}

.icon-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(139,92,246,0.6);
  border-radius: 50%;
  animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  bottom: 20%;
  left: 30%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  top: 30%;
  right: 25%;
  animation-delay: 0.5s;
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-10px) scale(1.2);
    opacity: 1;
  }
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 2px solid rgba(139,92,246,0.3);
  border-radius: 50%;
  animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0;
  }
}

.service-name {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.5rem 0;
  transition: all 0.4s ease;
  letter-spacing: -0.02em;
}

.service-showcase-item:hover .service-name {
  color: #a78bfa;
  transform: scale(1.05);
}

.service-brief {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.service-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(139,92,246,0.15);
  color: #a78bfa;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(139,92,246,0.3);
  transition: all 0.3s ease;
}

.service-badge.featured {
  background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(168,85,247,0.3));
  border-color: rgba(139,92,246,0.6);
  color: #fff;
}

.service-showcase-item:hover .service-badge {
  background: rgba(139,92,246,0.25);
  border-color: rgba(139,92,246,0.6);
  transform: translateY(-2px);
}

.service-details {
  padding: 2rem 1.5rem;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.service-tag {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(168,85,247,0.25));
  color: #a78bfa;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(139,92,246,0.4);
  transition: all 0.3s ease;
}

.service-showcase-item:hover .service-tag {
  background: linear-gradient(135deg, rgba(139,92,246,0.35), rgba(168,85,247,0.35));
  border-color: rgba(139,92,246,0.6);
  transform: translateY(-2px);
}

.service-description {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
}

.service-features {
  display: grid;
        grid-template-columns: 1fr; 
        gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.4s ease;
  padding: 0.5rem;
  border-radius: 12px;
}

.feature-item:hover {
  transform: translateX(8px);
  color: #fff;
  background: rgba(255,255,255,0.05);
  padding-left: 1rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #10b981;
  transition: all 0.4s ease;
  background: rgba(16,185,129,0.1);
  border-radius: 50%;
  border: 1px solid rgba(16,185,129,0.3);
}

.feature-item:hover .feature-icon {
  transform: scale(1.3);
  background: rgba(16,185,129,0.2);
  border-color: rgba(16,185,129,0.6);
}

.service-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-action {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.service-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}

.service-action:hover::before {
  left: 100%;
}

.service-action:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.4);
}

.service-action.primary {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border: none;
  box-shadow: 0 6px 20px rgba(139,92,246,0.4);
}

.service-action.primary:hover {
  background: linear-gradient(135deg, #a855f7, #8b5cf6);
  box-shadow: 0 12px 40px rgba(139,92,246,0.6);
  transform: translateY(-3px) scale(1.05);
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: 8rem 2rem;
  background: linear-gradient(180deg, #0f0f23, #000000);
  overflow: hidden;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.contact-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(139,92,246,0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(168,85,247,0.05) 0%, transparent 50%);
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 5rem;
}

.contact-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.3rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(168,85,247,0.2));
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(139,92,246,0.3);
}

.contact-icon i {
  font-size: 2rem;
  color: #8b5cf6;
}

.contact-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
}

.contact-card p {
  color: rgba(255,255,255,0.7);
        font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139,92,246,0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-showcase {
    grid-template-columns: 1fr;
  }
  
  .service-showcase-item.featured {
    grid-column: span 1;
  }
  
  .floating-nav {
    right: 1rem;
  }
}

@media (max-width: 1200px) {
  .services-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
    padding: 1rem;
  }
  
  .title-word {
    font-size: 3rem;
  }
  
  .hero-description {
        font-size: 1.2rem;
    padding: 0 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btn {
    width: 100%;
    max-width: 350px;
    justify-content: center;
  }
  
  .services-section {
    padding: 4rem 1rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .service-showcase-item {
    padding: 2rem 1rem;
  }
  
  .service-preview {
    padding: 2rem 1rem 1.5rem;
  }
  
  .service-icon {
    width: 80px;
    height: 80px;
  }
  
  .service-icon i {
    font-size: 2.5rem;
  }
  
  .service-name {
        font-size: 1.8rem;
    }
  
  .contact-section {
    padding: 4rem 1rem;
  }
  
  .contact-title {
    font-size: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .title-word {
    font-size: 2.5rem;
  }
  
  .service-showcase-item {
    padding: 1.5rem 1rem;
  }
  
  .service-preview {
    padding: 1.5rem 1rem 1rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon i {
    font-size: 2rem;
  }
  
  .service-name {
    font-size: 1.5rem;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Réserve en permanence l'espace de la barre de défilement pour éviter les sauts de mise en page */
/* Réserver l'espace uniquement côté scrollbar pour éviter les bandes latérales */
html { scrollbar-gutter: stable; }
/* Pricing: pas de réserve de gouttière pour éviter la bande à droite si pas de scroll */
html:has(.pricing-main) { scrollbar-gutter: auto; }
/* SearchInt: même traitement que Pricing pour éviter la bande noire à droite */
html:has(main .screenshot-container) { scrollbar-gutter: auto; }
/* Hall of Shame pages (Prédateur / Ficha): s'assurer que le scroll vertical est actif */
/* Hall of Shame (Prédateur / Ficha): page fixe, sans scrollbar */
body:has(main .hall-of-shame-container) { overflow: hidden; height: 100vh; }
html:has(main .hall-of-shame-container) { scrollbar-gutter: auto; }
/* Portail Hall of Shame: supprimer la réserve pour éviter la bande droite */
html:has(.portal-container) { scrollbar-gutter: auto; }

/* Empêcher tout débordement horizontal, et réserver la place de la scrollbar verticale */
html, body { width: 100%; max-width: 100vw; overflow-x: hidden; }
.container { width: 100%; max-width: 100vw; }

/* Forcer la page Pricing à avoir toujours un minimum de hauteur pour stabiliser la scrollbar */
.pricing-main { min-height: calc(100vh - 120px); }

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

/* Header */
header {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Menu hamburger mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Cacher le bouton hamburger sur desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.profile-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.profile-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Profile Dropdown */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 320px;
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(26, 26, 26, 0.98);
    z-index: 1003;
}

/* Profile Header */
.profile-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(139, 92, 246, 0.05);
}

.profile-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-status {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Profile Menu */
.profile-menu {
    padding: 0.5rem;
    max-height: 300px;
}

/* Responsive pour le dropdown de profil */
@media (max-width: 768px) {
    .profile-dropdown {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 0;
        padding: 2rem 1rem;
        z-index: 1002;
    }
    
    .profile-dropdown::before {
        display: none;
    }
    
    .profile-dropdown .profile-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .profile-dropdown .profile-menu {
        flex-direction: column;
        gap: 1rem;
        max-height: none;
    }
    
    .profile-menu-item {
        padding: 1rem;
        font-size: 1.1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .profile-menu-item:last-child {
        border-bottom: none;
    }
    
    .profile-menu-item:hover {
        background: rgba(139, 92, 246, 0.1);
        transform: none;
    }
}

.profile-menu {
    overflow-y: auto;
}

.profile-menu::-webkit-scrollbar {
    width: 4px;
}

.profile-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.profile-menu::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 2px;
}

.profile-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

.profile-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(4px);
}

.profile-menu-item:active {
    transform: translateX(4px) scale(0.98);
}

.profile-menu-item i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.profile-menu-item span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.profile-menu-item.logout {
    color: #ef4444;
}

.profile-menu-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 0.8rem;
}

.login-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* Styles pour le bouton Sign Out */
.login-btn.signout-btn {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.login-btn.signout-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Styles pour la page Users */
.users-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2rem;
}

.users-container {
    max-width: 1200px;
    margin: 0 auto;
}

.users-header {
    margin-bottom: 2rem;
}

.users-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.users-title i {
    font-size: 2rem;
    color: #8b5cf6;
}

.users-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.search-container {
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.search-box input::placeholder {
    color: #888;
}

.filter-buttons {
    margin-bottom: 1.5rem;
}

.filter-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #888;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.filter-btn.active {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: white;
}

.results-count {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

.users-list {
    margin-top: 2rem;
}

.user-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #fdcb6e;
    font-weight: 600;
    font-size: 1.1rem;
}

.section-header i {
    font-size: 1.2rem;
}

.user-entries {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-entry {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-entry:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.user-avatar {
    flex-shrink: 0;
}

.user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.user-username {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.user-join-date {
    color: #888;
    font-size: 0.8rem;
}

.user-roles {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.user-roles i {
    font-size: 1.2rem;
}

/* Responsive design pour la page Users */
@media (max-width: 768px) {
    .users-main {
        padding: 1rem;
    }
    
    .users-title h1 {
        font-size: 2rem;
    }
    
    .filter-row {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .user-entry {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .user-roles {
        justify-content: center;
    }
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: calc(100vh - 120px);
}

/* Specific styles for index.html page */
body:has(main .features-section) .content-wrapper {
    gap: 0;
    min-height: auto;
    align-items: center;
}

/* Left Section */
.left-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
    align-items: flex-start;
}

/* Specific styles for index.html left section */
body:has(main .features-section) .left-section {
    justify-content: center;
    align-items: flex-start;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    width: fit-content;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn.primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Top Telegram Box */
.top-telegram-box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.top-telegram-box .clickable-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

/* Clickable Blue Box */
.clickable-box {
    max-width: 600px;
    width: 100%;
    margin: 0 auto 0;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clickable-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.clickable-link:hover {
    transform: translateY(-2px);
}

.clickable-content {
    background: linear-gradient(135deg, #8c3bf6, #551dd8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1rem 6rem;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.clickable-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clickable-link:hover .clickable-content::before {
    opacity: 1;
}

.click-here {
    display: block;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clickable-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

/* Right Section - Screenshot Container */
.right-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific styles for index.html right section */
body:has(main .features-section) .right-section {
    align-items: center;
    justify-content: center;
}

.screenshot-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, rgba(49, 80, 255, 0.654) 0%, rgba(93, 85, 247, 0.5) 50%, rgba(64, 80, 255, 0.5) 100%);
    border-radius: 24px;
    z-index: -1;
    filter: blur(12px);
    animation: glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.screenshot-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    max-height: 350px;
    display: block;
}

/* ===================== */
/* Responsive overrides  */
/* ===================== */

/* Tablet: ajuster espacements et grille */
@media (max-width: 1024px) {
    .content-wrapper {
        gap: 2rem;
        padding: 0 1.5rem;
    }
}

/* Mobile: empiler le layout et plein écran pour les CTA */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }
    
    /* Menu hamburger mobile */
    .menu-toggle {
        display: flex;
    }
    
    nav {
        padding: 0;
        gap: 0.5rem;
        position: relative;
    }
    
    .nav-left {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-left.active {
        left: 0;
    }
    
    .nav-left .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-left .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-left .nav-link:hover {
        background: rgba(139, 92, 246, 0.1);
        color: #8b5cf6;
    }
    
    .login-btn {
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
        margin-top: 1rem;
    }
    
    /* Bouton de fermeture du menu */
    .mobile-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: background 0.2s ease;
        display: block;
    }
    
    .mobile-close:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    /* Cacher le bouton de fermeture sur desktop */
@media (min-width: 769px) {
    .mobile-close {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .menu-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* S'assurer que la navigation normale fonctionne sur desktop */
    .nav-left {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        backdrop-filter: none !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 0.75rem !important;
        left: 0 !important;
        transform: none !important;
        overflow: visible !important;
    }
    
    .nav-left .nav-link {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
        width: auto !important;
        text-align: left !important;
        border-bottom: none !important;
    }
}

    main {
        padding: 1rem 0.75rem;
    }
    .content-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
        min-height: auto;
    }
    .left-section {
        align-items: center;
        text-align: center;
        padding: 1rem 0 0;
    }
    .platform-badge {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
    }
    .main-title {
        font-size: 2.2rem;
        line-height: 1.15;
    }
    .description {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }
    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.25rem;
        font-size: 1rem;
    }

    .right-section {
        margin-top: 0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .screenshot-container {
        max-width: 100%;
        min-height: 260px;
        padding: 1rem;
    }
    .screenshot-image {
        max-height: 240px;
    }

    .clickable-box {
        padding: 0 1rem;
        margin-bottom: 1rem;
        max-width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .clickable-content {
        text-align: center;
        padding: 1rem;
    }
    
    .click-here {
        font-size: 1.2rem;
    }
    
    .clickable-text {
        font-size: 0.9rem;
    }

    .features-section {
        padding: 0 1rem;
        margin-top: 2rem;
    }
    .features-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .features-grid {
        margin-top: 2rem;
    }
    .feature-card {
        padding: 1.25rem;
    }
    
    /* Optimisations spécifiques pour les cartes sur mobile */
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .card-header {
        margin-bottom: 1rem;
    }
    
    .card-header i {
        font-size: 1.25rem;
    }
    
    .card-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Très petit mobile: peaufiner typographies et hauteurs */
@media (max-width: 480px) {
    .main-title {
        font-size: 1.75rem;
    }
    .description {
        font-size: 0.95rem;
    }
    .cta-btn {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    .screenshot-container {
        min-height: 220px;
    }
    .screenshot-image {
        max-height: 200px;
    }
    .feature-card {
        padding: 1rem;
    }
    
    /* Optimisations supplémentaires pour très petit écran */
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .card-header i {
        font-size: 1.1rem;
    }
    
    .card-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
    }
    

}

/* Overlay pour les instructions */
.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.overlay-content i {
    font-size: 3rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.overlay-tip {
    color: #8b5cf6 !important;
    font-size: 0.8rem !important;
    font-weight: 500;
}

/* Features Section */
.features-section {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.features-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.features-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* New Section Styles */
.new-section {
    margin-top: 0;
    padding: 2rem 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #8b5cf6;
}

.section-badge i {
    font-size: 0.8rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.updates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.update-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-radius: 16px;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.update-card:hover {
    transform: translateY(-8px);
    border-color: #8b5cf6;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.update-card:hover::before {
    opacity: 1;
}

.update-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.update-card:hover .update-icon {
    transform: scale(1.1);
}

.update-icon i {
    font-size: 1.5rem;
    color: white;
}

.update-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.update-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.update-date {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Responsive par défaut */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .updates-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .new-section {
        margin-top: 3rem;
        padding: 1.5rem 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .update-card {
        padding: 1.5rem;
    }
    
    .update-icon {
        width: 50px;
        height: 50px;
    }
    
    .update-icon i {
        font-size: 1.25rem;
    }
    
    .update-content h3 {
        font-size: 1.1rem;
    }
    
    .update-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .update-card {
        padding: 1rem;
    }
    
    .update-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .update-icon i {
        font-size: 1.1rem;
    }
    
    .update-content h3 {
        font-size: 1rem;
    }
    
    .update-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-radius: 16px;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* Carte Discord Intelligence - Contour violet lumineux */
.feature-card:nth-child(1) {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.8);
}

.feature-card:nth-child(1)::before {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:nth-child(1):hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

/* Effets de lueur pour les autres cartes */
.feature-card:nth-child(2):hover {
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.feature-card:nth-child(3):hover {
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.feature-card:nth-child(4):hover {
    border-color: #f59e0b;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
}

.feature-card:nth-child(5):hover {
    border-color: #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

.feature-card:nth-child(6):hover {
    border-color: #ef4444;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.card-header i {
    font-size: 1.5rem;
    color: #8b5cf6;
    transition: transform 0.3s ease;
}

/* Couleurs des icônes selon les badges */
.feature-card:nth-child(1) .card-header i {
    color: #8b5cf6; /* PRIMARY - violet */
}

.feature-card:nth-child(2) .card-header i {
    color: #3b82f6; /* CORE - bleu */
}

.feature-card:nth-child(3) .card-header i {
    color: #3b82f6; /* CORE - bleu */
}

.feature-card:nth-child(4) .card-header i {
    color: #f59e0b; /* SECURITY - orange */
}

.feature-card:nth-child(5) .card-header i {
    color: #10b981; /* ACCESS - vert */
}

.feature-card:nth-child(6) .card-header i {
    color: #ef4444; /* COMMUNITY - rouge */
}

.feature-card:hover .card-header i {
    transform: scale(1.1);
}

.card-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.card-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    width: 6px;
    height: 6px;
    background: #8b5cf6;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .card-badge::before {
    opacity: 1;
}

.card-badge.core {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.card-badge.core::before {
    background: #3b82f6;
}

.card-badge.security {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.card-badge.security::before {
    background: #f59e0b;
}

.card-badge.access {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.card-badge.access::before {
    background: #10b981;
}

.card-badge.community {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.card-badge.community::before {
    background: #ef4444;
}

.card-badge.primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
}

.card-badge.primary::before {
    background: #8b5cf6;
}

.feature-card h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.feature-card:nth-child(1) h3,
.feature-card:nth-child(2) h3,
.feature-card:nth-child(3) h3,
.feature-card:nth-child(4) h3,
.feature-card:nth-child(5) h3,
.feature-card:nth-child(6) h3 {
    color: white;
}

.feature-card:hover h3 {
    color: #8b5cf6;
}

/* Couleurs de hover des titres selon les badges */
.feature-card:nth-child(1):hover h3 {
    color: #8b5cf6; /* PRIMARY - violet */
}

.feature-card:nth-child(2):hover h3 {
    color: #3b82f6; /* CORE - bleu */
}

.feature-card:nth-child(3):hover h3 {
    color: #3b82f6; /* CORE - bleu */
}

.feature-card:nth-child(4):hover h3 {
    color: #f59e0b; /* SECURITY - orange */
}

.feature-card:nth-child(5):hover h3 {
    color: #10b981; /* ACCESS - vert */
}

.feature-card:nth-child(6):hover h3 {
    color: #ef4444; /* COMMUNITY - rouge */
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Login Page Styles */
.login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 2rem;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 24px;
    z-index: -1;
}

.login-form-section {
    padding-right: 2rem;
}

.login-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    z-index: 2;
}

.input-check {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8b5cf6;
    font-size: 0.9rem;
    z-index: 2;
}

.input-toggle {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
}

.input-toggle:hover {
    color: #8b5cf6;
}

.input-container input,
.input-container textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-container input:focus,
.input-container textarea:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Ajuster le padding pour les champs avec icônes à droite */
.input-container input[type="password"] {
    padding-right: 4rem;
}

/* Ajuster le padding pour les champs avec icônes de validation */
.input-container input[type="email"] {
    padding-right: 4rem;
}

/* Ajuster le padding pour les champs avec icônes à gauche et à droite */
.input-container input[type="text"] {
    padding-left: 4rem;
}

/* Règle générale pour tous les champs avec icônes */
.input-container input {
    padding-left: 4rem;
    padding-right: 4rem;
}

/* Exception pour les textarea qui n'ont pas d'icônes */
.input-container textarea {
    padding-left: 1rem;
    padding-right: 1rem;
}

.input-container input::placeholder,
.input-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-container textarea {
    padding-left: 1rem;
    resize: vertical;
    min-height: 80px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #8b5cf6;
    border-color: #8b5cf6;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.forgot-password {
    color: #8b5cf6;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #a855f7;
}

.register-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* Divider */
.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.divider span {
    background: rgba(26, 26, 26, 0.9);
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-btn.google {
    border-color: rgba(234, 67, 53, 0.3);
}

.social-btn.google:hover {
    border-color: rgba(234, 67, 53, 0.5);
}

.social-btn.github {
    border-color: rgba(255, 255, 255, 0.3);
}

.social-btn.github:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.signin-link {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.signin-link a {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.signin-link a:hover {
    color: #a855f7;
}

/* Requirements Section */
.requirements-section {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.requirements-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
}

.requirements-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.requirement-icon {
    color: #ef4444;
    font-size: 0.8rem;
    min-width: 16px;
}

.requirement-item.valid .requirement-icon {
    color: #10b981;
}

.security-practices {
    margin-top: 2rem;
}

.security-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.security-list {
    list-style: none;
    padding: 0;
}

.security-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.security-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8b5cf6;
}

/* Benefits Section */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

.benefit-icon {
    font-size: 1.5rem;
    color: #8b5cf6;
    margin-top: 0.25rem;
    min-width: 24px;
}

.benefit-content h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.security-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
}

/* Profile Page Styles */
.profile-main {
    min-height: 100vh;
    padding: 2rem;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.profile-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.profile-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.05));
    opacity: 0.3;
    z-index: -1;
}

/* Profile Banner */
.profile-banner {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    overflow: hidden;
}

.profile-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><defs><linearGradient id="banner" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%238b5cf6;stop-opacity:0.8"/><stop offset="100%" style="stop-color:%23a855f7;stop-opacity:0.6"/></linearGradient></defs><rect width="400" height="200" fill="url(%23banner)"/><path d="M0,150 Q100,100 200,150 T400,150 L400,200 L0,200 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.profile-avatar-large {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 30;
}

.profile-avatar-large:hover {
    transform: translateX(-50%) scale(1.05);
    border-color: rgba(139, 92, 246, 0.5);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-edit-overlay {
    display: none;
}

.avatar-edit-overlay i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Profile Info Section */
.profile-info-section {
    padding: 2.5rem 1.5rem 1.5rem;
}

.profile-name-section {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-name-section h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.online-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse 2s infinite;
}

.status-dot.offline {
    background: #6b7280;
    box-shadow: 0 0 10px rgba(107, 114, 128, 0.5);
}

.status-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.profile-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.profile-tag {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Me Section */
.about-me-section {
    margin-bottom: 2rem;
}

.about-me-section h2 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.bio-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
}

.bio-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.skill-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.skill-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Discord Section */
.discord-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.discord-section i {
    color: #5865f2;
    font-size: 1.2rem;
}

.discord-section span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.social-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.social-icon.conquestx {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.social-icon.telegram {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.social-info {
    flex: 1;
}

.social-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
}

.join-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Profile Footer */
.profile-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.profile-footer span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.tab-btn i {
    font-size: 0.8rem;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

/* Profile Sections */
.profile-section {
    margin-bottom: 3rem;
}

.profile-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

/* Bio Section */
.bio-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}

.bio-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.edit-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.edit-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-1px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stat-content h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-number {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Account Information Grid */
.account-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.info-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 12px;
}

.info-icon i {
    color: white;
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

.info-content h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.info-value {
    color: #8b5cf6;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    margin-top: 0;
}

.info-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Stats Actions */
.stats-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.test-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: #8b5cf6;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.test-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.test-btn i {
    font-size: 1rem;
}

.activity-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    font-size: 1rem;
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

/* Settings Form */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-form label {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.settings-form input,
.settings-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.settings-form input:focus,
.settings-form textarea:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.settings-form input::placeholder,
.settings-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.save-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* Preferences Grid - Updated */
.preferences-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preference-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.preference-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-1px);
}

.preference-info {
    flex: 1;
    min-width: 0;
}

.preference-info h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.preference-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Toggle Switch - Enhanced */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s ease;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.toggle-switch:hover .toggle-slider {
    border-color: #8b5cf6;
}

/* Dark Mode Styles */
.dark-mode .preference-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.dark-mode .preference-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

.dark-mode .preference-info h4 {
    color: #ffffff !important;
}

.dark-mode .preference-info p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.dark-mode .toggle-slider {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.dark-mode .toggle-switch input:checked + .toggle-slider {
    background-color: #8b5cf6 !important;
    border-color: #8b5cf6 !important;
}

.dark-mode .toggle-slider:before {
    background-color: #ffffff !important;
}

/* Security Form */
.security-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Two-Factor Section */
.two-factor-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.two-factor-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.two-factor-icon {
    width: 50px;
    height: 50px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    font-size: 1.2rem;
}

.two-factor-content h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.two-factor-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.enable-2fa-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.enable-2fa-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-1px);
}

/* Sessions List - Updated */
.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.session-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.session-item.current {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.05);
}

.session-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

.session-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    font-size: 1rem;
    flex-shrink: 0;
}

.session-content {
    flex: 1;
    min-width: 0;
}

.session-content h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.session-status {
    color: #8b5cf6;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.terminate-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    font-weight: 500;
    flex-shrink: 0;
}

.terminate-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

/* Session Actions */
.session-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.terminate-all-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminate-all-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    backdrop-filter: blur(20px);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: white;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Responsive Design for Profile */
@media (max-width: 768px) {
    .profile-main {
        padding: 1rem;
    }
    
    .profile-card {
        margin: 0 1rem;
    }
    
    .profile-banner {
        height: 150px;
    }
    
    .profile-avatar-large {
        width: 100px;
        height: 100px;
        top: -50px;
    }
    
    .profile-info-section {
        padding: 2rem 1rem 1rem;
    }
    
    .profile-name-section h1 {
        font-size: 2rem;
    }
    
    .profile-tags {
        gap: 0.25rem;
    }
    
    .profile-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .skills-list {
        gap: 0.75rem;
    }
    
    .skill-item {
        padding: 0.75rem;
    }
    
    .skill-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .social-item {
        padding: 0.75rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .profile-footer {
        margin: 1rem;
    }
    
    .profile-header-section {
        height: 250px;
    }
    
    .profile-cover {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .profile-info-large h1 {
        font-size: 2rem;
    }
    
    .profile-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .account-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
    
    .info-content h3 {
        font-size: 1rem;
    }
    
    .info-value {
        font-size: 1.1rem;
    }
    
    .two-factor-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .session-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .profile-info-large h1 {
        font-size: 1.5rem;
    }
    
    .profile-info-large p {
        font-size: 1rem;
    }
    
    .profile-content {
        padding: 1rem;
    }
    
    .profile-section h2 {
        font-size: 1.3rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .account-info-grid {
        gap: 0.75rem;
    }
    
    .info-card {
        padding: 0.75rem;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.75rem;
    }
    
    .info-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .info-value {
        font-size: 1rem;
    }
    
    .info-subtitle {
        font-size: 0.75rem;
    }
    
    .activity-item {
        padding: 0.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.left-section {
    animation: fadeInUp 0.8s ease-out;
}

.screenshot-container {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.feature-card {
    animation: fadeInUp 0.8s ease-out;
}

.login-container {
    animation: fadeInUp 0.8s ease-out;
}

/* Glow effects */
.screenshot-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #8b5cf6);
    border-radius: 22px;
    z-index: -2;
    opacity: 0.3;
    filter: blur(10px);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #8b5cf6);
    border-radius: 18px;
    z-index: -2;
    opacity: 0.2;
    filter: blur(8px);
}

.login-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #8b5cf6);
    border-radius: 26px;
    z-index: -2;
    opacity: 0.2;
    filter: blur(10px);
} 

/* Admin Page Styles */
.admin-main {
    padding: 2rem;
    min-height: calc(100vh - 80px);
}
 
/* Global Page Animations (appliquées à toutes les pages) */
.hall-header,
.features-header,
.portal-card,
.dossier-card,
.update-card,
.users-section,
.profile-card,
.login-container {
  animation: fadeInUp 0.8s ease-out;
}

/* Stagger sur les grilles (effet en cascade) */
.portal-card:nth-child(1), .dossier-card:nth-child(1), .feature-card:nth-child(1) { animation-delay: 0.05s; }
.portal-card:nth-child(2), .dossier-card:nth-child(2), .feature-card:nth-child(2) { animation-delay: 0.15s; }
.portal-card:nth-child(3), .dossier-card:nth-child(3), .feature-card:nth-child(3) { animation-delay: 0.25s; }
.portal-card:nth-child(4), .dossier-card:nth-child(4), .feature-card:nth-child(4) { animation-delay: 0.35s; }
.portal-card:nth-child(5), .dossier-card:nth-child(5), .feature-card:nth-child(5) { animation-delay: 0.45s; }
.portal-card:nth-child(6), .dossier-card:nth-child(6), .feature-card:nth-child(6) { animation-delay: 0.55s; }

/* Éléments contenus dans les sections */
.hall-of-shame-container .hall-badge,
.hall-of-shame-container .hall-title,
.hall-of-shame-container .hall-description,
.features-section .features-title,
.features-section .features-subtitle,
.new-section .section-header {
  animation: fadeInUp 0.8s ease-out;
}

/* Réduction de l’amplitude sur mobile pour fluidité */
@media (max-width: 480px) {
  .hall-header, .features-header, .portal-card, .dossier-card, .update-card, .profile-card, .login-container {
    animation-duration: 0.7s;
  }
}

/* Blanket: appliquer l'animation à TOUT les éléments visibles des pages */
:where(header, main, footer, .container) :where(*) {
  animation-name: fadeInUp;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
}

/* Opt-out possible */
.no-anim { animation: none !important; }

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  :where(header, main, footer, .container) :where(*) {
    animation: none !important;
  }
}

/* Désactiver l'animation de la navbar uniquement (garder les hovers) */
header nav, header nav * {
  animation: none !important;
}

/* Désactiver aussi toute animation du header (sans toucher aux hovers) */
header, header * {
  animation: none !important;
}

/* (Hovers rétablis via les styles par défaut définis plus haut) */

.page-load-fade {
  animation: pageLoadFade 480ms ease-out both;
}

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

@media (prefers-reduced-motion: reduce) {
  .page-load-fade { animation: none; }
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Admin Header */
.admin-header {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.admin-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.admin-title-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.admin-title-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.export-btn, .refresh-btn {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.export-btn:hover, .refresh-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-1px);
}

/* Statistics Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Users Section */
.users-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
}

.users-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    z-index: -1;
}

.section-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.table-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.search-box input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    color: white;
    font-size: 0.9rem;
    width: 250px;
    transition: all 0.3s ease;
    outline: none;
}

.search-box input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#userFilter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

#userFilter:focus {
    border-color: #8b5cf6;
}

#userFilter option {
    background: #1a1a1a;
    color: white;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.users-table thead {
    background: rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}

.users-table th {
    padding: 1rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.users-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

.users-table tbody tr {
    transition: all 0.3s ease;
}

.users-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.user-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-username {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.premium {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.status-badge.free {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.action-btn.view {
    color: #8b5cf6;
}

.action-btn.edit {
    color: #f59e0b;
}

.action-btn.delete {
    color: #ef4444;
}

/* Table Footer */
.table-footer {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#currentPage {
    color: white;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Modal Styles for Admin */
.modal-content.large {
    max-width: 800px;
    width: 90%;
}

.user-details-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
}

.user-avatar-section {
    text-align: center;
}

.user-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.user-status-badge.premium {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.user-status-badge.free {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-group label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-group p {
    color: white;
    font-size: 0.9rem;
    margin: 0;
}

/* Export Modal */
.export-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.export-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.export-option input[type="radio"] {
    accent-color: #8b5cf6;
}

.export-option label {
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
}

.export-format {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.export-format label {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.export-format select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.export-format select:focus {
    border-color: #8b5cf6;
}

.export-format select option {
    background: #1a1a1a;
    color: white;
}

/* Button Styles */
.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

/* Responsive Design for Admin */
@media (max-width: 1200px) {
    .admin-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .user-details-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .admin-main {
        padding: 1rem;
    }
    
    .admin-header {
        padding: 1.5rem;
    }
    
    .admin-title-section h1 {
        font-size: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .table-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .users-table {
        font-size: 0.8rem;
    }
    
    .users-table th,
    .users-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .table-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .modal-content.large {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .admin-title-section h1 {
        font-size: 1.5rem;
    }
    
    .admin-title-section p {
        font-size: 1rem;
    }
    
    .admin-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .export-btn, .refresh-btn {
        width: 100%;
        justify-content: center;
    }
    
    .users-table {
        font-size: 0.7rem;
    }
    
    .users-table th,
    .users-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .action-btn {
        padding: 0.25rem;
        font-size: 0.8rem;
    }
}

/* Settings Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

/* Ajuster le padding pour les champs dans le modal */
.form-group input[type="password"] {
    padding-right: 4rem;
}

.form-group input[type="email"] {
    padding-right: 4rem;
}

.form-group input[type="text"] {
    padding-left: 4rem;
}

/* Ajuster le padding pour les textarea dans le modal */
.form-group textarea {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Normaliser le padding pour les inputs dans le modal de settings */
.modal .form-group input,
.modal .form-group textarea {
    padding: 1rem;
}

/* Exception pour les champs avec icônes dans le modal */
.modal .input-container input {
    padding-left: 1rem;
    padding-right: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Avatar Upload Styles */
.avatar-upload-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#changeAvatarBtn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Custom Links Styles */
.custom-link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-link-item input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
}

.custom-link-item input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.custom-link-item input::placeholder {
    color: #888;
}

.remove-link-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.remove-link-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Styles pour la nouvelle page Users */
.users-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2rem;
}

.users-container {
    max-width: 1400px;
    margin: 0 auto;
}

.users-header {
    margin-bottom: 3rem;
}

.users-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.users-title h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.users-title i {
    color: #8b5cf6;
    font-size: 2rem;
}

.users-stats {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.stat-item i {
    font-size: 1rem;
}

.text-green {
    color: #10b981;
}

.text-yellow {
    color: #f59e0b;
}

.users-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-container {
    flex: 1;
    max-width: 400px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.15);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8b5cf6;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    color: #888;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-group select {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #8b5cf6;
}

.filter-group select option {
    background: #2d2d2d;
    color: white;
}

/* Users Grid */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.user-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.user-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.user-avatar {
    position: relative;
    width: 60px;
    height: 60px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 92, 246, 0.3);
}

.user-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
}

.user-status.online {
    background: #10b981;
}

.user-status.away {
    background: #f59e0b;
}

.user-status.offline {
    background: #6b7280;
}

.user-role-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-role-badge.admin {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #1f2937;
}

.user-role-badge.moderator {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
}

.user-role-badge.premium {
    background: linear-gradient(135deg, #e91e63 0%, #f06292 100%);
    color: white;
}

.user-role-badge.verified {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.user-role-badge.user {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    color: white;
}

.user-card-body {
    margin-bottom: 1rem;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verified-badge {
    color: #10b981;
    font-size: 0.9rem;
}

.user-username {
    color: #8b5cf6;
    font-size: 0.9rem;
    margin: 0 0 0.75rem 0;
}

.user-bio {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.user-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.user-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-card-footer {
    display: flex;
    justify-content: center;
}

.btn-view-profile {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* No Users State */
.no-users {
    text-align: center;
    padding: 3rem;
    color: #888;
}

.no-users i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.no-users h3 {
    color: white;
    margin: 0 0 0.5rem 0;
}

.no-users p {
    margin: 0;
    font-size: 0.9rem;
}

/* User Details Modal */
.user-details-modal {
    max-width: 600px;
    width: 90%;
}

.user-details-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.user-profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar-large {
    position: relative;
    width: 100px;
    height: 100px;
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(139, 92, 246, 0.3);
}

.user-status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.user-status-badge.online {
    background: #10b981;
}

.user-status-badge.away {
    background: #f59e0b;
}

.user-status-badge.offline {
    background: #6b7280;
}

.user-info h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

.user-info p {
    color: #888;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.user-stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card i {
    color: #8b5cf6;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-card span {
    display: block;
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.stat-card strong {
    color: white;
    font-size: 1.1rem;
}

.user-bio-section h4 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.user-bio-section p {
    color: #d1d5db;
    line-height: 1.5;
    margin: 0;
}

.user-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.user-actions .btn-primary,
.user-actions .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.user-actions .btn-primary:hover,
.user-actions .btn-secondary:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .users-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .users-grid {
        grid-template-columns: 1fr;
    }
    
    .user-profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .user-stats-section {
        grid-template-columns: 1fr;
    }
    
    .user-actions {
        flex-direction: column;
    }
    
    .users-stats {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
}

/* Styles pour la page Social */
.social-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.social-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-container {
    max-width: 1400px;
    margin: 0 auto;
}

.social-header {
    margin-bottom: 2rem;
}

.social-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.social-title h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.social-title i {
    color: #8b5cf6;
    font-size: 2rem;
}

.social-tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    color: #888;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: #8b5cf6;
}

.tab-btn.active {
    color: #8b5cf6;
    border-bottom-color: #8b5cf6;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Messages Section */
.messages-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    height: 70vh;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.conversations-list {
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.conversations-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversations-header h3 {
    color: white;
    margin: 0;
    font-size: 1.2rem;
}

.new-message-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.new-message-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.conversations {
    height: calc(100% - 80px);
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.conversation-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.conversation-item.active {
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid #8b5cf6;
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.conversation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-header h4 {
    color: white;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.conversation-time {
    color: #888;
    font-size: 0.8rem;
}

.conversation-preview {
    color: #d1d5db;
    font-size: 0.9rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.no-conversations {
    text-align: center;
    padding: 3rem;
    color: #888;
}

.no-conversations i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.no-conversations h4 {
    color: white;
    margin: 0 0 0.5rem 0;
}

.no-conversations p {
    margin: 0;
    font-size: 0.9rem;
}

/* Chat Area */
.chat-area {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.chat-user-details h4 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.chat-user-details span {
    color: #10b981;
    font-size: 0.9rem;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.no-conversation {
    text-align: center;
    padding: 3rem;
    color: #888;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.no-conversation i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.no-conversation h3 {
    color: white;
    margin: 0 0 0.5rem 0;
}

.no-conversation p {
    margin: 0;
    font-size: 0.9rem;
}

.message {
    display: flex;
    margin-bottom: 1rem;
}

.message.own {
    justify-content: flex-end;
}

.message.other {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 1rem;
    border-radius: 15px;
    position: relative;
}

.message.own .message-content {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
}

.message.other .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.message-content p {
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.message-time {
    font-size: 0.8rem;
    opacity: 0.7;
}

.chat-input-area {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.chat-input-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chat-input-container input {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
}

.chat-input-container input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.chat-input-container button {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Friends Section */
.friends-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.friends-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.friends-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.add-friend-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-friend-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.friends-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.friend-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.friend-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.friend-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.friend-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-info {
    flex: 1;
}

.friend-info h4 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.friend-status {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
}

.friend-status.online {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.friend-status.offline {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

.friend-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-message {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.no-friends {
    text-align: center;
    padding: 3rem;
    color: #888;
    grid-column: 1 / -1;
}

.no-friends i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.no-friends h4 {
    color: white;
    margin: 0 0 0.5rem 0;
}

.no-friends p {
    margin: 0;
    font-size: 0.9rem;
}

/* Notifications Section */
.notifications-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.notifications-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

.mark-all-read-btn {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mark-all-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.notification-item.unread {
    border-left: 3px solid #8b5cf6;
}

.notification-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.notification-content p {
    color: #d1d5db;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.notification-time {
    color: #888;
    font-size: 0.8rem;
}

.unread-dot {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
}

.no-notifications {
    text-align: center;
    padding: 3rem;
    color: #888;
}

.no-notifications i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.no-notifications h4 {
    color: white;
    margin: 0 0 0.5rem 0;
}

.no-notifications p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .messages-container {
        grid-template-columns: 1fr;
        height: 60vh;
    }
    
    .conversations-list {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .social-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .friends-list {
        grid-template-columns: 1fr;
    }
    
    .friends-header,
    .notifications-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

/* Simple Chat Interface Styles */
.chat-interface {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    height: calc(100vh - 250px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* Conversations Panel */
.conversations-panel {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.conversations-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversations-header h3 {
    color: white;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.new-conversation-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.new-conversation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    position: relative;
}

.conversation-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.conversation-item.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.conversation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.conversation-header h4 {
    color: white;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

.conversation-preview {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.no-conversations {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-conversations i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.no-conversations h4 {
    margin: 0 0 0.5rem 0;
    color: white;
}

.no-conversations p {
    margin: 0;
    font-size: 0.9rem;
}

/* Chat Panel */
.chat-panel {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.1);
    height: calc(100vh - 200px);
    min-height: 500px;
}

.chat-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.chat-user-details h4 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.chat-user-details span {
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 500;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: calc(100vh - 300px);
    min-height: 400px;
}

/* Améliorer le scroll */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

.no-conversation {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 600px;
}

.welcome-icon {
    font-size: 4rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.welcome-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 1rem 0;
}

.action-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.action-card:hover::before {
    opacity: 1;
}

.action-card i {
    font-size: 2.5rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
    display: block;
}

.action-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
}

.action-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.5rem 0;
    line-height: 1.4;
}

.action-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.stats-section {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.stats-section .stat-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.stats-section .stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stats-section .stat-item i {
    color: #8b5cf6;
    font-size: 1.2rem;
}

.stats-section .stat-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.9rem;
}

.no-conversation i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8b5cf6;
}

.no-conversation h3 {
    margin: 0 0 0.5rem 0;
    color: white;
}

.no-conversation p {
    margin: 0;
    font-size: 0.9rem;
}

.message {
    display: flex;
    margin-bottom: 1rem;
}

.message.own {
    justify-content: flex-end;
}

.message.other {
    justify-content: flex-start;
}

.message-content {
    max-width: 70%;
    padding: 1rem;
    border-radius: 16px;
    position: relative;
}

.message.own .message-content {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.other .message-content {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-left-radius: 4px;
}

.message-content p {
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
}

.chat-input-area {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.chat-input-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chat-input-container input {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
}

.chat-input-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chat-input-container input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.15);
}

.chat-input-container button {
    padding: 1rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Responsive Design for Chat */
@media (max-width: 768px) {
    .chat-interface {
        grid-template-columns: 1fr;
        height: calc(100vh - 150px);
    }
    
    .conversations-panel {
        display: none;
    }
    
    .conversations-panel.active {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
    }
}

/* Users and Social Pages - Index Style */
.users-container,
.social-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Enhanced Users Header */
.users-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.users-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    width: 100%;
    gap: 1.5rem;
}

.users-title-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.users-title i {
    font-size: 1.8rem;
    color: #8b5cf6;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.users-title h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Users Stats */
.users-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 1.2rem;
    color: #8b5cf6;
}

.stat-item span {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Enhanced Users Controls */
.users-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.search-container {
    flex: 1;
    max-width: 400px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: #8b5cf6;
    font-size: 1.1rem;
    z-index: 2;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Enhanced Filter Controls */
.filter-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.1);
}

.filter-group select option {
    background: #1a1a1a;
    color: white;
}

/* Enhanced Users Grid */
.users-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced User Cards */
.user-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 14px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    gap: 0.8rem;
    min-height: 70px;
    max-width: 1000px;
    margin: 0 auto;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #a855f7, #c084fc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.user-card:hover::before {
    opacity: 1;
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 0;
}

.user-avatar {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.user-card:hover .user-avatar {
    border-color: rgba(139, 92, 246, 0.6);
    transform: scale(1.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-role-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-username {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 0.75rem;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-stats {
    display: flex;
    gap: 0.6rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    min-width: 140px;
}

.user-stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    flex: 1;
    min-width: 0;
}

.user-stat i {
    color: #8b5cf6;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.user-actions {
    flex-shrink: 0;
    margin-left: auto;
}

.view-profile-btn {
    padding: 0.5rem 0.8rem;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.view-profile-btn:hover {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Enhanced Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.load-more-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.05));
    color: white;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.load-more-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

/* No Users Message */
.no-users {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.no-users i {
    font-size: 4rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-users h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.no-users p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

/* Social Header */
.social-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-radius: 18px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
    width: 100%;
}

.social-title i {
    font-size: 2.5rem;
    color: #8b5cf6;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-title h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Chat Interface for Social Page */
.chat-interface {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    height: calc(100vh - 300px);
    min-height: 600px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

/* Community Stats */
.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    height: 100%;
    align-items: center;
}

.community-stats .stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.community-stats .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.community-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.community-stats .stat-card:hover::before {
    opacity: 1;
}

.community-stats .stat-icon {
    font-size: 2rem;
    color: #8b5cf6;
    margin-bottom: 1rem;
    display: block;
}

.community-stats .stat-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.5rem 0;
}

.community-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-stats .stat-change {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.community-stats .stat-change.positive {
    color: #10b981;
}

.community-stats .stat-change i {
    font-size: 0.7rem;
}

/* User Cards in Features Grid */
.features-grid .user-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.features-grid .user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.features-grid .user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.features-grid .user-card:hover::before {
    opacity: 1;
}

.features-grid .user-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.features-grid .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.features-grid .user-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem 0;
}

.features-grid .user-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.features-grid .user-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.features-grid .user-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.features-grid .user-stat i {
    color: #8b5cf6;
    font-size: 0.9rem;
}

.features-grid .user-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.features-grid .view-profile-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.features-grid .view-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .users-container,
    .social-container {
        padding: 1rem;
    }
    
    .users-header {
        padding: 1.5rem;
    }
    
    .users-title {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .users-title h1 {
        font-size: 2rem;
    }
    
    .users-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .users-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .users-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .chat-interface {
        height: calc(100vh - 250px);
    }
    
    .community-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid .user-card {
        padding: 1rem;
    }
} 

/* Users Page Styles - Index Style */
.users-main {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.users-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.users-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.users-sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.users-sidebar-header i {
    font-size: 2rem;
    color: #8b5cf6;
}

.users-sidebar-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.users-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.stat-card i {
    font-size: 1.5rem;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card .stat-number {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.users-quick-actions {
    margin-bottom: 0;
}

.quick-action-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    font-weight: 500;
    min-height: 50px;
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.quick-action-btn i {
    font-size: 1.2rem;
    color: #8b5cf6;
}

.users-recent-activity {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.activity-header i {
    color: #8b5cf6;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.activity-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.users-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.users-title i {
    font-size: 2.5rem;
    color: #8b5cf6;
}

.users-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.search-container {
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.filter-buttons {
    margin-bottom: 2rem;
}

.filter-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    justify-content: center;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-color: #8b5cf6;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.filter-btn i {
    font-size: 0.8rem;
}

.results-count {
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.users-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.user-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.section-header span {
    color: #fbbf24;
    font-weight: 700;
    font-size: 1rem;
}

.user-entries {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.user-entry {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.user-entry:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fbbf24;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.user-username {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.user-join-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.user-roles {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.user-roles i {
    font-size: 0.8rem;
    padding: 0.25rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.user-roles i.fa-crown {
    color: #fbbf24;
}

.user-roles i.fa-user-shield {
    color: #8b5cf6;
}

.user-roles i.fa-bug {
    color: #10b981;
}

.user-roles i.fa-gem {
    color: #ec4899;
}

.user-roles i.fa-bolt {
    color: #f59e0b;
}

.user-roles i.fa-star {
    color: #ffffff;
}

.no-users {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-users i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.no-users h3 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.no-users p {
    margin: 0;
    font-size: 1rem;
}

.users-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.users-title-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.users-title i {
    font-size: 2rem;
    color: #8b5cf6;
}

.users-title h1 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.users-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.stat-item i {
    color: #8b5cf6;
}

.users-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.search-container {
    flex: 1;
    max-width: 400px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.filter-controls {
    display: flex;
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.filter-group select {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    min-width: 120px;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.user-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.user-card:hover::before {
    opacity: 1;
}

.user-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-role-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem 0;
}

.user-username {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.5rem 0;
}

.user-role {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
}

.user-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.user-stat i {
    color: #8b5cf6;
    font-size: 0.9rem;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
}

.view-profile-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.view-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
    color: white;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.no-users {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.no-users i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.no-users h3 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.no-users p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 1rem;
}

/* User Details Modal */
.user-details-modal {
    max-width: 600px;
}

.user-details-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.user-profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-avatar-large {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(139, 92, 246, 0.3);
}

.user-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-status-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #10b981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.user-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem 0;
}

.user-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
}

.user-stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.user-stats-section .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-stats-section .stat-card i {
    color: #8b5cf6;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.user-stats-section .stat-card span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.25rem;
}

.user-stats-section .stat-card strong {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
}

.user-bio-section h4 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.user-bio-section p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.user-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .users-header {
        padding: 1.5rem;
    }
    
    .users-title {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .users-stats {
        gap: 1rem;
    }
    
    .users-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .filter-controls {
        flex-wrap: wrap;
    }
    
    .users-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .user-stats-section {
        grid-template-columns: 1fr;
    }
    
    .user-actions {
        flex-direction: column;
    }
} 

/* Hall of Shame Styles */
.hall-of-shame-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hall-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hall-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    width: fit-content;
}

.hall-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hall-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.dossiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dossier-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

/* Grille des dossiers */
.dossiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .dossiers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .dossiers-grid {
        padding: 0.5rem;
        gap: 1rem;
    }
}

.dossier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: 20px;
    z-index: -1;
}

.dossier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.dossier-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dossier-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.dossier-info {
    flex: 1;
}

.dossier-info h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.dossier-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.closed {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.status-badge.pending {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.dossier-gallery {
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dossier-content {
    margin-bottom: 1.5rem;
}

.dossier-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.dossier-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.dossier-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

.btn-view {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.btn-download {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-download:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hall-of-shame-container {
        padding: 1rem;
    }
    
    .hall-title {
        font-size: 2.5rem;
    }
    
    .hall-description {
        font-size: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .dossiers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .dossier-card {
        padding: 1rem;
    }
    
    .dossier-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .dossier-status {
        align-self: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    }
    
    .dossier-actions {
        flex-direction: column;
    }
    
    .btn-view {
        width: 100%;
    }
    
    /* Amélioration des modals sur mobile */
    .modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 2.5vh auto;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.5rem;
    }
    
    /* Amélioration du lightbox sur mobile */
    .lightbox-content {
        width: 95%;
        height: 90vh;
        margin: 5vh auto;
    }
    
    .lightbox-image-container img {
        max-width: 100%;
        max-height: 70vh;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Amélioration des conteneurs de connexion sur mobile */
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .login-form-section {
        padding-right: 0;
        text-align: center;
    }
    
    .login-title {
        font-size: 2rem;
    }
    
    .login-subtitle {
        font-size: 1rem;
    }
    
    .form-group input {
        padding: 0.9rem 1rem 0.9rem 3rem;
        font-size: 1rem;
    }
    
    .auth-btn {
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
    
    .auth-footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    /* Amélioration des notifications sur mobile */
    .notification {
        right: 10px;
        left: 10px;
        width: auto;
        text-align: center;
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
}

/* Styles pour les modals */
.dossier-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.modal-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #8b5cf6;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #a855f7;
}

.modal-body {
    padding: 2rem;
}

.modal-gallery {
    margin-bottom: 2rem;
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.modal-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.modal-gallery-item:hover {
    transform: scale(1.05);
}

.modal-gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
}

.modal-text h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-text p {
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.modal-tags .tag {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive pour les modals */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-gallery-item img {
        height: 120px;
    }
}

/* Styles pour le lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-close:hover {
    background: rgba(139, 92, 246, 0.3);
    color: #a855f7;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 1rem 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2001;
}



.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-info {
    margin-top: 1rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Curseur pointer sur les images pour indiquer qu'elles sont cliquables */
.modal-gallery-item img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-gallery-item img:hover {
    transform: scale(1.05);
}

/* Responsive pour le lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        padding: 0.8rem 0.6rem;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        padding: 0.6rem;
        font-size: 1.2rem;
    }
    
    .lightbox-image-container img {
        max-height: 70vh;
    }
}

/* Responsive pour le lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        padding: 0.8rem 0.6rem;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        padding: 0.6rem;
        font-size: 1.2rem;
    }
    
    .lightbox-image-container img {
        max-height: 70vh;
    }
}

/* Specific styles for search.html page */
body:has(main .screenshot-container) {
    overflow: hidden;
    height: 100vh;
}

/* Allow scroll only on mobile for search.html */
@media (max-width: 768px) {
    body:has(main .screenshot-container) {
        overflow: hidden;
    }
    
    body:has(main .screenshot-container) .content-wrapper {
        min-height: auto;
        padding-bottom: 2rem;
    }
}

body:has(main .screenshot-container) .content-wrapper {
    align-items: center;
    gap: 0.3rem;
}

body:has(main .screenshot-container) .left-section {
    justify-content: flex-start;
    padding-top: 4rem;
    align-items: flex-start;
}

body:has(main .screenshot-container) .right-section {
    justify-content: flex-start;
    padding-left: 2rem;
}

body:has(main .screenshot-container) .screenshot-container {
    max-width: 500px;
    margin-left: 0;
    transform: translateX(-3rem);
}

/* Terminal Kali Linux Styles */
.terminal-container {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    font-family: 'Courier New', monospace;
    max-width: 600px;
    margin: 0 auto;
}

.terminal-header {
    background: #2d2d2d;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #404040;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.terminal-btn.close {
    background: #ff5f56;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.maximize {
    background: #27ca3f;
}

.terminal-title {
    color: #ffffff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-title i {
    color: #00ff00;
}

.terminal-body {
    padding: 16px;
    background: #1a1a1a;
    min-height: 250px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
}

.prompt {
    color: #00ff00;
    font-weight: bold;
    margin-right: 8px;
}

.command {
    color: #ffffff;
}

.output {
    color: #cccccc;
    margin-left: 0;
    margin-top: 4px;
    width: 100%;
}

.cursor {
    color: #00ff00;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive for terminal */
@media (max-width: 768px) {
    .terminal-container {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .terminal-body {
        font-size: 12px;
        min-height: 300px;
    }
}

/* Responsive styles for search.html page */
@media (max-width: 768px) {
    body:has(main .screenshot-container) .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
    }
    
    body:has(main .screenshot-container) .left-section {
        order: 2;
        padding: 1rem 0;
    }
    
    body:has(main .screenshot-container) .right-section {
        order: 1;
        padding: 0;
    }
    
    body:has(main .screenshot-container) .screenshot-container {
        max-width: 100%;
        transform: none;
        margin: 0 auto;
    }
    
    body:has(main .screenshot-container) .screenshot-image {
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    
    body:has(main .screenshot-container) .main-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    body:has(main .screenshot-container) .description {
        text-align: center;
        max-width: 100%;
    }
    
    body:has(main .screenshot-container) .cta-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    body:has(main .screenshot-container) .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    body:has(main .screenshot-container) .platform-badge {
        margin: 0 auto 1.5rem auto;
    }
}

@media (max-width: 480px) {
    body:has(main .screenshot-container) .main-title {
        font-size: 2rem;
    }
    
    body:has(main .screenshot-container) .description {
        font-size: 1rem;
    }
    
    body:has(main .screenshot-container) .screenshot-image {
        max-width: 250px;
    }
    
    body:has(main .screenshot-container) .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Amélioration mobile pour SearchInt */
    .screenshot-container {
        padding: 0.5rem;
    }
    
    .screenshot-overlay {
        padding: 1rem;
    }
    
    .overlay-content h3 {
        font-size: 1.2rem;
    }
    
    .overlay-content p {
        font-size: 0.9rem;
    }
    
    /* Amélioration générale pour très petits écrans */
    header {
        padding: 0.5rem 0.75rem;
    }
    
    .nav-left .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .login-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    main {
        padding: 0.75rem 0.5rem;
    }
    
    .content-wrapper {
        padding: 0 0.75rem;
        gap: 1.5rem;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .dossier-card {
        padding: 0.75rem;
    }
    
    .modal-content {
        width: 98%;
        margin: 1vh auto;
        padding: 1rem;
    }
    
    .lightbox-content {
        width: 98%;
        height: 95vh;
        margin: 2.5vh auto;
    }
}

/* Hall of Shame - Portail */
.portal-container {
  padding: 2rem 1rem 4rem;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  padding: 3rem 2rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

@media (max-width: 768px) {
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 1rem;
  }
  .portal-card {
    padding: 2rem 1.25rem;
    border-radius: 14px;
  }
  
  .portal-container {
    padding: 1rem 0.5rem 2rem;
  }
  
  .portal-card .portal-icon {
    font-size: 2.5rem;
    margin: 0 auto 1rem auto;
  }
  
  .portal-card .portal-title {
    font-size: 1.4rem;
    text-align: center;
  }
}

.portal-card .portal-icon {
  font-size: 3rem;
  margin: 0 auto 1rem auto;
}