:root {
  --navy: #071126;
  --navy-2: #0d1d3b;
  --panel: #12284d;
  --blue: #1b78d0;
  --cyan: #55d8ff;
  --yellow: #ffc429;
  --orange: #f28b23;
  --cream: #fff8e7;
  --paper: #f5f7fb;
  --white: #fff;
  --ink: #16213a;
  --muted: #68738a;
  --line: #dce3ee;
  --green: #37c878;
  --shadow: 0 24px 60px rgba(4, 15, 37, .18);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a, button { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 9px 14px; color: #fff; background: #000; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; }
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; width: 132px; }
.brand img { width: 100%; height: 58px; object-fit: contain; object-position: left center; }
.preview-badge { flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(255,255,255,.23); border-radius: 999px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.hero { position: relative; overflow: hidden; padding: 106px 0 56px; color: #fff; background: radial-gradient(circle at 75% 20%, rgba(36,136,218,.42), transparent 32%), linear-gradient(155deg, #071127, #0b1b39 56%, #102f56); }
.sky-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(98,216,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(98,216,255,.35) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(#000 45%, transparent 95%); }
.hero-layout { position: relative; z-index: 2; display: grid; gap: 42px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.eyebrow span { padding: 4px 8px; border-radius: 5px; color: var(--navy); background: var(--yellow); letter-spacing: .06em; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(44px, 13vw, 70px); line-height: 1.02; letter-spacing: -.055em; text-shadow: 0 5px 0 rgba(0,0,0,.17); }
.hero-lead { margin: 17px 0 9px; color: var(--cream); font-size: 21px; font-weight: 900; line-height: 1.4; }
.hero-description { max-width: 560px; margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }
.hero-tags, .guild-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; }
.hero-tags li { padding: 6px 11px; border: 1px solid rgba(85,216,255,.25); border-radius: 7px; color: #d8f6ff; background: rgba(85,216,255,.08); font-size: 11px; font-weight: 800; }

.game-console { position: relative; min-width: 0; overflow: hidden; padding: 10px; border: 1px solid rgba(85,216,255,.27); border-radius: 25px; background: linear-gradient(160deg, rgba(42,91,151,.65), rgba(7,18,42,.9)); box-shadow: 0 35px 80px rgba(0,0,0,.36), inset 0 0 30px rgba(78,200,255,.08); }
.console-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 61px; padding: 8px 10px; border-bottom: 1px solid rgba(85,216,255,.18); }
.hud-item { display: flex; min-width: 0; flex-direction: column; line-height: 1.15; }
.hud-item small { color: rgba(255,255,255,.48); font-size: 7px; font-weight: 900; letter-spacing: .14em; }
.hud-item strong { margin-top: 4px; color: var(--yellow); font-size: 14px; }
.align-right { align-items: flex-end; }
.hud-center { display: flex; align-items: center; gap: 7px; color: #d8f6ff; font-size: 8px; font-weight: 900; letter-spacing: .1em; white-space: nowrap; }
.hud-center i { width: 12px; height: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.tower-zone { position: relative; overflow: hidden; height: 355px; background: radial-gradient(circle at 50% 27%, rgba(89,213,255,.27), transparent 32%), linear-gradient(#1b5284, #5795b9 58%, #f0b45f 100%); }
.tower-zone::before { content: ""; position: absolute; inset: 0; opacity: .1; background: repeating-linear-gradient(0deg, transparent 0 23px, #fff 24px); }
.cloud { position: absolute; width: 72px; height: 17px; border-radius: 20px; background: rgba(255,255,255,.2); }
.cloud::before, .cloud::after { content: ""; position: absolute; bottom: 0; border-radius: 50%; background: inherit; }
.cloud::before { left: 12px; width: 29px; height: 29px; }
.cloud::after { right: 10px; width: 23px; height: 23px; }
.cloud-one { top: 55px; left: 8%; }
.cloud-two { top: 95px; right: 7%; transform: scale(.72); }
.speed-line { position: absolute; width: 2px; background: linear-gradient(transparent, rgba(255,255,255,.65), transparent); }
.speed-one { top: 80px; right: 21%; height: 83px; }
.speed-two { top: 120px; left: 18%; height: 58px; }
.crane-line { position: absolute; z-index: 4; top: 0; left: 50%; width: 2px; height: 45px; background: #253245; box-shadow: 1px 0 rgba(255,255,255,.2); }
.moving-block { position: absolute; z-index: 5; top: 43px; left: 50%; width: 126px; height: 40px; border: 3px solid #71342b; border-radius: 5px; background: linear-gradient(#f07145, #b94335); box-shadow: 0 10px 14px rgba(0,0,0,.2), inset 0 5px rgba(255,255,255,.15); transform: translateX(-50%); animation: blockRush 2.8s ease-in-out infinite alternate; }
.moving-block::before { content: ""; position: absolute; top: -12px; left: calc(50% - 8px); width: 13px; height: 13px; border: 3px solid #263342; border-radius: 50%; }
.moving-block i, .moving-block b, .floor i { position: absolute; width: 17px; height: 21px; border: 2px solid rgba(14,39,62,.75); background: #8fd4e3; box-shadow: inset 0 0 0 2px rgba(255,255,255,.22); }
.moving-block i { left: 23px; bottom: 5px; }
.moving-block b { right: 23px; bottom: 5px; }
.tower { position: absolute; z-index: 3; bottom: 25px; left: 50%; width: 184px; height: 245px; transform: translateX(-50%); }
.floor { position: absolute; left: 50%; height: 31px; border: 2px solid rgba(74,42,35,.78); border-radius: 4px 4px 2px 2px; background: linear-gradient(90deg, #cf5b45, #ef815a 50%, #b9483d); box-shadow: inset 0 5px rgba(255,255,255,.12), 0 4px 7px rgba(15,30,44,.22); transform: translateX(-50%); }
.floor::before { content: ""; position: absolute; left: -5px; right: -5px; bottom: -4px; height: 5px; border-radius: 3px; background: #6f3d32; }
.floor i { top: 4px; width: 13px; height: 17px; }
.floor i:first-child { left: 24%; }
.floor i:last-child { right: 24%; }
.floor-1 { bottom: 0; width: 184px; }
.floor-2 { bottom: 30px; width: 177px; margin-left: -2px; background-color: #e5764f; }
.floor-3 { bottom: 60px; width: 166px; margin-left: 3px; }
.floor-4 { bottom: 90px; width: 158px; margin-left: -3px; }
.floor-5 { bottom: 120px; width: 148px; margin-left: 4px; }
.floor-6 { bottom: 150px; width: 141px; margin-left: -2px; }
.floor-7 { bottom: 180px; width: 134px; margin-left: 3px; }
.floor-8 { bottom: 210px; width: 128px; }
.city-silhouette { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: flex-end; justify-content: space-between; opacity: .3; }
.city-silhouette i { width: 17%; height: 62px; background: #17324b; }
.city-silhouette i:nth-child(2) { height: 89px; }
.city-silhouette i:nth-child(3) { height: 48px; }
.city-silhouette i:nth-child(4) { height: 110px; }
.city-silhouette i:nth-child(5) { height: 74px; }
.console-bottom { padding: 14px 12px 12px; background: rgba(4,13,31,.75); }
.progress-copy { display: flex; justify-content: space-between; margin-bottom: 7px; color: rgba(255,255,255,.65); font-size: 9px; font-weight: 800; }
.progress-copy strong { color: var(--yellow); }
.progress-track { overflow: hidden; height: 8px; border-radius: 8px; background: rgba(255,255,255,.1); }
.progress-track i { display: block; width: 67%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--yellow), var(--orange)); box-shadow: 0 0 12px rgba(255,196,41,.48); }
.build-control { display: block; margin-top: 11px; padding: 8px; border: 1px solid rgba(255,196,41,.42); border-radius: 8px; color: var(--yellow); background: rgba(255,196,41,.08); font-size: 11px; font-weight: 900; text-align: center; }
.play-guide { position: relative; z-index: 3; display: grid; gap: 1px; margin-top: 40px; overflow: hidden; border: 1px solid rgba(85,216,255,.14); border-radius: 18px; background: rgba(85,216,255,.14); }
.play-guide article { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: rgba(6,19,42,.84); }
.play-guide article > span { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 9px; color: var(--navy); background: var(--yellow); font-size: 11px; font-weight: 900; }
.play-guide h2 { margin: 0; font-size: 14px; }
.play-guide p { margin: 1px 0 0; color: rgba(255,255,255,.55); font-size: 11px; }

.section { padding: 72px 0; }
.section-heading { max-width: 720px; margin: 0 0 34px; }
.section-index { margin: 0 0 10px; color: #1683c5; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.section-index.light { color: var(--cyan); }
.section-heading h2, .onboarding-copy h2, .guild-heading h2 { margin: 0; font-size: clamp(31px, 8.5vw, 48px); line-height: 1.18; letter-spacing: -.045em; }
.section-heading > p:last-child, .onboarding-copy > p, .guild-heading > p { margin: 15px 0 0; color: var(--muted); }
.platform { background: #fff; }
.platform-grid { display: grid; gap: 12px; }
.platform-card { position: relative; min-width: 0; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #fff, #f8faff); }
.platform-card::after { content: ""; position: absolute; top: -34px; right: -34px; width: 86px; height: 86px; border: 15px solid #1683c5; border-radius: 50%; opacity: .045; }
.platform-card h3 { margin: 15px 0 4px; font-size: 17px; }
.platform-card p { margin: 0; color: var(--muted); font-size: 13px; }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: #fff; background: #1683c5; font-size: 9px; font-weight: 900; }
.line-icon { background: var(--green); }
.shield-icon i { width: 24px; height: 28px; background: #fff; clip-path: polygon(50% 0, 94% 18%, 86% 70%, 50% 100%, 14% 70%, 6% 18%); }
.phone-icon i { width: 19px; height: 29px; border: 3px solid #fff; border-radius: 6px; }
.mission-icon { color: var(--navy); background: var(--yellow); font-size: 23px; }
.compliance-note { margin: 22px 0 0; padding: 15px 17px; border-left: 4px solid #1683c5; border-radius: 0 12px 12px 0; color: var(--muted); background: #eef7fc; font-size: 12px; }
.compliance-note strong { color: var(--ink); }

.onboarding { background: #edf1f7; }
.onboarding-layout { display: grid; gap: 42px; }
.mission-progress { display: grid; gap: 9px; margin-top: 29px; }
.mission-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid #d7dfeb; border-radius: 14px; background: rgba(255,255,255,.68); }
.mission-row > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; color: #1683c5; background: #e4f4fc; font-size: 10px; font-weight: 900; }
.mission-row div { display: flex; min-width: 0; flex-direction: column; }
.mission-row strong { font-size: 13px; }
.mission-row small { color: var(--muted); font-size: 10px; }
.mission-row b { color: #9aa4b5; font-size: 8px; letter-spacing: .1em; }
.mission-row.complete b { color: #179a59; }
.cta-panel { display: grid; gap: 14px; }
.cta-card { position: relative; overflow: hidden; padding: 25px; border-radius: 24px; box-shadow: 0 16px 40px rgba(10,27,58,.1); }
.cta-card::after { content: ""; position: absolute; top: -48px; right: -45px; width: 135px; height: 135px; border: 21px solid currentColor; border-radius: 50%; opacity: .05; }
.primary-card { color: #fff; background: linear-gradient(145deg, #0a1935, #123f70); }
.secondary-card { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.card-level { color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.secondary-card .card-level { color: #1683c5; }
.cta-card h3 { margin: 7px 0 3px; font-size: 24px; }
.cta-card p { margin: 0 0 20px; color: rgba(255,255,255,.65); font-size: 13px; }
.secondary-card p { color: var(--muted); }
.cta { position: relative; z-index: 2; display: inline-flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; padding: 12px 20px; border: 0; border-radius: 12px; font-size: 14px; font-weight: 900; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
.cta:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.cta-primary { color: #17223a; background: linear-gradient(135deg, #ffd344, #f1a71f); box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.cta-secondary { color: #fff; background: linear-gradient(135deg, #1478be, #11518e); }
.external-note { margin: 0 4px; color: #778196; font-size: 10px; }

.guild { color: #fff; background: #071126; }
.guild-shell { display: grid; gap: 40px; }
.guild-heading > p { color: rgba(255,255,255,.63); }
.guild-tags li { padding: 6px 10px; border: 1px solid rgba(85,216,255,.17); border-radius: 7px; color: #dff8ff; background: rgba(85,216,255,.07); font-size: 11px; }
.guild-action { display: flex; flex-direction: column; gap: 8px; margin-top: 25px; }
.guild-action > span { color: rgba(255,255,255,.43); font-size: 10px; text-align: center; }
.cta-disabled { color: rgba(255,255,255,.46); background: rgba(255,255,255,.1); cursor: not-allowed; }
.cta-disabled:hover { transform: none; filter: none; }
.guild-visual { position: relative; min-width: 0; min-height: 450px; padding-top: 24px; }
.guild-visual::before { content: ""; position: absolute; inset: 8% 5% 6%; border: 1px solid rgba(85,216,255,.2); border-radius: 50%; background: radial-gradient(circle, rgba(40,136,203,.22), transparent 65%); }
.member-card { position: absolute; overflow: hidden; border: 1px solid rgba(85,216,255,.25); border-radius: 21px; background: linear-gradient(155deg, rgba(37,82,129,.84), rgba(8,22,48,.95)); box-shadow: 0 24px 45px rgba(0,0,0,.3); }
.member-card > span { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 8px; border-radius: 5px; color: var(--navy); background: var(--yellow); font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.member-card img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.member-anan { top: 0; left: 0; width: 56%; height: 310px; transform: rotate(-3deg); }
.member-qiao { right: 0; bottom: 0; width: 62%; height: 345px; transform: rotate(3deg); }
.guild-level { position: absolute; z-index: 5; top: 47%; left: 47%; display: flex; flex-direction: column; padding: 9px 13px; border: 1px solid rgba(255,196,41,.46); border-radius: 9px; color: var(--yellow); background: rgba(5,15,34,.92); box-shadow: 0 12px 25px rgba(0,0,0,.3); transform: translate(-50%, -50%); }
.guild-level small { color: rgba(255,255,255,.45); font-size: 6px; font-weight: 900; letter-spacing: .13em; }
.guild-level strong { font-size: 12px; letter-spacing: .06em; }

.site-footer { padding: 28px 0; border-top: 1px solid #1c2b47; color: rgba(255,255,255,.55); background: #050c1b; }
.footer-inner { display: flex; align-items: flex-start; flex-direction: column; gap: 16px; }
.footer-inner img { width: 120px; height: 54px; object-fit: contain; object-position: left center; }
.footer-inner p { margin: 0; font-size: 10px; }

@keyframes blockRush {
  from { transform: translateX(-78%); }
  to { transform: translateX(-22%); }
}

@media (min-width: 560px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .play-guide { grid-template-columns: repeat(3, 1fr); }
  .guild-visual { min-height: 560px; }
  .member-anan { height: 410px; }
  .member-qiao { height: 455px; }
}

@media (min-width: 760px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .brand { width: 158px; }
  .hero { padding: 130px 0 78px; }
  .hero-layout { grid-template-columns: minmax(0, .9fr) minmax(410px, 1.1fr); align-items: center; gap: clamp(45px, 7vw, 92px); }
  h1 { font-size: clamp(58px, 6vw, 84px); }
  .hero-lead { font-size: 28px; }
  .hero-description { font-size: 15px; }
  .game-console { max-width: 555px; margin-left: auto; padding: 13px; border-radius: 31px; transform: perspective(1100px) rotateY(-3deg) rotateX(1deg); }
  .tower-zone { height: 445px; }
  .tower { bottom: 29px; transform: translateX(-50%) scale(1.2); transform-origin: bottom center; }
  .moving-block { top: 59px; }
  .play-guide { margin-top: 60px; }
  .play-guide article { padding: 19px 21px; }
  .section { padding: 100px 0; }
  .platform-grid { gap: 16px; }
  .platform-card { padding: 27px; }
  .onboarding-layout { grid-template-columns: minmax(0, .92fr) minmax(410px, 1.08fr); align-items: center; gap: clamp(52px, 8vw, 108px); }
  .cta-card { padding: 29px; }
  .guild-shell { grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr); align-items: center; gap: clamp(48px, 7vw, 95px); }
  .guild-visual { min-height: 580px; }
  .member-anan { width: 57%; height: 420px; }
  .member-qiao { width: 64%; height: 470px; }
  .guild-action { align-items: center; flex-direction: row; gap: 14px; }
  .guild-action .cta { width: auto; min-width: 155px; }
  .guild-action > span { text-align: left; }
  .footer-inner { align-items: center; justify-content: space-between; flex-direction: row; }
}

@media (min-width: 1050px) {
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 389px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .brand { width: 112px; }
  .preview-badge { padding-inline: 8px; font-size: 8px; }
  h1 { font-size: 42px; }
  .hero-lead { font-size: 19px; }
  .tower-zone { height: 330px; }
  .tower { bottom: 20px; transform: translateX(-50%) scale(.9); transform-origin: bottom center; }
  .moving-block { width: 114px; }
  .mission-row { grid-template-columns: 34px minmax(0, 1fr); }
  .mission-row > span { width: 34px; height: 34px; }
  .mission-row b { display: none; }
  .guild-visual { min-height: 410px; }
  .member-anan { height: 275px; }
  .member-qiao { height: 315px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
