:root {
  --cream: #FFF8F2;
  --cream-deep: #FDEFE6;
  --white: #FFFFFF;
  --rose: #E85D75;
  --rose-deep: #C73E56;
  --rose-soft: #FBD5DC;
  --honey: #FFB627;
  --honey-soft: #FFE4A8;
  --text: #3D2C2F;
  --text-muted: #8B7276;
  --border: #F3E1DA;
  --shadow-sm: 0 2px 8px rgba(199, 62, 86, 0.06);
  --shadow-md: 0 4px 16px rgba(199, 62, 86, 0.08);
  --shadow-lg: 0 8px 24px rgba(199, 62, 86, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
}

[data-theme="dark"] {
  --cream: #1E1819;
  --cream-deep: #2A2123;
  --white: #2E2527;
  --rose: #F07C90;
  --rose-deep: #E85D75;
  --rose-soft: #4A2C33;
  --honey: #FFB627;
  --honey-soft: #4A3A1E;
  --text: #F5EBE8;
  --text-muted: #B8A2A5;
  --border: #3E2F32;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--cream);
  background-image: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  background-attachment: fixed;
  color: var(--text);
  padding: 1.5rem;
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color 0.2s, color 0.2s;
}

/* ---------- Header ---------- */
.site-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
}

h1 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: 0.05em;
  color: var(--rose-deep);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 0 rgba(255, 182, 39, 0.25);
}

.tagline {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- Filtres ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.filters input,
.filters select {
  padding: 0.7rem 1rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.filters input:focus,
.filters select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--rose-soft);
}

.filters input {
  flex: 1;
  min-width: 200px;
}

.filters select {
  min-width: 150px;
}

.filters button {
  background: var(--white);
  color: var(--rose-deep);
  border: 2px solid var(--rose-soft);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s;
}

.filters button:hover {
  background: var(--rose-soft);
  border-color: var(--rose);
}

/* ---------- Grille des volontaires ---------- */
#volunteers-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

.volunteer-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(14px);
  animation: card-in 0.55s ease forwards;
}

@keyframes card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Délai progressif pour chaque carte (effet stagger) */
.volunteer-card:nth-child(1)  { animation-delay: 0.00s; }
.volunteer-card:nth-child(2)  { animation-delay: 0.07s; }
.volunteer-card:nth-child(3)  { animation-delay: 0.14s; }
.volunteer-card:nth-child(4)  { animation-delay: 0.21s; }
.volunteer-card:nth-child(5)  { animation-delay: 0.28s; }
.volunteer-card:nth-child(6)  { animation-delay: 0.35s; }
.volunteer-card:nth-child(7)  { animation-delay: 0.42s; }
.volunteer-card:nth-child(8)  { animation-delay: 0.49s; }
.volunteer-card:nth-child(9)  { animation-delay: 0.56s; }
.volunteer-card:nth-child(10) { animation-delay: 0.63s; }
.volunteer-card:nth-child(n+11) { animation-delay: 0.7s; }

.volunteer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--rose-soft);
}

.volunteer-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  background: var(--cream-deep);
}

.volunteer-card h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.volunteer-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.class-tag {
  display: inline-block;
  background: var(--honey-soft);
  color: #8a5b00;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-top: 0.6rem;
}

/* ---------- Détail ---------- */
#volunteer-detail {
  max-width: 700px;
  margin: 0 auto;
  animation: detail-in 0.35s ease;
}

@keyframes detail-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#volunteers-list {
  animation: list-in 0.3s ease;
}

@keyframes list-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 2px solid var(--rose-soft);
  color: var(--rose-deep);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 1.2rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
}

#back-button:hover {
  background: var(--rose-soft);
  border-color: var(--rose);
  transform: translateX(-2px);
}

.detail-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
  background: var(--white);
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.detail-header img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream-deep);
}

.detail-header h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.detail-header p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.detail-class {
  color: var(--rose-deep) !important;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem !important;
}

/* ---------- Commentaires ---------- */
.comments-section h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--rose-deep);
  margin-bottom: 0.8rem;
}

.comment-card {
  background: var(--white);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--honey-soft);
}

.comment-card .sentiment {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.sentiment.positive {
  color: #2b7a4b;
}

.sentiment.negative {
  color: var(--rose-deep);
}

.comment-card p {
  color: var(--text);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.comment-card .explanation {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.comment-card .date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-family: 'Fredoka', sans-serif;
}

.no-comments {
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Formulaire de commentaire ---------- */
.comment-form {
  background: var(--white);
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 1.8rem;
}

.comment-form h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--rose-deep);
  margin-bottom: 0.8rem;
}

.disclaimer {
  background: var(--honey-soft);
  border-left: 4px solid var(--honey);
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  color: #6b4a00;
  border-radius: 10px;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.comment-form label {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  margin-top: 0.9rem;
  color: var(--text);
}

.comment-form textarea,
.comment-form input[type="text"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.comment-form textarea:focus,
.comment-form input[type="text"]:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--rose-soft);
  background: var(--white);
}

.comment-form textarea {
  min-height: 100px;
}

.sentiment-choice {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.3rem;
}

.sentiment-choice label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.comment-form button {
  margin-top: 1.2rem;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s;
  box-shadow: var(--shadow-sm);
}

.comment-form button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.comment-form button:disabled {
  background: var(--rose-soft);
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 0.9rem;
  font-size: 0.9rem;
}

.form-message.success {
  color: #2b7a4b;
  font-weight: 600;
}

.form-message.error {
  color: var(--rose-deep);
  font-weight: 600;
}

.hidden {
  display: none !important;
}

/* ---------- États ---------- */
.loading,
.empty {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding: 1.5rem;
}

.error-box {
  background: #fdecea;
  border-left: 4px solid var(--rose-deep);
  padding: 1.2rem;
  border-radius: 12px;
  color: #7a1a12;
  text-align: center;
}

.error-box p {
  margin-bottom: 0.8rem;
  color: #7a1a12;
}

.error-box button {
  background: var(--rose-deep);
  color: white;
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
}

.error-box button:hover {
  background: #a52c42;
}

/* ---------- Bouton Become a volunteer ---------- */
.become-volunteer {
  max-width: 700px;
  margin: 2.5rem auto 1.5rem auto;
  text-align: center;
}

.become-volunteer button {
  background: linear-gradient(135deg, var(--honey) 0%, #FF8C42 100%);
  color: var(--text);
  border: none;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.25);
  transition: transform 0.12s, box-shadow 0.15s;
}

.become-volunteer button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35);
}

