/* =========================================================
   Nos Enfants Notre Combat — feuille de style principale
   ========================================================= */

:root {
  /* Violet de l'association — conservé tel quel, décliné en nuances */
  --purple-900: #2b1636;
  --purple-800: #3d1f4d;
  --purple-700: #5a2a76;
  --purple-600: #6f3391;
  --purple-500: #8544a8;
  --purple-400: #a066bd;
  --purple-100: #f2e9f7;
  --purple-50: #faf6fc;

  --gold: #d9a441;

  --text-dark: #241830;
  --text-muted: #5c4d67;
  --white: #ffffff;
  --border-light: #e6dbee;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(43, 22, 54, 0.08);
  --shadow-md: 0 8px 24px rgba(43, 22, 54, 0.12);
  --shadow-lg: 0 16px 40px rgba(43, 22, 54, 0.16);
  --shadow-glow: 0 12px 32px rgba(111, 51, 145, 0.18);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background:
    radial-gradient(circle, rgba(111, 51, 145, 0.07) 1px, transparent 1px) 0 0/24px 24px,
    var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

[id] { scroll-margin-top: 96px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; font-weight: 700; font-family: var(--font-display); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 16px; color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-600);
  background: var(--purple-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-title p { font-size: 1.05rem; }

.section-title-admin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--purple-300, #cbaee0);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--purple-700);
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.admin-page-button:hover {
  background: var(--purple-100);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--purple-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--purple-700); box-shadow: var(--shadow-md); }

.btn-gold {
  background: var(--gold);
  color: var(--purple-900);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { background: #c4932f; }

.btn-outline {
  background: transparent;
  border-color: var(--purple-500);
  color: var(--purple-600);
}
.btn-outline:hover { background: var(--purple-100); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; color: var(--purple-800); }
.brand-text span { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.03em; }

.main-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.main-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}
.main-nav a:hover { background: var(--purple-100); color: var(--purple-700); }
.main-nav a.active { background: var(--purple-600); color: var(--white); }

/* ---------- Nav dropdown ("Nous soutenir") ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle,
.nav-dropdown-toggle.active { background: var(--purple-100); color: var(--purple-700); }
.nav-dropdown-toggle.active { background: var(--purple-600); color: var(--white); }
.nav-dropdown-toggle svg { width: 14px; height: 14px; transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  z-index: 150;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}
.nav-dropdown-menu a:hover { background: var(--purple-100); color: var(--purple-700); }
.nav-dropdown-menu a.active { background: var(--purple-600); color: var(--white); }
.nav-dropdown-menu a.nav-donate {
  color: var(--purple-700);
  font-weight: 700;
}
.nav-dropdown-menu a.nav-donate:hover { background: var(--purple-100); }
.nav-dropdown-menu a.nav-donate.active { background: var(--purple-600); color: var(--white); }
.nav-dropdown-menu a.nav-group-start {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.nav-dropdown-menu a.nav-group-start.active { border-top-color: transparent; }

@media (min-width: 981px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--purple-700); }

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .nav-toggle { display: block; }

  .nav-dropdown-toggle { width: 100%; justify-content: space-between; padding: 12px 10px; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 14px;
    min-width: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  color: var(--white);
  padding: 72px 0 112px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px));
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.hero::before {
  content: "";
  position: absolute;
  left: -80px; bottom: -100px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.hero .container { position: relative; z-index: 1; }
.hero.small { padding: 48px 0 84px; }
.hero h1 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,0.88); font-size: 1.15rem; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.breadcrumb a:hover { text-decoration: underline; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--purple-50); }
.section-dark {
  background: var(--purple-900);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.78); }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); border-color: var(--purple-400); }

.icon-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--purple-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.icon-badge svg { width: 26px; height: 26px; color: var(--purple-600); }

.stat-card { text-align: center; }
.stat-card .icon-badge { margin: 0 auto 16px; }
.stat-card h3 { margin-bottom: 4px; }
.stat-card p { margin: 0; font-size: 0.92rem; }

/* ---------- Featured event banner ---------- */
.featured-event {
  background: linear-gradient(120deg, var(--purple-700), var(--purple-500));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.featured-event::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.featured-event > * { position: relative; z-index: 1; }
.featured-event-body { flex: 1; min-width: 240px; }
.featured-event-body .event-date { color: var(--gold); }
.featured-event-body h2 { color: var(--white); margin-bottom: 8px; }
.featured-event-body p { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.featured-event-body .tag-upcoming { background: rgba(255,255,255,0.18); color: var(--white); }

/* ---------- Filter tabs ---------- */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--border-light);
  background: var(--white);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.filter-tab:hover { border-color: var(--purple-400); }
.filter-tab.active { background: var(--purple-600); border-color: var(--purple-600); color: var(--white); }
.event-card[hidden] { display: none; }

.event-admin-panel {
  margin-top: 42px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.event-admin-header {
  margin-bottom: 20px;
}

.event-admin-header h3,
.event-admin-list-wrap h3 {
  margin-bottom: 8px;
}

.event-admin-form {
  max-width: none;
  margin: 0;
}

.event-admin-list-wrap {
  margin-top: 28px;
}

.event-admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.event-admin-item:last-child {
  border-bottom: none;
}

.event-admin-meta {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.event-admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- Timeline / events ---------- */
.event-card { overflow: hidden; padding: 0; }
.event-card-clickable {
  cursor: pointer;
}
.event-card-clickable:hover {
  transform: translateY(-7px);
}
.event-card-disabled {
  cursor: default;
}
.event-media {
  height: 180px;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-600));
  display: flex; align-items: center; justify-content: center;
}
.event-media svg { width: 48px; height: 48px; color: rgba(255,255,255,0.85); }
.event-body { padding: 22px 24px; }
.event-card-footer {
  margin-top: 18px;
}
.event-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--purple-700);
}
.event-card-link::after {
  content: ">";
  font-size: 1rem;
}
.event-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--purple-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tag-past { background: var(--purple-100); color: var(--purple-700); }
.tag-upcoming { background: #fdf1dc; color: #9c6b12; }

/* ---------- Accordion ---------- */
.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--purple-800);
  cursor: pointer;
}
.accordion-trigger:hover { background: var(--purple-50); }
.accordion-trigger-label { display: flex; align-items: center; gap: 14px; }
.avatar-sm {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--purple-500);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  overflow: hidden;
}
.accordion-trigger svg {
  width: 20px; height: 20px;
  color: var(--purple-600);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.accordion-item.open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-panel-inner { padding: 0 22px 20px; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonial-card { display: flex; gap: 18px; align-items: flex-start; }
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--purple-500);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-quote {
  font-style: italic;
  color: var(--text-dark);
  border-left: 3px solid var(--purple-400);
  padding-left: 14px;
  margin: 10px 0 0;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--purple-50);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  background: var(--white);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }

