:root {
  --ink: #18313b;
  --brown: #352419;
  --dark: #242424;
  --muted: #64757a;
  --paper: #fffaf1;
  --surface: #ffffff;
  --line: rgba(24, 49, 59, 0.14);
  --leaf: #2f8f6d;
  --sun: #f7b94f;
  --coral: #ef6f5e;
  --sky: #dff5ff;
  --shadow: 0 18px 48px rgba(22, 63, 75, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky) 0, var(--paper) 520px);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  -webkit-user-select: none;
  user-select: none;
}

img,
a {
  -webkit-user-drag: none;
}

.maple-leaves {
  position: fixed;
  z-index: 18;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.maple-leaf {
  position: absolute;
  top: -48px;
  left: var(--leaf-left);
  width: var(--leaf-size);
  height: var(--leaf-size);
  background: url("maple-leaf.png") center / contain no-repeat;
  opacity: var(--leaf-opacity);
  image-rendering: pixelated;
  animation: maple-fall var(--leaf-duration) linear infinite;
  animation-delay: var(--leaf-delay);
}

.maple-leaf::before {
  content: none;
}

.maple-leaf::after {
  content: none;
}

.music-toggle {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  min-width: 82px;
  min-height: 42px;
  padding: 9px 14px;
  color: #ffffff;
  background: #2f8f6d;
  border: 3px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(24, 49, 59, 0.22);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.music-toggle.is-off {
  color: #31454a;
  background: #fff4d4;
}

@keyframes maple-fall {
  0% {
    transform: translate3d(0, -60px, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(var(--leaf-drift), 52vh, 0) rotate(180deg);
  }

  100% {
    transform: translate3d(calc(var(--leaf-drift) * -0.4), 108vh, 0) rotate(360deg);
  }
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 241, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(14px);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.site-header.is-transparent {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: var(--leaf);
  border: 3px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(47, 143, 109, 0.28);
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  min-height: 42px;
  padding: 11px 12px;
  color: #35555e;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 110px clamp(18px, 6vw, 72px) 72px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.96) 0%, rgba(255, 250, 241, 0.78) 42%, rgba(255, 250, 241, 0.14) 82%),
    linear-gradient(0deg, rgba(255, 250, 241, 0.95) 0%, rgba(255, 250, 241, 0) 34%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1180px, 100%);
}

.hero-content {
  max-width: 720px;
}

.official-poster-panel {
  display: none;
  padding: 10px;
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.official-poster-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 700px;
  color: var(--brown);
  font-size: clamp(38px, 7vw, 76px);
}

h2 {
  font-size: clamp(28px, 4.4vw, 46px);
}

h3 {
  font-size: 19px;
}

.hero-copy,
.section-copy,
.join-inner p,
.feature-card p,
.timeline p,
.faq-list p,
.site-footer p {
  line-height: 1.75;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #3e5960;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(24, 49, 59, 0.12);
}

.btn.with-icon::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--btn-icon) center / contain no-repeat;
  mask: var(--btn-icon) center / contain no-repeat;
}

.btn.dc {
  --btn-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.5 5.2A15.6 15.6 0 0 0 15.6 4l-.2.4c1.4.3 2.1.8 2.1.8A13.3 13.3 0 0 0 12 4.1c-2.2 0-4 .5-5.5 1.1 0 0 .7-.5 2.2-.9L8.4 4c-1.3.2-2.6.6-3.9 1.2C2.1 8.8 1.5 12.3 1.8 15.7c1.7 1.3 3.4 2 5 2.3l1-1.4c-.6-.2-1.2-.5-1.7-.8l.4-.3c3.3 1.5 6.9 1.5 10.1 0l.4.3c-.6.4-1.1.6-1.8.8l1 1.4c1.6-.3 3.3-1 5-2.3.4-4-.7-7.4-1.7-10.5ZM8.5 14.1c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.8.9 1.8 2-.8 2-1.8 2Zm7 0c-1 0-1.8-.9-1.8-2s.8-2 1.8-2 1.8.9 1.8 2-.8 2-1.8 2Z'/%3E%3C/svg%3E");
}

.btn.android {
  --btn-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.4 8.6h9.2c1 0 1.9.8 1.9 1.9v5.9c0 1-.8 1.9-1.9 1.9h-.7v2.1c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2v-2.1h-3v2.1c0 .7-.5 1.2-1.2 1.2S8.1 21 8.1 20.4v-2.1h-.7c-1 0-1.9-.8-1.9-1.9v-5.9c0-1 .8-1.9 1.9-1.9Zm-4.1 1.8c.7 0 1.2.5 1.2 1.2v4.1c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2v-4.1c0-.7.5-1.2 1.2-1.2Zm17.4 0c.7 0 1.2.5 1.2 1.2v4.1c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2v-4.1c0-.7.5-1.2 1.2-1.2ZM8.3 4.2l-1.2-2 .9-.5 1.3 2.1A7.8 7.8 0 0 1 12 3.3c1 0 1.9.2 2.7.5L16 1.7l.9.5-1.2 2c1.3.8 2.3 2 2.7 3.4H5.6c.4-1.4 1.4-2.6 2.7-3.4Zm1.1 2.2a.8.8 0 1 0 0-1.6.8.8 0 0 0 0 1.6Zm5.2 0a.8.8 0 1 0 0-1.6.8.8 0 0 0 0 1.6Z'/%3E%3C/svg%3E");
}

.btn.ios {
  --btn-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.8 13c0-2 1.6-3 1.7-3.1-1-1.4-2.4-1.6-2.9-1.7-1.2-.1-2.4.7-3 .7-.7 0-1.7-.7-2.8-.7-1.4 0-2.8.8-3.5 2.1-1.5 2.6-.4 6.5 1.1 8.6.7 1 1.6 2.2 2.7 2.1 1.1 0 1.5-.7 2.8-.7s1.7.7 2.9.7c1.2 0 1.9-1 2.6-2.1.8-1.2 1.2-2.4 1.2-2.5 0-.1-2.8-1.1-2.8-4.4ZM14.8 6.9c.6-.8 1-1.8.9-2.9-.9 0-2 .6-2.6 1.4-.6.7-1.1 1.8-1 2.8 1 0 2-.5 2.7-1.3Z'/%3E%3C/svg%3E");
}

.btn.primary {
  color: #ffffff;
  background: var(--coral);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(24, 49, 59, 0.18);
}

.btn.download {
  color: #ffffff;
  background: #2f8f6d;
  border-color: rgba(255, 255, 255, 0.88);
}

.btn.download.ios {
  background: #4aa3c7;
}

.btn.light {
  background: #fffaf1;
}

.server-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.server-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  color: #456069;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.server-stats strong {
  color: var(--leaf);
}

.mobile-poster {
  display: none;
}

.official-mobile-card {
  max-width: 430px;
  margin: 0 auto;
}

.official-mobile-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(68, 92, 48, 0.22);
}