/* ---------- About ---------- */
.about-section {
  max-width: 900px;
  margin: 2rem auto;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 6px solid var(--honey);
  position: relative;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px dashed var(--rose-soft);
}

.about-title-icon {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(232, 93, 117, 0.25));
}

.about-header h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--rose-deep);
  margin-bottom: 0.2rem;
}

.about-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.about-card {
  background: var(--cream);
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-soft);
}

.about-card-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.about-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--rose-deep);
  margin-bottom: 0.6rem;
  margin-top: 0;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-small {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
}

.about-rules {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-rules li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.about-rules li::before {
  content: '🌸';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

.about-rules li strong {
  color: var(--rose-deep);
  font-weight: 700;
}

/* Contact highlight */
.about-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--honey-soft) 0%, #FFE4A8 100%);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  border-left: 5px solid var(--honey);
}

.about-contact-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.about-contact-text {
  font-size: 0.9rem;
  color: #4a2c00;
  line-height: 1.6;
}

.about-contact-text strong {
  color: #4a2c00;
  font-weight: 700;
}

[data-theme="dark"] .about-contact {
  background: linear-gradient(135deg, #4A3A1E 0%, #3A2E18 100%);
  border-left-color: var(--honey);
}

[data-theme="dark"] .about-contact-text {
  color: #F5EBE8;
}

[data-theme="dark"] .about-contact-text strong {
  color: var(--honey);
}

@media (max-width: 600px) {
  .about-header {
    flex-direction: column;
    text-align: center;
  }

  .about-title-icon {
    font-size: 1.8rem;
  }

  .about-contact {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: 700px;
  margin: 2.5rem auto 0 auto;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 1.2rem;
  border-top: 2px solid var(--border);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* ---------- Modal d'inscription ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(61, 44, 47, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--rose);
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close:hover {
  color: var(--rose-deep);
}

.modal-content h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--rose-deep);
  margin-bottom: 0.5rem;
}

.modal-intro {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

#signup-form label {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  margin-top: 0.9rem;
  color: var(--text);
}

#signup-form input[type="text"],
#signup-form textarea {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text);
}

#signup-form input[type="text"]:focus,
#signup-form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--rose-soft);
  background: var(--white);
}

#signup-form textarea {
  min-height: 90px;
  resize: vertical;
}

#signup-form input[type="file"] {
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

.consent-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.85rem !important;
  margin-top: 1rem !important;
  line-height: 1.5;
}

.consent-label input {
  margin-top: 0.2rem;
}

#signup-submit {
  margin-top: 1.2rem;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

#signup-submit:hover {
  box-shadow: var(--shadow-md);
}

#signup-submit:disabled {
  background: var(--rose-soft);
  cursor: not-allowed;
}

/* ---------- Bouton Report ---------- */
.report-button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 0.5rem;
  padding: 0;
  text-decoration: underline;
}

.report-button:hover {
  color: var(--rose-deep);
}

.report-form {
  margin-top: 0.8rem;
  padding: 0.9rem;
  background: var(--cream);
  border-left: 4px solid var(--honey);
  border-radius: 10px;
}

.report-form label {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.report-form textarea {
  width: 100%;
  min-height: 60px;
  padding: 0.5rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  background: var(--white);
}

.report-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.report-submit {
  background: var(--rose-deep);
  color: white;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
}

.report-submit:hover {
  background: #a52c42;
}

.report-cancel {
  background: var(--cream-deep);
  color: var(--text);
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
}

.report-cancel:hover {
  background: var(--border);
}

.report-message {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.report-message.error {
  color: var(--rose-deep);
}

.report-message.success {
  color: #2b7a4b;
}

/* ---------- Hint ---------- */
.hint {
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #8a5b00;
  background: var(--honey-soft);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  margin: 0 auto 1.2rem auto;
  max-width: 420px;
  display: block;
  box-shadow: 0 2px 6px rgba(255, 182, 39, 0.2);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: white;
  border: none;
  font-size: 1.5rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  transition: transform 0.15s, box-shadow 0.15s;
  line-height: 1;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(199, 62, 86, 0.28);
}

.back-to-top.hidden {
  display: none;
}

/* ---------- Header nav ---------- */
.header-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.nav-link {
  background: var(--white);
  border: 2px solid var(--rose-soft);
  color: var(--rose-deep);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: var(--shadow-sm);
}

.nav-link:hover {
  background: var(--rose-soft);
  border-color: var(--rose);
  transform: translateY(-1px);
}

/* ---------- Field hint ---------- */
.field-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.3rem;
  margin-bottom: 0;
}

/* ---------- Pronoms ---------- */
.pronoun-choice {
  display: flex;
  gap: 1rem;
  margin-top: 0.3rem;
  flex-wrap: wrap;
}

.pronoun-choice label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.pronoun-badge {
  display: inline-block;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-left: 0.4rem;
}

/* ---------- Liens sociaux ---------- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-block;
  background: var(--white);
  border: 2px solid var(--honey-soft);
  color: #8a5b00;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s;
}

.social-link:hover {
  background: var(--honey-soft);
  border-color: var(--honey);
  transform: translateY(-1px);
}

#signup-form input[type="url"],
#signup-form input[type="email"] {
  width: 100%;
  padding: 0.7rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--text);
  margin-top: 0.4rem;
}

#signup-form input[type="url"]:focus,
#signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--rose-soft);
  background: var(--white);
}

/* ---------- Stats bar ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  padding: 0.6rem 1rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat-item strong {
  color: var(--rose-deep);
  font-weight: 600;
}

.stat-sep {
  color: var(--border);
  font-weight: 700;
}

/* ---------- Share button ---------- */
.share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 2px solid var(--honey-soft);
  color: #8a5b00;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 0.8rem;
  transition: all 0.15s;
}