.admin-empty {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 12px;
}

/* ---------- Pricing / membership box ---------- */
.price-box {
  background: var(--purple-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price-box::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.price-box > * { position: relative; z-index: 1; }
.price-box .amount { font-size: 3rem; font-weight: 800; color: var(--gold); }
.price-box .amount span { font-size: 1.1rem; font-weight: 500; color: rgba(255,255,255,0.7); }
.price-list { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.price-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.price-list li svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---------- Alert / notice ---------- */
.notice {
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1px solid #f0d38a;
  background: #fdf6e3;
  color: #7a5b06;
  font-size: 0.92rem;
}
.notice strong { display: block; margin-bottom: 4px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--purple-700), var(--purple-500));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  left: -70px; bottom: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Social icons ---------- */
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.social-row a:hover { background: var(--purple-500); }
.social-row svg { width: 18px; height: 18px; color: var(--white); }

/* ---------- Photo carousel ---------- */
.gallery-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}
.gallery-carousel img {
  height: 200px;
  width: auto;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
}

.live-streamers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px) {
  .live-streamers-layout {
    grid-template-columns: 1fr;
  }
}
.live-streamers-player,
.live-streamer-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.live-player-frame {
  aspect-ratio: 16 / 9;
  background: var(--purple-900);
}
.live-player-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.live-player-meta {
  padding: 24px;
}
.live-player-meta h3 {
  margin-bottom: 10px;
}
.live-player-meta p {
  margin-bottom: 14px;
}
.live-player-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.live-streamers-list {
  display: grid;
  gap: 18px;
}
.live-streamer-card {
  overflow: hidden;
}
.live-streamer-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--purple-100);
}
.live-streamer-body {
  padding: 18px;
}
.live-streamer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.live-streamer-head strong {
  display: block;
  color: var(--text-dark);
}
.live-streamer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.live-pill {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffebef;
  color: #b0153f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.live-streamer-title {
  margin-bottom: 12px;
  color: var(--text-dark);
}
.live-streamer-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.live-streamer-body a {
  font-weight: 700;
  color: var(--purple-700);
}
.live-streamers-empty {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
}

.action-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .action-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .action-gallery-grid {
    grid-template-columns: 1fr;
  }
}
.action-gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.action-gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ---------- Bottom donate strip ---------- */
.donate-strip {
  background: linear-gradient(120deg, var(--purple-700), var(--purple-500));
  padding: 26px 0;
}
.donate-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.donate-strip-inner p {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}
.donate-strip-inner strong { color: var(--gold); }

/* ---------- In-page edit mode ---------- */
#edit-mode-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999999;
  background: var(--purple-600);
  color: var(--white);
  border: none;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(43,22,54,0.32);
}
#edit-mode-toggle:hover { background: var(--purple-700); }

body:not(.edit-mode-active) .admin-page-button-active-label,
body.edit-mode-active .admin-page-button-default-label {
  display: none;
}

.edit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43,22,54,0.74);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border-radius: inherit;
  z-index: 1000;
  padding: 8px;
}
.edit-overlay svg { width: 24px; height: 24px; }
body.edit-mode-active .edit-overlay { display: flex; }

.gallery-filled {
  padding: 0;
  color: transparent;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-900);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand strong { color: var(--white); font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.placeholder-photo {
  background: linear-gradient(135deg, var(--purple-100), var(--purple-50));
  border: 1px dashed var(--purple-400);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-500);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  min-height: 180px;
}
.placeholder-photo svg { width: 34px; height: 34px; margin-bottom: 8px; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--purple-700);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(.16,.84,.44,1), transform 0.6s cubic-bezier(.16,.84,.44,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.grid .reveal:nth-child(6) { transition-delay: 0.3s; }