.section,
.join-section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 6vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.feature-card {
  min-height: 220px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.icon-img {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  object-fit: contain;
  image-rendering: pixelated;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.job-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.2), rgba(255, 250, 241, 0.92)),
    radial-gradient(circle at 15% 20%, rgba(247, 185, 79, 0.26), transparent 260px),
    radial-gradient(circle at 85% 30%, rgba(74, 163, 199, 0.18), transparent 280px);
}

.job-showcase {
  --job-accent: #9d61ff;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.3fr) 126px;
  min-height: 430px;
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  color: #111111;
  background:
    linear-gradient(122deg, var(--dark) 0 31%, color-mix(in srgb, var(--job-accent) 38%, #ffe55b) 31.2% 71%, #1e1e1e 71.2% 100%);
  border-radius: 8px 28px 8px 28px;
  box-shadow: 0 24px 54px rgba(28, 42, 39, 0.2);
}

.job-copy {
  position: relative;
  z-index: 2;
  padding: 34px clamp(26px, 4vw, 48px);
  background:
    linear-gradient(118deg, transparent 0 42%, rgba(255, 231, 88, 0.76) 42.2% 100%),
    rgba(255, 231, 88, 0.92);
}

.job-tag {
  display: inline-flex;
  min-width: 78px;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: #0f0f0f;
  background: var(--job-accent);
  font-size: 20px;
  font-weight: 950;
}

.job-copy h3 {
  margin-bottom: 44px;
  color: #fff4a7;
  font-size: clamp(40px, 6vw, 58px);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.job-copy p {
  max-width: 360px;
  margin: 0 0 24px;
  color: #111111;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.85;
}

.job-thumb {
  display: flex;
  align-items: center;
  width: 150px;
  height: 68px;
  margin-top: 28px;
  padding: 9px 12px;
  color: #ffffff;
  background:
    linear-gradient(90deg, var(--job-accent), color-mix(in srgb, var(--job-accent) 65%, #ffb347)),
    linear-gradient(135deg, #70422e, #d9b06f);
  border-radius: 4px;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.job-art {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}

.job-art::before {
  content: "";
  position: absolute;
  inset: 10% 4% 0 -6%;
  background: rgba(255, 236, 110, 0.28);
  clip-path: polygon(0 0, 88% 0, 42% 100%, 0 100%);
}

.job-art::after {
  content: "";
  display: none;
}

.job-lightning {
  position: absolute;
  top: 138px;
  right: 26px;
  width: 106px;
  height: 140px;
  background: color-mix(in srgb, var(--job-accent) 38%, #ffe457);
  clip-path: polygon(54% 0, 100% 0, 70% 40%, 100% 40%, 24% 100%, 48% 52%, 18% 52%);
}

.job-character,
.job-character-image {
  position: absolute;
  right: clamp(46px, 8vw, 110px);
  bottom: 22px;
  width: 230px;
  height: 356px;
  filter: none;
}

.job-character-image {
  left: 50%;
  right: auto;
  bottom: 68px;
  width: min(720px, 128%);
  height: min(570px, 124%);
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  transition: transform 0.24s ease, filter 0.24s ease, opacity 0.18s ease;
}

.job-character-image.warrior {
  width: min(680px, 122%);
}

.job-character-image.mage {
  width: min(720px, 128%);
}

.job-character-image.archer {
  width: min(750px, 134%);
}

.job-character-image.rogue {
  width: min(590px, 108%);
}

.job-character-image.pirate {
  width: min(760px, 136%);
}

.pilot-hat,
.pilot-face,
.pilot-body,
.pilot-dagger {
  position: absolute;
}

.pilot-hat {
  left: 30px;
  top: 0;
  width: 170px;
  height: 128px;
  background: #5e4b33;
  border: 7px solid #111111;
  border-radius: 55% 48% 42% 34%;
  transform: rotate(-8deg);
}

.job-character {
  transition: transform 0.24s ease, filter 0.24s ease;
}

.job-character.warrior .pilot-hat {
  background: #9b382c;
  border-radius: 48% 48% 28% 28%;
}

.job-character.warrior .pilot-hat::before {
  width: 118px;
  height: 32px;
  background: #c9c9c9;
  border-radius: 18px;
  box-shadow: none;
}

.job-character.warrior .pilot-body {
  background: linear-gradient(180deg, #7d3331, #4d2d2a);
}

.job-character.warrior .pilot-dagger {
  right: -8px;
  width: 132px;
  height: 26px;
  background: #d9d9d9;
  transform: rotate(-52deg);
}

.job-character.mage .pilot-hat {
  background: #3d65b9;
  border-radius: 54% 54% 40% 40%;
}

.job-character.mage .pilot-hat::before {
  left: 36px;
  top: -22px;
  width: 92px;
  height: 84px;
  background: #6cccec;
  border-radius: 50% 50% 18px 18px;
  box-shadow: none;
}

.job-character.mage .pilot-body {
  background: linear-gradient(180deg, #4a86d9, #263e8d);
}

.job-character.mage .pilot-dagger {
  right: 2px;
  width: 94px;
  height: 18px;
  background: #f3d86d;
  transform: rotate(-80deg);
}

.job-character.archer .pilot-hat {
  background: #597a2d;
}

.job-character.archer .pilot-hat::before {
  width: 112px;
  height: 28px;
  background: #9ec451;
  border-radius: 999px 999px 8px 8px;
  box-shadow: none;
}

.job-character.archer .pilot-body {
  background: linear-gradient(180deg, #6b8d35, #3d572b);
}

.job-character.archer .pilot-dagger {
  right: -14px;
  width: 138px;
  height: 14px;
  background: #8c5f33;
  transform: rotate(-22deg);
}

.job-character.pirate .pilot-hat {
  background: #39464b;
  border-radius: 55% 55% 32% 32%;
}

.job-character.pirate .pilot-hat::before {
  width: 92px;
  height: 44px;
  background: #d9e6ea;
  border-radius: 999px;
  box-shadow: 80px 0 0 -4px #242424, 80px 0 0 3px #d9e6ea;
}

.job-character.pirate .pilot-body {
  background: linear-gradient(180deg, #465761, #263039);
}

.job-character.pirate .pilot-dagger {
  right: -12px;
  width: 120px;
  height: 28px;
  background: #404c54;
  transform: rotate(-18deg);
}

.pilot-hat::before,
.pilot-hat::after {
  content: "";
  position: absolute;
}

.pilot-hat::before {
  left: 22px;
  top: 16px;
  width: 62px;
  height: 40px;
  background: linear-gradient(135deg, #e6f7ff, #4d8fb8);
  border: 7px solid #232323;
  border-radius: 999px;
  box-shadow: 78px 6px 0 -2px #232323, 78px 6px 0 5px #d8eaf2;
}

.pilot-hat::after {
  right: 8px;
  top: 88px;
  width: 56px;
  height: 110px;
  background: #4a321f;
  border: 6px solid #111111;
  border-radius: 22px;
}

.pilot-face {
  left: 54px;
  top: 94px;
  width: 130px;
  height: 104px;
  background: #ffd789;
  border: 6px solid #111111;
  border-radius: 44% 44% 48% 48%;
}

.pilot-face::before,
.pilot-face::after {
  content: "";
  position: absolute;
  top: 34px;
  width: 34px;
  height: 24px;
  background: #ffffff;
  border: 5px solid #111111;
  border-radius: 999px;
}

.pilot-face::before {
  left: 23px;
}

.pilot-face::after {
  right: 19px;
  box-shadow: inset 11px 0 #4a8ed1;
}

.pilot-body {
  left: 62px;
  top: 190px;
  width: 118px;
  height: 128px;
  background: linear-gradient(180deg, #5d5d5d, #3b3129);
  border: 6px solid #111111;
  border-radius: 38px 38px 18px 18px;
}

.pilot-body::before,
.pilot-body::after {
  content: "";
  position: absolute;
  background: #70513c;
  border: 5px solid #111111;
}

.pilot-body::before {
  left: -22px;
  top: 22px;
  width: 42px;
  height: 96px;
  border-radius: 24px;
  transform: rotate(18deg);
}

.pilot-body::after {
  right: -24px;
  top: 22px;
  width: 42px;
  height: 96px;
  border-radius: 24px;
  transform: rotate(-18deg);
}

.pilot-dagger {
  right: 4px;
  bottom: 26px;
  width: 96px;
  height: 22px;
  background: #d8dce0;
  border: 5px solid #111111;
  border-radius: 20px;
  transform: rotate(-38deg);
}

.job-tabs {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  background: #2a2a2a;
}

.job-tabs button {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 0 22px;
  color: #aeb3b5;
  background: #2d2d2d;
  border: 0;
  border-bottom: 1px solid #474747;
  font: inherit;
  font-size: 18px;
  font-weight: 850;
  cursor: default;
}

.job-tabs button.active {
  color: #ffffff;
  background: #070707;
  border-left: 8px solid var(--job-accent);
  padding-left: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.dot.red {
  background: #ff4775;
}

.dot.blue {
  background: #40c6e8;
}

.dot.green {
  background: #8ad246;
}

.dot.purple {
  background: #9d61ff;
}

.dot.gray {
  background: #98a1a5;
}

.video-section {
  padding-top: 30px;
}

.video-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.video-card {
  overflow: hidden;
  background: #161616;
  border: 8px solid #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000000;
}

.video-card p {
  margin: 0;
  padding: 13px 16px 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.6;
}

code {
  padding: 2px 5px;
  background: rgba(24, 49, 59, 0.08);
  border-radius: 5px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 6vw, 72px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.section-copy {
  color: var(--muted);
  font-size: 17px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline time {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--leaf);
  font-weight: 900;
}

.timeline p {
  margin: 8px 0 0;
  color: var(--muted);
}

.join-section {
  background: linear-gradient(135deg, #2f8f6d, #4aa3c7 58%, #f7b94f);
}

.join-inner {
  max-width: 880px;
  margin: 0 auto;
  color: #ffffff;
  text-align: center;
}

.join-inner .eyebrow {
  color: #fff4c8;
}

.join-inner p {
  max-width: 680px;
  margin: 18px auto 0;
  font-size: 18px;
}

.join-inner .hero-actions {
  justify-content: center;
}

.faq-section {
  max-width: 920px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(22, 63, 75, 0.08);
}

summary {
  padding: 18px 20px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.site-footer {
  padding: 24px 18px 56px;
  color: #64757a;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .official-poster-panel {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .job-showcase {
    grid-template-columns: 1fr;
  }

  .job-art {
    min-height: 430px;
    order: 2;
  }

  .job-tabs {
    order: 3;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: 1fr;
    min-height: 72px;
    overflow-x: auto;
  }

  .job-tabs button {
    justify-content: center;
    min-width: 96px;
    padding: 0 12px;
    border-right: 1px solid #474747;
    border-bottom: 0;
    font-size: 15px;
  }

  .job-tabs button.active {
    border-left: 0;
    border-top: 6px solid var(--job-accent);
    padding-left: 12px;
  }

  .video-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(247, 185, 79, 0.28), transparent 220px),
      linear-gradient(180deg, #dff5ff 0, #fff7dd 520px, #fffaf1 100%);
  }

  .site-header {
    height: 58px;
    padding: 0 14px;
  }

  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-links a {
    padding: 10px 5px;
    font-size: 12px;
  }

  .hero {
    min-height: 90svh;
    padding: 92px 18px 42px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(255, 250, 241, 0.22) 0%, rgba(255, 250, 241, 0.78) 38%, rgba(255, 250, 241, 0.98) 100%);
  }

  .hero-bg {
    object-position: 60% center;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .server-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .server-stats span {
    justify-content: center;
    padding: 8px 6px;
    font-size: 12px;
  }

  .mobile-poster {
    display: block;
    padding: 28px 14px 58px;
    background:
      linear-gradient(180deg, rgba(255, 250, 241, 0), rgba(255, 250, 241, 0.92) 18%),
      radial-gradient(circle at 15% 18%, rgba(47, 143, 109, 0.2), transparent 112px),
      radial-gradient(circle at 90% 8%, rgba(239, 111, 94, 0.16), transparent 130px);
  }

  .poster-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    margin: 14px 14px 0;
    color: var(--brown);
    background: linear-gradient(180deg, #fff4d4, #f5d08b);
    border: 3px solid #ffffff;
    border-radius: 8px;
    font-size: 27px;
    font-weight: 950;
    box-shadow:
      0 7px 0 #b4773b,
      0 16px 26px rgba(97, 66, 26, 0.18);
  }

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

  .feature-card {
    min-height: auto;
  }

  .job-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .job-showcase {
    min-height: auto;
    border-radius: 8px 20px 8px 20px;
  }

  .job-copy {
    padding: 24px 22px;
  }

  .job-tag {
    min-width: 66px;
    min-height: 28px;
    margin-bottom: 18px;
    font-size: 17px;
  }

  .job-copy h3 {
    margin-bottom: 22px;
    font-size: 42px;
  }

  .job-copy p {
    font-size: 15px;
  }

  .job-thumb {
    display: none;
  }

  .job-art {
    min-height: 390px;
    overflow: hidden;
  }

  .job-character,
  .job-character-image {
    left: 50%;
    right: auto;
    bottom: 38px;
    transform: translateX(-50%);
    transform-origin: bottom center;
  }

  .job-character-image {
    width: min(680px, 184%);
    max-width: none;
    height: 420px;
    object-position: center bottom;
  }

  .job-character-image.warrior {
    width: min(620px, 170%);
  }

  .job-character-image.mage {
    width: min(650px, 176%);
  }

  .job-character-image.archer {
    width: min(690px, 186%);
  }

  .job-character-image.rogue {
    width: min(550px, 148%);
  }

  .job-character-image.pirate {
    width: min(700px, 188%);
  }

  .job-lightning {
    right: 20px;
    top: 84px;
  }

  .job-tabs {
    min-height: 64px;
    overflow-x: hidden;
  }

  .job-tabs button {
    min-width: 0;
    gap: 5px;
    padding: 0 4px;
    font-size: 13px;
    line-height: 1.15;
    white-space: normal;
  }

  .job-tabs button.active {
    padding-left: 4px;
  }

  .job-tabs .dot {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
  }

  .music-toggle {
    right: 12px;
    bottom: 12px;
    min-width: 74px;
    min-height: 38px;
    padding: 7px 11px;
    font-size: 13px;
  }
}
