/* --- Design System & Variables --- */
:root {
  --color-bg-space: #0b0214;
  --color-bg-space-light: #18062b;
  --color-neon-green: #39ff14;
  --color-neon-purple: #9d4edd;
  --color-neon-purple-dark: #5a189a;
  --color-toy-yellow: #ffd000;
  --color-toy-blue: #0056b3;
  --color-text-light: #ffffff;
  --color-text-muted: #d0c8ec;
  
  --font-title: 'Rowdies', cursive;
  --font-body: 'Outfit', sans-serif;
  
  --shadow-neon-green: 0 0 15px rgba(57, 255, 20, 0.6);
  --shadow-neon-purple: 0 0 20px rgba(157, 78, 221, 0.5);
  --border-glass: 1px solid rgba(157, 78, 221, 0.2);
  --bg-glass: rgba(18, 6, 33, 0.65);
}

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

body {
  background-color: var(--color-bg-space);
  color: var(--color-text-light);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-space);
}
::-webkit-scrollbar-thumb {
  background: var(--color-neon-purple-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-neon-purple);
}

/* --- Starry & Space Background Animation --- */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.stars-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 40px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 50px 160px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 80px 120px, var(--color-neon-green), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 110px 40px, var(--color-neon-purple), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 150px 90px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 200px 200px, #fff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 250px 250px;
  opacity: 0.7;
}

.stars-small {
  animation: moveStars 60s linear infinite;
}

.stars-medium {
  background-size: 400px 400px;
  animation: moveStars 120s linear infinite;
  opacity: 0.4;
}

@keyframes moveStars {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* --- Floating Audio Toggle --- */
.audio-control-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
}

.audio-toggle-btn {
  background: rgba(18, 6, 33, 0.8);
  border: 1px solid var(--color-neon-purple);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-neon-purple);
  transition: all 0.3s ease;
  position: relative;
  outline: none;
}

.audio-toggle-btn:hover {
  transform: scale(1.1);
  border-color: var(--color-neon-green);
  box-shadow: var(--shadow-neon-green);
}

.music-waves {
  display: flex;
  align-items: flex-end;
  height: 14px;
  gap: 2px;
  position: absolute;
  bottom: 8px;
}

.music-waves span {
  display: block;
  width: 2px;
  height: 4px;
  background: var(--color-neon-green);
  border-radius: 1px;
}

.audio-toggle-btn.playing .music-waves span {
  animation: bounceWaves 1.2s ease infinite alternate;
}

.audio-toggle-btn.playing .music-waves span:nth-child(2) { animation-delay: 0.15s; }
.audio-toggle-btn.playing .music-waves span:nth-child(3) { animation-delay: 0.3s; }
.audio-toggle-btn.playing .music-waves span:nth-child(4) { animation-delay: 0.45s; }

.audio-toggle-btn.paused .music-waves span {
  height: 2px !important;
  background: var(--color-text-muted);
}

@keyframes bounceWaves {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* --- Portadilla (Cover Screen) --- */
.cover-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-space) 0%, var(--color-bg-space-light) 100%);
  transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease;
  overflow: hidden;
}

/* Classic Toy Story Clouds Background (Lower portion of cover, style of toy box) */
.toy-clouds-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: #50b7f5;
  opacity: 0.15;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
  z-index: 2;
  background-image: 
    radial-gradient(circle at 10% 50%, white 30px, transparent 30px),
    radial-gradient(circle at 15% 40%, white 40px, transparent 40px),
    radial-gradient(circle at 20% 50%, white 30px, transparent 30px),
    radial-gradient(circle at 50% 60%, white 25px, transparent 25px),
    radial-gradient(circle at 55% 50%, white 35px, transparent 35px),
    radial-gradient(circle at 60% 60%, white 25px, transparent 25px),
    radial-gradient(circle at 85% 45%, white 30px, transparent 30px),
    radial-gradient(circle at 90% 35%, white 40px, transparent 40px),
    radial-gradient(circle at 95% 45%, white 30px, transparent 30px);
  background-repeat: repeat-x;
  background-size: 600px 100%;
}

.launchpad-content {
  position: relative;
  z-index: 10;
  max-width: 480px;
  width: 90%;
  text-align: center;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.star-command-badge {
  background: rgba(57, 255, 20, 0.15);
  border: 1.5px solid var(--color-neon-green);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-neon-green);
  animation: pulseGreen 2s infinite alternate;
}

.badge-text {
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: var(--color-neon-green);
  letter-spacing: 2px;
}

