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

/* ---------- GLOBAL ---------- */
body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0f172a, #020617);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e5e7eb;
}

/* ---------- CONTAINER ---------- */
.container {
  text-align: center;
  max-width: 700px;
  padding: 40px;
}

/* ---------- TITLE ---------- */
.title {
  font-family: "Foldit", sans-serif;
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: #f8fafc;
}

/* ---------- SUBTITLE ---------- */
.subtitle {
  font-family: "Geo", sans-serif;
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 40px;
}

/* ---------- CARD ---------- */
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(10px);
}

/* ---------- CARD TEXT ---------- */
.card-text {
  font-family: "Geo", sans-serif;
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.5;
  opacity: 0.9;
}

/* ---------- BUTTON ---------- */
.analyze-btn {
  font-family: "Audiowide", cursive;
  width: 100%;
  padding: 16px 0;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #022c22;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.analyze-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.5);
}

.analyze-btn:active {
  transform: translateY(0);
}

/* ---------- OUTPUT ---------- */
.output {
  margin-top: 30px;
  text-align: left;
  font-size: 0.85rem;
  background: rgba(2, 6, 23, 0.8);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 300px;
  overflow-y: auto;
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 0.8s ease forwards;
}

.glow {
  animation: pulse 2.5s infinite;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 rgba(34,197,94,0.4); }
  50% { box-shadow: 0 0 20px rgba(34,197,94,0.6); }
  100% { box-shadow: 0 0 0 rgba(34,197,94,0.4); }
}
