.home {
    --c-pink: #e0188c;   --c-pink-d: #8f0b58;
    --c-violet: #8b3dff; --c-violet-d: #4a1aa8;
    --c-indigo: #5865f2; --c-indigo-d: #2f3aab;
    --c-amber: #ffb11a;  --c-amber-d: #a86400;
    --c-dark: #1a1230;   --c-dark-d: #07040f;
    position: relative;
    overflow-x: clip;
}

.h-wrap { max-width: var(--s-wrap); margin: 0 auto; padding: 0 1.5rem; }
.home p { color: var(--s-dim); line-height: 1.6; }

/* headings: the brand's pixel face with a block shadow, Rubik for tile titles */
.home h2, .home h3 { font-family: var(--s-head); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.home .h-title { margin-bottom: 2rem; font: 700 clamp(2.2rem, 4.4vw, 3.6rem)/1.08 var(--s-pixel); letter-spacing: 0; color: #fff; text-shadow: 0 4px 0 var(--c-pink-d); }

/* tile: a deep, gem-coloured block with a hard lower edge */
.tile {
    --t: var(--s-tile);
    --td: #08040f;
    --a: #ff4fb0;
    --a2: #d10a7c;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 1.4rem 1.5rem;
    color: #fff;
    text-decoration: none;
    background: var(--t);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .05), 0 6px 0 var(--td), 0 22px 40px rgba(0, 0, 0, .42);
    transition: transform .18s, box-shadow .18s;
}
a.tile:hover, .t-stats:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 9px 0 var(--td), 0 28px 44px rgba(0, 0, 0, .5); }
a.tile:active, .t-stats:active { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 0 var(--td); }
.tile:hover .tile-mark { transform: rotate(-4deg) scale(1.08); }
a.tile:focus-visible, .t-stats:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.tile h2, .tile h3 { color: inherit; }
.tile h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); margin-bottom: .25rem; }
.tile h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.tile p { color: rgba(255, 255, 255, .84); margin: 0; font-size: .96rem; line-height: 1.5; }

