:root {
  --ink: #14201c;
  --muted: #506155;
  --paper: #fffaf0;
  --paper-strong: #fff4ce;
  --line: #201a14;
  --moss: #4aa447;
  --moss-dark: #26733c;
  --sky: #4fb8db;
  --sky-dark: #176d88;
  --gold: #f2bd3d;
  --red: #e86b4c;
  --wood: #a96f3a;
  --wood-dark: #643e20;
  --stone: #6f7976;
  --night: #13221f;
  --shadow: 7px 7px 0 rgba(31, 24, 16, 0.24);
  --motion-ease: cubic-bezier(0.2, 0.72, 0.18, 1);
  --motion-slow: 1180ms;
  --motion-medium: 880ms;
  --motion-hover: 320ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(20, 32, 28, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(20, 32, 28, 0.055) 1px, transparent 1px),
    #e8f2e5;
  background-size: 34px 34px;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}

.icon-snow {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.snow-icon {
  position: absolute;
  top: -56px;
  left: var(--snow-left, 0%);
  width: 28px;
  height: 28px;
  background: url("favicon.ico") center / contain no-repeat;
  opacity: var(--snow-opacity, 0.2);
  transform: translate3d(0, -60px, 0) rotate(var(--snow-rotate, 0deg));
  animation: iconSnowFall var(--snow-duration, 18s) linear var(--snow-delay, 0s) infinite;
  filter: drop-shadow(2px 2px 0 rgba(31, 24, 16, 0.12));
}

.site-header,
main,
.site-footer,
.toast,
.lightbox {
  position: relative;
}

.site-header,
main,
.site-footer,
.toast,
.lightbox {
  z-index: 1;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 28px));
  min-height: 68px;
  padding: 10px 14px;
  border: 4px solid var(--line);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 6px 6px 0 rgba(31, 24, 16, 0.2);
  transform: translateX(-50%);
  animation: headerDrop 900ms var(--motion-ease) both;
  transition: transform var(--motion-hover) var(--motion-ease), background var(--motion-hover) var(--motion-ease);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 240, 0.98);
  transform: translate(-50%, -4px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 20px;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 3px solid #155d31;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0 24%, transparent 24%),
    url("favicon.ico") center / 30px 30px no-repeat,
    #75e05e;
  box-shadow: inset -6px -6px 0 rgba(37, 138, 59, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.primary-action,
.secondary-action,
.join-card a,
.join-card button {
  border: 3px solid var(--line);
  color: #fffaf0;
  box-shadow: 4px 4px 0 rgba(31, 24, 16, 0.34);
  font-weight: 900;
  transition:
    transform var(--motion-hover) var(--motion-ease),
    box-shadow var(--motion-hover) var(--motion-ease),
    background var(--motion-hover) var(--motion-ease);
}

.site-nav a {
  min-width: 70px;
  padding: 10px 12px;
  background: var(--wood);
  text-align: center;
}

.site-nav a:hover,
.primary-action:hover,
.secondary-action:hover,
.join-card a:hover,
.join-card button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 rgba(31, 24, 16, 0.34);
}

.icon-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 3px solid var(--line);
  background: #75e05e;
  box-shadow: 3px 3px 0 var(--moss-dark);
}

.menu-button span {
  display: block;
  width: 25px;
  height: 4px;
  background: var(--line);
}

.menu-button span + span {
  margin-top: 7px;
}

.hero {
  position: relative;
  display: flex;
  min-height: 88svh;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 8px solid var(--line);
  background: var(--night);
}

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

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08) translate3d(-2.4%, 0, 0);
  animation: heroPan 34s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 16, 14, 0.84), rgba(8, 16, 14, 0.42) 48%, rgba(8, 16, 14, 0.18)),
    linear-gradient(0deg, rgba(8, 16, 14, 0.82), rgba(8, 16, 14, 0.08) 62%);
}

.hero-grid {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 146px 0 54px;
  color: #fffaf0;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 10px;
  border: 3px solid var(--line);
  background: #75e05e;
  color: #143b1f;
  box-shadow: 4px 4px 0 var(--moss-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  animation: riseIn 1080ms var(--motion-ease) 220ms both;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  color: #fffaf0;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.42);
  animation: riseIn 1180ms var(--motion-ease) 380ms both;
}

.hero-copy {
  max-width: 760px;
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.94);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.75;
  font-weight: 800;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.46);
  animation: riseIn 1180ms var(--motion-ease) 560ms both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  animation: riseIn 1180ms var(--motion-ease) 720ms both;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
}

.primary-action {
  background: var(--red);
}

.secondary-action {
  background: var(--sky-dark);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(960px, 100%);
  margin: 34px 0 0;
  animation: riseIn 1180ms var(--motion-ease) 860ms both;
}