/* Custom Toy Story Title Styled HTML/CSS Logo */
.main-title {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  margin-bottom: 25px;
  text-align: center;
  align-items: center;
}

.title-mission {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 7px;
  color: var(--color-text-light);
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.title-name {
  font-family: var(--font-title);
  font-size: 5.2rem;
  color: var(--color-toy-yellow);
  text-shadow: 
    -4px -4px 0 var(--color-toy-blue),  
     4px -4px 0 var(--color-toy-blue),
    -4px  4px 0 var(--color-toy-blue),
     4px  4px 0 var(--color-toy-blue),
     0px  8px 0px rgba(0,0,0,0.5);
  letter-spacing: 2px;
  transform: rotate(-4deg);
  margin: 8px 0;
  display: block;
}

.title-number {
  font-family: var(--font-title);
  font-size: 8rem;
  color: #ff2255;
  text-shadow: 
    0 0 15px rgba(255, 34, 85, 0.8),
    0 0 30px rgba(255, 34, 85, 0.4),
    0px 6px 0px rgba(0, 0, 0, 0.4);
  line-height: 0.8;
  margin-top: -10px;
  display: block;
}

.subtitle-alert {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* Spaceship Dashboard Panel */
.dashboard-panel {
  background: rgba(18, 6, 33, 0.8);
  border: 1px solid var(--color-neon-purple);
  box-shadow: var(--shadow-neon-purple);
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  margin-bottom: 30px;
  text-align: left;
}

.stat-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.stat-row:last-child {
  margin-bottom: 0;
}

.stat-label {
  color: var(--color-text-muted);
  width: 100px;
}

.progress-bar-container {
  flex-grow: 1;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin: 0 10px;
  overflow: hidden;
  border: 1px solid rgba(157, 78, 221, 0.3);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(95deg, var(--color-neon-purple) 0%, var(--color-neon-green) 100%);
  box-shadow: 0 0 8px var(--color-neon-green);
  border-radius: 6px;
}

.stat-val {
  font-weight: bold;
  font-family: monospace;
}

.text-green { color: var(--color-neon-green); text-shadow: var(--shadow-neon-green); }
.text-yellow { color: var(--color-toy-yellow); }

/* Launch Button */
.launch-btn {
  background: linear-gradient(135deg, #1f0b3d 0%, #3a0ca3 100%);
  color: var(--color-text-light);
  border: 2px solid var(--color-neon-green);
  border-radius: 50px;
  padding: 16px 40px;
  font-size: 1.3rem;
  font-family: var(--font-title);
  cursor: pointer;
  position: relative;
  box-shadow: 
    var(--shadow-neon-green),
    0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  outline: none;
  z-index: 10;
}

.launch-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #2a0e54 0%, #480ca8 100%);
  box-shadow: 
    0 0 25px rgba(57, 255, 20, 0.9),
    0 15px 30px rgba(0, 0, 0, 0.6);
}

.launch-btn:active {
  transform: scale(0.98);
}

.btn-subtext {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--color-neon-green);
  margin-top: 4px;
}

/* Buzz Launch Container inside Flex Flow (Guarantees no button overlaps) */
.buzz-launch-container {
  position: relative;
  width: 120px;
  height: 100px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.buzz-launch-img {
  width: 100%;
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease-out;
}

.buzz-launch-img.launching {
  z-index: 150; /* fully on top */
  animation: buzzLaunchSlowToFast 2.5s cubic-bezier(0.47, 0, 0.745, 0.08) forwards;
}

@keyframes buzzLaunchSlowToFast {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  20% {
    /* Hover and igniting visual feedback (slow, trembling shake) */
    transform: translateY(-10px) scale(1.05) rotate(3deg);
    filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.9)) drop-shadow(0 6px 10px rgba(0,0,0,0.5));
  }
  40% {
    /* Trembling offset */
    transform: translateY(-15px) scale(1.08) rotate(-3deg);
    filter: drop-shadow(0 0 25px rgba(57, 255, 20, 1)) drop-shadow(0 6px 10px rgba(0,0,0,0.5));
  }
  60% {
    /* Moving upward slowly */
    transform: translateY(-120px) scale(1.15) rotate(2deg);
    filter: drop-shadow(0 0 15px rgba(57, 255, 20, 0.7));
  }
  80% {
    /* Accelerating */
    transform: translateY(-380px) scale(1.3) rotate(-6deg);
  }
  100% {
    /* Shoots out of view extremely fast */
    transform: translateY(-180vh) scale(2) rotate(-18deg);
    opacity: 0;
  }
}