.share-button:hover {
  background: var(--honey-soft);
  border-color: var(--honey);
  transform: translateY(-1px);
}

/* ---------- Reactions ---------- */
.reaction-bar {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--cream);
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.reaction-btn:hover {
  border-color: var(--rose-soft);
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.reaction-btn.active {
  background: var(--rose);
  border-color: var(--rose-deep);
  color: white;
}

.reaction-btn.active:hover {
  background: var(--rose-deep);
}

/* ---------- Featured volunteer ---------- */
.featured-section {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  background: linear-gradient(135deg, #FFF1E8 0%, #FFE4E9 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--rose-soft);
  position: relative;
  animation: featured-in 0.4s ease;
}

@keyframes featured-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.featured-badge {
  display: inline-block;
  background: var(--honey);
  color: #4a2c00;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(255, 182, 39, 0.3);
}

.featured-content {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.featured-photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream-deep);
  flex-shrink: 0;
}

.featured-info {
  flex: 1;
  min-width: 0;
}

.featured-info h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--rose-deep);
  margin-bottom: 0.3rem;
}

.featured-info p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.featured-joke {
  margin-top: 0.6rem !important;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--rose-soft);
  font-style: italic;
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
}

@media (max-width: 500px) {
  .featured-content {
    flex-direction: column;
    text-align: center;
  }

  .featured-photo {
    width: 90px;
    height: 90px;
  }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
  line-height: 1;
  padding: 0;
}

.music-toggle {
  position: absolute;
  top: 1rem;
  right: 4.2rem;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
  line-height: 1;
  padding: 0;
}

.music-toggle:hover {
  transform: scale(1.05);
  border-color: var(--rose);
}

.music-toggle.playing {
  border-color: var(--rose);
  background: var(--rose-soft);
  animation: music-pulse 1.6s ease-in-out infinite;
}

@keyframes music-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--rose);
}

.site-header {
  position: relative;
}

[data-theme="dark"] .volunteer-card:hover {
  border-color: var(--rose);
}

[data-theme="dark"] .disclaimer {
  color: #F5EBE8;
}

[data-theme="dark"] .report-form {
  background: #241C1E;
}

[data-theme="dark"] .filters input,
[data-theme="dark"] .filters select {
  background: var(--white);
  color: var(--text);
}

[data-theme="dark"] .hint {
  color: #F5EBE8;
}

