/* =====================================================================================
   Crystia.eu site: layout on top of styles.css. Same system as the Polation site
   (floating capsule nav, frosted surfaces, blur-in reveals, section rise/settle, tilt cards,
   depth-field parallax, crowd rows), themed amethyst + crystal cyan, with a voxel hero (scene.js).
   ===================================================================================== */
:root { --crystal: #5ee7ff; --gold: #e4ae39; --pix: "Pixelify Sans", ui-monospace, monospace; }

/* ---------- water-flow backdrop (bg.js) ---------- */
#flow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; background: var(--wall-a); }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html, body { overflow-x: clip; }

section { position: relative; padding: 0 24px; }
.wrap { max-width: 1180px; margin: 0 auto; }
.eyebrow { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--caption); font-weight: 500; }
.eyebrow.acc { color: var(--accent); }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 600; letter-spacing: -.03em; }
h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: .98; }
h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.02; }
h3 { font-size: 17px; letter-spacing: -.01em; }
.muted { color: var(--value); font-weight: 400; }
[data-par] { will-change: translate; }
.px { display: inline-block; flex: none; image-rendering: pixelated; }
.px svg { display: block; width: 100%; height: 100%; }
/* logo: the pixel crystal (assets/img/logo.svg, 8x11 px) + the name in the pixel font; keep whole-pixel sizes */
.logo-mark { display: block; flex: none; image-rendering: pixelated; }
.wm { display: block; flex: none; }

/* reveal: rise out of a soft blur */
.reveal { opacity: 0; transform: translateY(28px) scale(.97); filter: blur(10px);
  transition: opacity .8s var(--out-cubic), transform .9s cubic-bezier(.16, 1, .3, 1), filter .8s var(--out-cubic); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
[data-sec] { will-change: transform; }

/* =====================================================================================
   NAV: floating capsule, centred. Glider slides between links.
   ===================================================================================== */
.navcap {
  position: fixed; top: 18px; left: 50%; z-index: 40; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px;
  border-radius: 18px; background: var(--frame); border: 1px solid var(--sheet-border);
  box-shadow: inset 0 1px 0 #ffffff0d, 0 10px 40px color-mix(in srgb, var(--shadow) 30%, transparent);
  transition: top .35s var(--out-cubic), padding .35s var(--out-cubic), box-shadow .35s var(--out-cubic), border-radius .35s var(--out-cubic);
}
.navcap.scrolled { top: 12px; padding: 4px; border-radius: 16px; box-shadow: inset 0 1px 0 #ffffff0d, 0 14px 50px color-mix(in srgb, var(--shadow) 45%, transparent); }
.cap-brand { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 10px 0 4px; height: 38px; transition: gap .35s var(--out-cubic), padding .35s var(--out-cubic); }
.cap-brand .logo-mark { width: 24px; height: 33px; margin-bottom: 1px; /* whole-pixel top inside the 38px row */ filter: drop-shadow(0 0 7px color-mix(in srgb, var(--accent) 60%, transparent)); }
.cap-name { display: block; color: var(--text); overflow: hidden; max-width: 88px; transition: max-width .35s var(--out-cubic), opacity .25s var(--out-cubic); }
.cap-name .wm { width: 88px; height: 14px; }
.navcap.scrolled .cap-name { max-width: 0; opacity: 0; }
.navcap.scrolled .cap-brand { gap: 0; padding: 0 4px; }
.cap-links { position: relative; display: flex; padding: 0 4px; border-left: 1px solid var(--card-line); border-right: 1px solid var(--card-line); }
.cap-links a { position: relative; z-index: 1; height: 34px; padding: 0 14px; display: flex; align-items: center; font-size: 12.5px; color: color-mix(in srgb, var(--label) 60%, transparent); transition: color .2s var(--out-cubic); }
.cap-links a:hover, .cap-links a.active { color: var(--text); }
.glider { position: absolute; left: 0; top: 0; height: 34px; border-radius: 10px; background: var(--hover-fill-full); opacity: 0; transition: transform .38s var(--out-cubic), width .38s var(--out-cubic), opacity .2s; }
.cap-actions { display: flex; align-items: center; gap: 6px; padding-left: 6px; }
.cap-actions .btn { height: 36px; border-radius: 11px; }
.cap-progress { position: absolute; left: 18px; right: 18px; bottom: -1px; height: 1px; background: var(--accent); transform-origin: left; transform: scaleX(0); opacity: .7; }

/* =====================================================================================
   HERO: copy + IP on the left, voxel island on the right (exit is scroll-linked in site.js)
   ===================================================================================== */
.hero { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding-top: 90px; padding-bottom: 40px; }
.hero .wrap { width: 100%; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; transform-origin: 50% 30%; will-change: transform, opacity, filter; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 em.cy { color: var(--crystal); }
.hero p { max-width: 400px; margin: 22px 0 0; font-size: 15px; line-height: 1.6; }
.hero .cta { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hero .status { margin-bottom: 18px; }

/* server IP: a frosted card with the menu's field + accent button */
.ipcard { display: flex; align-items: center; gap: 12px; max-width: 440px; margin-top: 30px; padding: 8px 8px 8px 10px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--sheet-border); box-shadow: 0 20px 50px -24px color-mix(in srgb, var(--accent) 55%, transparent); }
.ipcard .px { width: 38px; height: 38px; padding: 6px; border-radius: 10px; background: var(--field); border: 1px solid var(--sheet-border); }
.ip-txt { flex: 1; min-width: 0; }
.ip-txt small { display: block; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--caption); }
.ip-txt code { display: block; font-family: var(--pix); font-weight: 600; font-size: clamp(17px, 2.2vw, 21px); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .02em; }
.copy-btn { height: 40px; padding: 0 16px; border-radius: 10px; }
.copy-btn .ico { width: 13px; height: 13px; }
.copy-btn .ok { display: none; }
.copy-btn.done { background: #5fcf8f; }
.copy-btn.done .ok { display: inline-block; }
.copy-btn.done .cp { display: none; }

.stage3d { position: relative; height: min(78vh, 720px); min-height: 460px; }
#voxel { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#voxel:active { cursor: grabbing; }
.vox-fallback { position: absolute; inset: 22% 26% 30%; opacity: 0; transition: opacity .4s; filter: drop-shadow(0 0 40px color-mix(in srgb, var(--accent) 70%, transparent)); }
.stage3d.fallback .vox-fallback { opacity: 1; }
.stage3d::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 13%; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 35%, transparent), transparent); filter: blur(8px); pointer-events: none; }

