:root {
  --bg-0: #030612;
  --bg-1: #08122d;
  --bg-2: #0d1f4a;
  --text: #f1f7ff;
  --muted: #a7bbdf;
  --line: rgba(162, 202, 255, 0.22);
  --line-strong: rgba(188, 220, 255, 0.5);
  --cyan: #31f1ff;
  --blue: #4fa2ff;
  --violet: #a485ff;
  --pink: #ff5fd8;
  --green: #3dffbf;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Sora", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 8% -8%, rgba(73, 121, 255, 0.42), transparent 46%),
    radial-gradient(circle at 100% 2%, rgba(148, 73, 227, 0.38), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(29, 83, 212, 0.22), transparent 55%),
    linear-gradient(160deg, var(--bg-0), var(--bg-1) 48%, var(--bg-2));
  overflow-x: hidden;
}

body.is-preloading {
  overflow: hidden;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(72, 128, 255, 0.44), transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(149, 74, 222, 0.35), transparent 45%),
    linear-gradient(165deg, rgba(3, 7, 20, 0.96), rgba(8, 18, 43, 0.98));
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
  overflow: hidden;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-fx {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(44px);
  opacity: 0.34;
}

.loading-fx-a {
  width: 280px;
  height: 280px;
  left: -70px;
  top: -50px;
  background: radial-gradient(circle, rgba(95, 170, 255, 0.86), rgba(95, 170, 255, 0));
  animation: auroraFloatA 11s ease-in-out infinite;
}

.loading-fx-b {
  width: 300px;
  height: 300px;
  right: -90px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(176, 104, 255, 0.8), rgba(176, 104, 255, 0));
  animation: auroraFloatB 12s ease-in-out infinite;
}

.loading-fx-grid {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(90, 145, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 145, 255, 0.12) 1px, transparent 1px);
  background-size: 46px 46px;
  mask: radial-gradient(circle at center, rgba(0, 0, 0, 0.75), transparent 80%);
  -webkit-mask: radial-gradient(circle at center, rgba(0, 0, 0, 0.75), transparent 80%);
  animation: gridFlow 18s linear infinite;
}

.loading-shell {
  width: min(860px, 100%);
  border: 1px solid rgba(162, 202, 255, 0.35);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(106, 161, 255, 0.14), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(168, 104, 255, 0.16), transparent 45%),
    rgba(8, 16, 40, 0.76);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  padding: 22px 16px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.loading-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.loading-head-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loading-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(118, 172, 255, 0.28), rgba(76, 240, 255, 0.1), rgba(170, 118, 255, 0.26));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}

.loading-kicker {
  display: inline-flex;
  margin: 0 auto 8px;
  border: 1px solid rgba(153, 189, 255, 0.4);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfe3ff;
  background: rgba(56, 96, 179, 0.18);
}

.loading-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 0;
  filter: drop-shadow(0 0 16px rgba(79, 162, 255, 0.48));
  animation: pulse 1.8s ease-in-out infinite, floatLogo 3.8s ease-in-out infinite;
}

.loading-title {
  margin: 15px 0 10px;
  font-size: clamp(1.35rem, 9vw, 2rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  background: linear-gradient(95deg, #ffffff 0%, #9fdcff 48%, #c9b9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(91, 189, 255, 0.2);
}

.loading-subtitle {
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
  max-width: 620px;
}

.loading-countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 0 0 20px;
}

.loading-unit {
  border: 1px solid rgba(164, 205, 255, 0.3);
  background: linear-gradient(165deg, rgba(20, 40, 84, 0.62), rgba(13, 25, 56, 0.64));
  border-radius: 12px;
  padding: 10px 8px 8px;
  box-shadow: inset 0 0 0 1px rgba(144, 191, 255, 0.12), 0 8px 14px rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.loading-unit.is-tick {
  transform: translateY(-2px);
  border-color: rgba(197, 226, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(172, 209, 255, 0.22), 0 12px 18px rgba(25, 91, 186, 0.22);
}

.loading-unit strong {
  display: block;
  font-size: 1.44rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.loading-unit em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #b8cff5;
}

.loading-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}

.loading-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ebf5ff;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 999px;
  width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(146, 195, 255, 0.44);
  background:
    radial-gradient(circle at 20% 0%, rgba(126, 181, 255, 0.34), transparent 50%),
    linear-gradient(140deg, rgba(52, 100, 188, 0.5), rgba(29, 154, 198, 0.4));
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.loading-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(187, 221, 255, 0.66);
  box-shadow: 0 12px 24px rgba(19, 84, 160, 0.36);
}

.loading-help {
  margin: 0 0 20px;
  font-size: 0.77rem;
  color: #9eb8dd;
}

@media (min-width: 560px) {
  .loading-screen {
    padding: 18px;
  }

  .loading-shell {
    border-radius: 20px;
    padding: 26px 24px 22px;
  }

  .loading-logo {
    width: 62px;
    height: 62px;
  }

  .loading-subtitle {
    font-size: 0.94rem;
  }

  .loading-unit strong {
    font-size: 1.46rem;
  }

  .loading-cta {
    width: auto;
    min-width: 190px;
    padding: 11px 22px;
  }

  .loading-help {
    font-size: 0.79rem;
  }
}

@media (min-width: 760px) {
  .loading-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
  }

}

