:root {
  --ink: #173142;
  --body: #405464;
  --muted: #687986;
  --line: #d8e7ee;
  --surface: #ffffff;
  --page: #f9fdff;
  --green: #2f8f46;
  --sky: #0a88c2;
  --cyan: #26c6f5;
  --neon: #62df77;
  --gold: #e28a18;
  --shadow: 0 14px 34px rgba(52, 118, 145, 0.12);
  color: var(--body);
  background:
    radial-gradient(circle at 10% 7%, rgba(255, 221, 95, 0.2), transparent 25%),
    linear-gradient(180deg, #f3fbff 0%, #f9fdff 44%, #ffffff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(111, 190, 226, 0.24);
  background:
    linear-gradient(90deg, rgba(38, 198, 245, 0.1), transparent 32%, rgba(98, 223, 119, 0.08)),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(28, 126, 170, 0.1);
  backdrop-filter: blur(14px);
}

.site-header::before {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(38, 198, 245, 0.86), rgba(98, 223, 119, 0.72), transparent);
}

.site-header::after {
  position: absolute;
  right: 11%;
  bottom: 0;
  width: 190px;
  height: 44px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(105deg, transparent 0 42%, rgba(38, 198, 245, 0.36) 42.5% 44%, transparent 44.5%),
    radial-gradient(circle at 70% 100%, rgba(98, 223, 119, 0.38), transparent 28%);
  opacity: 0.76;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 0;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  filter: drop-shadow(0 8px 14px rgba(13, 111, 165, 0.12));
}

.brand img {
  width: clamp(120px, 13vw, 150px);
  height: auto;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(14px, 1.8vw, 26px);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a,
.filter-row a,
.button,
.text-link {
  border-radius: 8px;
  font-weight: 900;
}

.site-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 18px 2px 15px;
  color: rgba(18, 51, 95, 0.72);
  font-size: 14px;
  line-height: 1.1;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-nav a::before {
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  content: "";
  background: var(--neon);
  box-shadow: 0 0 0 rgba(98, 223, 119, 0);
  opacity: 0;
  transform: translateX(-50%) scale(0.6);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--neon));
  box-shadow: 0 0 12px rgba(38, 198, 245, 0.46);
  opacity: 0;
  transform: scaleX(0.24);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: #12335f;
  transform: translateY(-1px);
}

.site-nav a.active::before,
.site-nav a:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  box-shadow: 0 0 12px rgba(98, 223, 119, 0.82);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.filter-row a.active,
.filter-row a:hover {
  color: #fff;
  background: var(--sky);
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 52vw, 600px);
  border: 1px solid rgba(111, 190, 226, 0.24);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 67% 34%, rgba(38, 198, 245, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(249, 253, 255, 0.98) 0%, rgba(249, 253, 255, 0.88) 34%, rgba(249, 253, 255, 0.28) 72%, rgba(249, 253, 255, 0.02) 100%),
    url("/assets/home-future-banner.png") center / cover no-repeat;
  box-shadow:
    0 18px 44px rgba(52, 118, 145, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(38, 198, 245, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 198, 245, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 62%);
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.32) 42.2%, transparent 43%),
    radial-gradient(circle at 86% 22%, rgba(98, 223, 119, 0.28), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 64%, rgba(249, 253, 255, 0.82) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
}

.hero-logo {
  width: clamp(260px, 38vw, 430px);
  margin-bottom: 10px;
  filter: drop-shadow(0 12px 24px rgba(13, 111, 165, 0.16));
}

.hero-kicker {
  width: fit-content;
  border: 1px solid rgba(38, 198, 245, 0.3);
  border-radius: 8px;
  padding: 7px 11px;
  color: #0d6fa5;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78), rgba(228, 250, 255, 0.62)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 18px rgba(38, 198, 245, 0.13);
  font-size: 14px;
  font-weight: 950;
}

.hero-copy h1,
.page-heading h1,
.detail-head h1,
.aircraft-detail h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  font-weight: 950;
}

.hero-copy p,
.page-heading p,
.detail-head p,
.lead {
  max-width: 760px;
  margin-top: 12px;
  color: var(--body);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

.actions,
.section-head,
.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 0 18px;
  color: #0c6f98;
  background: #fff;
}

.button.primary {
  border-color: rgba(38, 198, 245, 0.84);
  color: #fff;
  background: linear-gradient(135deg, #087db9, #18b8e8 58%, #39bd68);
  box-shadow: 0 12px 24px rgba(10, 136, 194, 0.24), 0 0 18px rgba(38, 198, 245, 0.28);
}

.button.primary::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.34) 40%, transparent 42%);
  transform: translateX(-120%);
  transition: transform 220ms ease;
}

.button.primary:hover::after {
  transform: translateX(120%);
}

.text-link {
  color: #0c6f98;
}

.quick-grid,
.card-grid,
.aircraft-grid,
.aircraft-article-grid,
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero + .quick-grid {
  margin-top: 18px;
}

.quick-card,
.panel,
.member-card,
.game-card,
.step-card,
.notice-panel,
.account-panel,
.asset-row,
.activity-item,
.aircraft-card,
.aircraft-article-card,
.stat-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(52, 118, 145, 0.07);
}

.quick-card {
  position: relative;
  overflow: hidden;
}

.quick-card::before {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 13px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--neon));
  box-shadow: 0 0 12px rgba(38, 198, 245, 0.28);
}