/* Cover Screen Shake Effect */
.shake-screen {
  animation: shake 0.4s infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(0px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(2px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(2px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* State when launching cover screen upward */
.launched {
  transform: translateY(-100%);
  opacity: 0;
}

/* --- Main Invitation Content --- */
.invitation-main {
  position: relative;
  min-height: 100vh;
  padding: 40px 16px 60px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  z-index: 10;
  max-width: 600px;
  margin: 0 auto;
}

.space-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: 
    radial-gradient(1px 1px at 30px 40px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 100px 120px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 170px 20px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 220px 280px, var(--color-neon-purple), rgba(0,0,0,0)),
    radial-gradient(1.2px 1.2px at 280px 150px, #ffffff, rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 300px 300px;
}

.neon-aurora {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, rgba(57, 255, 20, 0.05) 50%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Hidden initially helper class */
.hidden-state {
  display: none !important;
}

/* Glassmorphism Cards */
.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: var(--border-glass);
  box-shadow: 
    var(--shadow-neon-purple),
    0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  width: 100%;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-glass:hover {
  border-color: rgba(57, 255, 20, 0.3);
  box-shadow: 
    0 0 25px rgba(157, 78, 221, 0.3),
    0 0 10px rgba(57, 255, 20, 0.1),
    0 10px 30px rgba(0, 0, 0, 0.4);
}

.section-badge {
  display: inline-block;
  background: rgba(157, 78, 221, 0.25);
  border: 1px solid var(--color-neon-purple);
  border-radius: 30px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: var(--color-text-light);
}

/* Hero Section Specifics */
.hero-section {
  text-align: center;
}

.astronaut-frame {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid var(--color-neon-purple);
  box-shadow: 0 0 25px var(--color-neon-purple);
  margin: 0 auto 20px auto;
  overflow: hidden;
  background: #110624;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.astronaut-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%);
  z-index: 2;
  pointer-events: none;
}

.hero-image {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.hero-headline {
  font-family: var(--font-title);
  font-size: 2.1rem;
  color: var(--color-toy-yellow);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 12px;
}

.hero-subtext {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Countdown Section */
.countdown-section {
  text-align: center;
  border-color: rgba(57, 255, 20, 0.3);
  box-shadow: var(--shadow-neon-green);
}

.countdown-section h3 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--color-neon-green);
  margin-bottom: 16px;
  text-shadow: var(--shadow-neon-green);
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  min-width: 65px;
}

.time-num {
  font-family: monospace;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-light);
  line-height: 1;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 8px 4px;
  border: 1px solid rgba(157, 78, 221, 0.2);
}

.time-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-divider {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-neon-green);
  margin-top: -24px;
  animation: blink 1s infinite;
}

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

/* Coordinates Details Section */
.coordinates-section {
  display: flex;
  flex-direction: column;
}

.detail-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
}

.detail-block:last-of-type {
  margin-bottom: 24px;
}

.detail-icon {
  font-size: 1.8rem;
  background: rgba(157, 78, 221, 0.15);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-neon-purple-dark);
}

.detail-info h4 {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--color-neon-green);
  margin-bottom: 4px;
}

.detail-info p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.4;
}

.place-name {
  font-weight: 800;
  color: var(--color-toy-yellow) !important;
}

.place-address {
  font-size: 0.95rem !important;
  color: var(--color-text-muted) !important;
  margin-top: 4px;
}

/* Navigation & Action Buttons */
.coordinates-actions, .registry-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.coordinates-actions {
  grid-template-columns: 1fr 1fr;
}

.coordinates-actions .calendar-btn {
  grid-column: span 2;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid var(--color-neon-purple);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  outline: none;
}

.action-btn:hover {
  background: var(--color-neon-purple-dark);
  box-shadow: var(--shadow-neon-purple);
}

.action-btn:active {
  transform: scale(0.97);
}

.map-btn:hover, .waze-btn:hover {
  border-color: var(--color-neon-green);
  box-shadow: var(--shadow-neon-green);
}

