/* ═══════════════════════════════════════════════════════
   EMILIO SOCCER PARTY — styles.css
   Premium digital invitation | duskyberry 2026
═══════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --green: #00d46a;
  --green-dark: #00a853;
  --green-glow: rgba(0, 212, 106, 0.35);
  --blue: #00b4d8;
  --blue-dark: #0077b6;
  --blue-glow: rgba(0, 180, 216, 0.3);
  --gold: #ffd60a;
  --white: #ffffff;
  --black: #0f0f0f;
  --glass-bg: rgba(15, 20, 30, 0.62);
  --glass-border: rgba(255, 255, 255, 0.13);
  --glass-blur: 18px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
  --shadow-glow-g: 0 0 40px var(--green-glow);
  --shadow-glow-b: 0 0 40px var(--blue-glow);
  --font-fun: "Fredoka One", cursive;
  --font-body: "Nunito", sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background-color: var(--black);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* ══════════════════════════════════════════
   BACKGROUND — fixed, full cover
══════════════════════════════════════════ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("https://raw.githubusercontent.com/edvardoviedo/recursos/refs/heads/main/duskyberry/soccer/emi_soccer_party/fondo.jpeg")
    center / cover no-repeat;
  z-index: -2;
}

/* Darkening overlay so text always reads */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(10, 20, 10, 0.55) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: -1;
}

/* ══════════════════════════════════════════
   GLASSMORPHISM CARD
══════════════════════════════════════════ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.4rem, 5vw, 2.4rem);
}

/* ══════════════════════════════════════════
   WELCOME SCREEN
══════════════════════════════════════════ */
#welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.6s ease, transform 0.6s ease;
  background: rgba(0, 0, 0, 0.25);
}

#welcome-screen.hiding {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}

.welcome-inner {
  position: relative;
  max-width: 560px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

/* Floating sparkles */
.welcome-sparkles {
  position: absolute;
  inset: -60px;
  pointer-events: none;
}

.spark {
  position: absolute;
  font-size: 1.3rem;
  color: var(--green);
  animation: sparkFloat 3s ease-in-out infinite;
  opacity: 0.7;
}
.spark.s1 {
  top: 8%;
  left: 5%;
  animation-delay: 0s;
}
.spark.s2 {
  top: 15%;
  right: 8%;
  animation-delay: 0.6s;
  color: var(--gold);
}
.spark.s3 {
  top: 70%;
  left: 10%;
  animation-delay: 1.2s;
  color: var(--blue);
}
.spark.s4 {
  top: 80%;
  right: 12%;
  animation-delay: 0.3s;
}
.spark.s5 {
  top: 50%;
  right: 3%;
  animation-delay: 1.8s;
  color: var(--gold);
}

@keyframes sparkFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-12px) rotate(20deg);
    opacity: 1;
  }
}

.welcome-tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.welcome-title {
  font-family: var(--font-fun);
  font-size: clamp(1.55rem, 5.5vw, 2.6rem);
  line-height: 1.22;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  margin-bottom: 0.55rem;
}

.welcome-title .highlight-emi {
  color: var(--green);
  text-shadow: 0 0 20px var(--green-glow);
}

