:root {
  --bg: #0b0b0f;
  --panel: #141419;
  --text: #ffffff;
  --muted: #b9b9c3;
  --accent: #ff4500;
  --border: rgba(255, 69, 0, .65);
  --shadow: 0 25px 60px rgba(0, 0, 0, .75);
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.story-page {
  max-width: 1200px;
  margin: 70px auto 40px;
  padding: 0 18px;
}

.story-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(255, 69, 0, .13), transparent 60%),
    linear-gradient(145deg, rgba(5, 5, 8, .92), rgba(12, 8, 6, .96));
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  padding: 36px 32px 32px;
  backdrop-filter: blur(8px);
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 69, 0, .45);
  opacity: .45;
  pointer-events: none;
}

.story-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.story-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 0, 0, .55);
}

.story-header h1 {
  margin: 0 0 6px;
  font-size: 30px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(0, 0, 0, .7);
}

.story-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.story-content {
  position: relative;
  z-index: 1;
}

.story-section {
  padding: 18px 0 16px;
}

.story-section+.story-section {
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.story-section h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: .05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.story-section h2::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.story-section p {
  margin: 7px 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
  text-align: justify;
}

.scroll-top-container {
  text-align: center;
  margin: 24px 0 40px;
}

.scroll-top {
  font-size: 2.2rem;
  color: var(--accent);
  transition: transform .3s, color .3s;
  text-decoration: none;
}

.scroll-top:hover {
  color: #ffd700;
  transform: translateY(-4px) scale(1.08);
}

@media (max-width: 600px) {
  .story-card {
    padding: 26px 18px 22px;
  }

  .story-header h1 {
    font-size: 24px;
  }

  .story-section p {
    font-size: 13px;
    line-height: 1.6;
  }
}