:root {
  color-scheme: dark;
  --deep-navy: #101826;
  --navy: #162235;
  --navy-soft: #1d2b42;
  --night: #0a1020;
  --sky: #6ec6ff;
  --sky-soft: #b8e5ff;
  --bronze: #c9852b;
  --gold: #e2b461;
  --green: #6faf4e;
  --cream: #f4e6c1;
  --white: #f8fafc;
  --muted: #b8c3cf;
  --muted-strong: #d4dde7;
  --line: rgba(248, 250, 252, 0.14);
  --line-strong: rgba(248, 250, 252, 0.22);
  --bronze-line: rgba(226, 180, 97, 0.3);
  --green-line: rgba(111, 175, 78, 0.36);
  --card-surface: rgba(16, 24, 38, 0.82);
  --card-surface-strong: rgba(20, 31, 48, 0.92);
  --focus: #b8e5ff;
  --shadow: 0 24px 80px rgba(4, 8, 16, 0.42);
  --shadow-soft: 0 16px 44px rgba(4, 8, 16, 0.26);
  --radius: 8px;
  --max-width: 1160px;
  --section-gap: clamp(4rem, 7vw, 6.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 8%, rgba(110, 198, 255, 0.24), transparent 27rem),
    radial-gradient(circle at 88% 9%, rgba(111, 175, 78, 0.16), transparent 25rem),
    radial-gradient(circle at 58% 44%, rgba(201, 133, 43, 0.11), transparent 32rem),
    linear-gradient(180deg, #0f1a2b 0%, var(--deep-navy) 48%, var(--night) 100%);
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(248, 250, 252, 0.025) 88px 90px),
    linear-gradient(180deg, rgba(248, 250, 252, 0.035), transparent 18rem);
  opacity: 0.9;
}

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

a:hover {
  color: var(--sky-soft);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: var(--cream);
  color: var(--night);
  font-weight: 900;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(226, 180, 97, 0.18);
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.94), rgba(10, 16, 32, 0.86));
  box-shadow: 0 14px 42px rgba(4, 8, 16, 0.24);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 2rem, var(--max-width));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--white);
  line-height: 1.05;
  font-size: 1.02rem;
}

.brand small {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.icon {
  display: inline-block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
  background: transparent;
}

.nav-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-icon {
  display: block;
  filter: drop-shadow(0 10px 24px rgba(4, 8, 16, 0.28));
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover .brand-icon,
.brand:focus-visible .brand-icon {
  transform: translateY(-1px);
  filter: drop-shadow(0 14px 30px rgba(110, 198, 255, 0.2));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.3rem;
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.04);
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 40px;
  padding: 0.56rem 0.78rem;
  border-radius: 7px;
  color: var(--muted-strong);
  font-size: 0.93rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  background: rgba(110, 198, 255, 0.14);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(110, 198, 255, 0.15);
}

.nav-menu .nav-discord {
  border-color: rgba(111, 175, 78, 0.32);
  background: rgba(111, 175, 78, 0.14);
  color: #e9ffdf;
}

.nav-link-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bronze-line);
  border-radius: 6px;
  background: rgba(248, 250, 252, 0.07);
  color: var(--white);
}

.nav-toggle span[aria-hidden="true"] {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 128px));
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(5.2rem, 8vw, 7.25rem) 1rem clamp(4rem, 7vw, 6rem);
  border-bottom: 1px solid rgba(226, 180, 97, 0.14);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 32, 0.84));
  pointer-events: none;
}

.sky-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 18%, rgba(110, 198, 255, 0.2), transparent 24rem),
    linear-gradient(180deg, rgba(110, 198, 255, 0.18), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 76px, rgba(248, 250, 252, 0.03) 76px 78px);
}

.cloud,
.cloud::before,
.cloud::after {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.74);
  box-shadow: 0 18px 50px rgba(110, 198, 255, 0.16);
}

.cloud {
  width: 180px;
  height: 44px;
}

.cloud::before,
.cloud::after {
  content: "";
  bottom: 12px;
}

.cloud::before {
  left: 28px;
  width: 70px;
  height: 70px;
}

.cloud::after {
  right: 28px;
  width: 92px;
  height: 92px;
}

