/* ===================================================================
   ANIVERSÁRIO DO HENRY - 2 ANOS
   Design System & Styling
   =================================================================== */

:root {
  /* Vibrant & Playful Color Palette */
  --primary: #4facfe;
  --primary-dark: #0072ff;
  --secondary: #ff6b8b;
  --secondary-dark: #ff477e;
  --accent-yellow: #ffd166;
  --accent-teal: #06d6a0;
  --accent-purple: #9d4edd;
  --accent-orange: #ff9f1c;
  --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #fef3c7 50%, #fce7f3 100%);
  
  /* Neutral & Dark */
  --text-main: #2d3748;
  --text-muted: #718096;
  --text-light: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-bg-subtle: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 12px 32px rgba(31, 38, 135, 0.12);
  --card-radius: 24px;
  
  /* Fonts */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fun: 'Fredoka', 'Bubblegum Sans', cursive, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--secondary));
  border-radius: 10px;
}

/* ===================================================================
   AMBIENT SKY & FLOATING PARTICLES
   =================================================================== */

.sky-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 100px;
  filter: blur(1px);
  animation: floatCloud linear infinite;
}

.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}

.cloud-1 {
  width: 160px;
  height: 50px;
  top: 12%;
  left: -200px;
  animation-duration: 42s;
}
.cloud-1::before {
  width: 70px;
  height: 70px;
  top: -35px;
  left: 25px;
}
.cloud-1::after {
  width: 50px;
  height: 50px;
  top: -20px;
  left: 75px;
}

.cloud-2 {
  width: 220px;
  height: 70px;
  top: 38%;
  left: -250px;
  animation-duration: 58s;
  animation-delay: 15s;
}
.cloud-2::before {
  width: 90px;
  height: 90px;
  top: -45px;
  left: 40px;
}
.cloud-2::after {
  width: 70px;
  height: 70px;
  top: -30px;
  left: 110px;
}

.cloud-3 {
  width: 140px;
  height: 45px;
  top: 75%;
  left: -180px;
  animation-duration: 36s;
  animation-delay: 8s;
}
.cloud-3::before {
  width: 60px;
  height: 60px;
  top: -30px;
  left: 20px;
}
.cloud-3::after {
  width: 45px;
  height: 45px;
  top: -15px;
  left: 65px;
}

@keyframes floatCloud {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 350px)); }
}

/* Floating balloon shapes in background */
.floating-balloon {
  position: absolute;
  width: 42px;
  height: 52px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  opacity: 0.45;
  animation: balloonDriftUp 20s infinite linear;
}
.floating-balloon::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%;
  width: 1px;
  height: 18px;
  background: rgba(0,0,0,0.25);
  transform: translateX(-50%);
}

