/* GenZ Talks - Grand Website Launch & Confetti Celebration CSS */

:root {
  --genz-launch-gold: #ffd700;
  --genz-launch-gold-glow: rgba(255, 215, 0, 0.45);
  --genz-launch-red: #cc0000;
  --genz-launch-red-glow: rgba(204, 0, 0, 0.5);
  --genz-launch-dark: #090202;
}

/* 1. Full Screen Overlay */
.genz-launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 999900;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--genz-launch-dark);
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(204, 0, 0, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 50% 70%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
    radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px;
  overflow: hidden;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.5s;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  user-select: none;
}

.genz-launch-overlay.genz-closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Theatrical Split Curtains */
.genz-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  z-index: 1;
  background: linear-gradient(to bottom, #1f0404, #0d0101);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9);
  transition: transform 2.8s cubic-bezier(0.65, 0.05, 0.25, 1);
  will-change: transform;
}

.genz-curtain-left {
  left: 0;
  border-right: 2px solid rgba(255, 215, 0, 0.3);
}

.genz-curtain-right {
  right: 0;
  border-left: 2px solid rgba(255, 215, 0, 0.3);
}

/* When launch triggered: curtains sweep open */
.genz-launch-overlay.genz-opened .genz-curtain-left {
  transform: translateX(-102%);
}

.genz-launch-overlay.genz-opened .genz-curtain-right {
  transform: translateX(102%);
}

/* 2. Central Celebration Card */
.genz-launch-container {
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 90%;
  margin: 0 auto;
  text-align: center;
  padding: 45px 35px;
  background: rgba(18, 5, 5, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 215, 0, 0.4);
  border-radius: 24px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.8),
    0 0 40px var(--genz-launch-gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scale(1);
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  animation: genzFloatCard 4s ease-in-out infinite alternate;
}

@keyframes genzFloatCard {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.genz-launch-overlay.genz-opened .genz-launch-container {
  transform: scale(1.06) translateY(-15px);
  opacity: 0;
}

/* Ribbon Badge at Top of Card */
.genz-launch-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  color: #1a0808;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  margin-bottom: 24px;
}

/* Brand Logo */
/* Brand Logo Plaque */
.genz-launch-logo-wrap {
  margin-bottom: 22px;
  display: inline-block;
  background: #ffffff;
  padding: 10px 24px;
  border-radius: 16px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(255, 215, 0, 0.45);
  border: 1.5px solid rgba(255, 215, 0, 0.6);
  animation: genzLogoPulse 2.5s ease-in-out infinite alternate;
}

.genz-launch-logo {
  max-width: 250px;
  height: auto;
  display: block;
}

@keyframes genzLogoPulse {
  0% { transform: scale(0.98); }
  100% { transform: scale(1.02); }
}

/* Titles */
.genz-launch-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.01em;
}

.genz-launch-title .genz-launch-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 70%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.genz-launch-subtitle {
  color: #e2e8f0;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px;
  font-weight: 500;
  opacity: 0.9;
}

.genz-launch-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.genz-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: #f1f5f9;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* 3. The Grand Launch Button */
.genz-launch-btn-wrap {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}

.genz-launch-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #ff1a1a 0%, #cc0000 45%, #990000 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 18px 48px;
  border-radius: 60px;
  border: 2px solid #ffd700;
  cursor: pointer;
  box-shadow: 
    0 10px 25px rgba(204, 0, 0, 0.5),
    0 0 35px var(--genz-launch-gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.genz-launch-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 60%);
  animation: genzRotateAura 4s linear infinite;
}

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

.genz-launch-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: genzShineSweep 2.5s infinite;
}

@keyframes genzShineSweep {
  0% { left: -100%; }
  35%, 100% { left: 150%; }
}

.genz-launch-btn:hover {
  transform: translateY(-4px) scale(1.04);
  background: linear-gradient(135deg, #ff3333 0%, #e60000 45%, #b30000 100%);
  box-shadow: 
    0 15px 35px rgba(204, 0, 0, 0.65),
    0 0 50px rgba(255, 215, 0, 0.75);
}

.genz-launch-btn:active {
  transform: translateY(2px) scale(0.98);
}

.genz-launch-btn-icon {
  font-size: 24px;
  animation: genzRocketShake 1.5s ease-in-out infinite;
}

@keyframes genzRocketShake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-2px, -2px) rotate(-8deg); }
  75% { transform: translate(2px, -1px) rotate(8deg); }
}

/* Pulsing outer ring */
.genz-btn-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 70px;
  border: 2px solid #ffd700;
  opacity: 0.8;
  animation: genzRingPulse 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  pointer-events: none;
}

@keyframes genzRingPulse {
  0% { transform: scale(0.96); opacity: 0.9; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* 4. Floating Re-Launch Pill Badge (Bottom Right of Live Site) */
.genz-floating-launch-pill {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid #ffd700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  animation: genzPillBounce 3s ease-in-out infinite;
}

@keyframes genzPillBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.genz-floating-launch-pill:hover {
  transform: translateY(-6px) scale(1.06);
  background: linear-gradient(135deg, #e60000 0%, #b30000 100%);
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.55);
}

.genz-pill-emoji {
  font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 650px) {
  .genz-launch-container {
    padding: 30px 20px;
    width: 92%;
  }
  .genz-launch-logo {
    max-width: 220px;
  }
  .genz-launch-title {
    font-size: 24px;
  }
  .genz-launch-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .genz-launch-btn {
    font-size: 17px;
    padding: 15px 32px;
  }
  .genz-floating-launch-pill {
    bottom: 18px;
    right: 18px;
    padding: 8px 14px;
    font-size: 12px;
  }
}