.hero-stats div {
  padding: 16px;
  border: 4px solid var(--line);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.hero-stats dt {
  color: #6e583d;
  font-size: 13px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 7px 0 0;
  color: #213916;
  font-size: clamp(19px, 3vw, 30px);
  font-weight: 900;
}

#player-count.is-online::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 50%;
  background: #4caf50;
  border: 2px solid var(--line);
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.notice-band {
  background: var(--wood-dark);
  color: #fffaf0;
  border-bottom: 6px solid var(--line);
}

.notice-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
}

.notice-inner span {
  padding: 6px 10px;
  border: 3px solid var(--line);
  background: var(--gold);
  color: var(--line);
  font-weight: 900;
  white-space: nowrap;
}

.notice-inner p {
  flex: 1;
  margin: 0;
  line-height: 1.7;
  font-weight: 700;
}

.notice-inner a {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 112px) 0;
}

.reveal-section {
  opacity: 0.9;
  transition: opacity 980ms var(--motion-ease);
  will-change: opacity;
}

.reveal-section.is-visible {
  opacity: 1;
}

.reveal-block {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

.reveal-section.is-visible .reveal-block {
  animation: blockFadeThenRise 1160ms var(--motion-ease) both;
  animation-delay: var(--fade-delay, 280ms);
}

.reveal-section:not(.is-visible) .reveal-block {
  animation: none;
}

.reveal-section.is-visible .join-card.reveal-block:hover,
.reveal-section.is-visible .feature-card.reveal-block:hover,
.reveal-section.is-visible .resource-card.reveal-block:hover,
.reveal-section.is-visible .rule-list li.reveal-block:hover {
  transform: translate(-2px, -2px);
}

.reveal-section.is-visible .gallery-item.reveal-block:hover {
  transform: translate(-3px, -3px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(290px, 0.78fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.wiki-copy h2,
.rules-inner h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 900;
}

.section-heading > p:last-child,
.wiki-copy p:last-child,
.rules-inner > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 700;
}

.join-grid,
.feature-grid,
.resource-grid {
  display: grid;
  gap: 18px;
}

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

.join-card,
.feature-card,
.resource-card,
.rule-list li,
.gallery-item {
  border: 4px solid var(--line);
  box-shadow: var(--shadow);
}

.join-card,
.feature-card,
.resource-card,
.rule-list li {
  transition:
    transform var(--motion-hover) var(--motion-ease),
    box-shadow var(--motion-hover) var(--motion-ease);
}

.join-card:hover,
.feature-card:hover,
.resource-card:hover,
.rule-list li:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 rgba(31, 24, 16, 0.22);
}

.join-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 24px;
  background: var(--paper);
}

.join-card.java {
  background:
    linear-gradient(var(--moss) 0 18px, transparent 18px),
    var(--paper);
}

.join-card.bedrock {
  background:
    linear-gradient(var(--sky) 0 18px, transparent 18px),
    var(--paper);
}

.join-card.qq {
  background:
    linear-gradient(var(--gold) 0 18px, transparent 18px),
    var(--paper);
}

.panel-kicker {
  width: fit-content;
  margin-top: 12px;
  padding: 6px 10px;
  border: 3px solid var(--line);
  background: var(--night);
  color: #fffaf0;
  font-size: 13px;
  font-weight: 900;
}

.join-card h3 {
  margin: 24px 0 10px;
  overflow-wrap: anywhere;
  font-size: clamp(25px, 3.1vw, 34px);
  line-height: 1.1;
}

.join-card p,
.feature-card p,
.rule-list span {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 700;
}

.join-card a,
.join-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  padding: 0 14px;
  background: var(--wood);
  cursor: pointer;
}

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

.feature-card {
  min-height: 252px;
  padding: 26px;
  background: var(--paper);
}

.feature-card:nth-child(2n) {
  background: #eef8ff;
}

.feature-card:nth-child(3n) {
  background: #fff0dc;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 4px solid var(--line);
  background: #75e05e;
  box-shadow: 4px 4px 0 var(--moss-dark);
  color: #143b1f;
  font-size: 18px;
  font-weight: 900;
}

.feature-card:nth-child(2n) .feature-icon {
  background: var(--sky);
  box-shadow: 4px 4px 0 var(--sky-dark);
}

.feature-card:nth-child(3n) .feature-icon {
  background: var(--gold);
  box-shadow: 4px 4px 0 #a16b17;
}

.feature-card h3 {
  margin: 24px 0 10px;
  font-size: 24px;
  line-height: 1.24;
}

.gallery-section {
  background: var(--night);
  color: #fffaf0;
  border-top: 8px solid var(--line);
  border-bottom: 8px solid var(--line);
}

.gallery-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 112px) 0;
}

