/* Launch Splash Styles - Ultra Compact & Centered */
.launch-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0b2e 50%, #2d1b4e 100%);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  padding: 20px;
}

/* Simplified Background Elements */
.flower-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

.flower {

  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.15;
}

.flower-1 {
  top: 10%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #ff7e5f, transparent 70%);
  animation: floatSoft 25s infinite ease-in-out;
}

.flower-2 {
  bottom: 10%;
  right: 10%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #86a8e7, transparent 70%);
  animation: floatSoft 20s infinite ease-in-out reverse;
}

/* Main Card - Ultra Compact */
.launch-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 35px 30px;
  max-width: 450px;
  width: 100%;
  max-height: 85vh;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  animation: cardEntrance 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

/* Hide scrollbar for Chrome/Safari */
.launch-card::-webkit-scrollbar {
  display: none;
}

.launch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    #ff7e5f 0%, 
    #feb47b 25%, 
    #86a8e7 50%, 
    #91eae4 75%, 
    #ff7e5f 100%);
  background-size: 200% 100%;
  animation: gradientFlow 3s linear infinite;
}

/* Live Badge - Minimal */
.live-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 105, 180, 0.12);
  color: #ff69b4;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 105, 180, 0.15);
  backdrop-filter: blur(5px);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 2;
}

.live-badge.active {
  opacity: 1;
  transform: translateY(0);
}

.live-dot {
  width: 5px;
  height: 5px;
  background: #ff69b4;
  border-radius: 50%;
  animation: pulseLive 1.5s infinite;
}

/* Splash Icon - Minimal */
.splash-icon {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #86a8e7, #91eae4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  animation: iconFloat 4s ease-in-out infinite;
  box-shadow: 0 8px 20px rgba(134, 168, 231, 0.2);
}

/* Splash Content - Ultra Compact */
.splash-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5px;
}

.splash-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.title-line {
  display: block;
  background: linear-gradient(90deg, #86a8e7, #91eae4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
}

.splash-subtitle {
  color: rgba(160, 160, 192, 0.7);
  font-size: 0.9rem;
  margin-bottom: 25px;
  line-height: 1.4;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Countdown - Ultra Compact */
.countdown-section {
  margin: 20px 0;
}

.countdown-label {
  color: rgba(134, 168, 231, 0.8);
  font-size: 0.8rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
}

.time-block {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 12px 8px;
  min-width: 60px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.time-number {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #86a8e7, #91eae4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 3px;
  text-shadow: 0 0 15px rgba(134, 168, 231, 0.15);
}

.time-label {
  color: rgba(160, 160, 192, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 500;
}

.time-separator {
  font-size: 1.5rem;
  color: rgba(134, 168, 231, 0.5);
  font-weight: 300;
  margin-bottom: 10px;
}

.launch-info {
  background: rgba(255, 255, 255, 0.015);
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
  border-left: 2px solid rgba(134, 168, 231, 0.2);
}

.launch-info p {
  margin: 6px 0;
  color: rgba(208, 208, 240, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
}

.launch-info i {
  color: #86a8e7;
  font-size: 0.9rem;
  min-width: 16px;
}

/* Live Message - Ultra Compact */
.live-message {
  margin: 20px 0;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s ease;
  position: relative;
}

.live-message.active {
  opacity: 1;
  transform: translateY(0);
}

.confetti {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  width: 5px;
  height: 10px;
  background: linear-gradient(45deg, #ff7e5f, #feb47b);
  animation: confettiFall 1s ease-out forwards;
  opacity: 0.7;
}

.live-title {
  font-size: 2rem;
  background: linear-gradient(90deg, #ff7e5f, #feb47b, #86a8e7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  animation: celebration 2s ease infinite;
}

.live-subtitle {
  color: rgba(160, 160, 192, 0.8);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.live-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.action-circle {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  animation: actionPulse 2s ease infinite;
  box-shadow: 0 5px 15px rgba(255, 126, 95, 0.2);
}

.action-text {
  color: rgba(160, 160, 192, 0.6);
  font-size: 0.8rem;
  animation: fadeInOut 2s ease infinite;
}

/* Progress Bar - Ultra Thin */
.progress-container {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1px;
  margin: 15px 0 0;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #86a8e7, #91eae4);
  border-radius: 1px;
  transition: width 0.3s ease;
}

/* Footer - Minimal */
.splash-footer {
  margin-top: 15px;
  text-align: center;
  color: rgba(134, 168, 231, 0.5);
  font-size: 0.75rem;
  opacity: 0.7;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.splash-footer i {
  margin-right: 5px;
  animation: sparkle 2s ease infinite;
  font-size: 0.8rem;
}

/* Animations - Subtle */
@keyframes floatSoft {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
  }
  50% { 
    transform: translate(5px, 5px) scale(1.02); 
  }
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gradientFlow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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

@keyframes pulseLive {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1); 
  }
  50% { 
    opacity: 0.6; 
    transform: scale(1.1); 
  }
}

@keyframes confettiFall {
  0% {
    transform: translateY(-30px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100px) rotate(90deg);
    opacity: 0;
  }
}

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

@keyframes actionPulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.2);
  }
  50% { 
    transform: scale(1.05); 
    box-shadow: 0 6px 18px rgba(255, 126, 95, 0.25);
  }
}

@keyframes fadeInOut {
  0%, 100% { 
    opacity: 0.5; 
  }
  50% { 
    opacity: 0.8; 
  }
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 0.5; 
    transform: scale(1); 
  }
  50% { 
    opacity: 0.8; 
    transform: scale(1.05); 
  }
}

/* Time update animation */
.time-number.updating {
  animation: timeUpdate 0.2s ease;
}

@keyframes timeUpdate {
  0% { 
    transform: scale(1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.05); 
    opacity: 0.8; 
  }
  100% { 
    transform: scale(1); 
    opacity: 1; 
  }
}

/* Responsive Design - Optimized for all screens */
@media (max-height: 700px) {
  .launch-card {
    max-height: 90vh;
    padding: 25px 20px;
  }
  
  .splash-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }
  
  .splash-subtitle {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }
  
  .countdown-section {
    margin: 15px 0;
  }
  
  .time-block {
    padding: 10px 6px;
    min-width: 50px;
  }
  
  .time-number {
    font-size: 1.5rem;
  }
  
  .launch-info {
    padding: 10px;
    margin-top: 10px;
  }
  
  .launch-info p {
    font-size: 0.8rem;
    margin: 5px 0;
  }
}

@media (max-width: 480px) {
  .launch-splash {
    padding: 15px;
  }
  
  .launch-card {
    padding: 25px 15px;
    border-radius: 16px;
  }
  
  .countdown-timer {
    gap: 4px;
  }
  
  .time-block {
    min-width: 45px;
    padding: 8px 5px;
  }
  
  .time-number {
    font-size: 1.4rem;
  }
  
  .time-separator {
    font-size: 1.2rem;
  }
  
  .splash-title {
    font-size: 1.5rem;
  }
  
  .live-title {
    font-size: 1.7rem;
  }
}

/* For very small screens */
@media (max-height: 600px) {
  .splash-icon {
    margin-bottom: 15px;
  }
  
  .icon-circle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .countdown-label {
    margin-bottom: 8px;
  }
  
  .launch-info p {
    flex-direction: column;
    gap: 3px;
  }
}

/* Ensure content is always centered */
.launch-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  width: 100%;
}