[data-theme="dark"] .featured-section {
  background: linear-gradient(135deg, #3A2729 0%, #4A2C33 100%);
  border-color: var(--rose-soft);
}

[data-theme="dark"] .featured-info h2 {
  color: var(--rose);
}

[data-theme="dark"] .featured-joke {
  color: var(--text-muted) !important;
  border-top-color: var(--rose-soft);
}

/* ---------- Bandes florales ---------- */
.floral-band {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='260' viewBox='0 0 120 260'><path d='M60 0 Q50 50 60 100 Q70 150 60 200 Q50 230 60 260' stroke='%23C73E56' stroke-width='1.3' fill='none' opacity='0.4'/><path d='M30 20 Q26 80 32 140 Q38 200 30 260' stroke='%23A8C99A' stroke-width='0.9' fill='none' opacity='0.35'/><ellipse cx='30' cy='60' rx='6' ry='3' fill='%23A8C99A' opacity='0.7' transform='rotate(35 30 60)'/><ellipse cx='88' cy='120' rx='6' ry='3' fill='%23A8C99A' opacity='0.7' transform='rotate(-35 88 120)'/><ellipse cx='28' cy='200' rx='6' ry='3' fill='%23A8C99A' opacity='0.7' transform='rotate(40 28 200)'/><g transform='translate(60 30)'><circle cx='0' cy='-8' r='7' fill='%23E85D75'/><circle cx='8' cy='0' r='7' fill='%23E85D75'/><circle cx='0' cy='8' r='7' fill='%23E85D75'/><circle cx='-8' cy='0' r='7' fill='%23E85D75'/><circle cx='0' cy='0' r='3.8' fill='%23FFB627'/></g><g transform='translate(32 70)'><circle cx='0' cy='-6' r='5.5' fill='%23FFB627'/><circle cx='6' cy='0' r='5.5' fill='%23FFB627'/><circle cx='0' cy='6' r='5.5' fill='%23FFB627'/><circle cx='-6' cy='0' r='5.5' fill='%23FFB627'/><circle cx='0' cy='0' r='2.8' fill='%23C73E56'/></g><g transform='translate(86 90)'><circle cx='0' cy='-9' r='8' fill='%23FBD5DC'/><circle cx='9' cy='0' r='8' fill='%23FBD5DC'/><circle cx='0' cy='9' r='8' fill='%23FBD5DC'/><circle cx='-9' cy='0' r='8' fill='%23FBD5DC'/><circle cx='0' cy='0' r='4.2' fill='%23E85D75'/></g><g transform='translate(40 130)'><circle cx='0' cy='-7' r='6.5' fill='%23FF8C42'/><circle cx='7' cy='0' r='6.5' fill='%23FF8C42'/><circle cx='0' cy='7' r='6.5' fill='%23FF8C42'/><circle cx='-7' cy='0' r='6.5' fill='%23FF8C42'/><circle cx='0' cy='0' r='3.4' fill='%23FFE4A8'/></g><g transform='translate(84 170)'><circle cx='0' cy='-7' r='6.5' fill='%23C9A7E8'/><circle cx='7' cy='0' r='6.5' fill='%23C9A7E8'/><circle cx='0' cy='7' r='6.5' fill='%23C9A7E8'/><circle cx='-7' cy='0' r='6.5' fill='%23C9A7E8'/><circle cx='0' cy='0' r='3.4' fill='%23FFB627'/></g><g transform='translate(56 210)'><circle cx='0' cy='-7' r='6.5' fill='%23C73E56'/><circle cx='7' cy='0' r='6.5' fill='%23C73E56'/><circle cx='0' cy='7' r='6.5' fill='%23C73E56'/><circle cx='-7' cy='0' r='6.5' fill='%23C73E56'/><circle cx='0' cy='0' r='3.2' fill='%23FFE4A8'/></g><g transform='translate(28 240)'><circle cx='0' cy='-5.5' r='5' fill='%23FFB627'/><circle cx='5.5' cy='0' r='5' fill='%23FFB627'/><circle cx='0' cy='5.5' r='5' fill='%23FFB627'/><circle cx='-5.5' cy='0' r='5' fill='%23FFB627'/><circle cx='0' cy='0' r='2.5' fill='%23E85D75'/></g><g transform='translate(90 230)'><circle cx='0' cy='-5' r='4.5' fill='%2388C9E0'/><circle cx='5' cy='0' r='4.5' fill='%2388C9E0'/><circle cx='0' cy='5' r='4.5' fill='%2388C9E0'/><circle cx='-5' cy='0' r='4.5' fill='%2388C9E0'/><circle cx='0' cy='0' r='2.3' fill='%23FFB627'/></g></svg>");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 120px 260px;
}

.floral-band-left {
  left: 0;
}

.floral-band-right {
  right: 0;
  transform: scaleX(-1);
}

@media (max-width: 1100px) {
  .floral-band {
    display: none;
  }
}

[data-theme="dark"] .floral-band {
  opacity: 0.55;
  filter: brightness(1.2) saturate(0.9);
}

/* ---------- Take a break ---------- */
.break-section {
  max-width: 900px;
  margin: 3rem auto 2rem auto;
  text-align: center;
}

.break-section h2 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--rose-deep);
  margin-bottom: 0.5rem;
}

.break-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.game-card {
  background: var(--white);
  padding: 1.5rem 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--honey);
  text-align: center;
}

.game-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.game-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ---------- Grow game ---------- */
.grow-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 200px;
  margin-bottom: 0.8rem;
}

.grow-plant {
  font-size: 22px;
  line-height: 1;
  transition: font-size 0.4s ease, transform 0.3s ease;
  transform-origin: bottom center;
  margin-bottom: 6px;
}

.grow-plant.bloomed {
  animation: grow-bloom 0.6s ease;
  filter: drop-shadow(0 0 12px rgba(255, 182, 39, 0.8));
}

@keyframes grow-bloom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.grow-pot {
  width: 70px;
  height: 44px;
  background: linear-gradient(180deg, #C73E56 0%, #A52C42 100%);
  clip-path: polygon(8% 0%, 92% 0%, 82% 100%, 18% 100%);
  position: relative;
  border-radius: 0 0 6px 6px;
}

.grow-pot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4%;
  right: 4%;
  height: 6px;
  background: #6B4226;
  border-radius: 2px;
}

.game-btn {
  background: linear-gradient(135deg, var(--honey) 0%, #FF8C42 100%);
  color: var(--text);
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(255, 140, 66, 0.25);
  transition: transform 0.12s, box-shadow 0.15s;
}

.game-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(255, 140, 66, 0.35);
}

.game-btn:disabled {
  opacity: 0.7;
  cursor: default;
  background: linear-gradient(135deg, var(--rose-soft) 0%, var(--rose) 100%);
}

.game-score {
  margin-top: 0.8rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.game-score strong {
  color: var(--rose-deep);
  font-weight: 600;
}

/* Mode sombre */
[data-theme="dark"] .grow-pot {
  background: linear-gradient(180deg, #E85D75 0%, #C73E56 100%);
}

/* ---------- Memory game ---------- */
.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.memory-card {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: transform 0.15s, background 0.2s, color 0.2s;
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.memory-card:hover:not(.flipped):not(.matched) {
  transform: translateY(-2px) scale(1.03);
}

.memory-card.flipped,
.memory-card.matched {
  background: var(--honey-soft);
  color: var(--text);
  cursor: default;
}

.memory-card.matched {
  background: linear-gradient(135deg, #FFE4A8 0%, #FFB627 100%);
  box-shadow: 0 0 12px rgba(255, 182, 39, 0.5);
}

.memory-card.matched:hover {
  transform: none;
}

[data-theme="dark"] .memory-card {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
}

[data-theme="dark"] .memory-card.flipped,
[data-theme="dark"] .memory-card.matched {
  background: var(--honey-soft);
  color: var(--text);
}

/* ---------- Matchmaking Game ---------- */
.match-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  animation: card-in 0.4s ease;
}

.match-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--rose-soft);
  background: var(--cream-deep);
  margin-bottom: 0.2rem;
}

.match-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: var(--rose-deep);
  font-weight: 600;
}

