:root {
  --font-display: "Clash Display", sans-serif;
  --font-body: "Satoshi", sans-serif;
  --bg: #060912;
  --bg-soft: #0a1020;
  --text: #f4f7fb;
  --muted: #a8b2c6;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ff6b57;
  --accent-deep: #ff4d4d;
  --cyan: #00e5cc;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 77, 77, 0.14), transparent 24%),
    radial-gradient(circle at 80% 24%, rgba(0, 229, 204, 0.1), transparent 22%),
    radial-gradient(circle at 50% 90%, rgba(255, 107, 87, 0.08), transparent 28%),
    linear-gradient(180deg, #04070f 0%, var(--bg) 40%, var(--bg-soft) 100%);
  color: var(--text);
  font-family: var(--font-body), sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(2px 2px at 200px 60px, rgba(0, 229, 204, 0.45), transparent),
    radial-gradient(2px 2px at 300px 80px, rgba(255, 107, 87, 0.45), transparent);
  background-size: 340px 200px;
  opacity: 0.6;
  z-index: 0;
}

.top-actions,
.hero-panel,
.preview-section,
.quick-start-section,
.site-footer {
  position: relative;
  z-index: 1;
}

.top-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  font-weight: 600;
}

.github-link:hover,
.footer-profile-link:hover {
  transform: translateY(-1px);
}

.github-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero-panel {
  margin-top: 18px;
  padding: 72px 40px 64px;
  text-align: center;
}

.hero-logo,
.hero-summary,
.preview-section,
.site-footer p {
  display: none;
}

.hero-link {
  display: inline-block;
  text-align: center;
}

.hero-link:hover {
  transform: translateY(-1px);
}

.hero-panel h1 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  letter-spacing: -0.05em;
}

.hero-panel h1 {
  margin-top: 0;
  font-size: clamp(4.6rem, 16vw, 7.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 52%, var(--cyan) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

.hero-slogan {
  margin: 18px 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-description {
  max-width: 48rem;
  margin: 26px auto 0;
  color: var(--muted);
}

.hero-description p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.8;
}

.hero-description p + p {
  margin-top: 10px;
}

.hero-summary,
.site-footer span {
  color: var(--muted);
  line-height: 1.7;
}

.hero-summary {
  max-width: 42rem;
  margin: 18px auto 0;
  font-size: 1.08rem;
}

.preview-section {
  margin-top: 18px;
}

.quick-start-section {
  margin-top: 24px;
  padding: 0 18px 0;
}

.quick-start-kicker {
  margin: 0 auto 18px;
  text-align: center;
  color: var(--accent);
  font-family: var(--font-display), sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-start-shell {
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(148, 168, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.96) 0%, rgba(13, 18, 31, 0.98) 100%);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.quick-start-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.window-dots {
  display: inline-flex;
  gap: 8px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.window-dots span:nth-child(1) {
  background: #ff5f56;
}

.window-dots span:nth-child(2) {
  background: #ffbd2e;
}

.window-dots span:nth-child(3) {
  background: #27c93f;
}

.quick-start-tabs {
  display: inline-flex;
  gap: 5px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(4, 7, 15, 0.76);
}

.quick-start-tab,
.platform-pill,
.copy-button {
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
}

.quick-start-tab {
  min-width: 108px;
  padding: 10px 16px;
  background: transparent;
  color: rgba(232, 239, 255, 0.6);
  cursor: pointer;
  font-family: var(--font-display), sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.quick-start-tab.is-active {
  background: linear-gradient(135deg, var(--cyan), #2de2d0);
  color: #04111c;
  box-shadow: 0 10px 28px rgba(0, 229, 204, 0.24);
}

.platform-pill {
  margin-left: auto;
  padding: 10px 16px;
  background: rgba(255, 107, 87, 0.12);
  border-color: rgba(255, 107, 87, 0.34);
  color: #ff8c73;
  font-family: var(--font-display), sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.quick-start-panel {
  padding: 22px 24px 24px;
}

.quick-start-meta {
  color: rgba(168, 178, 198, 0.68);
  font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.65;
}

.command-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(116, 132, 174, 0.18);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.88);
}

.command-row code {
  flex: 1 1 auto;
  overflow-x: auto;
  white-space: nowrap;
  color: #eef4ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  line-height: 1.6;
}

.copy-button {
  flex: 0 0 auto;
  min-width: 80px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.copy-button:hover,
.quick-start-tab:hover {
  transform: translateY(-1px);
}

.quick-start-hint {
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.preview-image-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  background: rgba(255, 255, 255, 0.02);
}

.preview-image {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 0;
  text-align: center;
  transform: none;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}

.footer-profile-link {
  color: var(--text);
  opacity: 0.8;
}

.footer-profile-link:hover {
  opacity: 1;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 10px;
  }

  .hero-panel {
    padding: 46px 20px 42px;
  }

  .quick-start-section {
    margin-top: 12px;
    padding: 0 0 0;
  }

  .quick-start-kicker {
    margin-bottom: 12px;
    text-align: left;
    font-size: 1.08rem;
  }

  .quick-start-toolbar,
  .command-row {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-start-toolbar {
    padding: 18px;
  }

  .quick-start-tabs {
    width: 100%;
  }

  .quick-start-tab {
    flex: 1 1 0;
    min-width: 0;
  }

  .platform-pill {
    margin-left: 0;
    text-align: center;
  }

  .quick-start-panel {
    padding: 22px 18px 24px;
  }

  .command-row {
    padding: 18px;
  }

  .copy-button {
    width: 100%;
  }

  .site-footer {
    margin-top: 24px;
    max-width: 100%;
  }

  .footer-meta {
    flex-direction: column;
  }

  .hero-panel h1 {
    font-size: clamp(3.2rem, 20vw, 5.4rem);
  }

  .hero-description {
    margin-top: 22px;
    max-width: 32rem;
  }

  .hero-description p {
    font-size: 0.96rem;
    line-height: 1.7;
  }
}