#stars,
.fx-aurora,
.fx-parallax,
.fx-grid,
.scan,
.cursor-glow {
  position: fixed;
  pointer-events: none;
}

#stars { inset: 0; z-index: 0; }

.fx-aurora {
  width: 44vw;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.22;
  z-index: 0;
}

.fx-aurora-a {
  top: -12%;
  left: -10%;
  background: radial-gradient(circle, rgba(69, 156, 255, 0.7), transparent 70%);
  animation: auroraFloatA 12s ease-in-out infinite;
}

.fx-aurora-b {
  right: -12%;
  bottom: -14%;
  background: radial-gradient(circle, rgba(157, 90, 255, 0.62), transparent 70%);
  animation: auroraFloatB 14s ease-in-out infinite;
}

.fx-parallax {
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(320px 220px at 20% 30%, rgba(85, 189, 255, 0.14), transparent 70%),
    radial-gradient(340px 220px at 80% 70%, rgba(171, 109, 255, 0.14), transparent 70%);
  transform: translate3d(0, 0, 0);
  transition: transform 0.12s linear;
}

.fx-grid {
  inset: -18%;
  z-index: 1;
  background-image:
    linear-gradient(rgba(96, 144, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 144, 255, 0.13) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.78), transparent 82%);
  animation: gridFlow 16s linear infinite;
  opacity: 0.8;
}

.scan {
  top: -30%;
  left: 0;
  width: 100%;
  height: 26%;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, rgba(76, 233, 255, 0.16), transparent);
  mix-blend-mode: screen;
  animation: scan 8s linear infinite;
  opacity: 0.35;
}

.cursor-glow {
  width: 320px;
  height: 320px;
  left: 0;
  top: 0;
  z-index: 2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 179, 255, 0.28), rgba(74, 179, 255, 0.03) 56%, transparent);
  filter: blur(9px);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.wrap {
  position: relative;
  z-index: 3;
  width: min(1220px, 94vw);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 25px;
  padding: 16px 0 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 40, 0.62);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
}

.topbar.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(79, 162, 255, 0.45));
  flex-shrink: 0;
}

.hero {
  text-align: center;
  max-width: 930px;
  margin: 6px auto 0;
  padding: 22px 0 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

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

.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(128, 173, 255, 0.46);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #c1dbff;
  background: rgba(46, 85, 162, 0.24);
  width: fit-content;
  margin: 0 auto 30px;
}

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 11vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
  position: relative;
  display: inline-block;
  background: linear-gradient(95deg, #fff 0%, #9fdcff 34%, #c0b2ff 66%, #8afed4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(96, 186, 255, 0.18);
}

.hero p {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.btn {
  --btn-x: 50%;
  --btn-y: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  isolation: isolate;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #eef5ff;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(180px circle at var(--btn-x) var(--btn-y), rgba(116, 198, 255, 0.26), transparent 62%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(210, 233, 255, 0.38), rgba(210, 233, 255, 0.03) 42%, rgba(173, 123, 255, 0.36));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.7;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.44), 0 0 20px rgba(105, 177, 255, 0.24);
}

.btn:hover::before {
  opacity: 1;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn-discord {
  min-height: 40px;
  padding: 9px 14px 9px 11px;
  font-size: 0.83rem;
  border-radius: 999px;
  border-color: rgba(172, 190, 255, 0.65);
  background:
    linear-gradient(115deg, rgba(84, 102, 246, 0.55), rgba(152, 90, 236, 0.46)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  box-shadow: 0 8px 18px rgba(65, 71, 175, 0.34);
}

.btn-discord span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.btn-discord span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
  opacity: 0.9;
}

.btn-discord:hover {
  box-shadow: 0 12px 26px rgba(73, 79, 194, 0.46), 0 0 20px rgba(141, 170, 255, 0.28);
  border-color: rgba(217, 226, 255, 0.9);
}

.btn-discord:active {
  transform: translateY(0);
}

.cards {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 20px 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(10, 18, 45, 0.88), rgba(12, 25, 55, 0.74));
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.2s var(--ease), box-shadow 0.26s var(--ease), border-color 0.26s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}

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

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: conic-gradient(from 20deg, transparent 8%, rgba(144, 208, 255, 0.66), transparent 35%, transparent 58%, rgba(160, 120, 255, 0.62), transparent 86%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.5;
  animation: spin 6s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -130px;
  right: -100px;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.card-files::after {
  background: radial-gradient(circle, rgba(70, 255, 193, 0.72), rgba(70, 255, 193, 0.01) 70%, transparent);
}

.card-stock::after {
  background: radial-gradient(circle, rgba(63, 166, 255, 0.8), rgba(63, 166, 255, 0.01) 70%, transparent);
}

.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.56), 0 0 32px rgba(92, 187, 255, 0.2);
}