.cloud-one {
  top: 18%;
  left: 7%;
  opacity: 0.52;
}

.cloud-two {
  top: 12%;
  right: 8%;
  transform: scale(1.22);
  opacity: 0.42;
}

.cloud-three {
  bottom: 25%;
  right: 25%;
  transform: scale(0.82);
  opacity: 0.28;
}

.airship {
  position: absolute;
  right: clamp(-1rem, 8vw, 8rem);
  top: 24%;
  width: clamp(260px, 35vw, 470px);
  height: clamp(120px, 15vw, 190px);
  opacity: 0.82;
  background: url("assets/icons/airship.png") center / contain no-repeat;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.38));
}

.gear {
  position: absolute;
  border-radius: 50%;
  background: url("assets/icons/gear.png") center / contain no-repeat;
  filter: drop-shadow(0 18px 36px rgba(4, 8, 16, 0.32));
}

.gear-one {
  width: 210px;
  height: 210px;
  right: 6%;
  bottom: 6%;
  transform: rotate(12deg);
}

.gear-two {
  width: 140px;
  height: 140px;
  left: 8%;
  bottom: 10%;
  transform: rotate(-18deg);
}

.island {
  position: absolute;
  bottom: 0;
  width: 280px;
  height: 92px;
  clip-path: polygon(0 28%, 18% 5%, 46% 14%, 70% 0, 100% 26%, 82% 62%, 52% 100%, 22% 72%);
  background: linear-gradient(180deg, rgba(111, 175, 78, 0.95) 0 34%, #6d4622 34% 64%, #332213 64% 100%);
  opacity: 0.72;
}

.island-one {
  left: 5%;
}

.island-two {
  right: 14%;
  width: 220px;
  transform: translateY(24px) scale(0.82);
  opacity: 0.46;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.hero-copy-block::before {
  content: "";
  display: block;
  width: 88px;
  height: 5px;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green), var(--sky));
  box-shadow: 0 0 28px rgba(110, 198, 255, 0.24);
}

.hero-icon {
  display: block;
  width: clamp(74px, 10vw, 112px);
  height: clamp(74px, 10vw, 112px);
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(4, 8, 16, 0.3));
}

.hero-copy-block > .hero-icon {
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.72rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 850px;
  color: var(--white);
  font-size: clamp(3.6rem, 9.5vw, 8.4rem);
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.32);
}

.season {
  margin: 0.16rem 0 1rem;
  color: var(--cream);
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  font-weight: 950;
}

.hero-copy {
  max-width: 720px;
  margin: 0;
  color: #e8eef6;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
  margin-top: 1.9rem;
}

.hero-panel,
.summary-card,
.notice-card,
.media-panel,
.feature-card,
.download-card,
.download-list-card,
.sidebar-card,
.info-card,
.highlight-card,
.fact-card,
.rules-card,
.rules-cta,
.about-panel,
.getting-started-panel,
.rules-preview-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    var(--card-surface);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 1.2rem;
  background:
    linear-gradient(135deg, rgba(201, 133, 43, 0.14), transparent 46%),
    rgba(16, 24, 38, 0.72);
}

.hero-facts {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.hero-facts div {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
}

.hero-facts div:first-child {
  padding-top: 0;
  border-top: 0;
}

.hero-facts dt {
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.22rem 0 0;
  color: var(--muted-strong);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.8rem, 9vw, 7rem) 1rem clamp(3.4rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(110, 198, 255, 0.11), transparent 68%),
    repeating-linear-gradient(90deg, transparent 0 76px, rgba(248, 250, 252, 0.03) 76px 78px);
}

.page-hero-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
}

.page-hero-scene .cloud-one {
  top: 20%;
  left: auto;
  right: 10%;
}

.page-hero-scene .cloud-two {
  top: 48%;
  right: auto;
  left: 6%;
  transform: scale(0.8);
}

.page-hero-scene .gear-one {
  right: 8%;
  bottom: -4rem;
}

