/* MCSplit — coming soon page */

@font-face {
  font-family: "MC";
  src: url("/assets/fonts/minecraft.v1.woff") format("woff");
  font-display: swap;
}

:root {
  --sky-top: #33558f;
  --sky-mid: #22396a;
  --sky-low: #182a4b;
  --ink: #0f1a30;
  --text: #eef3fb;
  --muted: #c3cfe2;
  --faint: #9aa8c0;
  --blue: #4da3ff;
  --blue-shadow: #1e4479;
  --white-shadow: #3a4a68;
  --light: #8cc4ff;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--sky-mid);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 24px 28px;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-low) 100%);
}

/* ---------- floating blocks ---------- */

.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blk, .dot {
  position: absolute;
  display: block;
  will-change: transform;
}

.b1, .b5, .b6, .b8, .b9, .b10 { background: var(--blue); }
.b2, .b3, .b4, .b7, .b11, .b12 { background: var(--text); }

.b1  { left: 8%;  top: 120px; width: 46px; height: 46px; box-shadow: 7px 7px 0 var(--blue-shadow); animation: floatA 6s ease-in-out infinite; }
.b2  { left: 14%; top: 250px; width: 22px; height: 22px; box-shadow: 4px 4px 0 var(--white-shadow); animation: floatB 5s ease-in-out infinite .6s; }
.b3  { left: 5%;  top: 430px; width: 30px; height: 30px; box-shadow: 5px 5px 0 var(--white-shadow); opacity: .8; animation: floatA 7s ease-in-out infinite 1.2s; }
.b4  { right: 9%; top: 160px; width: 36px; height: 36px; box-shadow: 5px 5px 0 var(--white-shadow); animation: floatB 6.5s ease-in-out infinite .3s; }
.b5  { right: 14%; top: 300px; width: 56px; height: 56px; box-shadow: 8px 8px 0 var(--blue-shadow); animation: floatA 7.5s ease-in-out infinite .9s; }
.b6  { right: 6%; top: 470px; width: 20px; height: 20px; box-shadow: 4px 4px 0 var(--blue-shadow); opacity: .8; animation: floatB 5.5s ease-in-out infinite 1.5s; }
.b7  { left: 20%; top: 80px;  width: 28px; height: 28px; box-shadow: 4px 4px 0 var(--white-shadow); animation: floatC 9s ease-in-out infinite .5s; }
.b8  { left: 26%; top: 360px; width: 18px; height: 18px; box-shadow: 3px 3px 0 var(--blue-shadow); animation: spin 14s linear infinite; }
.b9  { left: 2%;  top: 620px; width: 40px; height: 40px; box-shadow: 5px 5px 0 var(--blue-shadow); animation: floatC 10s ease-in-out infinite 2s; }
.b10 { right: 22%; top: 70px; width: 24px; height: 24px; box-shadow: 3px 3px 0 var(--blue-shadow); animation: floatC 8.5s ease-in-out infinite 1s; }
.b11 { right: 26%; top: 420px; width: 20px; height: 20px; box-shadow: 3px 3px 0 var(--white-shadow); animation: spin 16s linear infinite 3s; }
.b12 { right: 3%; top: 640px; width: 34px; height: 34px; box-shadow: 4px 4px 0 var(--white-shadow); animation: floatC 11s ease-in-out infinite .2s; }

.dot { bottom: -12px; opacity: 0; animation: rise linear infinite; }
.d1 { left: 12%; width: 8px;  height: 8px;  background: var(--light); animation-duration: 14s; }
.d2 { left: 33%; width: 6px;  height: 6px;  background: var(--text);  animation-duration: 18s; animation-delay: 4s; }
.d3 { left: 46%; width: 10px; height: 10px; background: var(--light); animation-duration: 16s; animation-delay: 8s; }
.d4 { right: 36%; width: 7px; height: 7px;  background: var(--text);  animation-duration: 15s; animation-delay: 2s; }
.d5 { right: 18%; width: 9px; height: 9px;  background: var(--light); animation-duration: 19s; animation-delay: 6s; }
.d6 { right: 8%; width: 6px;  height: 6px;  background: var(--text);  animation-duration: 13s; animation-delay: 10s; }
.d7 { left: 4%;  width: 7px;  height: 7px;  background: var(--text);  animation-duration: 17s; animation-delay: 12s; }

@keyframes floatA { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
@keyframes floatB { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(14px) rotate(-5deg); } }
@keyframes floatC {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -12px) rotate(8deg); }
  50% { transform: translate(0, -22px) rotate(0deg); }
  75% { transform: translate(-10px, -10px) rotate(-8deg); }
}
@keyframes spin {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}
@keyframes rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: .45; }
  85% { opacity: .45; }
  100% { transform: translateY(-520px); opacity: 0; }
}

/* ---------- content ---------- */

.hero {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.logo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-top: 70px;
}

.tagline {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  font-family: "MC", monospace;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
  background: #2f7fe8;
  border: 3px solid var(--ink);
  box-shadow: inset 0 4px 0 #6fb1ff, inset 0 -4px 0 #1d5bb0;
}

/* ---------- podium ---------- */

.podium {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.podium__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.step__icon { display: block; }

.step__label {
  font-family: "MC", monospace;
  font-size: 18px;
  color: var(--text);
}

.step__block {
  display: block;
  width: 170px;
  border: 3px solid var(--ink);
}

.step--silver .step__block { height: 90px;  background: #c9d2de; box-shadow: inset 0 7px 0 #eef2f7, inset 0 -7px 0 #8f9aab; }
.step--gold   .step__block { height: 130px; background: #f4c542; box-shadow: inset 0 7px 0 #ffe28a, inset 0 -7px 0 #b98c18; }
.step--bronze .step__block { height: 64px;  background: #d98a4c; box-shadow: inset 0 7px 0 #f1b07c, inset 0 -7px 0 #9c5726; }
.step--gold   .step__label { font-size: 20px; color: #ffe28a; }

.ground {
  width: 100%;
  max-width: 760px;
  height: 22px;
  background: var(--ink);
  box-shadow: inset 0 5px 0 #2a3d62;
}

/* ---------- footer ---------- */

.footer {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--faint);
}

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  .page { padding-top: 40px; }
  .logo { margin-top: 24px; }
  .tagline { font-size: 16px; }
  .podium__row { flex-wrap: nowrap; gap: 6px; }
  .step__block { width: 96px; }
  .step__label, .step--gold .step__label { font-size: 14px; }
  .step--silver .step__block { height: 60px; }
  .step--gold   .step__block { height: 88px; }
  .step--bronze .step__block { height: 44px; }
  .footer { justify-content: center; text-align: center; }
  .b1, .b3, .b4, .b5, .b8, .b9, .b11, .b12 { display: none; }
  .blk { opacity: .55; }
}

/* ---------- accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
  .blk, .dot { animation: none !important; }
  .dot { display: none; }
}
