/* Home page: Minecraft badge and stats in the hero, pick-a-pack, together, comparison and "only in VORDA". */
.mc-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 7px 12px 7px 8px; font: 400 12px var(--font-pixel); color: var(--mc-emerald-hi); background: #0b2a19cc; clip-path: var(--notch-clip); --notch: 3px; box-shadow: inset 0 0 0 1px #3ddc6f66; }
/* A tiny grass block drawn with gradients. */
.mc-badge i { width: 16px; height: 16px; background: linear-gradient(180deg, #5fd14b 0 35%, #3f9a2e 35% 45%, #8a5a33 45% 100%); box-shadow: inset -3px -3px 0 #0003, inset 2px 2px 0 #fff3; }
.mc-stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px; margin-top: 22px; }
.mc-stats span { display: grid; gap: 2px; padding: 10px 14px; min-width: 112px; font-size: 12px; color: #b9c4de; background: #0b1228b8; clip-path: var(--notch-clip); --notch: 4px; box-shadow: inset 0 0 0 1px #ffffff14, inset 0 -3px 0 #0006; }
.mc-stats b { font: 800 20px/1.15 var(--font-display); color: #fff; letter-spacing: -0.01em; }
.mc-stats span:nth-child(1) b { color: var(--mc-gold); }
.mc-stats span:nth-child(2) b { color: var(--mc-sakura); }
.mc-stats span:nth-child(3) b { color: var(--mc-emerald-hi); }
.mc-stats span:nth-child(4) b { color: var(--mc-diamond); }

.sc-section { position: relative; margin: clamp(48px, 7vw, 88px) auto; }
/* Content is always visible; entering the screen only adds a short rise. */
.sc-section.is-visible :is(.sc-flow li, .sc-row) { animation: sc-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes sc-rise { from { translate: 0 18px; } }
.portal-main-wrap > .sc-section { margin-left: 0; margin-right: 0; }
.sc-head { margin-bottom: 20px; }
.sc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 400 12px var(--font-pixel); color: var(--mc-emerald-hi); text-transform: uppercase; }
.sc-head h2 { margin: 8px 0 0; font: 800 clamp(26px, 3vw, 40px) / 1.1 var(--font-display); letter-spacing: -0.02em; color: #fff; text-shadow: 0 3px 0 #0008; }
.sc-head p { margin: 8px 0 0; max-width: 64ch; color: #b9c4de; font-size: 16px; line-height: 1.55; }
.sc-note { margin: 0; color: #93a0bf; }

/* Pick a pack: a grass strip on top makes the section read as a Minecraft block. */
.sc-pick { padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: radial-gradient(60% 100% at 100% 0%, #6f3fc444, transparent 60%), radial-gradient(60% 100% at 0% 100%, #1d944744, transparent 60%), #111936; box-shadow: inset 0 0 0 1px #ffffff14; overflow: hidden; }
.sc-pick::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, #5fd14b 0 12px, #4cb83b 12px 24px, #6be056 24px 30px); box-shadow: 0 4px 0 #3f9a2e, 0 8px 0 #8a5a33; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sc-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 0; cursor: pointer; font: 650 14px var(--font-body); color: #dbe2ff; background: #ffffff0d; clip-path: var(--notch-clip); --notch: 3px; box-shadow: inset 0 0 0 1px #ffffff1c, inset 0 -3px 0 #0006; transition: transform 0.14s var(--ease-spring), background 0.14s; }
.sc-chip:hover { transform: translateY(-2px); background: #ffffff18; }
.sc-chip[aria-pressed="true"] { color: #10081f; background: linear-gradient(180deg, #d8c3ff, var(--mc-amethyst)); }
.sc-packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 120px; }
.sc-pack { display: grid; grid-template-rows: auto 1fr; overflow: hidden; color: #fff; text-decoration: none; background: #0b1228; border-radius: 14px; box-shadow: inset 0 0 0 1px #ffffff14; transition: transform 0.18s var(--ease-spring), box-shadow 0.18s; animation: sc-pop 0.35s var(--ease-out-quint) both; }
@keyframes sc-pop { from { opacity: 0; transform: scale(0.96); } }
.sc-pack:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--mc-amethyst), 0 20px 40px -24px #b685ff; }
.sc-pack img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sc-pack span { display: grid; gap: 3px; padding: 10px 12px 12px; }
.sc-pack strong { font: 700 15px/1.25 var(--font-display); }
.sc-pack small { font-size: 12px; color: #93a0bf; }
.sc-pack em { font: 400 11px var(--font-pixel); font-style: normal; color: #d8c3ff; }
.sc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.sc-cta span { font-size: 13px; color: #93a0bf; }

/* Together. */
.sc-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.sc-flow li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 18px; background: linear-gradient(180deg, #17204a, #111936); box-shadow: inset 0 0 0 1px #ffffff12, inset 0 3px 0 var(--mc-emerald); }
.sc-flow li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 42px; width: 10px; height: 10px; background: var(--mc-emerald); clip-path: polygon(0 0, 100% 50%, 0 100%); z-index: 1; }
.sc-flow-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; background: #0b1228; clip-path: var(--notch-clip); --notch: 4px; }
.sc-flow b { position: absolute; top: 16px; right: 16px; font: 400 26px var(--font-digits); color: #ffffff22; }
.sc-flow strong { font: 700 17px/1.25 var(--font-display); color: #fff; }
.sc-flow small { font-size: 14px; line-height: 1.5; color: #b9c4de; }

/* Comparison. */
.sc-table { overflow: hidden; border-radius: 18px; background: #111936; box-shadow: inset 0 0 0 1px #ffffff14; }
.sc-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px 170px; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid #ffffff0b; color: #dbe2fb; }
.sc-row:last-child { border-bottom: 0; }
.sc-row > span:not(:first-child) { text-align: center; }
.sc-row-head { font: 400 11px var(--font-pixel); color: #93a0bf; text-transform: uppercase; background: #0b1228; }
.sc-row-head span:nth-child(2) { color: var(--mc-emerald-hi); }
.sc-row:not(.sc-row-head):hover { background: #ffffff06; }
.sc-yes { display: inline-grid; place-items: center; width: 28px; height: 28px; font-weight: 900; color: #04260f; background: var(--mc-emerald); clip-path: var(--notch-clip); --notch: 3px; }
.sc-no { color: #6f7ca0; font-weight: 800; }
.sc-part { font-size: 12px; color: #ffe28a; }

@media (max-width: 1100px) {
  .sc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-flow li::after { display: none; }
}
@media (max-width: 720px) {
  .mc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-packs, .sc-flow { grid-template-columns: minmax(0, 1fr); }
  .sc-row { grid-template-columns: minmax(0, 1fr) 64px 80px; padding: 10px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-section *, .sc-pack { animation: none !important; }
}
html.portal-motion-paused .sc-section * { animation: none !important; }

/* No jump on load (CLS): the feature and pick-a-pack sections arrive a moment after the portal draws the home page
   (vivid-site.mjs), above the worlds. Until they are in, the part below them waits unseen instead of being shoved down
   the screen; if they never come, it shows anyway after 1.5 s. */
.portal-home:not(:has(> .sc-pick)) > .portal-main-wrap,
.portal-home:not(:has(> .sc-pick)) > .library-strip { visibility: hidden; animation: vorda-late-reveal 0s 1.5s forwards; }
@keyframes vorda-late-reveal { to { visibility: visible; } }

/* Text pages from scripts/build-site-pages.mjs inside the portal (/discover, /guide, /tournaments, /crash) and the
   questions under the help center. Error names (EXCEPTION_ACCESS_VIOLATION) and log lines are single long words: they
   wrap instead of running off a phone screen. */
.seo-article { max-width: 880px; padding-top: 120px; padding-bottom: 70px; color: #c9d3ea; font-size: 16.5px; line-height: 1.65; overflow-wrap: break-word; }
.seo-article h1 { margin: 0 0 18px; font: 800 clamp(32px, 5vw, 52px)/1.05 var(--font-display, inherit); color: #fff; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.seo-article pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px 16px; background: #050a18; border-radius: 12px; box-shadow: inset 0 0 0 1px #ffffff14; font-size: 13.5px; line-height: 1.5; }
.seo-article h2 { margin: 38px 0 12px; font: 800 24px/1.2 var(--font-display, inherit); color: #fff; }
.seo-article p { margin: 0 0 14px; }
.seo-article ul, .seo-article ol { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: seo; }
.seo-article li { position: relative; padding: 12px 16px 12px 44px; background: #0b1228b8; border-radius: 12px; box-shadow: inset 0 0 0 1px #ffffff12; }
.seo-article ul > li::before { content: ""; position: absolute; left: 18px; top: 21px; width: 8px; height: 8px; background: var(--mc-emerald-hi, #4fe39a); transform: rotate(45deg); }
.seo-article ol > li { counter-increment: seo; }
.seo-article ol > li::before { content: counter(seo); position: absolute; left: 12px; top: 11px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--mc-gold, #ffcb45); color: #2a1b00; font-weight: 800; font-size: 13px; }
.seo-article li b { color: #fff; }
.seo-article a:not(.button) { color: #8fd3ff; }
.seo-article .button { margin-top: 18px; }
.seo-faq { max-width: 880px; padding-bottom: 70px; }
.seo-faq h2 { font: 800 28px/1.2 var(--font-display, inherit); color: #fff; margin: 0 0 14px; }
.seo-q { margin-bottom: 8px; border-radius: 12px; background: #0b1228b8; box-shadow: inset 0 0 0 1px #ffffff12; }
.seo-q summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.seo-q summary::-webkit-details-marker { display: none; }
.seo-q summary::after { content: "+"; color: var(--mc-gold, #ffcb45); font-size: 20px; line-height: 1; transition: transform .2s; }
.seo-q[open] summary::after { transform: rotate(45deg); }
.seo-q p { margin: 0; padding: 0 18px 16px; color: #c9d3ea; line-height: 1.6; }
.seo-q summary:focus-visible { outline: 2px solid var(--mc-gold, #ffcb45); outline-offset: 2px; border-radius: 12px; }

/* The badge above a section heading, moved inside the H1 (designs/app.js → seoHeading): the same badge, on its own
   line, untouched by the heading's size, colour and gradient. */
h1 > .h1-kicker { display: flex; width: fit-content; margin-bottom: 14px; font: 400 12px/1.4 var(--font-pixel); letter-spacing: normal; text-transform: none; -webkit-text-fill-color: currentColor; background-clip: border-box; -webkit-background-clip: border-box; }
.seo-article img { display: block; max-width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px #ffffff14, 0 12px 30px -10px #000a; }
.seo-article h3 { margin: 22px 0 6px; font: 700 17px/1.35 var(--font-display, inherit); color: #fff; }
.seo-article p > .button + .button { margin-left: 8px; }
.seo-article p > img { width: 320px; }