.page-hero-scene .gear-two {
  left: 10%;
  bottom: -2.6rem;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.page-icon {
  margin: 0 0 1rem;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 1rem 0 0;
  color: #e8eef6;
  font-size: clamp(1.03rem, 1.9vw, 1.24rem);
  line-height: 1.58;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--white);
  font-weight: 950;
  line-height: 1.1;
  box-shadow: 0 12px 28px rgba(4, 8, 16, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.button-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.button:hover,
.button:focus-visible {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(4, 8, 16, 0.28);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  color: #1b1208;
  box-shadow: 0 12px 32px rgba(201, 133, 43, 0.32);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: #1b1208;
}

.button.secondary {
  border-color: rgba(248, 250, 252, 0.28);
  background: rgba(248, 250, 252, 0.09);
}

.button.discord {
  background: linear-gradient(180deg, #8fd16f, var(--green));
  color: #071107;
  box-shadow: 0 12px 32px rgba(111, 175, 78, 0.28);
}

.button.discord:hover,
.button.discord:focus-visible {
  color: #071107;
}

.button.modpack {
  border-color: rgba(110, 198, 255, 0.42);
  background: linear-gradient(180deg, rgba(110, 198, 255, 0.18), rgba(110, 198, 255, 0.08));
}

.compact-button {
  min-height: 42px;
  padding: 0.6rem 0.78rem;
  white-space: nowrap;
}

.section {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: var(--section-gap) 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 1.7rem;
}

.section-heading h2,
.about-panel h2,
.media-panel h2,
.notice-card h2 {
  color: var(--cream);
  font-size: clamp(1.95rem, 3.8vw, 3.35rem);
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.about-panel p,
.media-panel p,
.notice-card p,
.summary-card p {
  color: var(--muted-strong);
  font-size: 1.03rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.section-heading a {
  color: var(--sky-soft);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 370px);
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: stretch;
}

.summary-card,
.notice-card,
.media-panel {
  padding: clamp(1.35rem, 3vw, 2rem);
}

.summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.summary-card h3,
.feature-card h3,
.download-card h3,
.download-list-card h3,
.fact-card h3,
.highlight-card h3,
.rules-card h2,
.sidebar-card h2 {
  color: var(--white);
}

.feature-grid,
.highlight-grid,
.fact-grid,
.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.highlight-card,
.fact-card,
.download-card,
.download-list-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card::before,
.highlight-card::before,
.fact-card::before,
.download-card::before,
.download-list-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--bronze), var(--green), transparent);
  opacity: 0.86;
}

.feature-card:hover,
.highlight-card:hover,
.fact-card:hover,
.download-card:hover,
.download-list-card:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 180, 97, 0.36);
}

.feature-card,
.highlight-card,
.fact-card {
  min-height: 218px;
  padding: 1.28rem;
}

.feature-card h3,
.highlight-card h3,
.fact-card h3,
.download-card h3 {
  margin-top: 0.75rem;
  font-size: 1.18rem;
}

.feature-card p,
.highlight-card p,
.fact-card p,
.download-card p,
.download-list-card p,
.sidebar-card p {
  margin-bottom: 0;
  color: var(--muted-strong);
}

.feature-icon {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 24px rgba(4, 8, 16, 0.18));
}

.download-icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 22px rgba(4, 8, 16, 0.18));
}

.footer-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.link-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.rule-icon {
  width: 48px;
  height: 48px;
}

.band-section {
  padding-top: 0;
}

.media-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.44fr);
  gap: clamp(1.4rem, 4vw, 2.5rem);
  align-items: center;
  background:
    linear-gradient(125deg, rgba(110, 198, 255, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    var(--card-surface);
}

.icon-showcase {
  position: relative;
  min-height: 180px;
}

.showcase-icon {
  width: min(100%, 260px);
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(4, 8, 16, 0.34));
}

.showcase-icon.small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 92px;
  height: 92px;
}

.getting-started-section,
.downloads-section,
.about-section {
  border-top: 1px solid rgba(226, 180, 97, 0.14);
}

.getting-started-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: start;
  padding: clamp(1.3rem, 4vw, 2rem);
  background:
    linear-gradient(120deg, rgba(110, 198, 255, 0.13), transparent 46%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    var(--card-surface);
}

.server-steps-panel {
  display: grid;
}

.steps-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(226, 180, 97, 0.48);
  border-radius: 8px;
  background: rgba(201, 133, 43, 0.14);
  color: var(--cream);
  font-weight: 950;
}

