* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
}

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated Gradient Background */
.gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000000 0%, #1a0000 25%, #330000 50%, #1a0000 75%, #000000 100%);
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(220, 20, 60, 0.2) 0%, rgba(139, 0, 0, 0.2) 50%, rgba(255, 0, 0, 0.2) 100%);
  animation: pulse 4s ease-in-out infinite;
}

.radial-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(220, 20, 60, 0.3) 0%, transparent 50%);
}

/* Floating Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(40px);
  opacity: 0.7;
  animation: blob 7s infinite;
}

.orb-1 {
  top: 25%;
  left: 25%;
  width: 256px;
  height: 256px;
  background: linear-gradient(45deg, #dc143c, #ff1493);
}

.orb-2 {
  top: 33%;
  right: 25%;
  width: 256px;
  height: 256px;
  background: linear-gradient(45deg, #ff4500, #dc143c);
  animation-delay: 2s;
}

.orb-3 {
  bottom: 25%;
  left: 33%;
  width: 256px;
  height: 256px;
  background: linear-gradient(45deg, #8b0000, #dc143c);
  animation-delay: 4s;
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.header {
  margin-bottom: 2rem;
}

.title {
  font-size: 4rem;
  font-weight: bold;
  background: linear-gradient(45deg, #ffffff, #ffcccc, #ff9999);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.25rem;
  color: #cccccc;
  max-width: 400px;
  margin: 0 auto;
}

.button-section {
  margin-bottom: 2rem;
}

.launch-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  background: linear-gradient(45deg, #8b0000, #dc143c);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(220, 20, 60, 0.3);
  min-width: 200px;
  justify-content: center;
}

.launch-button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(220, 20, 60, 0.4);
  background: linear-gradient(45deg, #a00000, #ff1744);
}

.launch-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.launch-button.error {
  background: linear-gradient(45deg, #cc0000, #ff0000);
}

.launch-button.error:hover {
  background: linear-gradient(45deg, #dd0000, #ff1111);
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.spinner {
  animation: spin 1s linear infinite;
}

.hidden {
  display: none;
}

.error-message {
  background: rgba(220, 20, 60, 0.2);
  border: 1px solid rgba(220, 20, 60, 0.5);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.error-message p {
  color: #ffcccc;
  font-size: 0.875rem;
}

/* Status Indicator */
.status-indicator {
  display: flex;
  justify-content: center;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.status-idle {
  background-color: #00ff00;
}

.status-active {
  background-color: #ffff00;
  animation: pulse 1s ease-in-out infinite;
}

.status-error {
  background-color: #ff0000;
}

/* Animations */
@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .launch-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .orb {
    width: 128px;
    height: 128px;
  }
}
