/* Blitz MC home · aurora glass. Old site's palette and fonts, rebuilt with depth and spring motion. */
:root {
  --bg: #070F1F;
  --bg2: #0B1730;
  --ink: #F2F7FC;
  --muted: #A8B9CF;
  --ice: #7FD4FF;
  --mint: #3DDC84;
  --violet: #B98BFF;
  --gold: #FFD86B;
  --glass: rgba(18, 32, 60, .46);
  --glass-hi: rgba(255, 255, 255, .16);
  --edge: rgba(255, 255, 255, .14);
  --r: 22px;
  --m: clamp(16px, 4vw, 48px);
  --spring: cubic-bezier(.22, 1, .36, 1);
  --display: "Unbounded", "Geist", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1240px, 100% - 2 * var(--m)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 99; background: var(--ice); color: #04121f; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 16px; }

/* ── liquid glass material ── */
.glass {
  position: relative; background: var(--glass); border-radius: var(--r);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 0 0 1px var(--edge), 0 24px 60px -20px rgba(0, 0, 0, .55);
  isolation: isolate;
}
.glass::before { /* specular sheen that follows the pointer (set by JS), light catching the edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--gx, 30%) var(--gy, 0%), rgba(255, 255, 255, .14), transparent 60%);
  transition: opacity .4s; opacity: .9;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgba(14, 26, 50, .92); } }
@media (prefers-reduced-transparency: reduce) { .glass { background: #0E1A32; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 1rem/1 "Geist", system-ui, sans-serif; color: #04121f;
  background: linear-gradient(180deg, #A6E3FF, #6CCBFF); box-shadow: 0 10px 30px -10px rgba(127, 212, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .5s var(--spring), box-shadow .5s var(--spring), background-color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(127, 212, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14); }
.btn.text { background: none; box-shadow: none; color: var(--ink); padding: 0 8px; }
.btn.text:hover { color: var(--ice); transform: none; }
.btn.big { min-height: 58px; padding: 0 32px; font-size: 1.0625rem; }
.link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ice); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ── nav: a floating glass bar that firms up once you scroll ── */
.nav {
  position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1240px, 100% - 24px); display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 20px; border-radius: 999px;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.solid { background: rgba(9, 18, 38, .62); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: inset 0 0 0 1px var(--edge), 0 12px 40px -16px rgba(0, 0, 0, .6); }
.nav-logo img { height: 24px; width: auto; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: #D6E2F0; transition: background-color .25s, color .25s; }
.nav-links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pill-btn { white-space: nowrap; border: 0; cursor: pointer; border-radius: 999px; min-height: 42px; padding: 0 20px; font: 600 .95rem/1 "Geist", sans-serif; color: #04121f; background: var(--ice); transition: transform .4s var(--spring); }
.pill-btn:active { transform: scale(.96); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--spring); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet-menu { position: fixed; inset: 72px 12px auto; z-index: 49; border-radius: 26px; padding: 14px; background: rgba(9, 18, 38, .9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--edge); transform-origin: top right; animation: pop .45s var(--spring); }
.sheet-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.sheet-menu a { display: block; padding: 14px 16px; border-radius: 14px; text-decoration: none; font-weight: 500; font-size: 1.125rem; }
.sheet-menu a:active { background: rgba(255, 255, 255, .08); }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(-8px); } }
@media (max-width: 960px) {
  .nav nav { display: none; }
  .pill-btn { margin-left: auto; }
  .burger { display: block; }
}

/* ── hero: the 3D scene ── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 120px 0 90px; }
.scene { position: absolute; inset: -6%; perspective: 1000px; }
.layer { position: absolute; inset: 0; will-change: transform; }
.sky img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) brightness(.75); }
.island { display: grid; place-items: center end; padding-right: 2%; }
.island img {
  width: 72%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 28px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
  animation: bob 9s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate3d(0, -14px, 0) rotate(-.4deg); } }
.aurora i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 60vw; height: 28vw; left: -10vw; top: 2vh; background: rgba(61, 220, 132, .55); }
.aurora i:nth-child(2) { width: 50vw; height: 24vw; left: 30vw; top: -6vh; background: rgba(127, 212, 255, .5); animation-duration: 22s; }
.aurora i:nth-child(3) { width: 40vw; height: 22vw; right: -8vw; top: 10vh; background: rgba(185, 139, 255, .5); animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.15); } }
.snow { width: 100%; height: 100%; pointer-events: none; }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 55%, rgba(7, 15, 31, .1), rgba(7, 15, 31, .55) 70%), linear-gradient(180deg, rgba(7, 15, 31, 0) 60%, var(--bg) 98%); }

.hero-copy { position: relative; z-index: 2; width: min(1240px, 100% - 2 * var(--m)); margin-inline: auto; }
.title { display: grid; gap: 14px; margin-bottom: 22px; }
.t-line {
  font: 800 clamp(3.2rem, 9vw, 8.5rem)/.92 var(--display); letter-spacing: -0.045em;
  color: #fff;
  filter: drop-shadow(0 10px 40px rgba(127, 212, 255, .35));
}
.t-sub { font: 600 clamp(1rem, 1.6vw, 1.35rem)/1.2 var(--display); letter-spacing: -0.01em; color: var(--ice); }
.lede { max-width: 34rem; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); color: #DCE7F3; margin-bottom: 28px; }

.join-card { width: min(460px, 100%); padding: 18px; }
.join-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; margin-bottom: 12px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.ver { color: var(--muted); }
.ip {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer;
  border: 0; border-radius: 16px; padding: 16px 18px; background: rgba(4, 12, 26, .55); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(127, 212, 255, .28); transition: transform .45s var(--spring), box-shadow .3s;
}
.ip:hover { box-shadow: inset 0 0 0 1px rgba(127, 212, 255, .7), 0 0 30px -6px rgba(127, 212, 255, .5); }
.ip:active { transform: scale(.98); transition-duration: .1s; }
.ip-addr { font: 600 clamp(1.1rem, 2vw, 1.35rem)/1 var(--display); letter-spacing: -0.02em; }
.ip-act { font-weight: 600; font-size: .9rem; color: #04121f; background: var(--ice); padding: 8px 14px; border-radius: 999px; }
.join-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.join-actions .btn { min-height: 44px; font-size: .95rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--spring) infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 860px) {
  .hero { align-items: end; padding: 96px 0 56px; }
  .island { place-items: start center; padding: 14vh 0 0; }
  .island img { width: 150%; max-width: none; }
  .vignette { background: linear-gradient(180deg, rgba(7, 15, 31, .25) 0%, rgba(7, 15, 31, .1) 35%, rgba(7, 15, 31, .85) 62%, var(--bg) 100%); }
  .t-line { font-size: 15vw; }
  .scroll-cue { display: none; }
  .glass { -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
}

@media (max-width: 420px) {
  .join-top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav { gap: 10px; padding-left: 14px; }
  .nav-logo img { height: 20px; }
  .ip { padding: 14px; }
}

/* ── facts strip ── */
.facts { position: relative; z-index: 2; margin-top: -10px; }
.facts ul { width: min(1240px, 100% - 2 * var(--m)); margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.facts b { display: block; font: 800 clamp(1.4rem, 2.6vw, 2.2rem)/1.05 var(--display); letter-spacing: -0.03em; margin-bottom: 6px; color: var(--ice); }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .facts ul { grid-template-columns: 1fr 1fr; } .facts li { padding: 18px; } }

/* ── section rhythm ── */
.modes, .split, .keys, .board, .join { padding: clamp(90px, 12vw, 170px) 0 0; }
.h2 { font: 800 clamp(2rem, 4.6vw, 3.9rem)/1.02 var(--display); letter-spacing: -0.04em; max-width: 16ch; }
.sub { margin-top: 18px; max-width: 40rem; color: #CFDCEA; font-size: clamp(1.0625rem, 1.2vw, 1.2rem); }
.sub a { color: var(--ice); }

/* ── modes bento with 3D tilt ── */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; perspective: 1400px; }
.card3d {
  position: relative; grid-column: span 4; min-height: 300px; border-radius: 26px; overflow: hidden; text-decoration: none; color: #fff;
  transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .7s var(--spring), box-shadow .7s var(--spring);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.card3d.big { grid-column: span 8; grid-row: span 2; min-height: 620px; }
.card3d:nth-child(2) { grid-column: span 4; }
.card3d:nth-child(4), .card3d:nth-child(5) { grid-column: span 6; min-height: 340px; }
.card3d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .9s var(--spring); }
.card3d::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 15, 31, 0) 35%, rgba(7, 15, 31, .9) 100%); }
.card3d:hover { box-shadow: inset 0 0 0 1px rgba(127, 212, 255, .45), 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(127, 212, 255, .4); }
.card3d:hover img { transform: scale(1.14) translate3d(var(--px, 0), var(--py, 0), 0); }
.glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .22), transparent 55%); }
.card3d:hover .glare { opacity: 1; }
.card-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 24px; transform: translateZ(40px); }
.card-copy h3 { font: 800 clamp(1.35rem, 2.2vw, 2rem)/1.05 var(--display); letter-spacing: -0.03em; margin: 10px 0 8px; }
.card.big .card-copy h3, .big .card-copy h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.card-copy p { color: #D8E4F0; max-width: 34ch; font-size: 1rem; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip.mint { color: #9AF5C2; } .chip.violet { color: #D6BFFF; } .chip.ice { color: #B6E7FF; } .chip.gold { color: #FFE7A3; }
@media (max-width: 960px) {
  .card3d, .card3d:nth-child(n) { grid-column: span 6; }
  .card3d.big { grid-column: span 12; grid-row: auto; min-height: 460px; }
}
@media (max-width: 620px) {
  .bento { gap: 12px; }
  .card3d, .card3d:nth-child(n) { grid-column: span 12; min-height: 280px; }
  .card3d.big { min-height: 400px; }
}

/* ── split sections ── */
.split-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-grid.flip > :first-child { order: 0; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(61, 220, 132, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233DDC84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5'/%3E%3C/svg%3E") center/14px no-repeat; }
.depth { position: relative; border-radius: 30px; overflow: hidden; padding: clamp(28px, 5vw, 64px) clamp(16px, 4vw, 48px); min-height: 520px; display: grid; place-items: center; }
.depth-bg { position: absolute; inset: -10%; width: 120%; height: 120%; max-width: none; object-fit: cover; filter: brightness(.55) saturate(1.2); }
.picker { width: min(440px, 100%); padding: 18px; }
.chat { padding: 10px 14px; border-radius: 12px; background: rgba(0, 0, 0, .35); margin-bottom: 14px; font-size: .95rem; }
.chat b { color: var(--gold); margin-right: 6px; } .chat u { color: var(--ice); }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ladder li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06);
  box-shadow: inset 3px 0 0 var(--c); transition: transform .5s var(--spring), background-color .3s; cursor: default; }
.ladder li:hover { transform: translateX(6px) scale(1.01); background: rgba(255, 255, 255, .1); }
.ladder b { color: var(--c); } .ladder span { color: #C9D6E4; font-size: .92rem; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; }
  .depth { min-height: 0; }
}

/* ── floating keys ── */
.key-stage { position: relative; aspect-ratio: 1 / .9; perspective: 900px; }
.key { position: absolute; width: 46%; border-radius: 24px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .1); will-change: transform; }
.k1 { left: 2%; top: 4%; } .k2 { right: 4%; top: 0; width: 42%; } .k3 { left: 12%; bottom: 0; width: 40%; } .k4 { right: 10%; bottom: 6%; width: 44%; }
.key { animation: float 7s ease-in-out infinite; }
.k2 { animation-delay: -2s; } .k3 { animation-delay: -4s; } .k4 { animation-delay: -1s; }
@keyframes float { 50% { translate: 0 -12px; } }
@media (max-width: 860px) { .key-stage { width: min(440px, 100%); margin: 8px auto 0; } }