.match-class {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.match-profile-btn {
  background: var(--white);
  border: 2px solid var(--rose-soft);
  color: var(--rose-deep);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 0.6rem;
  transition: all 0.15s;
}

.match-profile-btn:hover {
  background: var(--rose-soft);
  border-color: var(--rose);
  transform: translateY(-1px);
}

/* ---------- Bandeau d'annonce ---------- */
.announcement {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  max-width: 900px;
  margin: 0 auto 1.2rem auto;
  padding: 0.7rem 2.5rem 0.7rem 1rem;
  background: linear-gradient(135deg, var(--honey) 0%, #FF8C42 100%);
  color: #4a2c00;
  border-radius: 999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(255, 140, 66, 0.25);
  animation: announcement-in 0.4s ease;
}

@keyframes announcement-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.announcement.hidden {
  display: none;
}

.announcement-text {
  flex: 1;
  text-align: center;
}

.announcement-close {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  color: #4a2c00;
  font-size: 0.85rem;
  font-weight: 700;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
  padding: 0;
}

.announcement-close:hover {
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 600px) {
  .announcement {
    font-size: 0.8rem;
    padding: 0.6rem 2.2rem 0.6rem 0.8rem;
    border-radius: 14px;
  }
}

/* ---------- Floating suggestion button (FAB) ---------- */
.suggest-fab {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--honey) 0%, #FF8C42 100%);
  color: var(--text);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.35);
  z-index: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.suggest-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 24px rgba(255, 140, 66, 0.45);
}

.suggest-fab:active {
  transform: scale(0.98);
}

@media (max-width: 600px) {
  .suggest-fab {
    bottom: 4.8rem;
    right: 1rem;
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
}

/* =====================================================
   SPRINT 23 — POLISH ESTHÉTIQUE
   ===================================================== */

/* ---------- Pétales qui tombent ---------- */
.petals-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -40px;
  font-size: 1.1rem;
  opacity: 0;
  animation: petal-fall linear infinite;
  will-change: transform, opacity;
}

@keyframes petal-fall {
  0% {
    transform: translateY(-40px) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.55;
  }
  50% {
    transform: translateY(50vh) translateX(20px) rotate(180deg);
    opacity: 0.55;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(105vh) translateX(-15px) rotate(360deg);
    opacity: 0;
  }
}

[data-theme="dark"] .petal {
  opacity: 0.35 !important;
}

/* ---------- Divider entre sections ---------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  max-width: 500px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--rose-soft) 50%, transparent 100%);
  border-radius: 2px;
}

.divider-flower {
  font-size: 1.4rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(199, 62, 86, 0.15));
  animation: divider-bounce 3s ease-in-out infinite;
}

@keyframes divider-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-3px) rotate(6deg); }
}

[data-theme="dark"] .divider-flower {
  filter: drop-shadow(0 2px 6px rgba(232, 93, 117, 0.35));
}

/* ---------- Sparkle sur le badge Featured ---------- */
.featured-badge {
  position: relative;
  overflow: hidden;
}

.featured-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
  animation: badge-shine 3.5s ease-in-out infinite;
}

@keyframes badge-shine {
  0%   { left: -100%; }
  50%  { left: 100%; }
  100% { left: 100%; }
}

/* ---------- Empty states améliorés ---------- */
.empty,
.loading {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--white);
  border: 2px dashed var(--rose-soft);
  border-radius: var(--radius);
  max-width: 500px;
  margin: 1.5rem auto;
  font-style: normal;
  position: relative;
}

.empty::before {
  content: '🌸';
  display: block;
  font-size: 2rem;
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.loading::before {
  content: '⏳';
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  opacity: 0.7;
  animation: loading-pulse 1.6s ease-in-out infinite;
}

@keyframes loading-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.15); opacity: 1; }
}

[data-theme="dark"] .empty,
[data-theme="dark"] .loading {
  background: var(--cream-deep);
  border-color: var(--rose-soft);
}

/* ---------- Footer enrichi ---------- */
.site-footer {
  max-width: 700px;
  margin: 3rem auto 0 auto;
  text-align: center;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  border-top: 2px solid var(--border);
  position: relative;
}

.site-footer::before {
  content: '🌸';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  padding: 0 0.6rem;
  font-size: 1rem;
}

.footer-brand {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--rose-deep);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.footer-tagline {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.footer-link {
  background: none;
  border: none;
  color: var(--rose-deep);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s;
}

.footer-link:hover {
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.footer-credits {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.visit-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
  margin-top: 0.3rem;
}

/* ---------- Micro-interactions sur les boutons ---------- */
.nav-link:active,
.filters button:active,
.game-btn:active,
.become-volunteer button:active,
.comment-form button:active,
.share-button:active,
.social-link:active,
.modal-actions button:active,
.report-submit:active,
.report-cancel:active {
  transform: scale(0.97);
}

/* ---------- Amélioration des cartes volontaires ---------- */
.volunteer-card {
  position: relative;
  overflow: hidden;
}

.volunteer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 182, 39, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.volunteer-card:hover::before {
  opacity: 1;
}

/* ---------- Amélioration du detail-header ---------- */
.detail-header {
  position: relative;
  overflow: hidden;
}

.detail-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose) 0%, var(--honey) 50%, var(--rose) 100%);
  opacity: 0.7;
}

/* ---------- Amélioration typographique ---------- */
.about-section p,
.comment-card p,
.featured-info p {
  line-height: 1.65;
}

.about-section h2 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- Détail : commentaire négatif plus visible ---------- */
.comment-card:has(.sentiment.negative) {
  border-left-color: var(--rose);
}