.welcome-sub {
  font-size: clamp(1rem, 3.5vw, 1.3rem);
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* ── GOAL ZONE ── */
.goal-zone {
  position: relative;
  width: 100%;
  height: 130px;
  background: rgba(0, 212, 106, 0.06);
  border: 1.5px dashed rgba(0, 212, 106, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  /* NO overflow:hidden — ball must move freely outside the zone */
}

.pitch-line {
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* ── DRAGGABLE BALL ── */
.ball-drag {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
  z-index: 10;
  transition: transform 0.15s ease;
}

.ball-drag:active {
  cursor: grabbing;
}

.ball-emoji {
  font-size: 3rem;
  display: block;
  animation: ballBounce 1.4s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  transition: transform 0.15s ease;
}

@keyframes ballBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(15deg);
  }
}

.drag-hint {
  font-size: 0.68rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 2px;
  animation: hintPulse 1.8s ease-in-out infinite;
}

@keyframes hintPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ── GOAL TARGET ── */
.goal-target {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.goal-target.ready {
  animation: goalPulse 0.8s ease infinite;
}

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

.goal-emoji {
  font-size: 3rem;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.goal-label {
  font-size: 0.68rem;
  color: var(--blue);
  font-weight: 700;
  margin-top: 2px;
}

.touch-hint {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ── GOAL OVERLAY ── */
.goal-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 212, 106, 0.9) 0%,
    rgba(0, 0, 0, 0.95) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.4s ease;
}

.goal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.goal-text {
  text-align: center;
}

.goal-big {
  font-size: 5rem;
  display: block;
  animation: goalSpin 0.6s ease forwards;
}

@keyframes goalSpin {
  0% {
    transform: scale(0) rotate(-360deg);
  }
  80% {
    transform: scale(1.2) rotate(20deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.goal-title {
  font-family: var(--font-fun);
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 214, 10, 0.8);
  animation: goalPop 0.5s 0.3s ease both;
}

.goal-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  animation: goalPop 0.5s 0.5s ease both;
}

@keyframes goalPop {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CONFETTI CANVAS */
#confetti-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 30;
}

/* ══════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════ */
.main-content {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  position: relative;
}

.main-content.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ── SCROLL BALL ── */
.scroll-ball {
  position: fixed;
  bottom: clamp(18px, 5vw, 32px);
  right: clamp(14px, 4vw, 28px);
  width: clamp(38px, 8vw, 56px);
  height: clamp(38px, 8vw, 56px);
  object-fit: contain;
  z-index: 50;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

/* ── SECTIONS ── */
.section {
  padding: clamp(2rem, 6vw, 3.5rem) clamp(1rem, 5vw, 2rem);
  max-width: 680px;
  margin: 0 auto;
}

/* Scroll reveal */
.section-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.section-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children inside cards */
.glass-card .section-icon,
.glass-card .section-title,
.glass-card .section-label {
  animation: none; /* triggered by JS class */
}

.section-title {
  font-family: var(--font-fun);
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.section-title.centered {
  text-align: center;
}

.section-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  padding-top: clamp(2.5rem, 8vw, 5rem);
}

.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  position: relative;
}

.hero-img-wrap {
  position: relative;
  width: clamp(180px, 52vw, 270px);
  height: clamp(180px, 52vw, 270px);
  flex-shrink: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* pull frame up so head is fully visible */
  border-radius: 50%;
  border: 4px solid var(--green);
  box-shadow: 0 0 0 6px rgba(0, 212, 106, 0.2), var(--shadow-glow-g);
  animation: heroPulse 3s ease-in-out infinite;
}

@keyframes heroPulse {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(0, 212, 106, 0.2), 0 0 28px var(--green-glow);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 212, 106, 0.08), 0 0 50px var(--green-glow);
  }
}

.hero-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-fun);
  font-size: 1.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--black);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.hero-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-fun);
  font-size: clamp(1.4rem, 5vw, 2.1rem);
  line-height: 1.25;
  color: var(--white);
}

.hero-num {
  color: var(--gold);
  font-size: 1.3em;
  text-shadow: 0 0 20px rgba(255, 214, 10, 0.6);
}

.field-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  display: flex;
  gap: 6px;
  padding: 0 clamp(1rem, 5vw, 2rem);
}

.fl {
  flex: 1;
  background: rgba(0, 212, 106, 0.25);
  border-radius: 4px;
}

/* ══════════════════════════════════════════
   BALL DIVIDERS
══════════════════════════════════════════ */
.ball-divider {
  display: flex;
  justify-content: center;
  padding: 0.4rem 0;
}

.div-ball {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.55;
  /* rotation driven by scroll via JS — no auto-spin */
  will-change: transform;
}

/* ══════════════════════════════════════════
   MENSAJE
══════════════════════════════════════════ */
.msg-text {
  font-size: clamp(1rem, 3vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  font-style: italic;
  margin-bottom: 0.8rem;
}

.msg-sign {
  font-weight: 800;
  color: var(--green);
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════
   COUNTDOWN
══════════════════════════════════════════ */
.countdown-card {
  text-align: center;
}

.countdown-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(6px, 2vw, 16px);
  white-space: nowrap;
  flex-wrap: nowrap;
  margin: 0.6rem 0 0.8rem;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(48px, 14vw, 80px);
}

.cd-num {
  font-family: var(--font-fun);
  font-size: clamp(2rem, 9vw, 3.8rem);
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 214, 10, 0.5);
  display: block;
  transition: transform 0.15s ease;
}

