@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Dancing+Script:wght@700&family=Playfair+Display:wght@400;700;900&display=swap");
:root {
  --dark: #00001c;
  --dark2: #111118;
  --dark3: #1a1a24;
  --gold: #c9a84c;
  --gold2: #e8c96d;
  --gold-light: #f5dfa0;
  --cream: #f8f4ee;
  --cream2: #f0ead8;
  --text-dark: #1a1a24;
  --text-light: #f8f4ee;
  --text-muted: #9a8e7a;
  --radius: 20px;
  --radius-lg: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  /* cursor: none; */
}

/* Custom cursor */
/* .cursor {
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: multiply;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.3s ease;
  opacity: 0.6;
}
body:hover .cursor { transform: scale(1); } */

/* Music player */
.music-player {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: var(--dark);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.music-player:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.music-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 14px;
}
.music-icon.playing {
  animation: musicPulse 1.2s ease-in-out infinite;
}
@keyframes musicPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(201, 168, 76, 0);
  }
}
.music-label {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.music-bars {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 18px;
}
.music-bars span {
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: none;
}
.music-player.playing .music-bars span:nth-child(1) {
  animation: bar1 0.8s ease-in-out infinite;
}
.music-player.playing .music-bars span:nth-child(2) {
  animation: bar2 0.6s ease-in-out infinite 0.2s;
}
.music-player.playing .music-bars span:nth-child(3) {
  animation: bar3 0.9s ease-in-out infinite 0.1s;
}
.music-player.playing .music-bars span:nth-child(4) {
  animation: bar4 0.7s ease-in-out infinite 0.3s;
}
@keyframes bar1 {
  0%,
  100% {
    height: 6px;
  }
  50% {
    height: 18px;
  }
}
@keyframes bar2 {
  0%,
  100% {
    height: 12px;
  }
  50% {
    height: 8px;
  }
}
@keyframes bar3 {
  0%,
  100% {
    height: 8px;
  }
  50% {
    height: 16px;
  }
}
@keyframes bar4 {
  0%,
  100% {
    height: 14px;
  }
  50% {
    height: 6px;
  }
}
.music-bars span {
  height: 8px;
}

/* ======================== HERO ======================== */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  background-attachment: fixed;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 40px;
}
.hero-bg {
  position: absolute;  
  inset: 0;
  background: url("./img/bg.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
}
/* .hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
} */
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 900;
  color: var(--text-light);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title .accent {
  color: var(--gold);
  display: block;
  font-style: italic;
}
.hero-subtitle {
  font-size: 17px;
  color: rgba(248, 244, 238, 0.6);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 440px;
  font-weight: 300;
}
.hero-subtitle strong {
  color: var(--gold-light);
  font-weight: 500;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--dark);
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(201, 168, 76, 0.4);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary span,
.btn-primary i {
  position: relative;
  z-index: 1;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image-frame {
  width: 420px;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(201, 168, 76, 0.2);
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-image-frame:hover img {
  transform: scale(1.04);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.6) 0%,
    transparent 50%
  );
  z-index: 1;
}
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--dark);
  padding: 18px 24px;
  border-radius: var(--radius);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.4);
  z-index: 2;
}
.hero-badge small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  margin-bottom: 2px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-dot {
  position: absolute;
  top: 30px;
  right: -15px;
  width: 90px;
  height: 90px;
  border: 2px dashed rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  animation: rotate 12s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.hero-dot::after {
  content: "★";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 16px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 700;
}
.stat-label {
  font-size: 12px;
  color: rgba(248, 244, 238, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ======================== SECTIONS COMMON ======================== */
.section {
  padding: 120px 40px;
}
.section-dark {
  background: var(--dark2);
}
.section-darker {
  background: var(--dark);
}
.section-light {
  background: var(--cream);
}
.section-cream {
  background: var(--cream2);
}

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

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-title.light {
  color: var(--text-light);
}
.section-title.dark {
  color: var(--text-dark);
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
}
.section-subtitle.light {
  color: rgba(248, 244, 238, 0.55);
}

/* ======================== ABOUT ======================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-image:hover img {
  transform: scale(1.05);
}
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 168, 76, 0.2) 0%,
    transparent 60%
  );
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.about-float {
  position: absolute;
  top: 30px;
  right: -30px;
  background: var(--dark);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 160px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.about-float .float-icon {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 6px;
}
.about-float .float-text {
  font-size: 13px;
  color: rgba(248, 244, 238, 0.8);
  font-weight: 500;
}
.about-float .float-sub {
  font-size: 11px;
  color: rgba(248, 244, 238, 0.4);
  margin-top: 2px;
}
.about-qualities {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.quality-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--cream2);
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid rgba(201, 168, 76, 0.1);
  transition: all 0.3s ease;
}
.quality-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.08);
}
.quality-icon {
  width: 44px;
  height: 44px;
  background: var(--dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}
.quality-text h4 {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.quality-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ======================== COUNTDOWN ======================== */
.countdown-wrap {
  background: rgba(3, 0, 25, 0.721);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.countdown-wrap::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.countdown-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  padding: 32px 40px;
  min-width: 140px;
  position: relative;
  overflow: hidden;
}
.countdown-block::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.countdown-num {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  display: block;
}
.countdown-label {
  display: block;
  font-size: 12px;
  color: rgba(248, 244, 238, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 10px;
  font-weight: 600;
}
.countdown-sep {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  color: rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  padding-top: 0;
  margin-top: -10px;
}

/* ======================== GALLERY ======================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:not(.gallery-item:nth-child(1)):not(.gallery-item:nth-child(4)) {
  aspect-ratio: 1;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay span {
  color: white;
  font-size: 14px;
  font-weight: 500;
}

/* ======================== WISHES ======================== */
.wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.wish-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(201, 168, 76, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease forwards;
}
.wish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.3);
}
.wish-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: "Playfair Display", serif;
  font-size: 60px;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}
.wish-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.wish-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.wish-name {
  font-weight: 600;
  font-size: 14px;
}
.wish-role {
  font-size: 12px;
  color: var(--text-muted);
}
.wish-message {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  font-style: italic;
}
.wish-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

.wish-form {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.wish-form h3 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: var(--text-light);
  margin-bottom: 30px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  color: rgba(248, 244, 238, 0.6);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-light);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
}
.form-group textarea {
  min-height: 120px;
}
.btn-submit {
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Sans", sans-serif;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.4);
}