.comment-card:has(.sentiment.positive) {
  border-left-color: #A8C99A;
}

/* ---------- Hover sur les réactions ---------- */
.reaction-btn:active {
  transform: scale(0.94);
}

/* ---------- Amélioration du bandeau d'annonce ---------- */
.announcement {
  position: relative;
  overflow: hidden;
}

.announcement::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  animation: announcement-shine 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes announcement-shine {
  0%   { left: -100%; }
  60%  { left: 100%; }
  100% { left: 100%; }
}

/* ---------- Responsive ajustements pour les nouveautés ---------- */
@media (max-width: 600px) {
  .section-divider {
    margin: 1.8rem auto;
    gap: 0.5rem;
  }

  .divider-flower {
    font-size: 1.1rem;
  }

  .site-footer::before {
    font-size: 0.9rem;
  }

  .footer-brand {
    font-size: 1.1rem;
  }

  .petal {
    font-size: 0.9rem;
  }
}

/* ---------- Rayons de soleil statiques (style soleil levant) ---------- */
.sun-rays {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200vmax;
  height: 200vmax;
  pointer-events: none;
  z-index: 0;
  background: repeating-conic-gradient(
    from 0deg at 50% 0%,
    transparent 0deg,
    rgba(255, 182, 39, 0.09) 3deg,
    transparent 6deg,
    transparent 10deg,
    rgba(255, 182, 39, 0.06) 13deg,
    transparent 16deg
  );
  -webkit-mask-image: radial-gradient(
    ellipse 60% 90% at 50% 0%,
    black 0%,
    rgba(0, 0, 0, 0.6) 35%,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse 60% 90% at 50% 0%,
    black 0%,
    rgba(0, 0, 0, 0.6) 35%,
    transparent 75%
  );
  opacity: 0.85;
}

/* Version sombre : plus discrète et plus rosée */
[data-theme="dark"] .sun-rays {
  background: repeating-conic-gradient(
    from 0deg at 50% 0%,
    transparent 0deg,
    rgba(232, 93, 117, 0.07) 3deg,
    transparent 6deg,
    transparent 10deg,
    rgba(255, 182, 39, 0.05) 13deg,
    transparent 16deg
  );
  opacity: 0.7;
}

/* ---------- Menu dropdown top-left ---------- */
.menu-wrapper {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 700;
}

.menu-toggle {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
}

.menu-toggle:hover {
  border-color: var(--rose);
  transform: scale(1.05);
}

.menu-toggle.open {
  background: var(--rose-soft);
  border-color: var(--rose);
  transform: rotate(90deg);
}

.menu-dropdown {
  position: absolute;
  top: 54px;
  left: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 2px solid var(--border);
  animation: menu-in 0.2s ease;
  z-index: 700;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-dropdown.hidden {
  display: none;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  color: var(--text);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.menu-item:hover {
  background: var(--rose-soft);
  color: var(--rose-deep);
}

@media (max-width: 600px) {
  .menu-wrapper {
    top: 0.6rem;
    left: 0.6rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .menu-dropdown {
    top: 46px;
    min-width: 170px;
  }
}

/* ---------- Bouton et Panneau de personnalisation ---------- */
.customize-fab {
  position: fixed;
  bottom: 10.5rem; /* Remonté un peu plus haut */
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  border: 2px solid var(--white);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232, 93, 117, 0.4);
  z-index: 600;
  transition: transform 0.2s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fab-pulse 2.5s infinite;
}

@keyframes fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 93, 117, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(232, 93, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 93, 117, 0); }
}

.customize-fab:hover {
  transform: scale(1.1);
  animation: none; /* Stoppe le pulse au survol */
  border-color: var(--rose);
}

.customize-panel {
  position: fixed;
  bottom: 13rem;
  right: 1.5rem;
  width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem;
  z-index: 650;
  border: 2px solid var(--border);
  animation: panel-in 0.25s ease;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.customize-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.customize-header h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  color: var(--rose-deep);
}

.customize-group {
  margin-bottom: 1rem;
}

.customize-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-family: 'Fredoka', sans-serif;
}

.customize-btn {
  width: 100%;
  padding: 0.6rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  font-family: 'Fredoka', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}
.customize-btn:hover { background: var(--rose-soft); }

.size-buttons {
  display: flex;
  gap: 0.4rem;
}
.size-btn, .width-btn {
  flex: 1;
  padding: 0.5rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text);
  cursor: pointer;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  transition: all 0.15s;
}
.size-btn.active, .width-btn.active {
  background: var(--rose);
  color: white;
  border-color: var(--rose-deep);
}

/* Classes de personnalisation du body */
html { font-size: 16px; transition: font-size 0.2s ease; }
html.text-size-small { font-size: 13px; }
html.text-size-large { font-size: 20px; }

body.page-width-wide #volunteers-list,
body.page-width-wide .about-section,
body.page-width-wide .filters,
body.page-width-wide .stats-bar,
body.page-width-wide .break-section {
  max-width: 1200px !important;
}
body.page-width-wide .detail-header {
  max-width: 1000px !important;
}

/* ---------- Icônes sociales sur les cartes ---------- */
.card-socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.card-socials a {
  text-decoration: none;
  font-size: 1.1rem;
  transition: transform 0.15s;
  filter: grayscale(1) opacity(0.6);
}
.card-socials a:hover {
  transform: scale(1.2);
  filter: grayscale(0) opacity(1);
}

