:root {
  color-scheme: dark;
  --bg: #081119;
  --surface: #0f1b25;
  --surface-2: #14232e;
  --line: #263945;
  --text: #f2f8fa;
  --muted: #9db1bb;
  --quiet: #72909f;
  --cyan: #69e2e7;
  --cyan-deep: #102e37;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
::selection { background: var(--cyan); color: #07131a; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; border-radius: 4px; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
h1, h2, h3, p, dl { margin: 0; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-small { width: 16px; height: 16px; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 30; padding: 12px 18px; color: #061219; background: var(--cyan); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #ffffff12; background: #081119db; backdrop-filter: blur(18px); }
.header-inner { height: 82px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 720; letter-spacing: -.05em; white-space: nowrap; }
.brand-mark { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; padding-right: 2px; border: 1px solid #5ce1e77a; border-radius: 9px; background: #15343b; color: var(--cyan); font: 800 23px/1 Arial, sans-serif; letter-spacing: -.1em; box-shadow: inset 0 0 13px #5de0e512; }
.brand-mark span { color: #e3ffff; font-size: 24px; }
.header-nav { display: flex; gap: 38px; margin-left: auto; align-items: center; }
.header-nav a, .header-source { color: #b6c7cf; font-size: 13px; font-weight: 550; transition: color .2s ease; }
.header-nav a:hover, .header-source:hover { color: var(--cyan); }
.header-source { display: inline-flex; align-items: center; gap: 8px; padding-left: 30px; border-left: 1px solid var(--line); }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse 780px 590px at 89% 25%, #1a58634a 0%, transparent 72%), radial-gradient(ellipse 650px 450px at 8% 95%, #12333d45 0%, transparent 75%), #09131d; }
.hero::before { position: absolute; inset: 0; z-index: -1; content: ""; background-image: linear-gradient(#7deaf309 1px, transparent 1px), linear-gradient(90deg, #7deaf309 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%); pointer-events: none; }
.hero::after { position: absolute; content: ""; z-index: -1; width: 650px; height: 650px; right: -155px; top: -235px; border: 1px solid #5de7eb19; border-radius: 50%; box-shadow: 0 0 0 85px #5de7eb05, 0 0 0 170px #5de7eb04; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1fr); align-items: center; gap: clamp(54px, 7vw, 110px); padding-block: 95px 105px; }
.hero-copy { padding-block: 20px; animation: rise-in .65s ease both; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--cyan); font-size: 11px; font-weight: 700; letter-spacing: .17em; white-space: nowrap; }
.eyebrow-line { width: 25px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 30px; font-size: clamp(58px, 6vw, 86px); font-weight: 720; line-height: 1.13; letter-spacing: -.075em; }
.hero h1 span { color: #9fc9ce; }
.hero-description { max-width: 470px; margin-top: 28px; color: #afc2ca; font-size: 16px; line-height: 1.95; }
.hero-links { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.hero-links a, .text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 13px; font-weight: 620; transition: gap .2s ease, color .2s ease; }
.hero-links a:hover, .text-link:hover { gap: 13px; color: #c1f9fb; }
.hero-caption { display: flex; align-items: center; gap: 9px; margin-top: 72px; color: var(--quiet); font-size: 12px; }
.caption-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px #69e2e711; }
.hero-gridline { position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #8be9f838 50%, transparent); }

.latest-card { position: relative; min-width: 0; padding: 34px; border: 1px solid #46606c; border-radius: 20px; background: linear-gradient(150deg, #152734f5 0%, #0e1b27f7 54%, #0b1722f7 100%); box-shadow: 0 27px 70px #0006, inset 0 1px #ffffff12; animation: rise-in .7s .12s ease both; }
.latest-card::before { position: absolute; top: 0; left: 32px; right: 32px; height: 1px; content: ""; background: linear-gradient(90deg, transparent, #82f1f985, transparent); }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #d7e8ec; font-size: 13px; font-weight: 660; }
.card-topline > div { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px #69e2e71a, 0 0 20px #69e2e777; }
.card-index, .card-label { color: #79a2af; font-family: Consolas, "SFMono-Regular", monospace; font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.release-title-block { margin-top: 38px; }
.latest-card h2 { margin-top: 11px; overflow-wrap: anywhere; font-size: clamp(34px, 3.5vw, 49px); font-weight: 720; line-height: 1.15; letter-spacing: -.055em; }
.release-meta { margin-top: 10px; min-height: 19px; color: #9db2bc; font-size: 12px; line-height: 1.55; }
.release-facts { display: grid; grid-template-columns: 1.15fr .75fr .75fr; gap: 0; margin-top: 30px; padding: 17px 0; border-top: 1px solid #ffffff19; border-bottom: 1px solid #ffffff19; }
.release-facts div { min-width: 0; padding-inline: 18px; border-right: 1px solid #ffffff12; }
.release-facts div:first-child { padding-left: 0; }
.release-facts div:last-child { padding-right: 0; border-right: 0; }
.release-facts dt { color: #7e9da9; font-size: 11px; }
.release-facts dd { margin: 7px 0 0; color: #e5f0f3; font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.file-preview { display: flex; align-items: center; min-width: 0; gap: 14px; margin-top: 24px; }
.file-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid #3d626e; border-radius: 11px; background: #16434c77; color: var(--cyan); }
.file-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.file-copy strong { overflow: hidden; color: #edf8fa; font-size: 13px; font-weight: 640; text-overflow: ellipsis; white-space: nowrap; }
.file-copy small { color: #7f9ba8; font-size: 11px; }
.file-extension { flex: 0 0 auto; color: #8ac5cc; font: 11px Consolas, monospace; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; margin-top: 24px; padding: 14px 19px; border-radius: 10px; background: var(--cyan); color: #05212a; font-size: 15px; font-weight: 730; transition: background .2s, transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-2px); background: #a0f3f5; box-shadow: 0 12px 30px #55dce82a; }
.button-arrow { width: 17px; height: 17px; margin-left: auto; }
.primary-button > .icon:first-child { margin-left: auto; }
.latest-files { margin-top: 15px; padding: 12px; border: 1px solid #3b5661; border-radius: 10px; background: #0b1b26; }
.latest-files p { margin-bottom: 9px; color: #a7c0ca; font-size: 11px; }
.latest-files a { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; padding: 10px; border-radius: 6px; color: #eaf8f9; font-size: 12px; }
.latest-files a:hover { background: #69e2e71c; }
.latest-files a span { min-width: 0; overflow-wrap: anywhere; }
.latest-files small { color: var(--cyan); }
.card-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-top: 20px; }
.card-bottom p { max-width: 310px; color: #8fa7b2; font-size: 11px; line-height: 1.6; }
.card-bottom a { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 5px; color: #b5e6ea; font-size: 11px; white-space: nowrap; }
.card-bottom a:hover { color: #f0ffff; }

.section { padding-block: 90px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 33px; }
.section-label { margin-bottom: 13px; color: #66dbe1; font: 11px Consolas, monospace; letter-spacing: .12em; }
.section-heading h2 { font-size: clamp(27px, 3.1vw, 39px); font-weight: 690; line-height: 1.22; letter-spacing: -.045em; }
.section-heading p:not(.section-label) { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.section-heading > .text-link { margin-bottom: 7px; white-space: nowrap; }
.versions-section { background: #0b151e; }
.release-layout { display: grid; grid-template-columns: minmax(0, 1fr) 303px; gap: 20px; align-items: start; }
.archive-panel { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: #0e1b25; }
.archive-header, .version-row { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(90px, .9fr) minmax(90px, .8fr) auto; align-items: center; gap: 13px; }
.archive-header { padding: 17px 23px; border-bottom: 1px solid var(--line); background: #14232e; color: #7f9aa7; font: 10px Consolas, monospace; letter-spacing: .06em; }
.archive-header span:last-child { text-align: right; }
.version-row { min-height: 83px; padding: 16px 23px; border-bottom: 1px solid #253642; }
.version-row:last-child { border-bottom: 0; }
.version-title { display: flex; align-items: center; gap: 9px; min-width: 0; color: #eaf5f7; font-size: 15px; font-weight: 670; overflow-wrap: anywhere; }
.version-current { padding: 4px 6px; border: 1px solid #397e87; border-radius: 4px; color: var(--cyan); font: 9px Consolas, monospace; white-space: nowrap; }
.version-file { display: block; margin-top: 7px; overflow: hidden; color: #7894a2; font: 11px Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.version-minecraft, .version-date { color: #afc1c9; font-size: 12px; line-height: 1.6; }
.version-minecraft { color: #c8e5e7; }
.version-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.version-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 0 10px; border: 1px solid #36515d; border-radius: 7px; color: #c4e8eb; font-size: 11px; white-space: nowrap; transition: background .2s, border-color .2s; }
.version-action:hover { border-color: #61dce3; background: #69e2e715; }
.version-action .icon { width: 13px; height: 13px; }
.version-detail { color: #829faa; }
.list-message { padding: 28px 23px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.list-message a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.notes-panel { padding: 25px; border: 1px solid #36515e; border-radius: 14px; background: linear-gradient(155deg, #142630, #10202a); }
.notes-top { display: flex; align-items: center; justify-content: space-between; color: #7aa8b4; font: 10px Consolas, monospace; letter-spacing: .08em; }
.notes-symbol { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #467583; border-radius: 7px; color: var(--cyan); font: 20px/1 sans-serif; }
.notes-panel h3 { margin-top: 25px; font-size: 19px; font-weight: 650; letter-spacing: -.025em; }
.notes-panel ul { display: grid; gap: 15px; margin: 21px 0 28px; padding: 0; list-style: none; }
.notes-panel li { position: relative; padding-left: 16px; color: #b1c7cf; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.notes-panel li::before { position: absolute; top: .6em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); content: ""; }
.notes-panel .text-link { font-size: 12px; }

.install-section { background: #081119; border-top: 1px solid #ffffff0b; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; min-height: 257px; padding: 27px; border: 1px solid var(--line); border-radius: 14px; background: #0f1c26; }
.step-head { display: flex; align-items: center; justify-content: space-between; color: #62d9df; }
.step-head span { font: 14px Consolas, monospace; letter-spacing: .1em; }
.step-head .icon { width: 21px; height: 21px; opacity: .7; }
.step h3 { margin-top: 30px; font-size: 18px; font-weight: 650; }
.step p { flex: 1; margin-top: 11px; color: #9fb3bd; font-size: 12px; line-height: 1.75; }
.step p code { color: #d4f1f2; font-family: Consolas, monospace; }
.step a, .step-chip { display: inline-flex; align-items: center; gap: 7px; width: fit-content; margin-top: 22px; color: var(--cyan); font-size: 12px; font-weight: 620; }
.step-links { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.step a:hover { text-decoration: underline; text-underline-offset: 4px; }
.step-chip { padding: 7px 10px; border: 1px solid #35535d; border-radius: 6px; background: #0b1720; color: #bce7e9; font-family: Consolas, monospace; font-weight: 500; }
.install-hint { display: flex; gap: 10px; align-items: center; margin-top: 22px; color: #8ca6b2; font-size: 12px; line-height: 1.6; }
.install-hint span { display: grid; place-items: center; width: 16px; height: 16px; flex: 0 0 auto; border: 1px solid #5f8490; border-radius: 50%; font: 11px Georgia, serif; }

.site-footer { border-top: 1px solid var(--line); background: #070f16; }
.footer-inner { display: flex; align-items: center; gap: 28px; min-height: 105px; }
.footer-inner .brand { font-size: 16px; }
.footer-inner .brand-mark { width: 29px; height: 29px; border-radius: 7px; font-size: 20px; }
.footer-inner .brand-mark span { font-size: 21px; }
.footer-inner p { color: #77909d; font-size: 11px; }
.footer-links { display: flex; gap: 23px; margin-left: auto; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; color: #9db2bd; font-size: 11px; }
.footer-links a:hover { color: var(--cyan); }
.list-message a { display: inline-flex; align-items: center; gap: 4px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1050px) {
  .container { width: min(100% - 56px, 1180px); }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: clamp(52px, 5.9vw, 75px); }
  .latest-card { padding: 27px; }
  .release-layout { grid-template-columns: minmax(0, 1fr) 255px; gap: 15px; }
  .archive-header, .version-row { grid-template-columns: minmax(0, 1.7fr) minmax(82px, .8fr) minmax(78px, .75fr) auto; gap: 8px; }
  .archive-header, .version-row { padding-inline: 17px; }
}
@media (max-width: 820px) {
  .header-inner { gap: 20px; }
  .header-nav { gap: 20px; }
  .header-source { padding-left: 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 75px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(58px, 8vw, 76px); }
  .hero-caption { margin-top: 38px; }
  .latest-card { max-width: 650px; padding: 34px; }
  .release-layout { grid-template-columns: 1fr; }
  .notes-panel { display: grid; grid-template-columns: 1fr 2fr; gap: 8px 25px; }
  .notes-top { grid-column: 1 / -1; }
  .notes-panel h3 { margin-top: 16px; }
  .notes-panel ul { grid-column: 2; grid-row: 2 / 4; margin: 16px 0 0; }
  .notes-panel .text-link { align-self: end; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 122px; }
  .container { width: calc(100% - 40px); }
  .header-inner { height: auto; min-height: 110px; flex-wrap: wrap; gap: 0; padding-top: 15px; }
  .brand { font-size: 18px; }
  .header-source { margin-left: auto; border: 0; }
  .header-nav { order: 3; justify-content: space-between; width: 100%; margin-left: 0; gap: 16px; }
  .header-nav a { padding: 13px 0 15px; font-size: 12px; }
  .hero-grid { padding-block: 56px 62px; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .hero h1 { margin-top: 25px; font-size: clamp(47px, 11vw, 70px); }
  .hero-description { margin-top: 21px; font-size: 14px; }
  .hero-links { gap: 18px; margin-top: 24px; }
  .hero-links a { font-size: 12px; }
  .hero-caption { margin-top: 28px; font-size: 11px; }
  .latest-card { padding: 24px; border-radius: 15px; }
  .release-title-block { margin-top: 30px; }
  .latest-card h2 { font-size: clamp(32px, 9vw, 46px); }
  .release-facts { margin-top: 24px; }
  .release-facts div { padding-inline: 9px; }
  .release-facts dt { font-size: 10px; }
  .release-facts dd { font-size: 12px; }
  .card-bottom { flex-wrap: wrap; gap: 8px; }
  .section { padding-block: 64px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 25px; }
  .section-heading h2 { font-size: 28px; }
  .archive-header { display: none; }
  .version-row { grid-template-columns: minmax(0, 1fr) auto; gap: 13px; padding: 20px; }
  .version-info { grid-column: 1 / -1; }
  .version-file { max-width: 100%; }
  .version-minecraft { grid-column: 1; grid-row: 2; }
  .version-date { grid-column: 1; grid-row: 3; }
  .version-actions { grid-column: 2; grid-row: 2 / 4; align-self: center; }
  .notes-panel { display: block; }
  .notes-panel h3 { margin-top: 20px; }
  .notes-panel ul { margin: 20px 0 25px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { min-height: 0; padding: 24px; }
  .step h3 { margin-top: 20px; }
  .step a, .step-chip { margin-top: 18px; }
  .install-hint { align-items: flex-start; }
  .footer-inner { min-height: 0; flex-wrap: wrap; gap: 12px 20px; padding-block: 27px; }
  .footer-inner p { margin-left: auto; }
  .footer-links { width: 100%; margin: 8px 0 0; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .header-nav a { font-size: 11px; }
  .hero h1 { font-size: 46px; }
  .hero-links { gap: 12px; }
  .latest-card { padding: 19px; }
  .card-index { font-size: 9px; }
  .file-extension { display: none; }
  .version-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