.calendar-btn {
  background: linear-gradient(90deg, var(--color-neon-purple-dark) 0%, #c77dff 100%);
  border: none;
}

.calendar-btn:hover {
  box-shadow: var(--shadow-neon-purple);
  background: linear-gradient(90deg, #7b2cbf 0%, #e0aaff 100%);
}

/* Registry Section */
.registry-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.liverpool-registry-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.liverpool-logo-placeholder {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #e5007d; /* Liverpool pink */
  letter-spacing: 1.5px;
}

.registry-info-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.code-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

.code-copy-wrapper {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.code-number {
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-toy-yellow);
  margin-right: 8px;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease;
  outline: none;
}

.copy-btn:active {
  transform: scale(0.85);
}

.registry-btn {
  grid-column: span 2;
  background: #e5007d;
  border: none;
}

.registry-btn:hover {
  background: #c3006b;
  box-shadow: 0 0 15px rgba(229, 0, 125, 0.4);
}

/* RSVP Form Section */
.rsvp-intro {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.rsvp-form-element {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.85rem;
  color: var(--color-neon-green);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.input-group input[type="text"],
.input-group textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(157, 78, 221, 0.4);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.input-group input[type="text"]:focus,
.input-group textarea:focus {
  border-color: var(--color-neon-green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

/* Radio Choice Cards */
.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-card {
  cursor: pointer;
  position: relative;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-card-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 12px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.radio-emoji {
  font-size: 1.6rem;
}

.radio-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.radio-card input[type="radio"]:checked + .radio-card-content {
  background: rgba(57, 255, 20, 0.1);
  border-color: var(--color-neon-green);
  box-shadow: var(--shadow-neon-green);
}

.radio-card input[type="radio"]:checked + .radio-card-content .radio-text {
  color: var(--color-text-light);
}

/* RSVP Counters */
.attendance-counters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: rgba(255,255,255,0.02);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
}

.counter-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.counter-input label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.counter-controls {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(157, 78, 221, 0.3);
  overflow: hidden;
  height: 38px;
}

.counter-controls button {
  background: none;
  border: none;
  color: var(--color-text-light);
  width: 32px;
  height: 100%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  outline: none;
}

.counter-controls button:hover {
  background: rgba(157, 78, 221, 0.3);
}

.counter-controls input {
  width: 35px;
  border: none;
  background: none;
  color: var(--color-text-light);
  text-align: center;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: bold;
  pointer-events: none;
}

.rsvp-submit-btn {
  background: linear-gradient(90deg, var(--color-neon-green) 0%, #64dfdf 100%);
  color: #0b0214;
  border: none;
  font-size: 1.1rem;
  font-family: var(--font-title);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-neon-green);
  text-shadow: none;
  margin-top: 10px;
}

.rsvp-submit-btn:hover {
  background: linear-gradient(90deg, #5cff3a 0%, #7ef2f2 100%);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.8);
}

/* --- RSVP Success State Inline Card Styling --- */
.rsvp-success-state {
  text-align: center;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-illustration {
  font-size: 3.5rem;
  margin-bottom: 8px;
  animation: floatAlien 3s ease-in-out infinite alternate;
}

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

.success-heading {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--color-toy-yellow);
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.success-msg {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.success-greeting {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 15px;
}

.toy-quote {
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  color: var(--color-neon-green);
  text-shadow: var(--shadow-neon-green);
  margin: 10px 0 20px 0;
  transform: rotate(-1deg);
}

.whatsapp-prompt-container {
  background: rgba(57, 255, 20, 0.05);
  border: 1px solid rgba(57, 255, 20, 0.3);
  padding: 16px;
  border-radius: 12px;
  width: 100%;
}

.whatsapp-prompt-title {
  color: var(--color-neon-green) !important;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 8px !important;
}

.wa-confirm-btn {
  background: #25d366; /* WhatsApp Green */
  border: none;
  font-family: var(--font-title);
  color: #fff;
  width: 100%;
}

.wa-confirm-btn:hover {
  background: #20ba5a;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

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

/* --- Toast Notifications --- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #110624;
  border: 1.5px solid var(--color-neon-green);
  box-shadow: var(--shadow-neon-green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  z-index: 200;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.hidden-toast {
  opacity: 0;
  transform: translate(-50%, 20px);
}

/* --- Footer Section --- */
.footer-section {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}

.footer-creds {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.secret-trigger {
  display: inline-block;
  margin-top: 16px;
  cursor: pointer;
  opacity: 0.15;
  font-size: 1.2rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.secret-trigger:hover {
  opacity: 0.8;
  transform: scale(1.2);
}

/* --- Pulsing and Keyframes --- */
@keyframes pulseGreen {
  from { box-shadow: 0 0 10px rgba(57, 255, 20, 0.4); }
  to { box-shadow: 0 0 25px rgba(57, 255, 20, 0.8); }
}

/* --- Responsive Adjustments --- */
@media (max-width: 480px) {
  .time-num {
    font-size: 2rem;
  }
  .countdown-container {
    gap: 8px;
  }
  .countdown-item {
    min-width: 52px;
  }
  .card-glass {
    padding: 20px 16px;
  }
  .title-name {
    font-size: 4rem;
  }
  .title-number {
    font-size: 6.5rem;
  }
}
