: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,
.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 {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-logo svg {
  width: clamp(112px, 18vw, 156px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(255, 91, 87, 0.28));
  transform-origin: 53% 56%;
  animation: claw-sway 3.6s ease-in-out infinite;
}

.claw-shape {
  filter: drop-shadow(0 0 12px rgba(255, 91, 87, 0.18));
}

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

.hero-panel h1 {
  margin-top: 22px;
  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-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;
}

.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 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 4px 0;
}

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

.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%;
  }
}

@keyframes claw-sway {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
  }
  50% {
    transform: translateY(-4px) rotate(6deg);
  }
}

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

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

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

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