.steps-list h3 {
  color: var(--white);
  font-size: 1.04rem;
}

.steps-list p {
  margin: 0.22rem 0 0;
  color: var(--muted-strong);
}

.started-actions {
  display: grid;
  gap: 0.78rem;
  position: sticky;
  top: 96px;
}

.rules-preview-section {
  padding-top: 0;
}

.rules-preview-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: center;
  padding: clamp(1.35rem, 4vw, 2.1rem);
  background:
    linear-gradient(120deg, rgba(201, 133, 43, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    var(--card-surface);
}

.rules-preview-panel .section-heading {
  margin-bottom: 0;
}

.rules-preview-panel .button {
  justify-self: start;
}

.rules-preview-list,
.rule-list {
  display: grid;
  gap: 0.68rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rules-preview-list li,
.rule-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted-strong);
}

.rules-preview-list li::before,
.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(111, 175, 78, 0.16);
}

.rule-list li::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 133, 43, 0.15);
}

.downloads-page-section,
.server-info-section,
.rules-section {
  padding-top: clamp(3rem, 6vw, 4.8rem);
}

.downloads-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: start;
}

.downloads-main,
.download-sidebar {
  min-width: 0;
}

.downloads-toolbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.downloads-toolbar h2 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
}

.downloads-toolbar p:not(.eyebrow) {
  max-width: 700px;
  margin: 0.55rem 0 0;
  color: var(--muted-strong);
}

.download-controls {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 24, 38, 0.68);
  box-shadow: var(--shadow-soft);
}

.download-search {
  display: grid;
  gap: 0.42rem;
}

.download-search span {
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 950;
}

.download-search input {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(110, 198, 255, 0.3);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.06);
  color: var(--white);
  font: inherit;
}

.download-search input::placeholder {
  color: rgba(212, 221, 231, 0.62);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-button {
  min-height: 36px;
  padding: 0.45rem 0.68rem;
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.05);
  color: var(--muted-strong);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: rgba(226, 180, 97, 0.52);
  background: rgba(201, 133, 43, 0.16);
  color: var(--cream);
}

.filter-button:active {
  transform: translateY(1px);
}

.download-list {
  display: grid;
  gap: 1rem;
}

.download-list-card {
  padding: clamp(1.15rem, 3vw, 1.45rem);
  background:
    linear-gradient(140deg, rgba(110, 198, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    var(--card-surface);
}

.download-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.download-card-title {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.download-card-header h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.22rem, 3vw, 1.55rem);
}

.download-card-header p {
  margin-top: 0.42rem;
}

.download-badge-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.42rem;
  min-width: 150px;
}

.download-type-badge,
.download-season-badge,
.download-status,
.tag,
.info-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.1;
  white-space: nowrap;
}

.download-type-badge,
.tag.available,
.status-available {
  border: 1px solid rgba(111, 175, 78, 0.44);
  background: rgba(111, 175, 78, 0.17);
  color: #d7ffc8;
}

.download-season-badge,
.tag.pending,
.status-coming-soon,
.status-coming-later,
.status-planned {
  border: 1px solid rgba(226, 180, 97, 0.38);
  background: rgba(201, 133, 43, 0.13);
  color: var(--cream);
}

.download-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.15rem 0;
}

.download-meta-grid div {
  padding: 0.72rem;
  border: 1px solid rgba(248, 250, 252, 0.11);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.045);
}

.download-meta-grid dt {
  color: var(--muted-strong);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.download-meta-grid dd {
  margin: 0.22rem 0 0;
  color: var(--white);
  font-weight: 900;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.disabled-button {
  border-color: rgba(248, 250, 252, 0.14);
  background: rgba(248, 250, 252, 0.07);
  color: rgba(212, 221, 231, 0.72);
  cursor: not-allowed;
  box-shadow: none;
}

.disabled-button:hover {
  transform: none;
  box-shadow: none;
}

.download-notes {
  min-height: 42px;
  align-content: center;
}

.download-notes summary {
  color: var(--sky-soft);
  cursor: pointer;
  font-weight: 900;
}

.download-notes p {
  width: min(100%, 42rem);
  margin-top: 0.55rem;
}

.download-status {
  margin-left: auto;
  border: 1px solid rgba(110, 198, 255, 0.28);
  background: rgba(110, 198, 255, 0.1);
  color: var(--sky-soft);
}

.download-empty,
.download-noscript {
  margin: 1rem 0 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.055);
  color: var(--muted-strong);
}

.download-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 104px;
}

