:root {
  --bg: #0f172a;
  --panel: #111827;
  --panel-soft: #1f2937;
  --primary: #facc15;
  --secondary: #38bdf8;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --happy: #22c55e;
  --sad: #f87171;
  --shadow: rgba(15, 23, 42, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #020817 0%, #0f172a 45%, #1e293b 100%);
  color: var(--text);
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 20px 50px var(--shadow);
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(250, 204, 21, 0.15);
  color: var(--primary);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-media {
  max-width: 760px;
  margin: 28px auto 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.4);
  background: #0b1120;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  object-position: center top;
  margin: 0 auto;
}

button {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--primary), #f59e0b);
  border: none;
  color: #111827;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 25px rgba(245, 158, 11, 0.3);
}

button:hover {
  transform: translateY(-2px);
}

main {
  margin-top: 30px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.stat-item {
  background: rgba(17, 24, 39, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 18px;
  text-align: center;
}

.counter {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
}

.stat-item small {
  color: var(--muted);
  letter-spacing: 0.04em;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 26px;
}

.card {
  background: rgba(17, 24, 39, 0.8);
  border-radius: 22px;
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card h2 {
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.card li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  line-height: 1.7;
}

.card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

.card-happy h2 {
  color: var(--happy);
}

.card-sad h2 {
  color: var(--sad);
}

.story-detail {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 24px 22px;
  color: #dbeafe;
  line-height: 1.9;
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.35s ease;
}

.story-detail.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline {
  background: rgba(17, 24, 39, 0.8);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 24px;
  margin-bottom: 26px;
}

.timeline h2 {
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item:first-of-type {
  border-top: none;
}

.time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.28);
  border-radius: 999px;
  font-weight: 700;
  height: 42px;
}

.timeline-item h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.7;
}

.quote-box {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
}

blockquote {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.8;
  color: #f8fafc;
}

@media (max-width: 768px) {
  .stats,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 30px 20px;
  }
}