/* tint bar (same shape as the Polation chams bar) */
.chams-bar { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 12px; background: var(--sheet); border: 1px solid var(--sheet-border); box-shadow: 0 4px 20px color-mix(in srgb, var(--shadow) 30%, transparent); white-space: nowrap; }
.chams-bar .sep { width: 1px; height: 18px; background: var(--card-line); margin: 0 4px; }
.chams-bar .hint { padding: 0 8px 0 4px; font-size: 11px; color: var(--caption); }
.mat { position: relative; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.mat::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--hover-fill-full); opacity: 0; transition: opacity .2s var(--out-cubic); }
.mat:hover::before { opacity: .5; }
.mat.on::before { opacity: 1; }
.mat i { position: relative; width: 16px; height: 16px; border-radius: 4px; background: var(--sph); box-shadow: inset 0 0 0 1px #ffffff1f; transform: rotate(45deg) scale(.82); }
.sph-ame  { --sph: linear-gradient(135deg, #e2d6ff, #9b6bff 55%, #4b25b8); }
.sph-ice  { --sph: linear-gradient(135deg, #e0fbff, #5ee7ff 55%, #1d7ea0); }
.sph-rose { --sph: linear-gradient(135deg, #ffe0f1, #ff6bb5 55%, #a3266b); }
.sph-gold { --sph: linear-gradient(135deg, #fff3c4, #ffc94d 55%, #a46d10); }
.sph-blue  { --sph: linear-gradient(135deg, #d6ecff, #3999ff 55%, #1b4f8f); }
.sph-red   { --sph: linear-gradient(135deg, #ffd9d6, #e8504a 55%, #8f1f1b); }
.sph-green { --sph: linear-gradient(135deg, #d9f7dd, #4cc76a 55%, #1f6b33); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 22px; height: 34px; border-radius: 11px; border: 1px solid var(--sheet-border); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--in-out-cubic) infinite; }
@keyframes cue { 50% { transform: translateY(9px); opacity: .3; } }

/* status pill (Polation footer "All systems operational") */
.status { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 11px; color: var(--label); background: var(--sheet); border: 1px solid var(--sheet-border); }
.status b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #8df08d; box-shadow: 0 0 0 3px #8df08d30; animation: pulse 2s var(--in-out-cubic) infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px #8df08d00; } }

/* ---------- section heads ---------- */
.block { padding-top: 150px; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.head.center { justify-content: center; text-align: center; margin-bottom: 70px; }
.head p { max-width: 320px; margin: 0; font-size: 14px; line-height: 1.6; }
.head .eyebrow { margin-bottom: 14px; }

/* =====================================================================================
   MODES: pixel art breaks out of glass cards; cards tilt toward the cursor (Polation pricing tiers)
   ===================================================================================== */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: end; perspective: 1100px; padding-top: 30px; }
.tier { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; position: relative; transform-style: preserve-3d; }
.tier-in { position: relative; border-radius: 22px; padding: 110px 22px 22px; background: var(--card); border: 1px solid var(--sheet-border);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: border-color .3s var(--out-cubic);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--shadow) 70%, transparent); }
.tier-in::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx) var(--my), color-mix(in srgb, var(--glow) 16%, transparent), transparent 60%); }
.tier:hover .tier-in { border-color: color-mix(in srgb, var(--glow) 45%, transparent); }
.tier-art { position: absolute; left: 0; right: 0; top: -70px; height: 170px; transform: translateZ(60px); pointer-events: none; }
.tier-art::before { content: ""; position: absolute; inset: 10% 20%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 45%, transparent), transparent); filter: blur(10px); }
.tier-art .px { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; transform: translate(-50%, -50%) rotate(-8deg);
  filter: drop-shadow(0 22px 22px #000b) drop-shadow(0 0 18px color-mix(in srgb, var(--glow) 55%, transparent)); transition: transform .6s var(--out-cubic); }
.tier:hover .tier-art .px { transform: translate(-50%, -58%) rotate(0deg) scale(1.08); }
.tier-body { position: relative; display: flex; flex-direction: column; gap: 16px; transform: translateZ(25px); }
.tier-name b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.04em; color: var(--text); line-height: 1; }
.tier-name small { display: flex; align-items: center; gap: 7px; margin-top: 9px; font-size: 12px; color: var(--caption); font-weight: 400; }
.tier-name small i { width: 6px; height: 6px; border-radius: 50%; background: #8df08d; box-shadow: 0 0 0 3px #8df08d26; }
.tier-name small b { display: inline; font-size: 12px; letter-spacing: 0; color: var(--label); font-weight: 500; font-variant-numeric: tabular-nums; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.perks li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--label); }
.perks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--glow) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tier .btn { width: 100%; height: 42px; margin: 4px 0 0; flex: none; border-radius: 12px; }
.tier.best .tier-in { border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--card)), var(--card) 45%);
  box-shadow: 0 40px 90px -30px color-mix(in srgb, var(--accent) 45%, transparent); }
.tier-tag { position: absolute; top: 16px; right: 16px; z-index: 2; font-size: 10px; padding: 4px 10px; border-radius: 10px; color: #fff; background: var(--accent); transform: translateZ(40px); }
.included { margin-top: 56px; text-align: center; }
.inc-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.inc-row span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 17px; font-size: 12px; color: var(--label); background: var(--sheet); border: 1px solid var(--sheet-border); }
.inc-row .px { width: 16px; height: 16px; }

/* =====================================================================================
   DEPTH FIELD: pixel blocks at different depths; near ones rush past, far ones lag and blur (site.js)
   ===================================================================================== */
.depth { height: 120vh; min-height: 760px; margin-top: 80px; overflow: hidden; display: grid; place-items: center; padding: 0; }
.depth-layer { position: absolute; inset: 0; }
.depth-layer .px { position: absolute; will-change: transform; transform-origin: 50% 50%; }
.depth-copy { position: relative; z-index: 6; text-align: center; padding: 0 16px; }
.depth-copy h2 { margin-top: 16px; font-size: clamp(42px, 7vw, 92px); line-height: .98; text-shadow: 0 10px 40px #000a; }
.depth-copy h2 em { font-style: normal; color: var(--crystal); }

/* =====================================================================================
   ABOUT: centred copy over rows of players sliding on depth layers (crowd.js + data-par)
   ===================================================================================== */
.about { position: relative; margin-top: 150px; min-height: 820px; display: grid; place-items: center; padding: 0; overflow: hidden; }
.about-crowd { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-evenly; pointer-events: none;
  mask-image: radial-gradient(ellipse 44% 46% at 50% 50%, transparent 55%, #000 100%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: radial-gradient(ellipse 44% 46% at 50% 50%, transparent 55%, #000 100%), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-composite: intersect; -webkit-mask-composite: source-in; }
.crowd-row { position: relative; will-change: translate; opacity: var(--o); filter: blur(var(--b)); }
.crowd-track { display: flex; gap: 12px; width: max-content; scale: var(--s); transform-origin: 50% 50%; animation: crowd linear infinite; will-change: transform; }
@keyframes crowd { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cc { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; border-radius: 22px; white-space: nowrap; background: var(--card); border: 1px solid var(--sheet-border); }
.cc .head8 { width: 28px; height: 28px; border-radius: 7px; overflow: hidden; flex: none; image-rendering: pixelated; box-shadow: inset 0 0 0 1px #ffffff1a; }
.cc .head8 svg { display: block; width: 100%; height: 100%; }
.cc .head8 { position: relative; }
.cc .head8 img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.cc b { font-size: 13px; font-weight: 500; color: var(--text); }
.cc em { font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: 8px; color: var(--pc); background: color-mix(in srgb, var(--pc) 16%, transparent); }

.about-center { position: relative; z-index: 20; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 120px 16px; }
.about-center h2 { margin: 14px 0 44px; font-size: clamp(44px, 6.4vw, 84px); line-height: .96; text-shadow: 0 10px 40px #000c; }
.ab-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 44px; margin-bottom: 44px; }
.ab-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ab-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 14px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
.ab-ico .ico { width: 19px; height: 19px; }
.ab-stat b { font-size: 22px; font-weight: 600; color: var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ab-stat small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--caption); }

/* ---------- FAQ (menu rows that expand) ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.faq-grid h2 { margin-top: 14px; }
.faq { padding: 6px; border-radius: 16px; }
.faq .item { position: relative; }
.faq .item + .item::before { content: ""; position: absolute; left: 12px; right: 12px; top: 0; height: 1px; background: var(--card-line); }
.faq .row { height: 58px; cursor: pointer; font-size: 14px; color: var(--text); }
.faq .row > .ico { width: 14px; height: 14px; color: var(--label); transition: transform .25s var(--out-cubic), color .25s var(--out-cubic); }
.faq .item.open .row > .ico { transform: rotate(45deg); color: var(--accent); }
.faq .ans { height: 0; overflow: hidden; transition: height .25s var(--out-cubic); }
.faq .ans p { margin: 0; padding: 0 var(--row-pad) 18px; font-size: 13px; line-height: 1.65; font-weight: 400; color: var(--value); opacity: 0; transform: translateY(-4px); transition: opacity .2s var(--out-cubic), transform .2s var(--out-cubic); }
.faq .item.open .ans p { opacity: 1; transform: none; transition-delay: .12s; }
.faq .ans b { color: var(--text); font-weight: 500; }

/* ---------- CTA band: Discord / Store / Vote ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; min-height: 460px; display: grid; place-items: center; text-align: center; background: var(--card); border: 1px solid var(--sheet-border); }
.cta-band::before { content: ""; position: absolute; inset: -30% 15% auto; height: 110%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, transparent), transparent); pointer-events: none; }
.cta-float { position: absolute; inset: 0; }
.cta-float .px { position: absolute; will-change: transform; filter: drop-shadow(0 18px 24px #000a); }
.cta-copy { position: relative; z-index: 2; padding: 50px 24px; }
.cta-copy h2 { margin-top: 14px; font-size: clamp(36px, 5.4vw, 66px); text-shadow: 0 10px 30px #0009; }
.cta-copy p { margin: 16px auto 0; max-width: 340px; font-size: 14px; line-height: 1.6; }
.cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.cta-btns .px { width: 18px; height: 18px; }

/* ---------- footer ---------- */
footer { padding: 120px 24px 30px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid var(--card-line); }
.foot-brand .brand { display: flex; align-items: center; gap: 12px; }
.foot-brand .brand .logo-mark { width: 32px; height: 44px; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent) 45%, transparent)); }
.brand b { display: block; color: var(--text); line-height: 0; }
.brand b .wm { width: 132px; height: 21px; }
.brand small { display: block; font-weight: 400; font-size: 10px; color: var(--caption); margin-top: 6px; letter-spacing: .01em; }
.foot-brand p { margin: 14px 0 18px; font-size: 13px; }
.foot-ip { cursor: pointer; }
.foot-ip code { font-family: var(--pix); font-size: 12px; color: var(--text); }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col .eyebrow { margin-bottom: 4px; }
.foot-col a { font-size: 13px; color: var(--label); width: fit-content; position: relative; transition: color .2s var(--out-cubic); }
.foot-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--out-cubic); }
.foot-col a:hover { color: var(--text); }
.foot-col a:hover::after { transform: scaleX(1); }
.wordmark { display: block; width: 100%; height: auto; margin: 40px 0 10px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-bottom small { font-size: 11px; color: var(--caption); }

/* ---------- toast (popup sheet) ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 12px; border-radius: 14px;
  background: color-mix(in srgb, var(--sheet) 80%, transparent); backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: inset 0 1px 0 #ffffff12, inset 0 0 0 1px var(--sheet-border), 0 20px 50px color-mix(in srgb, var(--shadow) 70%, transparent);
  font-size: 13px; color: var(--text); pointer-events: none;
  opacity: 0; transform: translate(-50%, 10px); transition: opacity .18s var(--out-cubic), transform .28s var(--out-cubic); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { width: 13px; height: 13px; color: #8df08d; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiers { grid-template-columns: repeat(2, 1fr); gap: 100px 18px; padding-top: 80px; }
}
@media (max-width: 980px) {
  .cap-links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .ipcard { margin-left: auto; margin-right: auto; text-align: left; }
  .stage3d { height: 520px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .head { flex-direction: column; align-items: start; }
  .head.center { align-items: center; }
  .foot-top { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: span 3; }
}
@media (max-width: 640px) {
  section { padding: 0 16px; }
  .navcap { left: 16px; right: 16px; transform: none; justify-content: space-between; }
  .cap-name { max-width: 88px !important; opacity: 1 !important; }
  .hero { padding-top: 100px; }
  .stage3d { height: 420px; min-height: 0; }
  .chams-bar { display: none; }
  .tiers { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 100px; }
  .block { padding-top: 100px; }
  .depth { height: 90vh; min-height: 600px; }
  .about { margin-top: 100px; min-height: 680px; }
  .ab-stats { grid-template-columns: repeat(3, auto); gap: 26px 28px; }
  .about-crowd { mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent); opacity: .5; }
  .cta-float .px { opacity: .35 !important; }
  .foot-top { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: span 2; }
}
@media (max-width: 400px) {
  .ipcard { gap: 8px; }
  .ipcard .px { display: none; }
  .copy-btn span { display: none; }
}
