body {
  font-family: "Chakra Petch", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #000000;
  background-image: url("background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  image-rendering: pixelated;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -50px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at top, rgba(15, 23, 42, 0.7), transparent 65%),
    radial-gradient(circle at bottom, rgba(15, 23, 42, 0.8), transparent 70%);
  mix-blend-mode: multiply;
}

.app {
  margin: 2rem 1rem;
  max-width: 900px;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(10, 18, 38, 0.96), rgba(2, 6, 23, 0.98)),
    #020617;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  border: 1px solid #1f2937;
  position: relative;
  z-index: 1;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.logo {
  max-width: 240px;
  width: 100%;
  height: auto;
  display: block;
}

.home-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.home-btn:hover {
  background: #111827;
  transform: translateY(-1px);
  border-color: rgba(192, 132, 252, 0.8);
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.24);
}

.home-btn:focus-visible {
  outline: none;
  border-color: rgba(192, 132, 252, 0.8);
  box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.7), 0 0 24px rgba(168, 85, 247, 0.3);
}

.home-btn[aria-current="page"] {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: rgba(129, 140, 248, 0.9);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.2);
}

.top-link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.top-link:hover {
  background: #111827;
  transform: translateY(-1px);
  border-color: rgba(192, 132, 252, 0.8);
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.24);
}

.top-link:focus-visible {
  outline: none;
  border-color: rgba(192, 132, 252, 0.8);
  box-shadow: 0 0 0 1px rgba(192, 132, 252, 0.7), 0 0 24px rgba(168, 85, 247, 0.3);
}

.top-link[aria-current="page"] {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: rgba(129, 140, 248, 0.9);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(168, 85, 247, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  margin: 0.75rem 0 1.35rem;
  padding: 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.2), transparent 30%),
    radial-gradient(circle at bottom left, rgba(244, 114, 182, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.72));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 68%);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.6);
  color: #bfdbfe;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  color: #f8fafc;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 42rem;
  margin: 0.95rem 0 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.65;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.1rem 0 0;
}

.hero-pill {
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.38);
  color: #cbd5e1;
  font-size: 0.84rem;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid #1f2937;
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.18), transparent 55%),
    #020617;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff !important;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #d1d5db !important;
}

.section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff !important;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
}

.section-block {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(31, 41, 55, 0.8);
}

@media (max-width: 600px) {
  .app {
    margin: 1rem 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
  }

  .header-row {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.6rem;
  }

  .logo {
    max-width: 190px;
  }

  .header-actions {
    width: 100%;
    justify-content: stretch;
    gap: 0.5rem;
  }

  .top-link,
  .home-btn {
    flex: 1 1 0;
    text-align: center;
  }

  .hero {
    margin: 0.4rem 0 1rem;
    padding: 1.1rem;
    border-radius: 1rem;
  }

  .hero::after {
    width: 120px;
    height: 120px;
  }

  .hero-copy {
    font-size: 0.94rem;
  }

  .hero-pill {
    width: 100%;
    box-sizing: border-box;
  }

  .card {
    padding: 1rem 1rem 1.05rem;
  }

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