@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/outfit-latin-variable.woff2') format('woff2');
}

:root {
  --bg: #050a18;
  --surface: rgba(15, 23, 42, 0.86);
  --surface-alt: rgba(19, 32, 60, 0.72);
  --border: rgba(56, 189, 248, 0.24);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-warm: #fde68a;
  --emerald: #34d399;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(ellipse at 50% 0%, #0f1f47 0%, #070d1e 50%, #040711 100%);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: #7dd3fc;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #bae6fd;
  text-decoration: underline;
}

.sg-shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 18px 56px;
}

.sg-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 24px;
}

.sg-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #f8fafc;
}

.sg-brand:hover {
  text-decoration: none;
  color: #7dd3fc;
}

.sg-brand img {
  border-radius: 8px;
  display: block;
}

.sg-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 0.92rem;
}

.sg-nav a {
  color: #cbd5e1;
  padding: 4px 6px;
  border-radius: 8px;
}

.sg-nav a[aria-current="page"] {
  color: #061326;
  background: linear-gradient(135deg, #38bdf8, #6ee7b7);
  font-weight: 700;
  padding: 4px 10px;
  text-decoration: none;
}

.sg-play-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border: 1px solid rgba(147, 197, 253, 0.45);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.sg-play-cta:hover {
  color: #ffffff;
  text-decoration: none;
  filter: brightness(1.08);
}

.sg-breadcrumb {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.sg-hero {
  background: linear-gradient(160deg, rgba(20, 39, 82, 0.85), rgba(11, 18, 36, 0.94));
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 18px;
  padding: 26px 24px;
  margin-bottom: 24px;
}

.sg-eyebrow {
  margin: 0 0 6px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 700;
}

.sg-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.2;
  color: #f8fafc;
}

.sg-lead {
  margin: 0 0 16px;
  color: #cbd5e1;
  font-size: 1.03rem;
}

.sg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.sg-secondary-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
  font-size: 0.92rem;
}

.sg-section {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 20px;
}

.sg-section h2 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  color: #bae6fd;
}

.sg-section h3 {
  margin: 14px 0 6px;
  font-size: 1.05rem;
  color: #f8fafc;
}

.sg-section p {
  margin: 0 0 12px;
}

.sg-section p:last-child,
.sg-section ul:last-child,
.sg-section ol:last-child {
  margin-bottom: 0;
}

.sg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.sg-card {
  background: var(--surface-alt);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 15px 16px;
}

.sg-card h3 {
  margin-top: 0;
}

.sg-stat {
  font-size: 1.35rem;
  font-weight: 800;
  color: #7dd3fc;
  display: block;
  margin-bottom: 4px;
}

.sg-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.sg-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 8px;
}

table.sg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.sg-table th,
.sg-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  vertical-align: top;
}

.sg-table th {
  color: #bae6fd;
  font-weight: 700;
  white-space: nowrap;
}

.sg-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
  background: rgba(14, 116, 144, 0.25);
}

.sg-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.sg-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

@media (max-width: 520px) {
  .sg-shell {
    padding: 14px 12px 40px;
  }
  .sg-hero,
  .sg-section {
    padding: 18px 16px;
  }
}