.quick-card,
.panel,
.game-card,
.step-card,
.notice-panel,
.account-panel,
.stat-grid article {
  padding: 22px;
}

.quick-card strong,
.quick-card span {
  display: block;
}

.quick-card strong,
.panel h2,
.member-card h2,
.game-card h2,
.step-card h2,
.asset-row h2,
.activity-item h2,
.maker-section h2 {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.quick-card span,
.panel p,
.member-card p,
.game-card p,
.step-card p,
.asset-row p,
.activity-item p,
.account-panel p {
  margin-top: 8px;
  color: var(--body);
  line-height: 1.6;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  margin-top: 18px;
}

.accent,
.notice-panel {
  background: linear-gradient(160deg, #fff9d7, #ffffff 54%, #e8f7ff);
}

.page-heading {
  margin-bottom: 26px;
}

.heading-with-actions,
.detail-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.heading-with-actions > div {
  min-width: 0;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(52, 118, 145, 0.07);
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 7px;
  padding: 0 12px;
  color: #0c6f98;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.language-switch a.active,
.language-switch a:hover {
  color: #fff;
  background: var(--sky);
}

.member-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #0c6f98;
  background: #d8f5ff;
  font-weight: 950;
}

.status,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  padding: 0 9px;
  color: #116d53;
  background: #dff8ec;
  font-size: 13px;
  font-weight: 850;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-row a {
  border: 1px solid var(--line);
  padding: 8px 14px;
  background: #fff;
}

.list-panel,
.activity-list,
.maker-sections {
  display: grid;
  gap: 14px;
}

.asset-row,
.activity-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(220px, 0.65fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
}

.activity-item {
  grid-template-columns: 120px minmax(0, 1fr);
}

.activity-item time,
.detail-head time {
  color: var(--sky);
  font-weight: 900;
}

.activity-item h2 a:hover {
  color: var(--sky);
}

.detail-page {
  display: grid;
  gap: 22px;
}

.detail-head,
.article-body,
.aircraft-detail {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
}

.article-body {
  color: var(--body);
  font-size: 18px;
  line-height: 1.8;
}

.article-body h2 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p + p {
  margin-top: 14px;
}

.article-body.lang-zh p {
  text-indent: 2em;
}

.article-body.lang-en p {
  line-height: 1.75;
}

.article-fact-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 18px;
  padding: 0;
  list-style: none;
}

.article-fact-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
}

.article-fact-list li::before {
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: var(--gold);
  content: "";
}

.article-hero-image {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2fbff;
  box-shadow: 0 10px 22px rgba(52, 118, 145, 0.07);
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.maker-section {
  display: grid;
  gap: 16px;
}

.aircraft-card {
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 0 0 16px;
}

.aircraft-article-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.aircraft-article-card:hover {
  transform: translateY(-2px);
  border-color: #9eddf5;
}

.article-card-copy {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.article-card-copy strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.article-card-copy small,
.article-card-copy > span:last-child,
.article-meta {
  color: var(--muted);
}

.article-card-copy small,
.article-meta {
  font-weight: 900;
}

.article-card-copy > span:last-child {
  line-height: 1.6;
}

.article-meta {
  color: var(--sky);
  font-size: 13px;
}

.aircraft-card small,
.aircraft-card span {
  color: var(--muted);
}

.aircraft-card strong,
.aircraft-card small,
.aircraft-card > span:not(.aircraft-thumb) {
  padding: 0 16px;
}

.aircraft-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: #f2fbff;
}

.aircraft-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aircraft-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 26px;
}

.aircraft-detail img {
  width: 100%;
  border-radius: 8px;
  background: #f2fbff;
}

.kid-idea {
  margin-top: 14px;
  border-left: 4px solid var(--gold);
  padding-left: 14px;
  color: #7a4d0b;
  font-weight: 850;
}

.stat-grid article {
  display: grid;
  gap: 6px;
}

.stat-grid strong {
  color: var(--ink);
  font-size: 18px;
}

.stat-grid span {
  color: var(--muted);
}

.step-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--sky);
  font-weight: 950;
}

.account-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.empty {
  border: 1px solid rgba(226, 138, 24, 0.24);
  border-radius: 8px;
  padding: 20px;
  color: #7a4d0b;
  background: #fff8df;
  font-weight: 850;
}

@media (max-width: 860px) {
  .hero,
  .two-column,
  .aircraft-detail,
  .heading-with-actions,
  .detail-toolbar,
  .account-panel {
    grid-template-columns: 1fr;
  }

  .heading-with-actions,
  .detail-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .language-switch {
    width: fit-content;
  }

  .header-inner {
    gap: 12px;
    width: min(100% - 20px, 1180px);
  }

  .brand img {
    width: 112px;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 0;
    padding: 24px;
    background:
      linear-gradient(180deg, rgba(249, 253, 255, 0.96) 0%, rgba(249, 253, 255, 0.72) 58%, rgba(249, 253, 255, 0.36) 100%),
      url("/assets/home-future-banner.png") 62% center / cover no-repeat;
  }

  .hero-logo {
    width: min(270px, 88vw);
  }

  .quick-grid,
  .card-grid,
  .aircraft-grid,
  .aircraft-article-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .asset-row,
  .activity-item {
    grid-template-columns: 1fr;
  }
}