@keyframes balloonDriftUp {
  0% {
    transform: translateY(110vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% {
    transform: translateY(-20vh) rotate(15deg);
    opacity: 0;
  }
}

/* ===================================================================
   PARTY GARLAND & FESTIVE FLAGS
   =================================================================== */

.party-garland {
  display: flex;
  justify-content: space-around;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
  overflow: hidden;
}

.flag {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid #ff6b8b;
  animation: garlandSway 2.5s ease-in-out infinite alternate;
  transform-origin: top center;
}

.flag.f-blue { border-top-color: #4facfe; animation-delay: 0.1s; }
.flag.f-yellow { border-top-color: #ffd166; animation-delay: 0.3s; }
.flag.f-teal { border-top-color: #06d6a0; animation-delay: 0.5s; }
.flag.f-pink { border-top-color: #ff6b8b; animation-delay: 0.2s; }
.flag.f-purple { border-top-color: #9d4edd; animation-delay: 0.6s; }
.flag.f-green { border-top-color: #2ec4b6; animation-delay: 0.4s; }
.flag.f-orange { border-top-color: #ff9f1c; animation-delay: 0.7s; }

@keyframes garlandSway {
  0% { transform: rotate(-8deg); }
  100% { transform: rotate(8deg); }
}

/* ===================================================================
   MAIN HEADER / NAVIGATION
   =================================================================== */

.main-header {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1100px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 50px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 99;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-fun);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.header-logo .logo-emoji {
  font-size: 1.6rem;
  animation: bounceSlow 2s infinite ease-in-out;
}

.header-logo strong {
  background: linear-gradient(45deg, #ff6b8b, #ff9f1c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-btn {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn i {
  color: var(--primary);
  transition: transform 0.2s;
}

.nav-btn:hover {
  background: rgba(79, 172, 254, 0.15);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.nav-btn:hover i {
  transform: scale(1.2);
}

.btn-party-trigger {
  background: linear-gradient(135deg, #ff6b8b, #ffd166);
  border: none;
  color: white;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 107, 139, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  transition: var(--transition-smooth);
}

.btn-party-trigger:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 6px 20px rgba(255, 107, 139, 0.6);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */

.hero-section {
  padding: 130px 20px 60px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 18px;
  border-radius: 40px;
  font-family: var(--font-fun);
  font-size: 1rem;
  font-weight: 600;
  color: #d97706;
  border: 2px dashed #fcd34d;
  box-shadow: 0 6px 15px rgba(252, 211, 77, 0.3);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-fun);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #1e293b;
  margin-bottom: 20px;
}

.highlight-name {
  background: linear-gradient(135deg, #0072ff 0%, #00c6ff 35%, #ff0844 70%, #ffb199 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  text-shadow: 0 4px 20px rgba(0, 114, 255, 0.2);
}

.age-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 14px 20px;
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  margin-bottom: 28px;
}

.age-number-pill {
  background: linear-gradient(135deg, #ffd166, #ff9f1c);
  color: #7c2d12;
  padding: 8px 16px;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 16px rgba(255, 159, 28, 0.35);
  transform: rotate(-3deg);
}

.age-number-pill .num {
  font-family: var(--font-fun);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.age-number-pill .text {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.5;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

/* Custom Buttons */
.btn-primary, .btn-secondary, .btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-fun);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #4facfe 0%, #0072ff 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 114, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 114, 255, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.btn-secondary:hover {
  background: white;
  transform: translateY(-4px);
  color: var(--primary-dark);
}

.btn-accent {
  background: linear-gradient(135deg, #ff6b8b, #ff477e);
  color: white;
  box-shadow: 0 8px 24px rgba(255, 71, 126, 0.35);
}
.btn-accent:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 71, 126, 0.5);
}

.w-100 {
  width: 100%;
  justify-content: center;
}

/* Milestones Row */
.milestones-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.milestone-chip {
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.icon-yellow { color: #f59e0b; }
.icon-red { color: #ef4444; }
.icon-gold { color: #d97706; }

/* Hero Visual Showcase */
.hero-visual-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crown-ornament {
  position: absolute;
  top: -32px;
  font-size: 3.5rem;
  z-index: 10;
  filter: drop-shadow(0 6px 12px rgba(255, 193, 7, 0.6));
  animation: crownWobble 3s infinite ease-in-out;
}

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

.hero-photo-frame {
  position: relative;
  width: 320px;
  height: 390px;
  border-radius: 36px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 114, 255, 0.2), 0 0 0 10px rgba(255, 255, 255, 0.85);
  transform: rotate(2deg);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.hero-photo-frame:hover {
  transform: rotate(0deg) scale(1.04);
  box-shadow: 0 25px 60px rgba(0, 114, 255, 0.3), 0 0 0 12px rgba(255, 255, 255, 0.95);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  display: block;
}

.hero-photo-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-family: var(--font-fun);
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}

/* Floating Stickers */
.floating-sticker {
  position: absolute;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  animation: stickerBob 3.5s infinite ease-in-out alternate;
  z-index: 5;
}

.sticker-1 {
  top: 10%;
  left: -20px;
  background: #ff6b8b;
  color: white;
  transform: rotate(-12deg);
}

.sticker-2 {
  bottom: 12%;
  right: -15px;
  background: #ffd166;
  color: #7c2d12;
  transform: rotate(10deg);
  animation-delay: 1s;
}

.sticker-3 {
  bottom: -15px;
  left: 20px;
  background: #06d6a0;
  color: #064e3b;
  transform: rotate(-6deg);
  animation-delay: 1.8s;
}

@keyframes stickerBob {
  0% { transform: translateY(0) scale(1) rotate(var(--rot, -8deg)); }
  100% { transform: translateY(-10px) scale(1.05) rotate(var(--rot, -8deg)); }
}

/* ===================================================================
   STATS SECTION
   =================================================================== */

.stats-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.stat-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.blue-grad { background: linear-gradient(135deg, #4facfe, #0072ff); }
.yellow-grad { background: linear-gradient(135deg, #ffd166, #ff9f1c); }
.pink-grad { background: linear-gradient(135deg, #ff6b8b, #ff477e); }
.purple-grad { background: linear-gradient(135deg, #9d4edd, #7b2cbf); }

.stat-number {
  font-family: var(--font-fun);
  font-size: 1.9rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ===================================================================
   SECTION HEADERS (REUSABLE)
   =================================================================== */

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  background: rgba(79, 172, 254, 0.15);
  color: var(--primary-dark);
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-fun);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ===================================================================
   BIRTHDAY CAKE & CANDLE BLOWING SECTION
   =================================================================== */

.cake-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cake-stage {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 2px solid var(--glass-border);
  border-radius: 36px;
  padding: 60px 30px 40px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cake-container {
  position: relative;
  width: 280px;
  height: 260px;
  margin: 20px auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
}

/* Plate */
.cake-plate {
  position: absolute;
  bottom: 0;
  width: 300px;
  height: 20px;
  background: linear-gradient(to bottom, #ffffff, #e2e8f0);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  border: 3px solid #cbd5e1;
}

/* Tier Bottom */
.cake-tier.tier-bottom {
  width: 230px;
  height: 90px;
  background: linear-gradient(to right, #4facfe, #00f2fe);
  border-radius: 18px 18px 10px 10px;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 -6px 0 rgba(0,0,0,0.1), 0 8px 16px rgba(79, 172, 254, 0.3);
}

/* Tier Top */
.cake-tier.tier-top {
  width: 160px;
  height: 80px;
  background: linear-gradient(to right, #ff6b8b, #ffd166);
  border-radius: 16px 16px 8px 8px;
  position: relative;
  z-index: 2;
  margin-bottom: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,0.1);
}

.tier-badge {
  font-family: var(--font-fun);
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  text-shadow: 0 3px 6px rgba(0,0,0,0.25);
  background: rgba(255, 255, 255, 0.3);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* Frosting / Icing effect */
.cake-icing {
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 18px;
  background: #ffffff;
  border-radius: 12px 12px 6px 6px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.06);
}

/* Sprinkles */
.sprinkles-group .sp {
  position: absolute;
  width: 8px;
  height: 4px;
  border-radius: 2px;
}
.s-1 { top: 25px; left: 30px; background: #fff; transform: rotate(20deg); }
.s-2 { top: 45px; left: 70px; background: #ffd166; transform: rotate(-35deg); }
.s-3 { top: 30px; left: 140px; background: #ff477e; transform: rotate(45deg); }
.s-4 { top: 55px; left: 190px; background: #fff; transform: rotate(-15deg); }
.s-5 { top: 60px; left: 110px; background: #06d6a0; transform: rotate(10deg); }
.s-6 { top: 35px; left: 175px; background: #ffd166; transform: rotate(-60deg); }
.s-7 { top: 25px; left: 25px; background: #fff; transform: rotate(30deg); }
.s-8 { top: 50px; left: 35px; background: #0072ff; transform: rotate(-25deg); }
.s-9 { top: 30px; right: 25px; background: #fff; transform: rotate(15deg); }
.s-10 { top: 52px; right: 35px; background: #4facfe; transform: rotate(-40deg); }

/* Candles */
.candles-wrapper {
  position: absolute;
  top: 15px;
  display: flex;
  gap: 36px;
  z-index: 3;
}

.candle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.candle-stick {
  width: 14px;
  height: 52px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.stripe-blue {
  background: repeating-linear-gradient(45deg, #ffffff, #ffffff 6px, #0072ff 6px, #0072ff 12px);
}
.stripe-yellow {
  background: repeating-linear-gradient(45deg, #ffffff, #ffffff 6px, #ff9f1c 6px, #ff9f1c 12px);
}

.candle-wick {
  width: 2px;
  height: 8px;
  background: #333;
  margin-bottom: -1px;
}

/* Flames */
.flame {
  position: absolute;
  top: -24px;
  width: 16px;
  height: 24px;
  background: linear-gradient(to bottom, #fffa65, #ff793f, #ff5252);
  border-radius: 50% 50% 20% 20% / 60% 60% 40% 40%;
  box-shadow: 0 0 16px #fffa65, 0 0 30px #ff793f;
  animation: flickerFlame 0.8s infinite alternate ease-in-out;
  transform-origin: bottom center;
}

.flame-2 {
  animation-delay: 0.3s;
}

@keyframes flickerFlame {
  0% {
    transform: scale(1) rotate(-3deg);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.12, 1.18) rotate(4deg);
    opacity: 1;
    box-shadow: 0 0 22px #fffa65, 0 0 36px #ff5252;
  }
}

/* Smoke puff when blown */
.smoke {
  position: absolute;
  top: -15px;
  width: 10px;
  height: 10px;
  background: rgba(180, 180, 180, 0.7);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.smoke.active {
  animation: smokePuff 1.4s forwards ease-out;
}

@keyframes smokePuff {
  0% {
    opacity: 0.8;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translateY(-25px) scale(2.2) translateX(8px);
  }
  100% {
    opacity: 0;
    transform: translateY(-50px) scale(3.5) translateX(-10px);
  }
}

/* Cake Controls */
.cake-controls {
  max-width: 500px;
  width: 100%;
}

.cake-status-banner {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 12px 20px;
  border-radius: 16px;
  font-family: var(--font-fun);
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: var(--transition-fast);
}

.cake-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-blow {
  background: linear-gradient(135deg, #06d6a0 0%, #00b4d8 100%);
  color: white;
  border: none;
  font-family: var(--font-fun);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(6, 214, 160, 0.4);
  transition: var(--transition-smooth);
}

.btn-blow:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 26px rgba(6, 214, 160, 0.6);
}

.btn-relight {
  background: linear-gradient(135deg, #ff9f1c 0%, #ff477e 100%);
  color: white;
  border: none;
  font-family: var(--font-fun);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 159, 28, 0.4);
  transition: var(--transition-smooth);
}

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

/* ===================================================================
   POLAROID SCRAPBOOK PHOTO GALLERY
   =================================================================== */

.gallery-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px 28px;
  padding: 20px 10px;
}

.polaroid-card {
  position: relative;
  background: #ffffff;
  padding: 14px 14px 22px;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.polaroid-card:hover {
  transform: translateY(-12px) scale(1.05) rotate(0deg) !important;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.tilt-left { transform: rotate(-3deg); }
.tilt-right { transform: rotate(3deg); }
.tilt-center { transform: rotate(-1deg); }

/* Washi Tape Effect */
.washi-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  opacity: 0.85;
  z-index: 5;
  border-left: 2px dashed rgba(255,255,255,0.7);
  border-right: 2px dashed rgba(255,255,255,0.7);
}

.tape-yellow { background: rgba(255, 209, 102, 0.75); }
.tape-blue { background: rgba(79, 172, 254, 0.75); }
.tape-pink { background: rgba(255, 107, 139, 0.75); }
.tape-green { background: rgba(6, 214, 160, 0.75); }
.tape-orange { background: rgba(255, 159, 28, 0.75); }
.tape-purple { background: rgba(157, 78, 221, 0.75); }

.polaroid-inner {
  display: flex;
  flex-direction: column;
}

.polaroid-inner img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f5f9;
}

.polaroid-caption {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.caption-title {
  font-family: var(--font-fun);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
}

.caption-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.zoom-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-fast);
  cursor: pointer;
}

.polaroid-card:hover .zoom-btn {
  opacity: 1;
  transform: scale(1);
}

.zoom-btn:hover {
  background: var(--primary);
}

/* ===================================================================
   BALLOON POPPING MINI GAME
   =================================================================== */

.game-section {
  padding: 80px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.game-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 2px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: var(--glass-shadow);
  padding: 24px;
  overflow: hidden;
}

.game-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.score-display {
  font-family: var(--font-fun);
  font-size: 1.3rem;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-game-play, .btn-game-pause {
  background: linear-gradient(135deg, #06d6a0, #00b4d8);
  color: white;
  border: none;
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-game-play:hover {
  transform: scale(1.05);
}

.game-arena {
  width: 100%;
  height: 420px;
  background: linear-gradient(to bottom, #dbeafe, #fef9c3);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 2px dashed #93c5fd;
  user-select: none;
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-align: center;
  padding: 20px;
}

.overlay-content h3 {
  font-family: var(--font-fun);
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.overlay-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
}

.game-icon-large {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

/* Floating Game Balloons */
.game-balloon {
  position: absolute;
  width: 58px;
  height: 72px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  cursor: pointer;
  box-shadow: inset -6px -6px 12px rgba(0,0,0,0.15), 0 8px 16px rgba(0,0,0,0.12);
  transition: transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-balloon::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  width: 2px;
  height: 16px;
  background: rgba(0,0,0,0.3);
  transform: translateX(-50%);
}

.game-balloon:hover {
  transform: scale(1.15);
}

.game-balloon.pop {
  animation: balloonPopAnimation 0.25s forwards ease-out;
}

@keyframes balloonPopAnimation {
  0% { transform: scale(1.2); }
  50% { transform: scale(1.5); opacity: 0.8; }
  100% { transform: scale(0); opacity: 0; }
}

/* ===================================================================
   GUESTBOOK / MURAL DE RECADOS
   =================================================================== */

.guestbook-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.guestbook-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 30px;
  align-items: start;
}

.message-form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 30px;
  box-shadow: var(--glass-shadow);
}

.form-title {
  font-family: var(--font-fun);
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  font-family: var(--font-main);
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition-fast);
  outline: none;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.2);
}

.emoji-picker-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.emoji-radio {
  cursor: pointer;
}

.emoji-radio input {
  display: none;
}

.emoji-radio span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  font-size: 1.2rem;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.emoji-radio input:checked + span {
  background: #ffffff;
  border-color: var(--secondary);
  transform: scale(1.18);
  box-shadow: 0 4px 10px rgba(255, 107, 139, 0.3);
}

.messages-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-height: 520px;
  overflow-y: auto;
  padding: 10px;
}

.message-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
  animation: slideInUp 0.4s ease-out;
}

.message-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

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

.message-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-emoji {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.author-name {
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
}

.message-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.message-body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
  flex-grow: 1;
}

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

/* ===================================================================
   TRIBUTE SECTION
   =================================================================== */

.tribute-section {
  padding: 40px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tribute-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,247,237,0.95));
  backdrop-filter: blur(16px);
  border: 2px solid #fef08a;
  border-radius: 36px;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(253, 224, 71, 0.2);
}

.tribute-icon {
  font-size: 3rem;
  margin-bottom: 14px;
}

.tribute-title {
  font-family: var(--font-fun);
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 16px;
}

.tribute-body {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 24px;
}

.tribute-signatures {
  font-family: var(--font-fun);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

/* ===================================================================
   FOOTER
   =================================================================== */

.main-footer {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content p {
  font-family: var(--font-fun);
  font-size: 1.1rem;
  color: #1e293b;
}

.footer-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ===================================================================
   FLOATING MUSIC PLAYER WIDGET
   =================================================================== */

.floating-music-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 10px 18px 10px 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.floating-music-widget.collapsed .music-info-panel {
  display: none;
}

.music-disc-wrapper {
  position: relative;
  cursor: pointer;
}

.music-disc {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #111827;
  border: 3px solid #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.floating-music-widget.playing .music-disc {
  animation: spinDisc 3s linear infinite;
}

.disc-center {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd166, #ff6b8b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 2px solid white;
}

@keyframes spinDisc {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Musical Notes Animation */
.musical-notes-fx {
  position: absolute;
  top: -20px;
  left: 50%;
  pointer-events: none;
}

.note-bubble {
  position: absolute;
  color: var(--secondary);
  font-size: 1.2rem;
  animation: floatNote 2s forwards ease-out;
}

@keyframes floatNote {
  0% { opacity: 1; transform: translate(0, 0) scale(0.6); }
  100% { opacity: 0; transform: translate(20px, -45px) scale(1.3) rotate(20deg); }
}

.music-info-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.music-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.music-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.floating-music-widget.playing .music-status-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.music-title {
  font-family: var(--font-fun);
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-music-ctrl {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4facfe, #0072ff);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 114, 255, 0.3);
  transition: transform 0.2s;
}

.btn-music-ctrl:hover {
  transform: scale(1.1);
}

.volume-slider-box {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.volume-slider-box input[type="range"] {
  width: 65px;
  height: 4px;
  accent-color: var(--primary);
  cursor: pointer;
}

.btn-music-upload {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 4px;
  transition: color 0.2s;
}

.btn-music-upload:hover {
  color: var(--primary-dark);
}

.music-note-info small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.btn-widget-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  transition: transform 0.3s;
}

.floating-music-widget.collapsed .btn-widget-toggle {
  transform: rotate(180deg);
}

/* ===================================================================
   LIGHTBOX MODAL
   =================================================================== */

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  position: relative;
  max-width: 800px;
  max-height: 70vh;
  background: white;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 14px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: -10px;
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #1e293b;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.nav-prev { left: -70px; }
.nav-next { right: -70px; }

.lightbox-footer {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#lightboxCaption {
  font-family: var(--font-fun);
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
}

.btn-heart-reaction {
  background: linear-gradient(135deg, #ff6b8b, #ff477e);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s;
}

.btn-heart-reaction:hover {
  transform: scale(1.15);
}

/* ===================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   =================================================================== */

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-badge {
    margin: 0 auto 16px;
  }
  
  .age-banner {
    justify-content: center;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .milestones-row {
    justify-content: center;
  }

  .guestbook-layout {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none; /* Keep clean on small devices */
  }

  .nav-prev { left: 10px; }
  .nav-next { right: 10px; }
}

@media (max-width: 600px) {
  .main-header {
    width: calc(100% - 24px);
    padding: 8px 16px;
  }
  
  .hero-photo-frame {
    width: 270px;
    height: 330px;
  }

  .floating-music-widget {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
  }
  
  .cake-stage {
    padding: 40px 15px 30px;
  }

  .tribute-card {
    padding: 30px 20px;
  }
}

/* ===================================================================
   PRELOADER SCREEN
   =================================================================== */

.preloader-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #e0f2fe 0%, #fef3c7 50%, #fce7f3 100%);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.preloader-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  max-width: 400px;
  padding: 30px 20px;
}

.preloader-icon {
  font-size: 4rem;
  animation: bounceSlow 1.5s infinite ease-in-out;
  margin-bottom: 15px;
}

.preloader-title {
  font-family: var(--font-fun);
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
}

.preloader-bar-bg {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
  border: 2px solid white;
  margin-bottom: 14px;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4facfe, #ff6b8b, #ffd166);
  border-radius: 20px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

.preloader-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===================================================================
   GIANT PLAY BUTTON WELCOME SCREEN
   =================================================================== */

.giant-play-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.giant-play-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.giant-play-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 36px;
  padding: 50px 40px;
  max-width: 580px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.8);
  animation: cardPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardPopIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.play-card-crown {
  font-size: 4rem;
  margin-top: -75px;
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 16px rgba(255, 193, 7, 0.6));
  animation: crownWobble 3s infinite ease-in-out;
}

.play-card-tag {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.play-card-title {
  font-family: var(--font-fun);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
  margin-bottom: 14px;
}

.text-gradient {
  background: linear-gradient(135deg, #0072ff, #ff0844, #ff9f1c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.play-card-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 35px;
}

/* Giant Play Button with Glowing Radar Rings */
.giant-btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}

.giant-play-button {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b8b 0%, #ff477e 40%, #ffd166 100%);
  border: 4px solid #ffffff;
  color: white;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(255, 71, 126, 0.6), inset 0 -4px 10px rgba(0,0,0,0.2);
  transition: var(--transition-smooth);
}

.giant-play-button i {
  margin-left: 6px; /* visually center play icon */
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.giant-play-button:hover {
  transform: scale(1.12);
  box-shadow: 0 20px 50px rgba(255, 71, 126, 0.8), 0 0 30px rgba(255, 209, 102, 0.7);
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #ff6b8b;
  pointer-events: none;
  animation: pulseRingAnim 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.ring-1 { animation-delay: 0s; }
.ring-2 { animation-delay: 0.8s; }
.ring-3 { animation-delay: 1.6s; }

@keyframes pulseRingAnim {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.9;
  }
  100% {
    width: 220%;
    height: 220%;
    opacity: 0;
  }
}

.giant-btn-label {
  font-family: var(--font-fun);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ff477e;
  animation: pulseText 1.5s infinite alternate ease-in-out;
}

@keyframes pulseText {
  0% { transform: scale(0.98); opacity: 0.85; }
  100% { transform: scale(1.04); opacity: 1; }
}

.play-card-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.text-pink { color: #ff477e; }

/* ===================================================================
   CINEMATIC STORY SHOWCASE MODAL
   =================================================================== */

.story-showcase-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
}

.story-showcase-modal.active {
  display: flex;
}

.story-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(18px);
}

.story-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 520px;
  height: 94vh;
  max-height: 820px;
  background: #0f172a;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
}

/* Top Progress Bars (Instagram Stories Style) */
.story-progress-container {
  display: flex;
  gap: 6px;
  padding: 16px 16px 8px;
  z-index: 20;
}

.story-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

.story-progress-fill {
  width: 0%;
  height: 100%;
  background: #ffffff;
  border-radius: 4px;
  transition: width linear;
}

.story-progress-fill.completed {
  width: 100% !important;
}

/* Story Header */
.story-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 12px;
  z-index: 20;
  color: white;
}

.story-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd166, #ff6b8b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid white;
}

.story-text-info {
  display: flex;
  flex-direction: column;
}

.story-text-info strong {
  font-family: var(--font-fun);
  font-size: 1rem;
}

.story-text-info span {
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.story-text-info span i {
  color: #38bdf8;
}

.story-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-story-icon {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.btn-story-icon:hover {
  background: rgba(255, 255, 255, 0.4);
}

.btn-story-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-fun);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-story-close:hover {
  background: white;
  color: #0f172a;
}

/* Story Stage (Photo & Phrases) */
.story-stage {
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Touch Zones for Tap left/right */
.story-touch-zone {
  position: absolute;
  top: 0;
  height: 70%;
  width: 35%;
  z-index: 15;
  cursor: pointer;
}
.touch-left { left: 0; }
.touch-right { right: 0; }

.story-media-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurnsZoom 6s infinite alternate ease-in-out;
  transition: opacity 0.5s ease;
}

@keyframes kenBurnsZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

.story-badge-top {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  font-family: var(--font-fun);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Story Phrase Card Overlay */
.story-phrase-box {
  position: relative;
  z-index: 18;
  margin: 0 16px 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 20px 22px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  animation: phraseSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.story-phrase-text {
  font-family: var(--font-fun);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 8px;
}

.story-sub-text {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffd166;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Story Footer Navigation */
.story-footer-nav {
  padding: 12px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  background: rgba(10, 15, 30, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.story-arrow-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-family: var(--font-fun);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.story-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.story-heart-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #fce7f3;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-fun);
}

.btn-story-heart {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b8b, #ff477e);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(255, 71, 126, 0.5);
  cursor: pointer;
  transition: transform 0.2s;
}

.story-heart-trigger:hover .btn-story-heart {
  transform: scale(1.2) rotate(10deg);
}

/* Retrospectiva Buttons in Header & Hero */
.btn-play-story-header {
  background: linear-gradient(135deg, #ffd166, #ff9f1c);
  color: #7c2d12;
  border: none;
  font-family: var(--font-fun);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(255, 159, 28, 0.4);
  transition: var(--transition-smooth);
}

.btn-play-story-header:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(255, 159, 28, 0.6);
}

.btn-story-hero {
  background: linear-gradient(135deg, #ffd166 0%, #ff9f1c 50%, #ff6b8b 100%);
  color: #431407;
  border: none;
  font-family: var(--font-fun);
  font-size: 1.08rem;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(255, 159, 28, 0.45);
  transition: var(--transition-smooth);
  animation: bounceSlow 3s infinite ease-in-out;
}

.btn-story-hero:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 32px rgba(255, 107, 139, 0.6);
}

/* ===================================================================
   BALLOON MINI-GAME STYLES
   =================================================================== */

.game-section {
  padding: 80px 20px;
}

.game-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.game-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255,255,255,0.6);
}

.score-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-fun);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.score-display strong {
  color: var(--primary-dark);
  font-size: 1.3rem;
}

.game-controls {
  display: flex;
  gap: 10px;
}

.btn-game-play, .btn-game-pause {
  padding: 9px 20px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-fun);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition-smooth);
}

.btn-game-play {
  background: linear-gradient(135deg, var(--accent-teal), var(--primary));
  color: white;
  box-shadow: 0 6px 16px rgba(6, 214, 160, 0.4);
}

.btn-game-play:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(6, 214, 160, 0.6);
}

.btn-game-pause {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
  color: #7c2d12;
  box-shadow: 0 6px 16px rgba(255, 159, 28, 0.4);
}

.btn-game-pause:hover {
  transform: scale(1.06);
}

.game-arena {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: linear-gradient(180deg,
    rgba(224, 242, 254, 0.5) 0%,
    rgba(254, 243, 199, 0.5) 60%,
    rgba(252, 231, 243, 0.5) 100%);
  cursor: crosshair;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  border-radius: 0 0 28px 28px;
}

.overlay-content {
  text-align: center;
  padding: 24px;
}

.game-icon-large {
  font-size: 3rem;
  margin-bottom: 10px;
}

.overlay-content h3 {
  font-family: var(--font-fun);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.overlay-content p {
  color: var(--text-muted);
  margin-bottom: 4px;
  font-size: 1rem;
}

/* ===================================================================
   GUESTBOOK / MURAL STYLES
   =================================================================== */

.guestbook-section {
  padding: 80px 20px;
}

.guestbook-layout {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 700px) {
  .guestbook-layout {
    grid-template-columns: 1fr;
  }
}

.message-form-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  box-shadow: var(--glass-shadow);
  padding: 28px;
}

.form-title {
  font-family: var(--font-fun);
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(79, 172, 254, 0.25);
  border-radius: 16px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 172, 254, 0.18);
}

.emoji-picker-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.emoji-radio {
  cursor: pointer;
}

.emoji-radio input[type="radio"] {
  display: none;
}

.emoji-radio span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  border-radius: 12px;
  border: 2px solid transparent;
  background: rgba(79, 172, 254, 0.1);
  transition: all 0.2s;
  user-select: none;
}

.emoji-radio input[type="radio"]:checked + span {
  border-color: var(--primary);
  background: rgba(79, 172, 254, 0.25);
  transform: scale(1.15);
}

.emoji-radio:hover span {
  transform: scale(1.1);
}

.w-100 {
  width: 100%;
  justify-content: center;
}

.messages-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 4px;
}

.messages-board::-webkit-scrollbar {
  width: 6px;
}
.messages-board::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--secondary));
  border-radius: 10px;
}

.message-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  padding: 18px 20px;
  animation: cardSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.message-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-emoji {
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(79,172,254,0.15), rgba(255,107,139,0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.message-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(79, 172, 254, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.message-body {
  font-size: 0.93rem;
  color: var(--text-main);
  line-height: 1.6;
  opacity: 0.9;
}

/* ===================================================================
   SHAKE ANIMATION (form validation)
   =================================================================== */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%       { transform: translateX(-7px); }
  30%       { transform: translateX(7px); }
  45%       { transform: translateX(-5px); }
  60%       { transform: translateX(5px); }
  75%       { transform: translateX(-3px); }
  90%       { transform: translateX(3px); }
}

/* Icon helpers */
.icon-blue  { color: var(--primary); }
.icon-gold  { color: var(--accent-yellow); }
.icon-red   { color: var(--secondary); }
.icon-yellow{ color: var(--accent-yellow); }