.sidebar-card {
  padding: 1.1rem;
  background:
    linear-gradient(140deg, rgba(201, 133, 43, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    var(--card-surface);
}

.featured-sidebar-card {
  display: grid;
  gap: 0.75rem;
}

.sidebar-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted-strong);
}

.important-links {
  display: grid;
  gap: 0.55rem;
}

.info-link-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.75rem;
  align-items: start;
  padding: 0.66rem 0;
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  transition: color 180ms ease, transform 180ms ease;
}

.info-link-card:first-child {
  border-top: 0;
}

.info-link-card:hover,
.info-link-card:focus-visible {
  color: var(--sky-soft);
  transform: translateX(2px);
}

.info-link-card span {
  grid-column: 2;
  color: var(--white);
  font-weight: 950;
}

.info-link-card small {
  grid-column: 2;
  color: var(--muted-strong);
  font-size: 0.88rem;
}

.info-link-card .link-icon {
  grid-row: 1 / span 2;
  align-self: start;
  margin-top: 0.08rem;
}

.download-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.download-card {
  min-height: 245px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.download-card.highlighted {
  border-color: rgba(201, 133, 43, 0.58);
  background:
    linear-gradient(180deg, rgba(201, 133, 43, 0.16), rgba(248, 250, 252, 0.04)),
    rgba(16, 24, 38, 0.88);
}

.tag {
  border: 1px solid rgba(110, 198, 255, 0.26);
  background: rgba(110, 198, 255, 0.1);
  color: var(--sky-soft);
}

.tag.optional {
  border-color: rgba(111, 175, 78, 0.34);
  background: rgba(111, 175, 78, 0.13);
  color: #cbf2ba;
}

.text-link {
  width: fit-content;
  color: var(--sky-soft);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--white);
  text-decoration-color: var(--gold);
}

.info-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1rem;
}

.info-card,
.highlight-card {
  padding: clamp(1.15rem, 3vw, 1.55rem);
}