/* ── live marquee ── */
.marquee { margin-top: 40px; overflow: hidden; padding: 26px 0; background: linear-gradient(90deg, rgba(127, 212, 255, .1), rgba(185, 139, 255, .1)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(255, 255, 255, .08); }
.run { display: flex; width: max-content; white-space: nowrap; font: 800 clamp(2.2rem, 6vw, 5.2rem)/1 var(--display); letter-spacing: -0.04em; animation: run 45s linear infinite; }
.run span { display: inline-flex; align-items: center; }
.run span:nth-child(3n+1) { color: #fff; } .run span:nth-child(3n+2) { color: var(--ice); } .run span:nth-child(3n) { color: #D6BFFF; }
.run span::after { content: "❄"; font-size: .45em; color: rgba(255, 255, 255, .5); margin: 0 .7em; }
@keyframes run { to { transform: translateX(-50%); } }

/* ── join steps ── */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 28px; counter-increment: s; }
.step::after { content: counter(s); position: absolute; right: 20px; top: 14px; font: 800 3.4rem/1 var(--display); color: rgba(127, 212, 255, .16); }
.step b { display: block; font: 600 1.25rem/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: #CFDCEA; }
.step { background: rgba(255, 255, 255, .04); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ── cta ── */
.cta { position: relative; margin-top: clamp(90px, 12vw, 170px); min-height: 86svh; display: grid; place-items: center; overflow: hidden; padding: 80px var(--m); }
.cta-bg { position: absolute; inset: -12% 0; width: 100%; height: 124%; max-width: none; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 15, 31, .1) 30%, rgba(7, 15, 31, .1) 70%, var(--bg) 100%); }
.cta-card { z-index: 2; width: min(620px, 100%); padding: clamp(28px, 5vw, 52px); text-align: center; display: grid; justify-items: center; gap: 16px; }
.cta-card p { color: #DCE7F3; font-size: 1.125rem; }
.cta-card .btn { margin-top: 10px; }
@media (max-width: 620px) { .cta-card .btn { width: 100%; } }

/* ── footer ── */
.footer { position: relative; overflow: hidden; padding: 90px 0 0; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid p { color: var(--muted); margin-top: 14px; max-width: 30ch; }
.footer h4 { font: 600 .95rem/1 "Geist", sans-serif; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: #DCE7F3; }
.footer a:hover { color: var(--ice); }
.legal { margin-top: 56px; color: #8193AA; font-size: .875rem; }
.giant { width: 110%; max-width: none; margin: 30px 0 -4%; margin-left: -5%; opacity: .07; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 160%); padding: 14px 20px; border-radius: 999px; font-weight: 600;
  background: rgba(10, 22, 44, .85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(127, 212, 255, .4); transition: transform .55s var(--spring); }
.toast.on { transform: translate(-50%, 0); }

/* entrances: hidden only when the script runs */
.js [data-rise] { opacity: 0; transform: translate3d(0, 28px, 0) scale(.985); transition: opacity .9s var(--spring), transform 1s var(--spring); transition-delay: var(--delay, 0s); }
.js [data-rise].in { opacity: 1; transform: none; }
.js .card3d[data-rise].in { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .layer, .card3d, .key, [data-parallax] { transform: none !important; }
}

/* Bedrock address, under the Java one */
.bedrock-ip { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 10px 14px;
  border: 1px solid rgba(232, 246, 255, .14); border-radius: 12px; background: rgba(7, 15, 31, .35); color: inherit;
  font: 500 .92rem/1.2 inherit; cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.bedrock-ip:hover { border-color: rgba(127, 212, 255, .45); background: rgba(7, 15, 31, .5); }
.bedrock-ip:active { transform: scale(.99); }
.bedrock-ip .b-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #3DDC84; }
.bedrock-ip .b-addr { font-weight: 600; overflow-wrap: anywhere; }
.bedrock-ip .b-port { color: var(--muted); white-space: nowrap; }
.bedrock-ip .ip-act { margin-left: auto; }
@media (max-width: 520px) { .bedrock-ip { flex-wrap: wrap; } }
