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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.title {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.1rem;
  color: #718096;
  margin-bottom: 30px;
}

.fact-box {
  background: #f7fafc;
  border-radius: 15px;
  padding: 30px;
  margin: 30px 0;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fact-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #2d3748;
}

.loading {
  color: #667eea;
  font-style: italic;
}

.generate-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.generate-btn:hover {
  transform: translateY(-2px);
}

.generate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.tech-info {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
  color: #718096;
}

.error {
  background: #fed7d7;
  color: #c53030;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
}

@media (max-width: 640px) {
  .container {
    padding: 30px 20px;
  }
  .title {
    font-size: 2rem;
  }
  .fact-text {
    font-size: 1.1rem;
  }
}