.overview-card {
  background:
    linear-gradient(140deg, rgba(110, 198, 255, 0.13), transparent 46%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    rgba(16, 24, 38, 0.82);
}

.quick-card {
  background:
    linear-gradient(140deg, rgba(111, 175, 78, 0.14), transparent 46%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    rgba(16, 24, 38, 0.82);
}

.info-card h2 {
  color: var(--cream);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.info-card p:not(.eyebrow),
.highlight-card p,
.fact-card p {
  color: var(--muted-strong);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  margin-top: 1.25rem;
}

.info-badge {
  border: 1px solid rgba(226, 180, 97, 0.34);
  background: rgba(201, 133, 43, 0.12);
  color: var(--cream);
}

.info-section-tight {
  padding-top: 0;
}

.highlight-card {
  min-height: 190px;
  background:
    linear-gradient(140deg, rgba(201, 133, 43, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    rgba(16, 24, 38, 0.82);
}

.highlight-card h3 {
  margin-top: 0.75rem;
  font-size: 1.18rem;
}

.notice-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
  background:
    linear-gradient(120deg, rgba(111, 175, 78, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    var(--card-surface);
}

.rules-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.rules-card {
  padding: clamp(1.15rem, 3vw, 1.5rem);
  background:
    linear-gradient(140deg, rgba(201, 133, 43, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    rgba(16, 24, 38, 0.82);
}

.rules-card-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.card-kicker {
  margin: 0 0 0.18rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rules-card h2,
.rules-cta h2 {
  color: var(--cream);
  font-size: clamp(1.32rem, 2.5vw, 1.8rem);
}

.rules-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  margin-top: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background:
    linear-gradient(120deg, rgba(111, 175, 78, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.075), rgba(248, 250, 252, 0.035)),
    rgba(16, 24, 38, 0.84);
}

.rules-cta p:not(.eyebrow) {
  max-width: 700px;
  margin: 0.65rem 0 0;
  color: var(--muted-strong);
}

.site-footer {
  padding: 2rem 1rem 1.35rem;
  border-top: 1px solid rgba(226, 180, 97, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 24, 38, 0.7), rgba(10, 16, 32, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(248, 250, 252, 0.02) 80px 82px);
}

.footer-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  gap: 1.15rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(160px, 0.65fr) minmax(220px, 0.82fr);
  gap: clamp(1.15rem, 4vw, 2.25rem);
  align-items: start;
}

.footer-brand,
.footer-column {
  min-width: 0;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.72rem;
}

.footer-brand h2,
.footer-column h2 {
  margin: 0;
  color: var(--cream);
  font-size: 1rem;
}

.footer-season {
  margin: 0.08rem 0 0;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.footer-column {
  display: grid;
  gap: 0.42rem;
}

.footer-inner a {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  width: fit-content;
  padding: 0.1rem 0;
  color: var(--muted-strong);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-inner a:hover,
.footer-inner a:focus-visible,
.footer-inner a[aria-current="page"] {
  color: var(--sky-soft);
  text-decoration-color: var(--gold);
}

.footer-legal {
  margin: 0;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(226, 180, 97, 0.16);
  color: var(--muted-strong);
  font-size: 0.86rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .airship {
    animation: drift 10s ease-in-out infinite;
  }

  .cloud-one,
  .cloud-three {
    animation: cloud-drift 18s ease-in-out infinite;
  }

  .gear-one {
    animation: turn 28s linear infinite;
  }

  .gear-two {
    animation: turn 22s linear infinite reverse;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@keyframes cloud-drift {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 22px 0;
  }
}

@keyframes turn {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 980px) {
  .hero-content,
  .split-layout,
  .downloads-page-layout,
  .info-dashboard,
  .media-panel,
  .getting-started-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }

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

  .download-sidebar,
  .started-actions {
    position: static;
  }

  .airship {
    right: -5rem;
    opacity: 0.45;
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.22rem;
    padding: 0.65rem;
    border: 1px solid var(--bronze-line);
    border-radius: 8px;
    background: rgba(10, 16, 32, 0.97);
    box-shadow: var(--shadow);
  }

  .js-enabled .nav-menu {
    display: none;
  }

  .js-enabled .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a {
    justify-content: start;
    padding: 0.85rem;
  }
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-column {
    gap: 0.5rem;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(3.05rem, 16vw, 5.4rem);
  }

  .page-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.8rem);
  }

  .hero-copy {
    max-width: 36rem;
  }

  .hero-actions,
  .page-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 360px;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .highlight-grid,
  .fact-grid,
  .download-layout,
  .rules-layout,
  .rules-preview-panel {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .highlight-card,
  .fact-card,
  .download-card {
    min-height: auto;
  }

  .download-card-header,
  .downloads-toolbar,
  .rules-cta {
    flex-direction: column;
  }

  .download-card-title,
  .notice-card {
    grid-template-columns: 1fr;
  }

  .download-badge-stack {
    justify-content: start;
    min-width: 0;
  }

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

  .download-status {
    margin-left: 0;
  }

  .rules-preview-panel .button {
    justify-self: stretch;
  }

  .airship {
    top: 33%;
    right: -9rem;
    width: 350px;
  }

  .gear-one {
    right: -4rem;
  }
}

@media (max-width: 460px) {
  .brand strong {
    font-size: 0.94rem;
  }

  .nav-icon {
    width: 42px;
    height: 42px;
  }

  .section,
  .hero-content,
  .page-hero-content,
  .nav {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .section {
    padding: clamp(3rem, 12vw, 4.4rem) 0;
  }

  .hero {
    min-height: auto;
  }

  .season {
    font-size: 1.55rem;
  }

  .hero-panel,
  .summary-card,
  .notice-card,
  .media-panel,
  .getting-started-panel,
  .rules-preview-panel,
  .rules-card,
  .rules-cta,
  .sidebar-card,
  .download-list-card,
  .info-card,
  .highlight-card,
  .fact-card,
  .download-card {
    padding: 1rem;
  }

  .airship {
    opacity: 0.28;
  }

  .download-meta-grid {
    grid-template-columns: 1fr;
  }

  .steps-list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .step-number {
    width: 40px;
    height: 40px;
  }
}
