:root {
  color-scheme: dark;
  --bg0: #1a1a2e;
  --bg1: #16213e;
  --card: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.15);
  --text: rgba(255, 255, 255, 0.95);
  --muted: rgba(255, 255, 255, 0.7);
  --pink: #ff6b9d;
  --purple: #c56cf0;
  --blue: #54a0ff;
  --green: #5fff80;
  --yellow: #ffd93d;
  --orange: #ff9f43;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", ui-sans-serif, system-ui,
    -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: radial-gradient(
      2px 2px at 20px 30px,
      white,
      transparent
    ),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, white, transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 230px 80px, white, transparent),
    radial-gradient(2px 2px at 300px 150px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 350px 60px, white, transparent),
    radial-gradient(2px 2px at 420px 180px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 500px 90px, white, transparent),
    radial-gradient(2px 2px at 580px 130px, rgba(255, 255, 255, 0.6), transparent);
  background-size: 600px 200px;
  animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

a {
  color: var(--yellow);
}

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 40px 18px;
  position: relative;
  z-index: 1;
}

.card {
  width: 100%;
  max-width: 520px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(30, 30, 60, 0.85);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #1a1a2e;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  box-shadow: 0 4px 15px rgba(255, 217, 61, 0.4);
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  margin: 6px 0 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section {
  margin-top: 24px;
}

h2 {
  margin: 0 0 12px 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}

p {
  margin: 10px 0;
  line-height: 1.5;
}

pre {
  margin: 14px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  overflow: auto;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 15px;
  color: var(--green);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.feature-icon {
  font-size: 22px;
}

.muted {
  color: var(--muted);
}

.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

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

  h1 {
    font-size: 26px;
  }

  .card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: transform 200ms ease, box-shadow 200ms ease;
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  }
}