/* ---------- Réponse du volontaire ---------- */
.volunteer-reply {
  margin-top: 0.8rem;
  padding: 0.8rem 1rem;
  background: var(--honey-soft);
  border-left: 4px solid var(--honey);
  border-radius: 8px;
  font-size: 0.9rem;
}
.volunteer-reply strong {
  color: #8a5b00;
  font-family: 'Fredoka', sans-serif;
  display: block;
  margin-bottom: 0.3rem;
}
.volunteer-reply p {
  margin: 0;
  color: #4a2c00;
}
[data-theme="dark"] .volunteer-reply {
  background: #4A3A1E;
  border-left-color: var(--honey);
}
[data-theme="dark"] .volunteer-reply strong { color: var(--honey); }
[data-theme="dark"] .volunteer-reply p { color: #F5EBE8; }

/* =========================================
   SPRINT 33 - GLASSMORPHISM & NAVIGATION
   ========================================= */

/* --- Navigation & Menu --- */
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.2rem;
  width: auto !important; /* Pour écraser l'ancien style rond */
  border-radius: 999px !important;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: var(--rose-deep);
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px);
  border: 2px solid var(--rose-soft) !important;
}

.menu-toggle.open {
  background: var(--rose-soft) !important;
  transform: none !important; /* On annule la rotation */
}

.menu-dropdown {
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 10px 30px rgba(199, 62, 86, 0.15) !important;
}

