:root {
  --bg: #1a0a2e;
  --bg2: #0f1b3d;
  --cyan: #00f0ff;
  --pink: #ff2d95;
  --gold: #ffd700;
  --lime: #39ff14;
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.72);
  --glass: rgba(30, 30, 63, 0.72);
  --sidebar-w: 280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 55%, #12082a 100%);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.atlas {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 22px;
  border-right: 1px solid rgba(0, 240, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(0, 240, 255, 0.08), transparent 40%),
    rgba(10, 8, 28, 0.92);
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: inset -1px 0 0 rgba(255, 45, 149, 0.15);
}

.sidebar__brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.sidebar__icon {
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
}

.sidebar__name {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--pink), var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar__tag {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar__link {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.sidebar__link:hover {
  text-decoration: none;
  border-color: rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.08);
}

.sidebar__link--primary {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(0, 240, 255, 0.12));
  border-color: rgba(255, 215, 0, 0.45);
  color: var(--gold);
}

.sidebar__contact {
  padding: 16px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.sidebar__label {
  margin: 0 0 6px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.sidebar__email {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  word-break: break-all;
}

.sidebar__hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.sidebar__stats {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.sidebar__stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--lime);
}

.sidebar__stats span {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.canvas {
  min-width: 0;
}

.hero {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: end;
}

.hero__skyline {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 10, 46, 0.2), rgba(15, 27, 61, 0.95) 78%);
}

.hero__copy {
  position: relative;
  padding: 48px 40px 36px;
  max-width: 720px;
}

.hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero__lead {
  margin: 14px 0 18px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
}

.hero__badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bg);
  background: linear-gradient(90deg, var(--cyan), var(--lime));
}

.panel {
  padding: 36px 40px 12px;
}

.panel__head h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: var(--cyan);
}

.panel__head p {
  margin: 0 0 20px;
  color: var(--muted);
}

.panel--support {
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.06), transparent);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.support-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-card--main {
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.08);
}

.support-card h3 {
  margin: 0 0 10px;
  color: var(--gold);
}

.support-card p,
.support-card li {
  color: var(--muted);
  font-size: 0.92rem;
}

.support-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: #1a0a2e;
  background: var(--gold);
}

.btn:hover { text-decoration: none; filter: brightness(1.06); }

.district-ribbon {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.district {
  flex: 0 0 120px;
  margin: 0;
  scroll-snap-align: start;
  text-align: center;
}

.district img {
  width: 96px;
  height: 96px;
  margin: 0 auto 8px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.35));
}

.district figcaption {
  font-size: 0.78rem;
  color: var(--muted);
}

.panel--privacy .privacy-body {
  max-width: 68ch;
}

.privacy-body h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
  color: var(--pink);
}

.privacy-body p,
.privacy-body li {
  color: var(--muted);
}

.foot {
  padding: 28px 40px 40px;
  color: rgba(245, 245, 247, 0.45);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .atlas {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(0, 240, 255, 0.22);
  }

  .sidebar__stats {
    margin-top: 0;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero__copy,
  .panel,
  .foot {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 480px) {
  .sidebar__brand { flex-direction: column; text-align: center; }
  .sidebar__nav { flex-direction: row; flex-wrap: wrap; }
}