.card-content {
  position: relative;
  z-index: 2;
  transform: translateZ(28px);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 11px;
  border: 1px solid rgba(176, 215, 255, 0.27);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d8eaff;
}

.chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(44, 244, 255, 0.85);
}

.icon {
  width: 32px;
  height: 32px;
  color: #bce2ff;
  opacity: 0.95;
  flex-shrink: 0;
}

.card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 6.2vw, 1.72rem);
  letter-spacing: -0.02em;
}

.card p {
  margin: 0 0 16px;
  color: #aec3e6;
  line-height: 1.78;
  font-size: 0.95rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 14px;
  font-size: 0.81rem;
}

.features span {
  text-align: center;
  padding: 8px 8px;
  border: 1px solid rgba(167, 206, 255, 0.2);
  border-radius: 9px;
  color: #d8eaff;
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
  animation: featurePulse 3.8s ease-in-out infinite;
}

.features span:nth-child(3) { grid-column: 1 / -1; }
.features span:nth-child(2) { animation-delay: 0.35s; }
.features span:nth-child(3) { animation-delay: 0.7s; }

.ripple {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: rgba(178, 226, 255, 0.36);
  animation: ripple 560ms ease-out forwards;
  z-index: 4;
}

.site-footer {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(162, 202, 255, 0.2);
}

.site-footer.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.site-footer.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  width: 100%;
  padding: 12px 14px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-footer-copy {
  margin: 0;
  color: #a6c0e7;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.site-footer-nav a {
  color: #cbe0fc;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(162, 202, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-footer-nav a:hover {
  color: #f0f7ff;
  transform: translateY(-1px);
  border-color: rgba(198, 225, 255, 0.5);
  background: rgba(120, 173, 255, 0.12);
}

.site-footer.reveal .site-footer-nav a {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-footer.reveal.is-visible .site-footer-nav a {
  opacity: 1;
  transform: translateY(0);
}

.site-footer.reveal.is-visible .site-footer-nav a:nth-child(1) { transition-delay: 0.08s; }
.site-footer.reveal.is-visible .site-footer-nav a:nth-child(2) { transition-delay: 0.16s; }
.site-footer.reveal.is-visible .site-footer-nav a:nth-child(3) { transition-delay: 0.24s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.72; }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ripple {
  from { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  to { transform: translate(-50%, -50%) scale(19); opacity: 0; }
}

@keyframes scan {
  from { transform: translateY(-120%); }
  to { transform: translateY(720%); }
}

@keyframes gridFlow {
  from { transform: translateY(0); }
  to { transform: translateY(-52px); }
}

@keyframes auroraFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(34px, 16px, 0) scale(1.08); }
}

@keyframes auroraFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-28px, -20px, 0) scale(1.1); }
}

@keyframes featurePulse {
  0%, 100% { border-color: rgba(167, 206, 255, 0.2); }
  50% { border-color: rgba(188, 220, 255, 0.42); }
}

@media (min-width: 560px) {
  .wrap {
    width: min(1220px, 93vw);
    padding: 20px 0 30px;
  }

  .topbar {
    padding: 12px 14px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .btn-discord {
    min-height: 42px;
    padding: 10px 16px 10px 13px;
    font-size: 0.89rem;
  }

  .hero {
    margin-top: 10px;
    padding: 28px 0 18px;
  }

  .hero p {
    font-size: 1.03rem;
  }

  .card {
    padding: 22px 20px 18px;
  }

  .card p {
    font-size: 0.98rem;
  }

  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 0.84rem;
  }

  .features span:nth-child(3) { grid-column: auto; }
}

@media (min-width: 900px) {
  .wrap {
    width: min(1220px, 92vw);
    justify-content: center;
    padding: 24px 0 32px;
    gap: 30px;
  }

  .hero {
    margin-top: 4px;
    padding: 40px 0 50px;
  }

  .hero-title {
    font-size: clamp(3.1rem, 7.4vw, 5.5rem);
  }

  .hero p {
    font-size: clamp(1.06rem, 2.1vw, 1.2rem);
  }

  .cards {
    margin-top: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .card {
    padding: 24px 22px 20px;
  }

  .icon {
    width: 36px;
    height: 36px;
  }

  .card h2 {
    font-size: clamp(1.42rem, 3.2vw, 2rem);
  }

  .site-footer {
    margin-top: 24px;
    padding-top: 12px;
  }

  .site-footer-inner {
    padding: 14px 18px;
    gap: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer-copy {
    font-size: 0.88rem;
  }

  .site-footer-nav a {
    font-size: 0.82rem;
    padding: 7px 12px;
  }

  .site-footer-nav {
    width: auto;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .fx-grid, .scan, .cursor-glow {
    display: none;
  }

  .hero, .card {
    opacity: 1 !important;
    transform: none !important;
  }

  .fx-aurora,
  .fx-parallax {
    display: none;
  }
}