[data-theme="dark"] .menu-toggle,
[data-theme="dark"] .menu-dropdown {
  background: rgba(46, 37, 39, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.menu-item.highlight-item {
  background: var(--honey-soft);
  color: #8a5b00;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.menu-item.highlight-item:hover {
  background: var(--honey);
}

/* --- Lien Espace Volontaire (Header) --- */
.volunteer-callout {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  background: var(--honey-soft);
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  color: #6b4a00;
  border: 1px solid var(--honey);
}
.volunteer-callout a {
  color: var(--rose-deep);
  font-weight: 700;
  text-decoration: none;
}
.volunteer-callout a:hover {
  text-decoration: underline;
}
[data-theme="dark"] .volunteer-callout {
  background: #4A3A1E;
  color: #F5EBE8;
  border-color: var(--honey);
}

/* --- Effet Glassmorphism sur les cartes --- */
.volunteer-card, 
.about-section, 
.game-card, 
.stats-bar {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 8px 32px rgba(199, 62, 86, 0.08) !important;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background 0.3s ease;
}

[data-theme="dark"] .volunteer-card,
[data-theme="dark"] .about-section,
[data-theme="dark"] .game-card,
[data-theme="dark"] .stats-bar {
  background: rgba(46, 37, 39, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
}

.volunteer-card:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 15px 40px rgba(199, 62, 86, 0.15) !important;
}

[data-theme="dark"] .volunteer-card:hover {
  background: rgba(46, 37, 39, 0.95) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

/* =========================================
   SPRINT 33 - FANCY CARDS & STAR OF THE DAY
   ========================================= */

/* --- 1. Cartes Volontaires Plus Fancy --- */
.volunteer-card {
  position: relative;
  overflow: hidden;
}

/* Effet de zoom sur la photo au survol */
.volunteer-card img {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.volunteer-card:hover img {
  transform: scale(1.08);
}

/* Reflet lumineux au survol */
.volunteer-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.volunteer-card:hover::after {
  opacity: 1;
}

/* Le badge de classe un peu plus pop */
.class-tag {
  background: linear-gradient(135deg, var(--honey-soft), var(--honey)) !important;
  color: #4a2c00 !important;
  box-shadow: 0 2px 6px rgba(255, 182, 39, 0.3);
  border: 1px solid rgba(255,255,255,0.5);
}

/* --- 2. Star of the Day Plus Fancy --- */
.featured-section {
  padding: 2rem !important;
  position: relative;
  overflow: hidden;
  /* Halo doré autour de la carte */
  box-shadow: 0 10px 40px rgba(255, 182, 39, 0.2), inset 0 0 0 2px rgba(255, 182, 39, 0.3) !important;
}

/* Lueur en arrière-plan */
.featured-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255, 182, 39, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.featured-content {
  position: relative;
  z-index: 1;
  gap: 2rem !important; /* Plus d'espace entre la photo et le texte */
}

/* Photo beaucoup plus grande et lumineuse */
.featured-photo {
  width: 160px !important;
  height: 160px !important;
  border: 4px solid var(--honey) !important;
  box-shadow: 0 0 20px rgba(255, 182, 39, 0.4);
  transition: transform 0.3s ease;
}

.featured-section:hover .featured-photo {
  transform: scale(1.05) rotate(2deg);
}

/* Nom en grand avec un dégradé */
.featured-info h2 {
  font-size: 2.2rem !important;
  background: linear-gradient(135deg, var(--rose-deep) 0%, var(--honey) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem !important;
  line-height: 1.2;
}

/* Badge "Star of the day" encore plus visible */
.featured-badge {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep)) !important;
  color: white !important;
  font-size: 0.9rem !important;
  padding: 0.4rem 1.2rem !important;
  box-shadow: 0 4px 12px rgba(199, 62, 86, 0.4) !important;
}

/* --- 3. Adaptation Mobile --- */
@media (max-width: 600px) {
  .featured-photo {
    width: 120px !important;
    height: 120px !important;
  }
  .featured-info h2 {
    font-size: 1.8rem !important;
  }
  .featured-section {
    padding: 1.2rem !important;
  }
}

/* =========================================
   SPRINT 33 - ROSE TOUCH & FANCY HEADER
   ========================================= */

/* --- 1. Plus de Rose dans le fond --- */
body {
  /* On ajoute un dégradé rosé tout en haut qui fond vers le crème */
  background-image: linear-gradient(180deg, #FFE4E9 0%, var(--cream) 25%, var(--cream-deep) 100%) !important;
}

[data-theme="dark"] body {
  background-image: linear-gradient(180deg, #2A181C 0%, var(--cream) 25%, var(--cream-deep) 100%) !important;
}

/* --- 2. Titre & Sous-titre Fancy --- */
.site-header h1 {
  /* Texte en dégradé (Rose -> Miel) */
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 40%, var(--honey) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.2rem !important; /* Un peu plus grand */
  letter-spacing: 0.08em;
  filter: drop-shadow(0 4px 10px rgba(232, 93, 117, 0.25)); /* Ombre lumineuse */
  margin-bottom: 0.2rem;
}

.tagline {
  color: var(--rose-deep) !important;
  font-weight: 600 !important;
  font-size: 1.2rem !important;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8); /* Petit halo blanc pour la lisibilité */
}

[data-theme="dark"] .tagline {
  color: var(--rose) !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- 3. Fleurs latérales (Sans le flou bizarre) --- */
.floral-band {
  opacity: 0.85 !important;
  animation: breathe-flowers 6s ease-in-out infinite alternate;
}

@keyframes breathe-flowers {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.02); opacity: 0.95; }
}

.floral-band-right {
  animation: breathe-flowers-right 6s ease-in-out infinite alternate;
}

@keyframes breathe-flowers-right {
  0% { transform: scaleX(-1) scale(1); opacity: 0.8; }
  100% { transform: scaleX(-1) scale(1.02); opacity: 0.95; }
}

/* Annule l'effet miroir de l'animation pour le côté droit */
.floral-band-right {
  animation: breathe-flowers-right 6s ease-in-out infinite alternate;
}

@keyframes breathe-flowers-right {
  0% { transform: scaleX(-1) scale(1); opacity: 0.8; }
  100% { transform: scaleX(-1) scale(1.03); opacity: 0.95; }
}

[data-theme="dark"] .floral-band {
  filter: drop-shadow(0 0 15px rgba(240, 124, 144, 0.3)) saturate(1.1);
}

/* --- 4. Stats Bar un peu plus rosée --- */
.stats-bar {
  background: rgba(255, 230, 235, 0.75) !important; /* Voile rosé */
  border: 1px solid rgba(232, 93, 117, 0.15) !important;
  box-shadow: 0 4px 15px rgba(232, 93, 117, 0.1) !important;
}

[data-theme="dark"] .stats-bar {
  background: rgba(74, 44, 51, 0.75) !important;
  border-color: rgba(232, 93, 117, 0.2) !important;
}

/* --- Adaptation Mobile --- */
@media (max-width: 600px) {
  .site-header h1 {
    font-size: 2.4rem !important;
  }
  .tagline {
    font-size: 1rem !important;
  }
}

/* --- Fleurs Lévitantes du Titre (Gauche & Droite) --- */
.levitating-flower {
  position: absolute;
  top: 22%;
  font-size: 3.5rem;
  display: inline-block;
  z-index: 2;
  pointer-events: none; /* Ne gêne pas les clics */
  /* Effet brillant (halo doré et rose) */
  filter: drop-shadow(0 0 12px rgba(255, 182, 39, 0.8)) drop-shadow(0 0 20px rgba(232, 93, 117, 0.4));
  animation: float-title 4s ease-in-out infinite;
  transform-origin: center;
}

/* Fleur de gauche */
.levitating-flower.f1 {
  left: 22%;
  animation-delay: 0s;
}

/* Fleur de droite */
.levitating-flower.f2 {
  right: 22%;
  animation-delay: -2s; /* Décalage pour que les deux ne bougent pas en même temps */
}

@keyframes float-title {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50%      { transform: translateY(-15px) rotate(10deg); }
}

/* Sur mobile, on les cache pour ne pas surcharger le titre */
@media (max-width: 800px) {
  .levitating-flower {
    display: none;
  }
}

/* =========================================
   PROMO BANNER - SWIPE & MEET
   ========================================= */

.game-promo {
  position: absolute;
  top: 9rem;
  right: 11%; /* Placé vers la droite mais décalé du bord */
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--honey) 0%, var(--rose) 100%);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  box-shadow: 0 8px 25px rgba(232, 93, 117, 0.4);
  border: 3px solid var(--white);
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: promo-bounce 3s ease-in-out infinite;
}

.game-promo1 {
  position: absolute;
  top: 9rem;
  left: 11%; /* Placé vers la droite mais décalé du bord */
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--honey) 0%, var(--rose) 100%);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  box-shadow: 0 8px 25px rgba(232, 93, 117, 0.4);
  border: 3px solid var(--white);
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: promo-bounce 3s ease-in-out infinite;
}

.game-promo:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(232, 93, 117, 0.6);
  animation: none; /* Stoppe le rebond au survol */
}

.game-promo1:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(232, 93, 117, 0.6);
  animation: none; /* Stoppe le rebond au survol */
}

.promo-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.promo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
  font-family: 'Fredoka', sans-serif;
}

.promo-text strong {
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.promo-text span {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Animation pour attirer l'œil */
@keyframes promo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(232, 93, 117, 0.5); }
}

/* Adaptation pour mobile et petits écrans */
@media (max-width: 900px) {
  .game-promo {
    position: relative;
    top: auto;
    right: auto;
    margin: 1.5rem auto 0 auto;
    width: fit-content;
    animation: none; /* Moins distrayant sur mobile */
  }
}

[data-theme="dark"] .game-promo {
  border-color: var(--border); /* Bordure plus sombre en mode nuit */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ---------- Compteur de visites ---------- */
.visit-count {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .detail-header {
    flex-direction: column;
    text-align: center;
  }

  .detail-header img {
    width: 110px;
    height: 110px;
  }

  .about-section {
    padding: 1.4rem;
  }
}