@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-element {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  animation: float 20s infinite linear;
}

.floating-element:nth-child(1) {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: -10%;
  animation-delay: -7s;
  width: 150px;
  height: 150px;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: -14s;
  width: 100px;
  height: 100px;
}

@keyframes float {
  from {
    transform: translateX(-100px) rotate(0deg);
  }
  to {
    transform: translateX(calc(100vw + 100px)) rotate(360deg);
  }
}

.container {
  max-width: 600px;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.header {
  margin-bottom: 3rem;
}

h1 {
  font-family: 'Space Mono', monospace;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 0;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.main-button, .ai-button {
  position: relative;
  border: none;
  padding: 20px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
}

.main-button {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.ai-button {
  background: linear-gradient(135deg, #10ac84, #00d2d3);
  color: white;
  box-shadow: 0 10px 30px rgba(16, 172, 132, 0.4);
}

.button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.main-button:hover, .ai-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.main-button:hover .button-glow, .ai-button:hover .button-glow {
  left: 100%;
}

.main-button:active, .ai-button:active {
  transform: translateY(-1px);
}

.button-text {
  position: relative;
  z-index: 2;
}

.stats {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
  font-family: 'Space Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  opacity: 0.7;
  font-weight: 300;
  color: #777;
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #555;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.bounce {
  animation: bounce 0.8s ease;
}

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

.generating {
  animation: pulse 1s infinite;
  pointer-events: none;
}

@media (max-width: 600px) {
  .container {
    margin: 20px;
    padding: 30px 20px;
  }
  
  .button-group {
    gap: 1rem;
  }
  
  .main-button, .ai-button {
    padding: 18px 30px;
    font-size: 1rem;
  }
}