/* ======================== QUIZ ======================== */
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
}
.quiz-progress-bar {
  background: rgba(201, 168, 76, 0.15);
  border-radius: 50px;
  height: 4px;
  margin-bottom: 50px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 50px;
  transition: width 0.5s ease;
}
.quiz-question-text {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.4;
}
.quiz-counter {
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quiz-option {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  padding: 18px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: rgba(248, 244, 238, 0.8);
  text-align: left;
}
.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold-light);
  transform: translateX(6px);
}
.quiz-option.correct {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
  color: #86efac;
}
.quiz-option.wrong {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #fca5a5;
}
.quiz-option-letter {
  width: 32px;
  height: 32px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.quiz-feedback {
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.quiz-feedback.show {
  display: block;
}
.quiz-feedback.correct {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.quiz-feedback.wrong {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.btn-quiz-next {
  margin-top: 24px;
  background: var(--gold);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "DM Sans", sans-serif;
  display: none;
}
.btn-quiz-next.show {
  display: inline-block;
}
.btn-quiz-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.4);
}
.quiz-result {
  text-align: center;
  padding: 60px 40px;
  display: none;
}
.quiz-result.show {
  display: block;
}
.quiz-score {
  font-family: "Playfair Display", serif;
  font-size: 80px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.quiz-score-text {
  font-size: 22px;
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 12px;
}
.quiz-score-sub {
  font-size: 15px;
  color: rgba(248, 244, 238, 0.5);
  margin-bottom: 36px;
}
.btn-restart {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "DM Sans", sans-serif;
}
.btn-restart:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ======================== MESSAGE COLLECTIF ======================== */
.collective-message {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 100px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255, 206, 72);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.864) 0%, rgba(0, 0, 0, 0.881) 100%),
    url("./img/message-col.webp");
  background-size: cover;
  background-position: center;
}
.collective-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.collective-quote {
  font-size: clamp(22px, 4vw, 42px);
  color: var(--text-light);
  line-height: 1.5;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 40px;
}
.collective-quote .gold {
  color: var(--gold);
}
.collective-signature {
  font-size: 15px;
  color: rgba(248, 244, 238, 0.5);
  letter-spacing: 1px;
}
.collective-signature strong {
  color: var(--gold);
  font-weight: 600;
}
.confetti-btn {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "DM Sans", sans-serif;
}
.confetti-btn:hover {
  background: var(--gold);
  color: var(--dark);
  transform: scale(1.04);
}

/* ======================== FOOTER ======================== */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 60px 40px;
  text-align: center;
}
.footer-logo {
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-text {
  font-size: 14px;
  color: rgba(248, 244, 238, 0.4);
  line-height: 1.8;
}
.footer-text strong {
  color: rgba(248, 244, 238, 0.7);
}
.footer-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto;
}

/* ======================== ANIMATIONS ======================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero-content > * {
  animation: fadeInUp 0.8s ease forwards;
}
.hero-text > * {
  opacity: 0;
}
.hero-text > *:nth-child(1) {
  animation: fadeInUp 0.8s 0.1s ease forwards;
}
.hero-text > *:nth-child(2) {
  animation: fadeInUp 0.8s 0.3s ease forwards;
}
.hero-text > *:nth-child(3) {
  animation: fadeInUp 0.8s 0.5s ease forwards;
}
.hero-text > *:nth-child(4) {
  animation: fadeInUp 0.8s 0.7s ease forwards;
}
.hero-text > *:nth-child(5) {
  animation: fadeInUp 0.8s 0.9s ease forwards;
}
.hero-image-wrap {
  opacity: 0;
  animation: fadeIn 1s 0.5s ease forwards;
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 768px) {
  .section {
    padding: 80px 20px;
  }
  .hero {
    padding: 100px 20px 60px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-image-wrap {
    order: -1;
  }
  .hero-image-frame {
    width: 100%;
    height: 350px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-column: span 2;
  }
  .countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-content: center;
  }

  .countdown-block {
    min-width: unset;
    padding: 24px 16px;
  }

  .countdown-sep {
    display: none; /* On masque les ":" en mobile */
  }

  .countdown-block {
    padding: 24px 20px;
    min-width: 100px;
  }
  .countdown-num {
    font-size: 42px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .wish-form {
    padding: 30px 24px;
  }
  .collective-message {
    padding: 60px 30px;
  }
  .hero-stats {
    gap: 24px;
  }
  .music-player {
    bottom: 16px;
    right: 16px;
    padding: 10px 14px;
    
  }
  .music-label {
    display: none;
  }
  .about-float {
    display: none;
  }
}
