:root {
  --bg: #060b1b;
  --panel: rgba(12, 23, 52, 0.78);
  --panel-strong: #101c3f;
  --text: #f7fbff;
  --muted: #aebde0;
  --cyan: #39d5ff;
  --blue: #3b82f6;
  --gold: #ffd166;
  --pink: #ff6fb1;
  --line: rgba(126, 204, 255, 0.2);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(57, 213, 255, 0.22), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255, 111, 177, 0.16), transparent 24%),
    linear-gradient(180deg, #050814 0%, #09132c 48%, #050814 100%);
}

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

button {
  font: inherit;
}

.hero,
.section,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 22px 0 28px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 16, 38, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: #09132c;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 20, 0.94) 0%, rgba(4, 8, 20, 0.72) 38%, rgba(4, 8, 20, 0.18) 100%),
    linear-gradient(180deg, rgba(4, 8, 20, 0.1) 0%, rgba(4, 8, 20, 0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 70px 52px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-tags span,
.memory-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(57, 213, 255, 0.24);
  border-radius: 999px;
  color: #dff8ff;
  background: rgba(57, 213, 255, 0.1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(57, 213, 255, 0.18);
}

.btn.primary {
  color: #06101f;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  font-weight: 800;
}

.btn.ghost,
.btn.secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 48px 0;
}

.intro-grid,
.profile-section,
.gallery-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 24px;
}

.message-card,
.feature-card,
.profile-card,
.mascot-card,
.gallery-item,
.terminal-card,
.surprise-copy {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.message-card {
  padding: 30px;
}

.message-card p,
.feature-card p,
.mascot-card p,
.surprise-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.9;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 24px;
}

.card-index {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--cyan);
  font-weight: 900;
  font-size: 0.9rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.profile-card {
  min-height: 170px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease;
}

.profile-card:hover {
  transform: translateY(-2px);
  border-color: rgba(57, 213, 255, 0.55);
}

.platform {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-card strong {
  font-size: 1.35rem;
  word-break: break-word;
}

.profile-card small {
  color: var(--muted);
}

.mascot-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.mascot-card img {
  width: 100%;
  border-radius: 22px;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
}

.surprise-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.terminal-card {
  overflow: hidden;
  background: #050a17;
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pink);
}

.terminal-top span:nth-child(2) {
  background: var(--gold);
}

.terminal-top span:nth-child(3) {
  background: var(--cyan);
}

pre {
  margin: 0;
  min-height: 270px;
  padding: 24px;
  white-space: pre-wrap;
  color: #9bf7c7;
  font-size: 1rem;
  line-height: 1.7;
}

.surprise-copy {
  padding: 28px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0 54px;
}

.signature {
  color: var(--text) !important;
  font-weight: 800;
}

@media (max-width: 980px) {
  .intro-grid,
  .profile-section,
  .gallery-section,
  .mascot-card,
  .surprise-section,
  .card-row {
    grid-template-columns: 1fr;
  }

  .section-copy {
    position: static;
  }

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

  .hero-panel {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .footer {
    width: min(1180px, calc(100% - 20px));
  }

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

  .hero-content {
    padding: 44px 24px;
  }

  .hero-panel {
    min-height: 720px;
  }

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