.cd-num.tick {
  animation: cdTick 0.25s ease;
}

@keyframes cdTick {
  0% {
    transform: translateY(-4px);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.cd-label {
  font-size: clamp(0.6rem, 2vw, 0.78rem);
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.cd-sep {
  font-family: var(--font-fun);
  font-size: clamp(1.5rem, 7vw, 3rem);
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2px;
  line-height: 1;
}

.cd-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

/* ══════════════════════════════════════════
   GALLERY
══════════════════════════════════════════ */
#galeria {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

#galeria .section-title {
  padding: 0 clamp(1rem, 5vw, 2rem);
}

.gallery-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.8rem clamp(1rem, 5vw, 2rem) 1rem;
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  flex-shrink: 0;
  width: clamp(200px, 72vw, 300px);
  height: clamp(200px, 72vw, 300px);
  scroll-snap-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow-g);
}

.gallery-placeholder {
  text-align: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
}

.gallery-hint {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.5rem 0 0;
  font-weight: 700;
}

/* ══════════════════════════════════════════
   EVENTO
══════════════════════════════════════════ */
.event-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.event-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.event-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.event-row strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
}

.event-row p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1.2rem 0;
  border: 1px solid var(--glass-border);
}

.map-wrap iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.6rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  touch-action: manipulation;
  white-space: nowrap;
  margin-top: 0.5rem;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--black);
  box-shadow: 0 6px 24px rgba(0, 212, 106, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0, 212, 106, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  margin-left: 0.5rem;
}

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

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

/* ══════════════════════════════════════════
   ITINERARY / TIMELINE
══════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 20px;
  margin-top: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--blue));
  border-radius: 2px;
}

.tl-item {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
  align-items: flex-start;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--black);
  box-shadow: 0 0 8px var(--green-glow);
}

.tl-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: rgba(0, 212, 106, 0.12);
  border: 1px solid rgba(0, 212, 106, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-info strong {
  font-size: 0.98rem;
  color: var(--white);
}

.tl-info p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.itinerary-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1.4rem;
  padding: 1rem;
  background: rgba(0, 212, 106, 0.08);
  border: 1px solid rgba(0, 212, 106, 0.2);
  border-radius: var(--radius-md);
}

.itinerary-note span {
  font-size: 1.5rem;
}

.itinerary-note p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

/* ══════════════════════════════════════════
   PLAYLIST
══════════════════════════════════════════ */
.playlist-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.spotify-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.spotify-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ══════════════════════════════════════════
   RSVP
══════════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem; /* prevents zoom on iOS */
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
  width: 100%;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 212, 106, 0.18);
}

.rsvp-success {
  text-align: center;
  padding: 2rem 1rem;
  animation: goalPop 0.5s ease;
}

.rsvp-success[hidden] {
  display: none;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 0.6rem;
  animation: goalSpin 0.5s ease;
}

.rsvp-success h3 {
  font-family: var(--font-fun);
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.rsvp-note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1.4rem;
  padding: 1rem;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.22);
  border-radius: var(--radius-md);
}

.rsvp-note span {
  font-size: 1.5rem;
}
.rsvp-note p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

/* ══════════════════════════════════════════
   REGALO
══════════════════════════════════════════ */
.regalo-text {
  font-size: clamp(0.95rem, 3vw, 1.08rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.footer-balls {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.3em;
  opacity: 0.4;
}

.heart {
  animation: heartBeat 1.2s ease-in-out infinite;
  display: inline-block;
}

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

/* ══════════════════════════════════════════
   CARD HOVER FLOAT
══════════════════════════════════════════ */
.glass-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow-g);
}

/* ══════════════════════════════════════════
   RESPONSIVE TWEAKS
══════════════════════════════════════════ */
@media (max-width: 400px) {
  .countdown-row {
    gap: 4px;
  }
  .cd-sep {
    display: none;
  }
  .cd-unit {
    min-width: 56px;
  }
  .btn-secondary {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

@media (min-width: 640px) {
  .hero-card {
    flex-direction: row;
    text-align: left;
  }
  .hero-tag {
    text-align: left;
  }
}
