:root {
  --bg: #05060a;
  --bg-alt: #0d1018;
  --accent: #ffcc4d;
  --accent-soft: rgba(255, 204, 77, 0.16);
  --text: #f5f5f5;
  --muted: #b1b5c0;
  --card: #11141f;
  --border: #22263a;
  --danger: #ff5c5c;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.65);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --transition-fast: 180ms ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #1a2440 0, #05060a 50%, #000 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}
/* Animated Birthlight background glow */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 204, 77, 0.18), transparent 60%),
    radial-gradient(circle at 85% 100%, rgba(69, 179, 255, 0.18), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(2px);
  animation: birthlightShift 28s ease-in-out infinite alternate;
  z-index: -1;
}


.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 18px 40px;
  width: 100%;
  flex: 1;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #fff 0, #ffcc4d 30%, #ff8800 60%, #3b1a00 100%);
  box-shadow: 0 0 22px rgba(255, 204, 77, 0.7);
  position: relative;
  overflow: hidden;
  animation: badgePulse 8s ease-in-out infinite;
  transform-origin: center center;
}

.brand h1 {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 13, 24, 0.7);
  backdrop-filter: blur(12px);
}

/* NAVBAR */

.navbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.84rem;
}

.nav-link {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 7, 14, 0.9);
  color: var(--muted);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  background: rgba(255, 204, 77, 0.12);
  border-color: rgba(255, 204, 77, 0.5);
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-link.active {
  background: rgba(255, 204, 77, 0.18);
  border-color: rgba(255, 204, 77, 0.7);
  color: var(--accent);
}

/* HERO + LAYOUT */

.hero {
  border-radius: var(--radius-xl);
  padding: 24px 22px 22px;
  background: radial-gradient(circle at top left, rgba(255, 204, 77, 0.2), transparent 55%),
              radial-gradient(circle at bottom right, rgba(69, 179, 255, 0.26), transparent 55%),
              linear-gradient(135deg, rgba(8, 10, 24, 0.98), rgba(3, 4, 10, 0.98));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: center;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-title {
  font-size: clamp(1.7rem, 2.3vw + 1.1rem, 2.4rem);
  margin-bottom: 10px;
}

.hero-title span {
  color: var(--accent);
}

.hero-sub {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.pill {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

.hero-grid {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
}

.hero-box {
  padding: 10px 12px;
  border-radius: var(--radius-lg);
  background: rgba(7, 9, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.hero-box span {
  color: var(--muted);
}

.hero-box strong {
  color: var(--accent);
  font-size: 0.82rem;
}

.hero-box.danger strong {
  color: var(--danger);
}

/* SECTIONS + CARDS */

main {
  margin-bottom: 24px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 10px;
}

.section-title {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 14px 14px 13px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -30%;
  opacity: 0;
  background: radial-gradient(circle at top, rgba(255, 204, 77, 0.14), transparent 60%);
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 204, 77, 0.55);
}

.card:hover::before {
  opacity: 1;
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.card h3 {
  font-size: 1rem;
}

.card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-soft {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.75rem;
  color: var(--accent);
}

/* PAGE-LEVEL HELPERS */

.page-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.page-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.page-intro {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 18px;
}

@media (max-width: 820px) {
  .page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.list {
  font-size: 0.86rem;
  color: var(--muted);
  margin-left: 18px;
  line-height: 1.5;
}

.list li + li {
  margin-top: 4px;
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px 18px;
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(3, 5, 11, 0.95);
}

footer .inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

footer span strong {
  color: var(--accent);
  font-weight: 600;
}

@keyframes birthlightShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(-4%, 2%, 0) scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(3%, -3%, 0) scale(1.08);
    opacity: 0.7;
  }
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(255, 204, 77, 0.55);
  }
  30% {
    transform: scale(1.03);
    box-shadow: 0 0 26px rgba(255, 204, 77, 0.9);
  }
  60% {
    transform: scale(0.995);
    box-shadow: 0 0 14px rgba(255, 204, 77, 0.45);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(255, 204, 77, 0.6);
  }
}


/* TIMELINE */

.timeline {
  position: relative;
  margin-top: 4px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.timeline-item {
  position: relative;
  padding: 10px 0 8px 10px;
}

.timeline-item + .timeline-item {
  margin-top: 4px;
}

.timeline-dot {
  position: absolute;
  left: -5px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 204, 77, 0.6);
}

.timeline-content {
  font-size: 0.84rem;
  color: var(--muted);
}

.timeline-date {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 2px;
}

.timeline-title {
  font-size: 0.94rem;
  margin-bottom: 3px;
  color: var(--text);
}

.timeline-text p {
  line-height: 1.5;
}
