:root {
  --bg-deep: #061019;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-strong: rgba(7, 18, 30, 0.9);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f1f5fb;
  --text-dim: #95a6c0;
  --accent-main: #9ad6ff;
  --accent-green: #78dcb4;
  --accent-warm: #ffc47b;
  --accent-gold: #f4d76a;
  --accent-danger: #ffadad;
  --hero-start: rgba(6, 24, 40, 0.84);
  --hero-end: rgba(22, 49, 34, 0.8);
  --shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.7;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 12%, rgba(154, 214, 255, 0.1) 0%, transparent 48%),
    radial-gradient(ellipse at 80% 18%, rgba(120, 220, 180, 0.08) 0%, transparent 42%),
    radial-gradient(ellipse at 50% 78%, rgba(255, 196, 123, 0.07) 0%, transparent 42%);
  pointer-events: none;
  z-index: 0;
}

.back-nav,
.hero,
.content,
footer {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.back-nav {
  padding: 22px 0 12px;
}

.back-nav a {
  color: var(--accent-green);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
}

.hero {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    linear-gradient(135deg, var(--hero-start), var(--hero-end)),
    url('./media/eagles-header.webp') center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 18, 0.08), rgba(4, 10, 18, 0.3));
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 56px 32px 34px;
  max-width: 820px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: 'Fredoka', sans-serif;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.02;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
  margin-bottom: 14px;
  color: var(--accent-warm);
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

p,
li {
  color: var(--text-dim);
}

.hero p {
  max-width: 70ch;
  font-size: 1.03rem;
}

.hero .badge-row {
  margin-top: 18px;
}

.content {
  display: grid;
  gap: 24px;
  padding: 24px 0 48px;
}

.section,
.callout {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.callout {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
}

.section-intro {
  max-width: 72ch;
  margin-bottom: 18px;
}

.grid,
.cards-grid,
.stats-grid,
.profile-grid,
.embed-grid,
.mini-grid {
  display: grid;
  gap: 18px;
}

.cards-grid,
.mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.profile-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.embed-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card,
.link-card,
.stat-card,
.profile-card,
.fact-card,
.embed-card,
.note-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
}

.link-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.link-card:hover,
.button:hover {
  transform: translateY(-3px);
}

.link-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(154, 214, 255, 0.18), rgba(120, 220, 180, 0.16));
  color: var(--text);
  font-size: 1.4rem;
}

.tag,
.label,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag,
.label {
  margin-bottom: 10px;
  color: var(--accent-main);
  background: rgba(154, 214, 255, 0.1);
  border: 1px solid rgba(154, 214, 255, 0.16);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge.live {
  color: #061019;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-warm));
  border-color: transparent;
}

.badge.good {
  color: #061019;
  background: linear-gradient(135deg, var(--accent-green), #bff2d9);
  border-color: transparent;
}

.badge.warn {
  color: #3d160d;
  background: linear-gradient(135deg, #ffd5ad, #ffc47b);
  border-color: transparent;
}

.badge.danger {
  color: #2f0910;
  background: linear-gradient(135deg, #ffc1c1, var(--accent-danger));
  border-color: transparent;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  color: #07111d;
  background: linear-gradient(135deg, var(--accent-main), var(--accent-green));
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button.official {
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-gold));
}

.stat-card strong {
  display: block;
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-card span {
  display: block;
  font-size: 0.9rem;
}

.stat-note {
  font-size: 0.82rem;
  margin-top: 8px;
}

.embed-card {
  background: var(--bg-card-strong);
}

.embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #02060b;
  margin: 14px 0;
}

.embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.meta-list,
.key-list,
.plain-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.meta-item,
.key-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item strong,
.key-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.split {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
  padding: 20px 20px 20px 24px;
  border-left: 4px solid rgba(154, 214, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-main);
  box-shadow: 0 0 0 4px rgba(154, 214, 255, 0.16);
}

.timeline-item h3,
.timeline-item strong {
  color: var(--text);
}

.timeline-item p + p {
  margin-top: 10px;
}

.accent-green .timeline-item::before {
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(120, 220, 180, 0.16);
}

.accordion {
  display: grid;
  gap: 14px;
}

.accordion details {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 0 18px;
  overflow: hidden;
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  color: var(--text);
  font-weight: 700;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion .summary-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.summary-title {
  font-size: 1rem;
}

.summary-subtitle {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.chevron {
  flex-shrink: 0;
  color: var(--accent-main);
  transition: transform 0.2s ease;
}

.accordion details[open] .chevron {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 0 18px;
}

.accordion-body p + p,
.accordion-body ul + p,
.accordion-body p + ul {
  margin-top: 10px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 0 18px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  color: var(--text);
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details div {
  padding: 0 0 16px;
}

.warning {
  border-left: 4px solid var(--accent-danger);
  background: rgba(255, 173, 173, 0.08);
}

.memorial {
  background: linear-gradient(180deg, rgba(255, 196, 123, 0.12), rgba(255, 196, 123, 0.05));
}

.source-note {
  font-size: 0.9rem;
}

ul,
ol {
  padding-left: 20px;
}

li + li {
  margin-top: 8px;
}

footer {
  padding: 0 0 36px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .back-nav,
  .hero,
  .content,
  footer {
    width: min(1120px, calc(100% - 24px));
  }

  .hero-inner {
    padding: 42px 20px 28px;
  }

  .section,
  .callout {
    padding: 22px;
    border-radius: 24px;
  }

  .embed-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