.gallery-section .section-heading > p:last-child {
  color: rgba(255, 250, 240, 0.76);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.72fr 0.72fr;
  grid-auto-rows: minmax(190px, 22vw);
  gap: 18px;
  align-items: stretch;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0b1210;
  isolation: isolate;
  transition:
    transform 420ms var(--motion-ease),
    box-shadow 420ms var(--motion-ease);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.58));
  opacity: 0.78;
  pointer-events: none;
}

.gallery-item:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.28);
}

.gallery-feature {
  grid-row: span 2;
}

.gallery-poster {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-compact {
  background: var(--paper-strong);
}

.gallery-trigger {
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition:
    transform 760ms var(--motion-ease),
    filter 760ms var(--motion-ease);
}

.gallery-item:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-poster img {
  object-position: top center;
}

.gallery-item figcaption {
  position: absolute;
  z-index: 3;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border: 3px solid var(--line);
  background: rgba(255, 250, 240, 0.94);
  color: var(--ink);
  font-weight: 900;
}

.wiki-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr);
  gap: 42px;
  align-items: start;
}

.wiki-copy p:last-child {
  margin-top: 20px;
}

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

.resource-card {
  display: grid;
  gap: 10px;
  min-height: 138px;
  padding: 22px;
  background: var(--paper);
}

.resource-card:nth-child(2) {
  background: #eef8ff;
}

.resource-card:nth-child(3) {
  background: #fff0dc;
}

.resource-card:nth-child(4) {
  background: #f1ffe9;
}

.resource-card span {
  color: #6e583d;
  font-weight: 900;
}

.resource-card strong {
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.28;
}

.rules-section {
  background: #fff4ce;
  border-top: 8px solid var(--line);
}

.rules-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 106px) 0;
}

.rule-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--paper);
}

.rule-list strong {
  font-size: 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(16px, 4vw, 56px);
  border-top: 6px solid var(--line);
  background: var(--wood-dark);
  color: #fffaf0;
  font-size: 14px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.site-footer a {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(7, 12, 10, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--motion-ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  width: min(1100px, 100%);
  max-height: calc(100svh - 56px);
  margin: 0;
  border: 5px solid var(--line);
  background: var(--paper);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.34);
  overflow: auto;
  animation: popIn 360ms var(--motion-ease) both;
}

.lightbox img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100svh - 132px);
  object-fit: contain;
  background: #0b1210;
}

.lightbox figcaption {
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 900;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 4px solid var(--line);
  background: var(--red);
  color: #fffaf0;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.34);
  cursor: pointer;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100% - 44px));
  padding: 12px 16px;
  border: 4px solid var(--line);
  background: #75e05e;
  color: #143b1f;
  box-shadow: 5px 5px 0 rgba(31, 24, 16, 0.28);
  font-weight: 900;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 260ms var(--motion-ease),
    transform 260ms var(--motion-ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    top: 8px;
  }

  .menu-button {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 76px 14px auto 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border: 4px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-inner {
    padding: 128px 0 42px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 88px);
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 16, 14, 0.9), rgba(8, 16, 14, 0.34)),
      linear-gradient(90deg, rgba(8, 16, 14, 0.74), rgba(8, 16, 14, 0.34));
  }

  .hero-stats,
  .join-grid,
  .feature-grid,
  .gallery-grid,
  .wiki-section,
  .rules-inner,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: minmax(260px, auto);
  }

  .gallery-feature,
  .gallery-poster,
  .gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .wiki-section,
  .section,
  .gallery-inner,
  .rules-inner {
    width: min(100% - 32px, 760px);
  }

  .join-card,
  .feature-card {
    min-height: 0;
  }

  .join-card a,
  .join-card button {
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 17px;
  }

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

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .notice-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
  }

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

  .gallery-item,
  .gallery-feature,
  .gallery-poster,
  .gallery-wide {
    min-height: 260px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer p:last-child {
    justify-content: flex-start;
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translate(-50%, -18px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blockFadeThenRise {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  46% {
    opacity: 1;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPan {
  from {
    transform: scale(1.08) translate3d(-2.4%, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(2.4%, 0, 0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes iconSnowFall {
  0% {
    transform: translate3d(0, -64px, 0) rotate(var(--snow-rotate, 0deg));
  }
  50% {
    transform: translate3d(var(--snow-drift, 18px), 52vh, 0) rotate(calc(var(--snow-rotate, 0deg) + 120deg));
  }
  100% {
    transform: translate3d(calc(var(--snow-drift, 18px) * -0.55), calc(100vh + 64px), 0)
      rotate(calc(var(--snow-rotate, 0deg) + 260deg));
  }
}

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

  .reveal-section,
  .reveal-block {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .snow-icon {
    display: none;
  }
}
