/* ============================================
   SWARM — Guilde Gaming PVP & Survie
   Theme: Dark / Aggressive Red-Orange
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --accent: #e63946;
  --accent-orange: #ff6b35;
  --accent-glow: #e6394680;
  --accent-gradient: linear-gradient(135deg, #e63946, #ff6b35);
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border: #2a2a2a;
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --radius: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-orange);
}

img {
  max-width: 100%;
  display: block;
}

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

/* ---------- NAVIGATION ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-primary) !important;
  letter-spacing: 4px;
  text-shadow: 0 0 20px var(--accent-glow);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(230, 57, 70, 0.1);
}

.nav-cta {
  background: var(--accent-gradient) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center bottom, #1a0a0a 0%, var(--bg-primary) 70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" patternUnits="userSpaceOnUse" width="20" height="20"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(230,57,70,0.05)" stroke-width="0.5"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
  background-size: 40px 40px;
  opacity: 0.6;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.8; }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

/* Glitch Effect */
.glitch {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: 12px;
  color: var(--text-primary);
  position: relative;
  text-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(230, 57, 70, 0.2);
  animation: glitchMain 4s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.glitch::before {
  color: #0ff;
  z-index: -1;
  animation: glitchBefore 4s infinite;
}

.glitch::after {
  color: var(--accent);
  z-index: -2;
  animation: glitchAfter 4s infinite;
}

@keyframes glitchMain {
  0%, 90%, 100% { opacity: 1; }
  91% { opacity: 0.8; }
  92% { opacity: 1; }
}

@keyframes glitchBefore {
  0%, 89%, 93%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  90% { clip-path: inset(20% 0 60% 0); transform: translate(-4px, -2px); }
  91% { clip-path: inset(50% 0 20% 0); transform: translate(4px, 2px); }
  92% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 1px); }
}

@keyframes glitchAfter {
  0%, 89%, 93%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  90% { clip-path: inset(60% 0 10% 0); transform: translate(4px, 2px); }
  91% { clip-path: inset(30% 0 40% 0); transform: translate(-4px, -1px); }
  92% { clip-path: inset(70% 0 5% 0); transform: translate(2px, -2px); }
}

.hero-slogan {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--accent);
  margin-top: 16px;
  letter-spacing: 3px;
  font-weight: 700;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--accent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  margin-top: 28px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: #fff;
}

.btn-discord svg {
  flex-shrink: 0;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ---------- AOS (Animate on Scroll) ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-text strong {
  color: var(--accent);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateX(-5px);
  box-shadow: 4px 4px 20px var(--accent-glow);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- ANNONCES ---------- */
.annonces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.annonce-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.annonce-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.annonce-card:hover::before {
  transform: scaleX(1);
}

.annonce-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.annonce-card.important {
  border-color: var(--accent);
}

.annonce-card.important::before {
  transform: scaleX(1);
}

.annonce-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.annonce-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.annonce-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.annonce-titre {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.annonce-contenu {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.annonce-auteur {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- JEUX ---------- */
.jeux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.jeu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.jeu-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.jeu-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

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

.jeu-image .placeholder-text {
  position: absolute;
  text-align: center;
}

.jeu-body {
  padding: 24px;
}

.jeu-nom {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.jeu-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.jeu-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.jeu-tag {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.jeu-tag.actif {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.jeu-tag.recrutement {
  background: rgba(230, 57, 70, 0.15);
  color: var(--accent);
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.jeu-tag.ferme {
  background: rgba(102, 102, 102, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(102, 102, 102, 0.3);
}

a.jeu-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.jeu-link-hint {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
  transition: all var(--transition);
}

.jeu-card-link:hover .jeu-link-hint {
  letter-spacing: 3px;
}

/* ---------- RÈGLEMENT & FAQ ACCORDION ---------- */
.reglement-container {
  max-width: 800px;
  margin: 48px auto 0;
}

.reglement-category {
  margin-bottom: 40px;
}

.reglement-category h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 2px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-icon {
  font-size: 1.1rem;
}

.faq-container {
  max-width: 800px;
  margin: 48px auto 0;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.accordion-item:hover {
  border-color: #444;
}

.accordion-item.active {
  border-color: var(--accent);
}

.accordion-header {
  width: 100%;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
  letter-spacing: 0.5px;
}

.accordion-header:hover {
  background: var(--bg-card-hover);
}

.accordion-header::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-item.active .accordion-header::after {
  content: '−';
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: rgba(26, 26, 26, 0.5);
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 0 24px 20px;
}

.accordion-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  padding-top: 8px;
}

/* ---------- STAFF ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.staff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.staff-leader::before {
  background: linear-gradient(90deg, #ffd700, #ff8c00);
}

.staff-officier::before {
  background: var(--accent-gradient);
}

.staff-membre::before {
  background: linear-gradient(90deg, #666, #888);
}

.staff-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.staff-avatar {
  font-size: 3rem;
  margin-bottom: 16px;
}

.staff-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.staff-pseudo {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 12px;
}

.staff-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- GALERIE ---------- */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.galerie-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
}

.galerie-item:hover {
  transform: scale(1.03);
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galerie-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #252525);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  line-height: 1.6;
}

/* ---------- REJOINDRE ---------- */
.rejoindre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
  align-items: start;
}

.rejoindre-conditions h3,
.rejoindre-process h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--accent);
}

.rejoindre-conditions ul {
  list-style: none;
}

.rejoindre-conditions li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.rejoindre-conditions li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  border-radius: 50%;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ---------- FOOTER ---------- */
#footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--text-primary);
  text-shadow: 0 0 20px var(--accent-glow);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 140px;
  }

  .rejoindre-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 20px;
    font-size: 1.05rem;
    width: 100%;
  }

  .annonces-grid,
  .jeux-grid {
    grid-template-columns: 1fr;
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galerie-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .galerie-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: column;
  }

  .stat-card {
    min-width: unset;
  }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- SELECTION ---------- */
::selection {
  background: var(--accent);
  color: #fff;
}