.tile-chip { display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin-bottom: auto; font-size: 1.15rem; color: #fff; background: linear-gradient(145deg, var(--a), var(--a2)); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 3px 0 rgba(0, 0, 0, .35); }
.tile-mark { position: absolute; right: -.9rem; bottom: -1.5rem; font-size: 8.5rem; line-height: 1; color: var(--a); opacity: .2; pointer-events: none; transform: rotate(-10deg); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }

.t-pink   { --t: linear-gradient(150deg, #a8127a, #3a0e4e); --td: #4d0836; --a: #ff4fb0; --a2: #d10a7c; }
.t-violet, .t-stats { --t: linear-gradient(150deg, #6c2be0, #2a125e); --td: #2c0f6e; --a: #b488ff; --a2: #7a2fe8; }
.t-indigo, .t-discord { --t: linear-gradient(150deg, #4957ee, #1e2170); --td: #1c2380; --a: #a3afff; --a2: #5866f2; }
.t-amber, .t-shop { --t: linear-gradient(150deg, #ffcb52, #ffa600); --td: #a86400; --a: #3a2300; --a2: #231500; --dot: rgba(120, 60, 0, .6); color: #231500; }
.t-amber p, .t-amber p b, .t-shop p { color: #3d2600; }
.t-amber .tile-chip, .t-shop .tile-chip { color: #ffc84d; }
.t-amber .tile-mark, .t-shop .tile-mark { color: #231500; opacity: .1; }
.t-dark { --dot: rgba(255, 120, 200, .6); }
.t-dark p { color: var(--s-dim); }
.t-dark .tile-mark { opacity: .05; }

/* signature: the glint that runs over an enchanted item in Minecraft */
/* minimal dot grid, brightest in the top-right corner, slowly sliding and breathing */
.tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle, var(--dot, rgba(255, 255, 255, .55)) 1.1px, transparent 1.5px) 0 0 / 15px 15px;
    -webkit-mask-image: radial-gradient(ellipse 85% 100% at 100% 0%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 85% 100% at 100% 0%, #000, transparent 75%);
    opacity: .5;
    transition: opacity .3s;
    animation: dots-slide 18s linear infinite, dots-breathe 7s ease-in-out infinite;
}
a.tile:hover::before, .t-stats:hover::before { opacity: .8; animation-play-state: running; }
@keyframes dots-slide { to { background-position: 15px 15px; } }
@keyframes dots-breathe { 0%, 100% { opacity: .34; } 50% { opacity: .66; } }
.tile:nth-child(2n)::before { animation-duration: 24s, 9s; animation-direction: reverse, normal; }
.tile:nth-child(3n)::before { animation-duration: 20s, 6s; }
.t-mode::before, .t-feature::before { display: none; }
.tile > :is(h2, h3, p, div, ul, .tile-chip, .ts-ip, .ts-row, .ts-note, .h-btn) { position: relative; z-index: 1; }

/* top bento */
.h-top { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100dvh; padding: 5.5rem 0 4.6rem; }
.h-bento { flex: none; width: 100%; height: clamp(560px, calc(100dvh - 11rem), 700px); display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr 1fr 1.1fr; gap: 1.15rem; }
.t-hero { grid-column: span 8; grid-row: span 2; justify-content: center; padding: 2rem 2.8rem; --t: radial-gradient(circle at 80% 50%, rgba(236, 40, 150, .42), transparent 52%), linear-gradient(150deg, #2d1250, #150a2b); --td: var(--c-pink-d); --dot: rgba(255, 140, 215, .75); }
/* hero tile only: a fine, quiet dither halo around the logo, drifting very slowly */
.t-hero::before {
    background: rgba(255, 160, 225, .8);
    -webkit-mask-image: url("../assets/dither.png"), radial-gradient(circle at var(--mx, 76%) var(--my, 50%), #000 0, transparent 58%);
    mask-image: url("../assets/dither.png"), radial-gradient(circle at var(--mx, 76%) var(--my, 50%), #000 0, transparent 58%);
    -webkit-mask-size: 512px 256px, 100% 100%;
    mask-size: 512px 256px, 100% 100%;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    image-rendering: pixelated;
    opacity: .24;
    transition: opacity .5s;
    animation: dither-slide 110s linear infinite;
}
.t-hero:hover::before { opacity: .55; }
.t-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle 220px at var(--mx, 76%) var(--my, 50%), rgba(255, 130, 210, .16), transparent); opacity: 0; transition: opacity .5s; }
.t-hero:hover::after { opacity: 1; }
@keyframes dither-slide { from { -webkit-mask-position: 0 0, 0 0; mask-position: 0 0, 0 0; } to { -webkit-mask-position: 512px 256px, 0 0; mask-position: 512px 256px, 0 0; } }
.t-discord { grid-column: span 4; }
.t-shop { grid-column: span 4; }
.t-mode, .t-stats { grid-column: span 4; }
.t-mode { justify-content: flex-end; }

/* small social buttons, in the band under the tiles beside the arrow */
.h-foot { position: absolute; left: 0; right: 0; bottom: 1.35rem; pointer-events: none; }
.h-rail { display: flex; gap: .6rem; pointer-events: auto; width: fit-content; }
.h-rail a { --b: #333; --bd: #000; --glow: rgba(0, 0, 0, .35); position: relative; display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.1rem; color: #fff; text-decoration: none; background: var(--b); border-radius: 14px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), 0 5px 0 var(--bd), 0 12px 20px rgba(0, 0, 0, .35); transition: transform .28s cubic-bezier(.34, 1.8, .5, 1), box-shadow .2s; }
.h-rail a:hover { transform: translateY(-5px) scale(1.07); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .28), 0 8px 0 var(--bd), 0 16px 26px var(--glow); }
.h-rail a:hover i { animation: rail-wiggle .5s ease; }
.h-rail a:active { transform: translateY(5px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), 0 0 0 var(--bd); transition-duration: .08s; }
.h-rail a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.h-rail .r-tiktok { --b: linear-gradient(145deg, #34374c, #161823); --bd: #fe2c55; --glow: rgba(254, 44, 85, .45); }
.r-tiktok i { text-shadow: -1.5px -1px 0 #25f4ee, 1.5px 1px 0 #fe2c55; }
.h-rail .r-youtube { --b: linear-gradient(145deg, #ff5470, #ff0033); --bd: #a30021; --glow: rgba(255, 0, 51, .5); }
.h-rail .r-facebook { --b: linear-gradient(145deg, #5ba2ff, #1877f2); --bd: #0d4ea6; --glow: rgba(24, 119, 242, .5); }
@keyframes rail-wiggle { 0%, 100% { transform: none; } 25% { transform: rotate(-12deg) scale(1.15); } 55% { transform: rotate(9deg) scale(1.15); } 80% { transform: rotate(-4deg); } }
@keyframes rail-in { from { opacity: 0; transform: translateY(14px) scale(.6); } to { opacity: 1; transform: none; } }
.h-rail span { position: absolute; left: 50%; bottom: calc(100% + .6rem); padding: .35rem .7rem; font: 600 .82rem/1 var(--s-font); color: #fff; white-space: nowrap; background: var(--c-dark); border-radius: 9px; opacity: 0; pointer-events: none; transform: translate(-50%, 4px); transition: opacity .15s, transform .15s; }
.h-rail a:hover span, .h-rail a:focus-visible span { opacity: 1; transform: translate(-50%, 0); }

.h-down { position: absolute; left: 50%; bottom: 1.1rem; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; margin-left: -1.55rem; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .08); border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; animation: h-bob 1.6s ease-in-out infinite; transition: background .2s, color .2s; }
.h-down:hover { background: #fff; color: var(--c-pink-d); }
.h-down:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes h-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* hero tile: slow drifting light behind the logo, a glint now and then */
.t-hero-mark { z-index: 1; position: absolute; right: 6%; top: 50%; height: 68%; width: auto; pointer-events: none; transform: translateY(-50%); animation: h-float 5s ease-in-out infinite; }
@keyframes h-float { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 10px)); } }
.t-hero-body { position: relative; z-index: 1; }
.h-name-wrap { position: relative; display: inline-block; }
.h-name { font: 700 clamp(3rem, min(6.5vw, 11dvh), 5.6rem)/1.08 var(--s-pixel); margin-bottom: 1rem; text-shadow: 0 6px 0 var(--c-pink-d); }
.h-name-tld { color: rgba(255, 255, 255, .34); text-shadow: none; }
.mc-splash {
    position: absolute;
    left: 100%;
    top: -.35em;
    margin-left: -.9em;
    font: 500 clamp(.9rem, 1.6vw, 1.2rem) var(--s-pixel);
    color: #ffe14d;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, .55);
    white-space: nowrap;
    pointer-events: none;
    transform: rotate(-12deg);
    animation: h-splash .9s ease-in-out infinite;
}
@keyframes h-splash {
    0%, 100% { transform: rotate(-12deg) scale(1); }
    50% { transform: rotate(-12deg) scale(1.08); }
}
.t-hero .h-lead { font-size: 1.1rem; line-height: 1.55; max-width: 38ch; margin: 0 0 1.9rem; color: #fff; }

/* buttons */
.h-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: .6rem;
    padding: .9rem 1.4rem;
    font: 700 1rem/1 var(--s-head);
    color: #fff;
    background: var(--c-pink);
    border: 0;
    border-radius: 14px;
    box-shadow: 0 5px 0 var(--c-pink-d);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .12s, box-shadow .12s;
}
.h-btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--c-pink-d); }
.h-btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--c-pink-d); }
.h-btn:focus-visible, .h-shot:focus-visible, .h-faq-list summary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.h-btn--ip { font: 600 1.2rem/1 var(--s-pixel); }
.t-hero .h-btn--ip { padding: 1.05rem 1.8rem; gap: .8rem; border-radius: 16px; font-size: 1.3rem; }
.h-btn--shop { color: #231500; background: var(--c-amber); box-shadow: 0 5px 0 var(--c-amber-d); }
.h-btn--shop:hover { box-shadow: 0 3px 0 var(--c-amber-d); }
.h-btn--dark { color: #fff; background: #231500; box-shadow: 0 5px 0 #000; padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.h-btn--dark:hover { box-shadow: 0 3px 0 #000; }
.h-btn.ok { color: #fff; background: #1f9d55; box-shadow: 0 5px 0 #0f5e32; }

/* modes inside the bento */
.t-mode > img, .t-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.t-mode:hover > img { transform: scale(1.05); }
.t-mode::after, .t-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(12, 7, 19, .9)); }
.t-survival::after { background: linear-gradient(transparent 20%, rgba(143, 11, 88, .9)); }
.t-duels::after { background: linear-gradient(transparent 20%, rgba(74, 26, 168, .92)); }
.t-mode-body { position: relative; z-index: 1; }

/* one load moment: the top tiles pop in once */
@keyframes tile-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
    .h-bento > .tile { animation: tile-in .55s cubic-bezier(.2, .8, .2, 1) backwards; }
    .h-bento > .tile:nth-child(2) { animation-delay: .06s; }
    .h-bento > .tile:nth-child(3) { animation-delay: .12s; }
    .h-bento > .tile:nth-child(4) { animation-delay: .18s; }
    .h-bento > .tile:nth-child(5) { animation-delay: .24s; }
    .h-bento > .tile:nth-child(6) { animation-delay: .3s; }
    .h-rail a { animation: rail-in .5s cubic-bezier(.34, 1.7, .5, 1) backwards; animation-delay: .45s; }
    .h-rail a:nth-child(2) { animation-delay: .53s; }
    .h-rail a:nth-child(3) { animation-delay: .61s; }
}

/* scroll reveal: set up by home.js, content stays visible without it */
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.js-reveal [data-reveal]:not(.in) { opacity: 0; }
.js-reveal [data-reveal].in { animation: reveal .65s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

/* optional modpack banner right under the first screen */
.h-plus-sec { padding-top: 3.5rem; }
.t-plus { flex-direction: row; align-items: center; gap: 1.6rem; padding: 1.5rem 2rem; }
.t-plus .tile-chip { margin: 0; width: 56px; height: 56px; font-size: 1.4rem; }
.t-plus-text { flex: 1; min-width: 0; }
.t-plus h2 { margin: 0 0 .3rem; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.t-plus p { max-width: 62ch; }
.t-plus .h-btn { align-self: center; margin-left: auto; z-index: 1; }
.t-plus .tile-mark { top: 50%; bottom: auto; right: 14rem; margin-top: -4.2rem; font-size: 8rem; }

/* ticker under the first screen: the only moving band on the page */
.h-ticker { overflow: hidden; padding: .95rem 0; background: #08040f; border-block: 1px solid var(--s-line); }
.h-ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.h-ticker:hover .h-ticker-track { animation-play-state: paused; }
.h-ticker span { display: inline-flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; font: 600 1.15rem/1 var(--s-pixel); color: rgba(255, 255, 255, .82); white-space: nowrap; }
.h-ticker span::after { content: ""; width: 9px; height: 9px; background: var(--s-pink-text); }
.h-ticker span:nth-child(5n + 3)::after { background: #ffc84d; }
@keyframes ticker { to { transform: translateX(-25%); } }

/* small code-comment labels above section titles */
.h-eyebrow { margin: 0 0 .7rem; font: 600 .85rem/1 var(--s-font); letter-spacing: .1em; text-transform: uppercase; color: var(--s-pink-text); }
.h-eyebrow + .h-title { margin-top: 0; }

/* sections */
.h-section { padding: 6rem 0 0; scroll-margin-top: 3rem; }

/* why: headline column plus four colour tiles */
.h-why-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
.h-why-head .h-title { margin-bottom: 1.2rem; }
.h-why-head p { max-width: 38ch; font-size: 1.08rem; }
.h-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
.h-why .tile { min-height: 210px; }
.h-why .tile-chip, .t-dark .tile-chip { margin-bottom: 1.6rem; }
.h-why h3 { margin-top: auto; }

/* survival */
.h-survival { display: grid; grid-template-columns: 5fr 7fr; gap: 1.15rem; }
.t-feature { justify-content: flex-end; min-height: 440px; }
.t-feature::after { background: linear-gradient(transparent 30%, rgba(12, 7, 19, .82) 60%, rgba(12, 7, 19, .96)); }
.t-feature .t-mode-body p { color: #fff; margin-bottom: 1.2rem; max-width: 36ch; font-size: 1.02rem; }
.h-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }

/* big tile + stack of small ones */
.h-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.15rem; }
.h-stack { display: grid; gap: 1.15rem; }
.t-big { justify-content: flex-end; min-height: 440px; padding: 2.4rem 2.6rem; }
.t-big .tile-chip { width: 54px; height: 54px; font-size: 1.4rem; }
.t-big h2 { margin: 2rem 0 .9rem; font: 700 clamp(2.3rem, 4.6vw, 3.8rem)/1.05 var(--s-pixel); letter-spacing: 0; text-shadow: 0 4px 0 rgba(120, 70, 0, .45); }
.t-big p { max-width: 44ch; margin-bottom: 1.6rem; font-size: 1.1rem; }
.t-big .tile-mark { right: -1.5rem; bottom: -3rem; font-size: 20rem; }
.t-row { flex-direction: row; align-items: center; gap: 1.1rem; }
.t-row .tile-chip { margin: 0; }
.t-row .tile-mark { top: 50%; bottom: auto; right: -.6rem; margin-top: -3.6rem; font-size: 7rem; }

/* gallery */
.h-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 14vw, 230px); gap: 1.15rem; }
.h-shot { position: relative; padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: var(--c-dark); box-shadow: 0 7px 0 var(--c-dark-d); cursor: zoom-in; }
.h-shot:first-child { grid-column: span 2; grid-row: span 2; }
.h-shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.h-shot:hover img { transform: scale(1.05); }

/* steps */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; counter-reset: s; }
.h-steps li { counter-increment: s; position: relative; padding: 2rem 1.6rem 1.6rem; background: var(--s-tile); border-radius: 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 0 #08040f, 0 22px 40px rgba(0, 0, 0, .42); }
.h-steps li::before { content: counter(s); position: absolute; top: -1.1rem; left: 1.4rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; font: 800 1.1rem/1 var(--s-head); color: #fff; background: var(--c-pink); border-radius: 10px; box-shadow: 0 3px 0 var(--c-pink-d); }
.h-steps h3 { margin: .3rem 0 .75rem; font-size: 1.3rem; }
.h-steps p { margin: 0; }
.h-steps .h-btn { width: 100%; }

/* faq */
.h-faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; align-items: start; }
.h-faq-list details { background: var(--s-tile); border-radius: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 5px 0 #08040f; }
.h-faq-list summary { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.3rem; font: 600 1.02rem/1.3 var(--s-head); color: #fff; cursor: pointer; list-style: none; }
.h-faq-list summary::-webkit-details-marker { display: none; }
.h-faq-list summary::before { content: "?"; display: grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; font-size: 1rem; color: #fff; background: rgba(255, 255, 255, .1); border-radius: 10px; }
.h-faq-list summary::after { content: "+"; margin-left: auto; font: 900 1.4rem/1 var(--s-head); color: var(--s-pink-text); }
.h-faq-list details[open] summary::after { content: "-"; }
.h-faq-list details p { padding: 0 1.4rem 1.3rem; margin: 0; }
.h-faq-list a { color: var(--s-pink-text); }

/* lightbox */
.h-lightbox { max-width: 94vw; max-height: 94vh; padding: 0; border: 0; border-radius: 22px; background: var(--c-dark); overflow: hidden; }
.h-lightbox::backdrop { background: rgba(4, 2, 10, .88); }
.h-lightbox img { display: block; max-width: 94vw; max-height: 94vh; }
.h-lightbox-close { position: absolute; top: .75rem; right: .75rem; width: 2.5rem; height: 2.5rem; color: #fff; background: var(--c-pink); border: 0; border-radius: 12px; cursor: pointer; }

/* ip + stats tile: the whole tile copies the address */
.t-stats { align-items: stretch; justify-content: center; gap: .85rem; padding: 1.2rem 1.4rem; font: inherit; text-align: left; border: 0; cursor: pointer; }
.ts-ip { display: inline-flex; align-items: center; gap: .7rem; font: 600 clamp(1.5rem, 2.4vw, 2rem)/1 var(--s-pixel); color: #fff; }
.ts-ip i { display: grid; place-items: center; flex: none; width: 2.4rem; height: 2.4rem; font-size: 1rem; background: rgba(12, 7, 19, .35); border-radius: 12px; }
.ts-row { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: .5rem; padding: .7rem .9rem; background: rgba(12, 7, 19, .38); border-radius: 14px; }
.ts-stat { display: flex; flex-direction: column; gap: .1rem; }
.ts-stat b { display: inline-flex; align-items: center; gap: .4rem; font: 700 clamp(1.1rem, 1.7vw, 1.45rem)/1.1 var(--s-font); font-variant-numeric: tabular-nums; color: #fff; }
.ts-stat small { font-size: .78rem; color: rgba(255, 255, 255, .82); }
.ts-dot { width: 9px; height: 9px; background: #3ddc84; border-radius: 50%; }
.ts-note { font-size: .82rem; color: rgba(255, 255, 255, .9); }
.t-stats.ok .ts-ip { color: #b8ffd4; }

@media (max-width: 1180px) {
    .h-why-wrap { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 960px) {
    .h-top { min-height: 0; padding: 6.5rem 0 2.8rem; }
    .h-down { display: none; }
    .t-plus { flex-direction: column; align-items: flex-start; padding: 1.3rem; }
    .t-plus .tile-mark { display: none; }
    .t-plus .h-btn { margin-left: 0; align-self: stretch; }
    .h-bento { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; height: auto; }
    .t-hero, .t-stats { grid-column: span 2; grid-row: auto; }
    .t-discord, .t-shop, .t-mode { grid-column: span 1; grid-row: auto; }
    .t-discord, .t-shop { min-height: 168px; }
    .t-mode { min-height: 180px; }
    .t-hero { padding: 1.8rem 1.5rem; }
    .t-hero-mark { right: -1rem; top: auto; bottom: -1rem; height: 150px; opacity: .4; transform: none; animation: none; }
    .h-foot { position: static; margin-top: 1.75rem; }
    .h-rail { margin: 0 auto; }
    .h-rail span { display: none; }
    .h-survival, .h-steps, .h-split { grid-template-columns: 1fr; }
    .h-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
    .t-feature { min-height: 320px; }
    .t-big { min-height: 360px; padding: 1.8rem 1.6rem; }
    .h-section { padding-top: 4rem; }
    .h-steps { gap: 2rem; }
}
@media (max-width: 620px) {
    .h-bento { gap: .8rem; }
    .t-discord, .t-shop, .t-mode { padding: 1rem; }
    .t-discord p, .t-shop p { font-size: .85rem; }
    .t-mode p { font-size: .85rem; }
    .tile h2 { font-size: 1.25rem; }
    .t-discord .tile-chip, .t-shop .tile-chip { width: 40px; height: 40px; font-size: 1rem; }
    .t-discord .tile-mark, .t-shop .tile-mark { font-size: 5rem; }

    /* long lists become slim rows: icon on the left, title and text on the right */
    .h-why, .h-feats { gap: .8rem; }
    .h-why .tile, .h-feats .tile { display: grid; grid-template-columns: 44px 1fr; align-items: start; column-gap: .9rem; row-gap: .15rem; min-height: 0; padding: 1rem 1.1rem; }
    .h-why .tile-chip, .h-feats .tile-chip { grid-row: span 2; width: 44px; height: 44px; margin: 0; font-size: 1.05rem; }
    .h-why h3, .h-feats h3 { margin: 0; align-self: end; font-size: 1.05rem; }
    .h-why p, .h-feats p { font-size: .9rem; }
    .h-why .tile-mark, .h-feats .tile-mark { display: none; }
    .h-stack { gap: .8rem; }
    .t-row { padding: 1rem 1.1rem; }
    .t-row .tile-mark { display: none; }
    .h-steps li { padding: 1.7rem 1.2rem 1.2rem; }
    .h-why, .h-feats, .h-faq-list { grid-template-columns: 1fr; }
    .h-section { padding-top: 3rem; }
    .t-big .h-btn { align-self: stretch; }
    .mc-splash { left: auto; right: -.4em; top: -.9em; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .tile, .h-btn, .t-mode > img, .h-shot img, .h-rail a { transition: none; }
    .h-rail a:hover i { animation: none; }
    .mc-splash, .h-down, .t-hero-mark, .tile::before, .h-ticker-track { animation: none; }
    .t-hero::before, .t-hero::after { transition: none; }
    .js-reveal [data-reveal]:not(.in) { opacity: 1; }
}
