/* SuperAsic – orange gradient + dark panels, like the brand's product cards */
:root {
  --o1: #ff3d1f; --o2: #ff6413; --o3: #ff9a1f; --o4: #ffc23a;
  --grad: linear-gradient(160deg, var(--o1) 0%, var(--o2) 35%, var(--o3) 75%, var(--o4) 100%);
  --bg: #110a08; --panel: #1b1310; --panel-2: #251a16; --line: rgba(255, 220, 200, .1);
  --text: #fff6f0; --muted: #c6b0a4; --ok: #3ddc84; --pre: #ffc23a;
  --display: "Oswald", "Arial Narrow", sans-serif; --body: "Manrope", system-ui, sans-serif;
  --r: 16px; --r-lg: 24px; --ease: cubic-bezier(.2, .8, .2, 1);
  --safe-top: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
img { max-width: 100%; display: block; }
svg.miner, svg.mark { stroke: none; fill: currentColor; }
a { color: var(--o3); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
h1 em, h2 em { font-style: normal; color: var(--o3); }
p { margin: 0 0 1em; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; }
.wrap { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; top: -100px; left: 1rem; background: #fff; color: #000; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--o4); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 12px; border: 2px solid transparent; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s, color .2s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 100, 19, .8); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-dark { background: var(--panel); color: #fff; border-color: rgba(0,0,0,.2); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--o1); }
.btn-ghost-dark { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--o3); color: var(--o3); }
.btn-icon { width: 48px; padding: 0; background: var(--grad); color: #fff; }
.btn-icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.btn.added { background: var(--ok); }
.wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--o3); }
.text-link:hover svg { transform: translateX(3px); }
.text-link svg { transition: transform .2s; }

/* header */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 70; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.site-header { position: sticky; top: 0; z-index: 60; padding-top: var(--safe-top); background: rgba(17, 10, 8, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font: 500 1.55rem var(--display); letter-spacing: .02em; }
.logo b, .hero-logo b, .banner-logo b { font-weight: 700; }
.logo .mark { width: 36px; height: 36px; }
.main-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 700; padding: .5rem .85rem; border-radius: 10px; }
.main-nav a:hover, .main-nav a[aria-current] { background: var(--panel-2); color: var(--o3); }
.nav-tg { display: inline-flex; align-items: center; gap: .4rem; }
.header-phone { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; font-weight: 800; }
.cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--o1); font: 800 .78rem/22px var(--body); text-align: center; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; background: var(--panel-2); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }

/* hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--grad); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-rocket { position: absolute; z-index: -1; width: 620px; height: 620px; opacity: .14; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23fff' d='M33 9c-6-3-17-2-19 5-2 6 4 8 10 9.5 5 1.2 7 2.4 6.5 4.6-.6 2.6-6.5 3.4-12.5.9L15 36c8 3.5 20 2.5 21.5-5.5 1.3-6.5-4.4-8.6-10.7-10-4.5-1-6.1-2-5.8-3.6.4-2.2 5.4-2.6 10-.6z'/%3E%3Cpath fill='%23fff' d='M37 4c3.5-.6 6.5-.2 6.5-.2s.4 3-.3 6.4l-6.2 6.2-6.2-6.2z'/%3E%3C/svg%3E"); }
.r1 { top: -180px; left: -160px; transform: rotate(-12deg); animation: drift 20s ease-in-out infinite alternate; }
.r2 { bottom: -260px; right: 18%; width: 520px; height: 520px; opacity: .1; animation: drift 26s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) rotate(6deg); } }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.hero-logo { display: inline-flex; align-items: center; gap: .6rem; font: 500 2.4rem var(--display); margin-bottom: 1.4rem; }
.hero-logo .mark { width: 64px; height: 64px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.hero-logo .mark path { fill: #fff; }
.hero-panel { background: rgba(20, 12, 9, .9); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); max-width: 620px; }
.hero-panel h1 { color: #fff; margin-bottom: .4em; }
.hero-panel h1 em { color: var(--o3); display: block; }
.hero-lead { color: #f1dcd1; font-size: 1.08rem; }
.hero-power { display: flex; align-items: center; gap: .5rem; margin: 0; font: 600 1.1rem var(--display); letter-spacing: .03em; color: #fff; }
.hero-power svg { color: var(--o3); fill: var(--o3); stroke: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.hero-contacts { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; }
.hero-contacts a { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font: 500 1.5rem var(--display); }
.hero-contacts a span { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: rgba(20, 12, 9, .9); color: var(--o3); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-miner { width: min(460px, 100%); height: auto; filter: drop-shadow(0 40px 50px rgba(60, 10, 0, .45)); animation: hover 6s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-14px) rotate(-1deg); } }
.fan { animation: spin 1.2s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-tag { position: absolute; left: 0; bottom: 8%; display: grid; gap: .1rem; padding: .9rem 1.1rem; background: rgba(20, 12, 9, .92); border-radius: 14px; color: #fff; text-decoration: none; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.hero-tag:hover { transform: translateY(-4px); }
.hero-tag small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.hero-tag strong { font: 700 1.3rem var(--display); text-transform: uppercase; color: var(--o3); }
.hero-tag span { font-weight: 800; }

/* USP ticker */
.usp { background: #0b0605; border-block: 1px solid var(--line); overflow: hidden; }
.usp-track { display: flex; width: max-content; animation: marquee 35s linear infinite; }
.usp span { display: inline-flex; align-items: center; gap: .55rem; padding: 1rem 1.8rem; font: 600 1.05rem var(--display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.usp svg { color: var(--o3); fill: var(--o3); stroke: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.tight { padding-top: 2rem; }
.section.dark { background: #0b0605; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.page-head { position: relative; overflow: hidden; background: var(--grad); padding: clamp(2.5rem, 5vw, 4rem) 0; color: #fff; }
.page-head::after { content: ""; position: absolute; right: -60px; top: -80px; width: 380px; height: 380px; opacity: .12; background: inherit; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23fff' d='M33 9c-6-3-17-2-19 5-2 6 4 8 10 9.5 5 1.2 7 2.4 6.5 4.6-.6 2.6-6.5 3.4-12.5.9L15 36c8 3.5 20 2.5 21.5-5.5 1.3-6.5-4.4-8.6-10.7-10-4.5-1-6.1-2-5.8-3.6.4-2.2 5.4-2.6 10-.6z'/%3E%3C/svg%3E"); }
.page-head h1 { margin-bottom: .2em; } .page-head h1 em { color: #2a140c; }
.page-head p { margin: 0; font-size: 1.1rem; color: #fff1e8; max-width: 44em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.algo-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 700; font-size: .92rem; background: var(--panel); }
.chip:hover { border-color: var(--o3); color: var(--o3); }

/* product grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(255, 154, 31, .18), transparent 60%); }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 154, 31, .5); box-shadow: 0 24px 50px -28px rgba(255, 100, 19, .7); }
.card:hover::before { opacity: 1; }
.card-media { display: block; }
.card-body { display: flex; flex-direction: column; gap: .5rem; padding: 1rem 1.1rem 1.1rem; flex: 1; }
.card h3 { font-size: 1.15rem; margin: 0; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--o3); }
.card-specs { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.card-specs span { font-size: .8rem; font-weight: 700; padding: .15rem .55rem; border-radius: 6px; background: var(--panel-2); color: #ffd9c2; }
.card-city { display: flex; align-items: center; gap: .35rem; margin: 0; color: var(--muted); font-size: .88rem; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: .5rem; }
.price { margin: 0; font: 700 1.45rem var(--display); color: #fff; white-space: nowrap; }
.price small { font: 600 .9rem var(--body); color: var(--muted); }
.price.big { font-size: 2.4rem; margin: .5rem 0 1rem; }
.badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .22rem .55rem; border-radius: 6px; background: var(--panel-2); color: var(--text); }
.badge.ok { background: rgba(61, 220, 132, .14); color: var(--ok); }
.badge.pre { background: rgba(255, 194, 58, .14); color: var(--pre); }
.badge.used { background: rgba(255,255,255,.08); color: #e6d6cd; }
.badge.new { background: rgba(255, 100, 19, .16); color: var(--o3); }

/* generated product banner (like the brand's product images) */
.banner { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--grad); container-type: inline-size; }
.banner.sm { aspect-ratio: 4 / 3.2; }
.banner-rocket { position: absolute; inset: -20% 10% 20% -30%; opacity: .14; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23fff' d='M33 9c-6-3-17-2-19 5-2 6 4 8 10 9.5 5 1.2 7 2.4 6.5 4.6-.6 2.6-6.5 3.4-12.5.9L15 36c8 3.5 20 2.5 21.5-5.5 1.3-6.5-4.4-8.6-10.7-10-4.5-1-6.1-2-5.8-3.6.4-2.2 5.4-2.6 10-.6z'/%3E%3C/svg%3E"); }
.banner-logo { position: absolute; left: 7%; top: 7%; display: inline-flex; align-items: center; gap: .3em; color: #fff; font: 500 7cqi var(--display); }
.banner-logo .mark { width: 1.4em; height: 1.4em; } .banner-logo .mark path { fill: #fff; }
.banner-panel { position: absolute; left: 6%; top: 30%; z-index: 2; display: grid; gap: .15em; max-width: 64%; padding: .6em .8em; border-radius: .5em; background: rgba(20, 12, 9, .92); font: 700 7.5cqi/1.05 var(--display); text-transform: uppercase; color: #fff; }
.bp-brand { font-size: 1.25em; }
.bp-model { font-size: .78em; } .bp-model i { font-style: normal; color: var(--o3); }
.bp-power { display: inline-flex; align-items: center; gap: .25em; font: 600 .55em var(--body); text-transform: none; }
.bp-power svg { color: var(--o3); fill: var(--o3); stroke: none; }
.banner .miner { position: absolute; right: -6%; bottom: -4%; width: 66%; height: auto; filter: drop-shadow(0 18px 20px rgba(60, 10, 0, .45)); transition: transform .5s var(--ease); }
.card:hover .banner .miner { transform: translate(-4px, -6px) rotate(-2deg); }
.card:not(:hover) .banner .fan { animation-duration: 6s; }
.pimg { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; background: var(--panel-2); }
.pimg.lg { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }

/* catalog */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 2rem; align-items: start; }
.filters { position: sticky; top: 96px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; max-height: calc(100vh - 120px); overflow: auto; }
.filters input[type="search"], .range input, .field input, .field select, .field textarea, .calc input, .sort select { width: 100%; min-height: 46px; padding: .6rem .85rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 500 1rem var(--body); }
.field textarea { min-height: 100px; resize: vertical; }
.filters input:focus, .field input:focus, .field select:focus, .field textarea:focus, .calc input:focus { outline: none; border-color: var(--o3); box-shadow: 0 0 0 3px rgba(255, 154, 31, .25); }
fieldset { border: 0; padding: 0; margin: 1.25rem 0 0; }
legend { font: 600 1rem var(--display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.opt { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--o2); }
.opt small { margin-left: auto; color: var(--muted); }
.range { display: flex; align-items: center; gap: .5rem; }
.filters .btn { margin-top: 1.25rem; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.toolbar p { margin: 0; font-weight: 800; }
.sort { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-weight: 600; }
.sort select { width: auto; }
.filters-toggle { display: none; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--panel); border-radius: var(--r-lg); }

/* product page */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gallery-main .banner { border-radius: var(--r-lg); }
.thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; }
.thumbs button { width: 74px; height: 74px; padding: 0; border-radius: 10px; border: 2px solid transparent; overflow: hidden; cursor: pointer; background: none; flex: none; }
.thumbs button[aria-current] { border-color: var(--o3); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: .6rem 0 .8rem; }
.key-specs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.key-specs span { display: grid; padding: .7rem 1rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font: 700 1.15rem var(--display); }
.key-specs small { font: 600 .75rem var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.key-specs b { font-weight: 700; white-space: nowrap; }
.key-specs svg { color: var(--o3); fill: var(--o3); stroke: none; display: inline; vertical-align: -3px; }
.buy-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.buy-actions .btn { flex: 1 1 200px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 1.25rem 0; }
.contact-row a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; }
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; }
.calc h2 { font-size: 1.25rem; }
.calc label { display: grid; gap: .35rem; font-weight: 600; color: var(--muted); max-width: 260px; }
.calc-out { display: flex; gap: 1rem; margin: 1rem 0 .5rem; }
.calc-out span { flex: 1; display: grid; padding: .8rem 1rem; border-radius: 12px; background: var(--bg); }
.calc-out small { color: var(--muted); font-weight: 600; }
.calc-out b { font: 700 1.5rem var(--display); color: var(--o3); }
.product-info { margin-top: 3.5rem; }
.specs { margin: 0 0 2rem; display: grid; }
.specs div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); } .specs dd { margin: 0; font-weight: 700; }
.offers { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.offers li { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 1rem; padding: .9rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.offers li span:first-child { display: inline-flex; align-items: center; gap: .4rem; }
.offers b { font-family: var(--display); font-size: 1.15rem; }
.offers a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; text-decoration: none; }
.related { margin-top: 4rem; }

/* services, steps, faq */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service { position: relative; padding: 1.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .3s var(--ease), border-color .3s; }
.service:hover { transform: translateY(-4px); border-color: rgba(255, 154, 31, .5); }
.service-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad); color: #fff; margin-bottom: 1rem; }
.service-ic svg { width: 26px; height: 26px; }
.service p { color: var(--muted); margin-bottom: .6rem; }
.services.big h2 { font-size: 1.5rem; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: .8rem; }
.steps li { counter-increment: s; position: relative; padding: 1rem 1.1rem 1rem 4.3rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.steps li::before { content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 10px; background: var(--grad); font: 700 1.3rem var(--display); }
.steps h3 { margin: 0 0 .15rem; } .steps p { margin: 0; color: var(--muted); }
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3.2rem 1rem 1.2rem; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 8px; background: var(--grad); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.2rem 1rem; margin: 0; color: var(--muted); }
.cta-band { background: var(--grad); padding: 2.5rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0 0 .3rem; } .cta-band h2 em { color: #2a140c; } .cta-band p { margin: 0; color: #fff1e8; }

/* forms */
.form { display: grid; gap: .9rem; }
.card-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.card-form h2 { margin-bottom: .2rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field.invalid input, .field.invalid textarea { border-color: #ff5c5c; }
.err { margin: 0; color: #ff8a8a; font-size: .85rem; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 700; }
.form-status.ok { color: var(--ok); } .form-status.bad { color: #ff8a8a; }
.total { font: 600 1.2rem var(--display); text-transform: uppercase; margin: 0; }
.total b { color: var(--o3); font-size: 1.5rem; }

/* cart */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; }
.cart-items { display: grid; gap: .75rem; }
.cart-row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 1rem; padding: 1rem 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.cart-row a { color: var(--text); font-weight: 800; text-decoration: none; }
.cart-row .warn { display: block; font-size: .82rem; color: var(--pre); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; }
.qty button { width: 36px; height: 36px; border: 0; background: none; color: var(--text); font-size: 1.2rem; cursor: pointer; }
.qty span { min-width: 2ch; text-align: center; font-weight: 800; }
.remove { background: none; border: 0; color: var(--muted); cursor: pointer; padding: .3rem; }
.remove:hover { color: #ff8a8a; }

/* contacts */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card { display: grid; gap: .2rem; padding: 1.3rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.contact-card:hover { transform: translateY(-3px); border-color: var(--o3); }
.contact-card span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); margin-bottom: .5rem; }
.contact-card small { color: var(--muted); font-weight: 600; }
.contact-card b { font: 600 1.25rem var(--display); }

/* dialog & toast */
.dialog { width: min(440px, 100% - 2rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); color: var(--text); padding: 1.75rem; }
.dialog::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); }
.dialog[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dialog-close { position: absolute; top: .75rem; right: .75rem; background: var(--panel-2); border: 0; color: var(--text); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; border-radius: 14px; background: #fff; color: #1b1310; font-weight: 800; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); animation: pop .3s var(--ease); }
.toast a { color: var(--o1); }
.big-check { width: 84px; height: 84px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: #1b1310; color: var(--o3); }
.big-check svg { width: 44px; height: 44px; stroke-width: 2.6; }

/* footer */
.site-footer { background: #0b0605; border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer-grid p { margin-top: 1rem; max-width: 30em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--o3); }
.footer-contacts { display: grid; gap: .6rem; }
.footer-contacts a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.copy { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.done { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, opacity .3s; transition-delay: 0s; }

@view-transition { navigation: auto; }
.site-header { view-transition-name: header; }

/* responsive */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #140c0a; border-bottom: 1px solid var(--line); padding: .75rem 1.25rem 1.25rem; margin: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem; font-size: 1.1rem; }
  .header-phone { margin-left: auto; }
  .hero-grid, .two, .product-grid, .cart-layout { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 80; width: min(320px, 88vw); max-height: none; border-radius: 0; transform: translateX(-105%); transition: transform .3s var(--ease); }
  .filters.open { transform: none; box-shadow: 30px 0 60px rgba(0,0,0,.6); }
  .filters-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .services, .contact-cards { grid-template-columns: 1fr; }
  .hero-contacts a { font-size: 1.25rem; }
  .offers li { grid-template-columns: 1fr auto; }
  .cart-row { grid-template-columns: 1fr auto; }
  .specs div { grid-template-columns: 1fr; gap: .1rem; }
  .logo { font-size: 1.3rem; }
  .grid, .grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
}
@media (prefers-reduced-motion: reduce) {:root:not([data-motion="on"]) { scroll-behavior: auto; }:root:not([data-motion="on"]) *, :root:not([data-motion="on"]) *::before, :root:not([data-motion="on"]) *::after { animation: none !important; transition: none !important; }:root.js:not([data-motion="on"]) .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   v2 – dark premium style from the SuperAsic carousel (black, neon orange,
   orange→yellow gradient type, spaced brand names, outlined CTAs)
   ===================================================================== */
:root {
  --bg: #070505; --panel: #121010; --panel-2: #1c1816; --line: rgba(255, 255, 255, .09);
  --text: #f6f1ee; --muted: #a99d97;
  --fire: linear-gradient(180deg, #ffd23f 0%, #ff9a1f 45%, #ff5a1f 100%);
  --o: #ff7a1a;
}
body { background: var(--bg); }
.grad-text { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(255, 122, 26, .35)); }
h1 em, h2 em { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spaced { margin: 0; font: 800 clamp(.9rem, 1.6vw, 1.1rem) var(--body); text-transform: uppercase; letter-spacing: .55em; color: #fff; }
.spaced.big { font-size: clamp(1.1rem, 2.6vw, 2rem); }
.site-header { background: rgba(7, 5, 5, .82); }
.logo .mark path { fill: url(#sa-grad); }

/* buttons like the creatives */
.btn-outline { background: rgba(0,0,0,.35); color: #fff; border: 2px solid var(--o); border-radius: 6px; }
.btn-outline:hover { background: rgba(255, 122, 26, .12); box-shadow: 0 0 24px rgba(255, 122, 26, .45); }
.btn-outline svg { color: var(--o); }
.btn-lg { min-height: 64px; padding: .9rem 1.6rem; font: 600 clamp(1.05rem, 2vw, 1.35rem) var(--display); text-transform: uppercase; letter-spacing: .05em; justify-content: space-between; gap: 2.5rem; min-width: min(100%, 360px); }
.btn-lg b { color: var(--o); font-weight: 700; }
.btn-lg svg { width: 1.6em; height: 1.6em; stroke-width: 1.6; transition: transform .25s var(--ease); }
.btn-lg:hover svg { transform: translateX(6px); }
.btn-primary { background: linear-gradient(90deg, #ff6a13, #ffb02e); border-radius: 8px; color: #fff; }
.btn-arrow { padding: 6px 1.4rem 6px 6px; gap: 1rem; min-height: 60px; font-size: 1.05rem; }
.btn-arrow i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 6px; background: #0b0807; color: #fff; }
.btn-arrow i svg { transform: rotate(45deg); }
.btn-arrow:hover i svg { transform: rotate(45deg) translate(2px, 0); }
.btn-arrow span:first-child:not(:only-child) { order: 0; }

/* ---------- hero carousel ---------- */
.hero { background: radial-gradient(900px 500px at 85% 30%, rgba(255, 106, 19, .22), transparent 60%), radial-gradient(700px 400px at 10% 100%, rgba(255, 170, 40, .12), transparent 60%), #050303; padding: 0; color: #fff; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: min(760px, calc(100svh - 72px)); display: grid; align-content: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0 6rem; overflow: hidden; }
.slide-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center; }
.slide-copy > * + * { margin-top: 1.4rem; }
.slide h1 { font-size: clamp(2.6rem, 6.5vw, 5.6rem); line-height: .98; margin: 0; }
.slide h1 .grad-text { display: block; }
.slide-visual { position: relative; display: grid; place-items: center; }
.slide-visual img { max-height: 560px; width: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.slide.is-active .slide-copy > * { animation: rise .8s var(--ease) both; }
.slide.is-active .slide-copy > *:nth-child(2) { animation-delay: .08s; } .slide.is-active .slide-copy > *:nth-child(3) { animation-delay: .16s; } .slide.is-active .slide-copy > *:nth-child(4) { animation-delay: .24s; }
.slide.is-active .slide-visual { animation: rise 1s var(--ease) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.checks li { display: flex; align-items: center; gap: 1rem; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; }
.checks .ic, .lead-check .ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, #ff5a1f, #ffc23a); color: #fff; box-shadow: 0 6px 18px -6px rgba(255, 106, 19, .8); }
.checks li:nth-child(2) .ic { background: linear-gradient(180deg, #ff6a13, #ffcf4a); } .checks li:nth-child(3) .ic { background: linear-gradient(180deg, #ff8a1f, #ffd23f); }
.checks li:nth-child(4) .ic { background: linear-gradient(180deg, #ffa21f, #ffd84a); } .checks li:nth-child(5) .ic { background: linear-gradient(180deg, #ffb52e, #ffe06a); }
.neon-title { margin: 0; font: 700 clamp(5rem, 15vw, 12rem)/.9 var(--display); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 2px #ff8a1f; text-shadow: 0 0 22px rgba(255, 122, 26, .55); animation: flicker 6s infinite; }
@keyframes flicker { 0%, 18%, 22%, 60%, 100% { opacity: 1; } 20% { opacity: .55; } 61% { opacity: .8; } }
.spec-row { display: flex; flex-wrap: wrap; margin: 1.8rem 0 0; }
.spec-row div { padding: 0 1.6rem; border-left: 2px solid rgba(255, 122, 26, .6); }
.spec-row div:first-child { padding-left: 0; border: 0; }
.spec-row dt { font: 600 clamp(1.2rem, 2.4vw, 2rem) var(--body); }
.spec-row dd { margin: .2rem 0 0; font: 700 clamp(.85rem, 1.4vw, 1.15rem) var(--body); text-transform: uppercase; color: var(--o); }
.tagline { position: absolute; left: 0; right: 0; bottom: 5.5rem; text-align: right; font-weight: 500; color: #e9e2de; letter-spacing: .6em; }
.mega { margin: 0; font: 700 clamp(3.6rem, 10vw, 8rem)/.92 var(--display); text-transform: uppercase; }
.compare { display: grid; grid-template-columns: 1fr 1fr; }
.compare > div { padding: 0 2rem; } .compare > div + div { border-left: 3px solid var(--o); }
.compare > div:first-child { padding-left: 0; }
.cmp-hash { margin: .5rem 0 0; font: 600 clamp(1.3rem, 3vw, 2.6rem) var(--body); }
.cmp-algo { margin: .2rem 0 0; font: 700 clamp(1.1rem, 2.4vw, 2rem) var(--body); color: var(--o); }
.compare-img { width: min(100%, 900px); margin: 1.5rem auto 0; filter: drop-shadow(0 30px 50px rgba(0,0,0,.7)); }
.s-compare .btn-lg { margin-top: 1rem; }
.lead-check { display: flex; gap: 1.1rem; align-items: center; font-size: clamp(1.3rem, 2.6vw, 2.2rem); line-height: 1.25; margin: 1.6rem 0 0; }
.lead-check .ic { border-radius: 12px; }
.s-buyback .slide-visual img { border-radius: 24px; -webkit-mask-image: radial-gradient(circle at 60% 50%, #000 55%, transparent 75%); mask-image: radial-gradient(circle at 60% 50%, #000 55%, transparent 75%); }
.skew-label { display: inline-block; margin: 0; padding: .35em .7em; transform: skewX(-8deg); background: linear-gradient(90deg, #ffb52e, #ff6a13); color: #120a06; font: 700 clamp(2.2rem, 6vw, 4.6rem)/1 var(--display); text-transform: uppercase; box-shadow: 0 20px 50px -15px rgba(255, 122, 26, .7); }
.slide-text { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #e2d8d3; max-width: 30em; }
.slide-visual.phone img { max-height: 560px; border-radius: 34px; box-shadow: 0 0 0 8px #111, 0 40px 80px -20px rgba(255, 122, 26, .45); transform: rotate(4deg); }
.neon-floor { position: absolute; left: 6%; right: 6%; bottom: 4%; height: 26%; border: 2px solid #ff7a1a; transform: perspective(500px) rotateX(64deg); box-shadow: 0 0 18px #ff6a13, inset 0 0 18px rgba(255, 106, 19, .6); border-radius: 4px; animation: glow 3s ease-in-out infinite; pointer-events: none; }
.neon-floor.big { bottom: -2%; }
@keyframes glow { 50% { box-shadow: 0 0 34px #ff6a13, inset 0 0 26px rgba(255, 106, 19, .8); } }
.hero-miner { position: relative; z-index: 1; }
.slider-ui { position: relative; display: flex; align-items: center; gap: 1.5rem; margin-top: -5rem; padding-bottom: 2rem; z-index: 2; }
.slide-count { margin: 0; font: 500 1.6rem var(--body); color: #fff; } .slide-count b { font-weight: 800; }
.slide-bars { display: flex; gap: 6px; }
.slide-bars button { width: 34px; height: 12px; padding: 0; border: 0; background: rgba(255, 122, 26, .25); cursor: pointer; position: relative; overflow: hidden; }
.slide-bars button i { position: absolute; inset: 0; background: var(--o); transform-origin: left; transform: scaleX(0); }
.slide-bars button.done i { transform: none; }
.slide-bars button.current i { animation: fill var(--dur, 7s) linear forwards; }
.hero.paused .slide-bars button.current i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.slide-arrows { margin-left: auto; display: flex; gap: .5rem; }
.slide-arrows button { width: 52px; height: 52px; border-radius: 8px; border: 2px solid var(--o); background: rgba(0,0,0,.4); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.slide-arrows button:hover { background: var(--o); }
.slide-arrows [data-prev] svg { transform: rotate(180deg); }

/* ---------- dark product banner ---------- */
.banner { background: radial-gradient(ellipse at 72% 95%, rgba(255, 106, 19, .45), transparent 55%), radial-gradient(ellipse at 20% 0%, rgba(255, 170, 40, .12), transparent 50%), #0a0706; }
.banner-logo { color: #fff; font-size: 5.5cqi; }
.banner-logo .mark path { fill: url(#sa-grad); }
.banner-copy { position: absolute; left: 7%; top: 20%; z-index: 2; display: grid; gap: .05em; max-width: 58%; }
.banner-copy .spaced { font-size: 4.2cqi; letter-spacing: .45em; }
.bp-model { font: 700 13cqi/.95 var(--display); text-transform: uppercase; }
.bp-hash { font: 600 5.2cqi var(--body); color: #fff; }
.bp-algo { font: 800 4.4cqi var(--body); color: var(--o); text-transform: uppercase; }
.banner .miner { right: -2%; bottom: 4%; width: 56%; z-index: 1; }
.banner .neon-floor { left: 42%; right: 2%; height: 20%; bottom: 2%; }
.pimg { aspect-ratio: 4 / 3.2; object-fit: cover; }
.card-media { background: #0a0706; }

/* ---------- sections in dark style ---------- */
.page-head { background: radial-gradient(800px 300px at 80% 0%, rgba(255, 106, 19, .3), transparent 60%), #050303; border-bottom: 1px solid var(--line); }
.page-head::after { opacity: .06; }
.page-head h1 em { color: transparent; }
.usp { background: linear-gradient(90deg, #ff5a1f, #ffb02e); border: 0; }
.usp span { color: #120a06; } .usp svg { color: #120a06; fill: #120a06; }
.section.dark { background: radial-gradient(900px 400px at 50% 0%, rgba(255, 106, 19, .1), transparent 60%), #0c0908; }
.service-ic, .steps li::before, .faq summary::after, .contact-card span, .cart-link, .btn-icon { background: linear-gradient(180deg, #ff5a1f, #ffc23a); }
.cta-band { background: radial-gradient(600px 200px at 80% 50%, rgba(255, 106, 19, .35), transparent 70%), #0c0908; border-block: 1px solid rgba(255, 122, 26, .35); }
.cta-band h2 em { color: transparent; } .cta-band p { color: var(--muted); }
.cta-band .btn-dark { background: transparent; border: 2px solid var(--o); border-radius: 6px; }
.tradein img { border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(255, 106, 19, .5); }
.tradein .lead { font-size: 1.15rem; color: #e2d8d3; }
.tradein .checks li { font-size: 1.1rem; }
.tradein .checks .ic { width: 38px; height: 38px; }
.tradein .btn { margin-top: 1.6rem; }
.card { background: #0f0c0b; }
.card:hover { box-shadow: 0 24px 60px -28px rgba(255, 106, 19, .8); }

@media (max-width: 900px) {
  .slide { min-height: 0; padding-bottom: 7rem; }
  .slide-grid { grid-template-columns: 1fr; }
  .slide-visual { order: -1; max-height: 300px; } .slide-visual img { max-height: 300px; }
  .slide-visual.phone img { max-height: 340px; }
  .s-brand .slide-visual { display: none; }
  .tagline { display: none; }
  .compare > div { padding: 0 1rem; }
  .slider-ui { margin-top: -5.5rem; }
}
@media (max-width: 640px) {
  .slide-arrows button { width: 44px; height: 44px; }
  .slide-bars button { width: 22px; }
  .spec-row div { padding: 0 .9rem; }
  .btn-lg { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {:root:not([data-motion="on"]) .slides { scroll-behavior: auto; }:root:not([data-motion="on"]) .slide-bars button.current i { transform: none; } }
.s-brand h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
.s-brand .checks { gap: .7rem; margin-top: 1.2rem; }
.s-brand .checks .ic { width: 40px; height: 40px; }
.s-neon .slide-visual img { -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 52%, #000 62%, transparent 100%); }
.compare-img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(0deg, transparent, #000 15%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(0deg, transparent, #000 15%); mask-composite: intersect; }
.skew-label { font-size: clamp(2rem, 5vw, 3.6rem); white-space: nowrap; }
@media (max-width: 640px) { .skew-label { white-space: normal; } }

/* ===================== v3 – effects ===================== */
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.cursor-glow { position: absolute; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s; background: radial-gradient(circle, rgba(255, 122, 26, .22), transparent 65%); will-change: transform; }
.hero:hover .cursor-glow { opacity: 1; }
.slides, .slider-ui { position: relative; z-index: 1; }
.slide-visual { transition: transform .4s var(--ease); will-change: transform; }

/* scramble letters keep width */
.scramble-char { display: inline-block; }

/* animated gradient border + glare on product cards */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.card { isolation: isolate; transform-style: preserve-3d; }
.card::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang), transparent 0 60%, #ff6a13 72%, #ffd23f 80%, transparent 92%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; animation: spin-border 3s linear infinite; }
.card:hover::after { opacity: 1; }
@keyframes spin-border { to { --ang: 360deg; } }
.card .glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.08) 48%, transparent 60%); opacity: 0; transition: opacity .3s; }
.card:hover .glare { opacity: 1; }

/* stats strip */
.stats { border-bottom: 1px solid var(--line); background: #070505; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid p { margin: 0; padding: 2rem 1rem; display: grid; gap: .2rem; text-align: center; border-left: 1px solid var(--line); }
.stats-grid p:first-child { border-left: 0; }
.stats-grid b { font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats-grid span:not([data-count]) { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }

/* section titles: underline sweep when revealed */
.section-head h2 { position: relative; padding-bottom: .35em; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 64px; background: linear-gradient(90deg, #ff5a1f, #ffc23a); transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease) .2s; }
.section-head.in h2::after, .no-js .section-head h2::after { transform: scaleX(1); }

/* service cards: icon pop + glow */
.service:hover .service-ic { transform: rotate(-8deg) scale(1.08); box-shadow: 0 10px 30px -6px rgba(255, 106, 19, .8); }
.service-ic { transition: transform .35s var(--ease), box-shadow .35s; }

/* magnetic buttons smooth back */
.magnetic { transition: transform .25s var(--ease), background .2s, box-shadow .2s; }

@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stats-grid p:nth-child(3) { border-left: 0; } .stats-grid p { border-top: 1px solid var(--line); } }
@media (prefers-reduced-motion: reduce) {:root:not([data-motion="on"]) .card::after { animation: none; }:root:not([data-motion="on"]) .cursor-glow, :root:not([data-motion="on"]) .embers { display: none; } }

/* ===================== v4 – light / dark theme + alignment ===================== */
/* theme toggle */
.theme-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); cursor: pointer; transition: transform .3s var(--ease), border-color .2s; }
.theme-btn:hover { border-color: var(--o); transform: rotate(-15deg); }
.theme-btn svg { display: none; }
:root[data-theme-mode="auto"] .theme-btn .i-auto, :root[data-theme-mode="light"] .theme-btn .i-sun, :root[data-theme-mode="dark"] .theme-btn .i-moon { display: block; }
html { transition: background-color .3s; }

/* light palette (the hero stage and product banners stay dark – they are "photos") */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f3ef; --panel: #ffffff; --panel-2: #f1ebe6; --line: rgba(60, 30, 15, .12);
  --text: #1c1310; --muted: #6e625b; --ok: #12a05c; --pre: #b7790a;
}
:root[data-theme="dark"] { color-scheme: dark; }
.hero, .banner, .card-media { --text: #f6f1ee; --muted: #a99d97; --line: rgba(255, 255, 255, .09); --panel-2: #1c1816; color: #fff; }

/* replace hard-coded dark colours with tokens */
.logo, .header-phone { color: var(--text); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: var(--o); color: #fff; }
.price { color: var(--text); }
.card { background: var(--panel); }
.card-specs span { color: var(--text); }
.badge.used { background: var(--panel-2); color: var(--text); }
.section.dark { background: radial-gradient(900px 400px at 50% 0%, rgba(255, 106, 19, .1), transparent 60%), var(--panel-2); }
.stats { background: var(--bg); }
.site-footer { background: var(--panel-2); }
.tradein .lead { color: var(--text); }
.cta-band { background: radial-gradient(600px 200px at 80% 50%, rgba(255, 106, 19, .3), transparent 70%), var(--panel-2); }
.cta-band .btn-dark { color: var(--text); background: transparent; }
.cta-band .btn-dark:hover { color: #fff; background: var(--o); }
.page-head { color: var(--text); background: radial-gradient(800px 300px at 80% 0%, rgba(255, 106, 19, .28), transparent 60%), var(--bg); }
.page-head p { color: var(--muted); }
.err, .form-status.bad, .remove:hover { color: #e5484d; }
.toast { background: var(--text); color: var(--bg); }
.toast a { color: var(--o); }
.menu-btn { background: var(--panel-2); color: var(--text); }
:root[data-theme="light"] .site-header { background: rgba(247, 243, 239, .86); }
:root[data-theme="light"] .main-nav a:hover, :root[data-theme="light"] .main-nav a[aria-current] { color: #c2410c; }
:root[data-theme="light"] { --link: #c2410c; }
a { color: var(--link, var(--o3)); }
:root[data-theme="light"] .text-link, :root[data-theme="light"] .contact-row a, :root[data-theme="light"] .offers a { color: var(--link); }
.hero a:not(.btn) { color: #fff; }
:root[data-theme="light"] h1 em, :root[data-theme="light"] h2 em, :root[data-theme="light"] .stats-grid b { background: linear-gradient(180deg, #ff9a1f, #e8470f); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="light"] .usp span { color: #fff; } :root[data-theme="light"] .usp svg { color: #fff; fill: #fff; }
:root[data-theme="light"] .card { box-shadow: 0 1px 2px rgba(60, 30, 15, .06), 0 12px 30px -20px rgba(60, 30, 15, .35); }
:root[data-theme="light"] .badge.ok { background: rgba(18, 160, 92, .12); }
:root[data-theme="light"] .badge.pre { background: rgba(183, 121, 10, .12); }
:root[data-theme="light"] .badge.new { color: #c2410c; }
:root[data-theme="light"] .key-specs span, :root[data-theme="light"] .calc, :root[data-theme="light"] .offers li, :root[data-theme="light"] .filters { box-shadow: 0 8px 24px -18px rgba(60, 30, 15, .4); }
:root[data-theme="light"] .calc-out b { color: #c2410c; }
@media (max-width: 900px) { .main-nav { background: var(--bg); } }

/* ---------- alignment pass ---------- */
/* section headings: title and link on one baseline */
.section-head { align-items: flex-end; }
.section-head .text-link { padding-bottom: .55em; }

/* product cards: equal heights, square media, aligned rows */
.grid { align-items: stretch; }
.card-media { aspect-ratio: 1 / 1; overflow: hidden; }
.card-media .pimg, .card-media .banner { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.card-body { gap: .55rem; }
.card h3 { min-height: 2.3em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.15; }
.card-specs { min-height: 1.6rem; }
.card-city { min-height: 1.4rem; }
.card-foot { margin-top: auto; }

/* generated banner: text column never runs under the miner */
.banner-copy { top: 19%; max-width: 50%; }
.bp-model { font-size: clamp(0px, 11cqi, 999px); overflow-wrap: anywhere; }
.banner .miner { width: 52%; right: 0; bottom: 6%; }
.banner .neon-floor { left: 46%; right: 3%; }

/* product page: square gallery, buy box aligned to its top */
.gallery-main { aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: #0a0706; }
.gallery-main .pimg, .gallery-main .banner { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.buybox > .badges { margin-top: .25rem; }

/* hero slides: consistent height, vertically centred copy + visual */
.slide { min-height: min(720px, calc(100svh - 72px)); }
.slide-grid { align-items: center; min-height: 100%; }
.slide-visual { height: clamp(260px, 52vh, 520px); }
.slide-visual img { max-height: 100%; max-width: 100%; object-fit: contain; }
.s-brand .slide-visual .miner { height: 100%; width: auto; }
.s-compare .wrap { display: grid; justify-items: start; }
.compare-img { justify-self: center; }
.slider-ui { margin-top: -4.75rem; }

/* trade-in: image and text centred against each other */
.tradein .two { align-items: center; }
.tradein img { width: 100%; max-height: 640px; object-fit: cover; }

@media (max-width: 900px) {
  .slide { min-height: 0; }
  .slide-visual { height: 260px; }
  .tradein img { max-height: 420px; }
}

.bp-model.long { font-size: 8.5cqi; }
.card-specs:empty { visibility: hidden; }
.theme-btn, .cart-link, .menu-btn, .header-phone { flex: none; }
@media (max-width: 640px) {
  .header-inner { gap: .55rem; }
  .theme-btn, .cart-link, .menu-btn { width: 40px; height: 40px; border-radius: 10px; }
  .logo { font-size: 1.15rem; } .logo .mark { width: 28px; height: 28px; }
}
/* keep all slides similar in height so content doesn't float low on big screens */
.compare-img { width: auto; max-width: min(100%, 900px); max-height: 34vh; }
.s-compare .wrap { gap: .5rem; }
.tagline { bottom: 6.5rem; }

/* ===================== v5 – 3D, video background, parallax ===================== */
.smoke, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.smoke.ready, .hero-video { opacity: 1; }
.hero-video { opacity: .45; filter: saturate(1.2) contrast(1.05); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 3, 3, .85) 0%, rgba(5, 3, 3, .35) 55%, rgba(5, 3, 3, .1) 100%), linear-gradient(0deg, rgba(5, 3, 3, .9), transparent 30%); }

/* 3D miner */
.miner3d { cursor: grab; touch-action: pan-y; }
.miner3d:active { cursor: grabbing; }
.miner3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 2; opacity: 0; transition: opacity .8s; }
.miner3d.ready canvas { opacity: 1; }
.miner3d.ready > .miner, .miner3d.ready > .neon-floor { opacity: 0; transition: opacity .6s; }
.drag-hint { position: absolute; z-index: 3; bottom: 4%; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; background: rgba(0,0,0,.55); border: 1px solid rgba(255, 122, 26, .5); color: #fff; font: 700 .8rem var(--body); letter-spacing: .04em; pointer-events: none; animation: hint 3s ease-in-out infinite; }
.miner3d.ready .drag-hint { display: inline-flex; }
.miner3d.touched .drag-hint { display: none; }
@keyframes hint { 50% { transform: translateX(-50%) translateY(-4px); } }

/* parallax decorations */
.has-deco { position: relative; overflow: hidden; }
.deco { position: absolute; z-index: 0; pointer-events: none; width: 420px; height: 420px; opacity: .07; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23ff7a1a' d='M33 9c-6-3-17-2-19 5-2 6 4 8 10 9.5 5 1.2 7 2.4 6.5 4.6-.6 2.6-6.5 3.4-12.5.9L15 36c8 3.5 20 2.5 21.5-5.5 1.3-6.5-4.4-8.6-10.7-10-4.5-1-6.1-2-5.8-3.6.4-2.2 5.4-2.6 10-.6z'/%3E%3Cpath fill='%23ff7a1a' d='M37 4c3.5-.6 6.5-.2 6.5-.2s.4 3-.3 6.4l-6.2 6.2-6.2-6.2z'/%3E%3C/svg%3E"); }
.d1 { top: -80px; right: -120px; transform: rotate(-12deg); } .d2 { bottom: -160px; left: -140px; width: 360px; height: 360px; } .d3 { top: 10%; right: -160px; width: 520px; height: 520px; }
.has-deco > .wrap { position: relative; z-index: 1; }
[data-parallax] { will-change: transform; }
:root[data-theme="light"] .deco { opacity: .09; }
@media (prefers-reduced-motion: reduce) {:root:not([data-motion="on"]) .smoke { display: none; }:root:not([data-motion="on"]) .hero-video { display: none; }:root:not([data-motion="on"]) [data-parallax] { transform: none !important; } }
.motion-row { margin: 1.5rem auto 0; }
.motion-btn { background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); padding: .45rem .9rem; font: 600 .85rem var(--body); cursor: pointer; }
.motion-btn:hover { border-color: var(--o); color: var(--text); }

/* ===================== v6 – "live mine" concept ===================== */
.mono, .terminal code { font-family: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace; }

/* hero with PCB traces */
.mine-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(900px 600px at 75% 40%, rgba(255, 106, 19, .2), transparent 60%), #040202; padding: clamp(2.5rem, 6vw, 5rem) 0 0; --text: #f6f1ee; --muted: #a99d97; --line: rgba(255,255,255,.09); }
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.circuit .traces path { fill: none; stroke: rgba(255, 140, 50, .14); stroke-width: 2; }
.circuit .pulses path { fill: none; stroke: #ffb02e; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 18 1400; stroke-dashoffset: 1418; filter: drop-shadow(0 0 6px #ff7a1a); animation: current var(--dur) linear var(--delay) infinite; }
.circuit .pads circle { fill: #120a06; stroke: rgba(255, 140, 50, .45); stroke-width: 2; animation: pad 3s ease-in-out infinite; }
.circuit .pads circle:nth-child(3n) { animation-delay: 1s; } .circuit .pads circle:nth-child(3n+1) { animation-delay: 2s; }
@keyframes current { to { stroke-dashoffset: 0; } }
@keyframes pad { 50% { fill: #ff7a1a; stroke: #ffd23f; filter: drop-shadow(0 0 6px #ff7a1a); } }
.mine-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem; border: 1px solid rgba(255, 122, 26, .4); border-radius: 999px; background: rgba(255, 122, 26, .08); font-weight: 700; font-size: .9rem; margin: 0 0 1.4rem; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: ping 1.8s 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); } }
.kinetic { font-size: clamp(2.8rem, 6.5vw, 6rem); line-height: .95; margin: 0 0 1.2rem; }
.kinetic > span { display: block; }
.js .kinetic .kw { display: inline-block; opacity: 0; transform: translateY(.7em) rotateX(-70deg); transform-origin: 50% 100%; animation: kw .9s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes kw { to { opacity: 1; transform: none; } }
.mine-lead { color: #e2d8d3; font-size: 1.12rem; max-width: 34em; }

/* terminal */
.terminal { position: relative; border-radius: 16px; overflow: hidden; background: rgba(10, 6, 5, .88); border: 1px solid rgba(255, 122, 26, .35); box-shadow: 0 30px 80px -30px rgba(255, 106, 19, .55), inset 0 0 60px rgba(255, 106, 19, .06); backdrop-filter: blur(6px); }
.terminal::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.term-bar { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.07); font: 600 .85rem "JetBrains Mono", Consolas, monospace; color: #a99d97; }
.term-bar .lights { display: flex; gap: 6px; } .term-bar .lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .term-bar .lights i:nth-child(2) { background: #febc2e; } .term-bar .lights i:nth-child(3) { background: #28c840; }
.term-toggle { margin-left: auto; background: none; border: 1px solid rgba(255, 122, 26, .6); color: #ffb02e; border-radius: 6px; padding: .2rem .6rem; font: 700 .78rem var(--body); cursor: pointer; }
.term-body { padding: 1rem 1.2rem 1.2rem; display: grid; gap: .45rem; font-size: .92rem; }
.term-row { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: .8rem; align-items: center; }
.term-row > span:first-child { color: #a99d97; font-weight: 600; }
.term-row code { color: #e9e1dc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.term-row code .z, .term-stream .z { color: #3ddc84; font-weight: 700; text-shadow: 0 0 8px rgba(61, 220, 132, .6); }
.target span { opacity: .35; }
.term-tag { padding: .1rem .55rem; border-radius: 6px; font-size: .75rem; font-weight: 800; background: rgba(255, 194, 58, .14); color: #ffc23a; }
.term-tag.found { background: rgba(61, 220, 132, .16); color: #3ddc84; }
.hashline code { font-size: .9rem; }
.term-stream { list-style: none; margin: .3rem 0; padding: .6rem .8rem; height: 8.4rem; overflow: hidden; border-radius: 8px; background: rgba(0,0,0,.45); font: 500 .76rem/1.4rem "JetBrains Mono", Consolas, monospace; color: #7e726b; -webkit-mask-image: linear-gradient(0deg, #000 60%, transparent); mask-image: linear-gradient(0deg, #000 60%, transparent); }
.term-stream li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-stream li:last-child { color: #f6f1ee; }
.term-meter { display: grid; grid-template-columns: 7.5rem 1fr; gap: .8rem; align-items: center; color: #a99d97; font-weight: 600; }
.meter-bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff5a1f, #ffd23f); box-shadow: 0 0 12px #ff7a1a; transition: width .2s linear; }
.term-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .5rem; }
.term-foot p { margin: 0; padding: .6rem .7rem; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); display: grid; }
.term-foot small { color: #a99d97; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-foot b { font: 700 1.15rem var(--display); }
.term-foot .times b { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.block-found { position: absolute; inset: 0; display: grid; place-items: center; z-index: 5; pointer-events: none; background: radial-gradient(circle, rgba(61, 220, 132, .25), transparent 60%); }
.block-found span { font: 700 clamp(2rem, 4vw, 3rem) var(--display); text-transform: uppercase; color: #fff; text-shadow: 0 0 20px #3ddc84, 0 0 40px #3ddc84; animation: found 1.4s var(--ease) both; }
@keyframes found { 0% { transform: scale(.4); opacity: 0; } 25% { transform: scale(1.1); opacity: 1; } 75% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.05); opacity: 0; } }
.coins { position: absolute; left: 50%; top: 50%; z-index: 6; pointer-events: none; }
.coin { position: absolute; width: 30px; height: 30px; margin: -15px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #ffe58a, #f7931a 55%, #b8610b); color: #fff; font: 800 16px var(--body); box-shadow: 0 0 12px rgba(247, 147, 26, .8); animation: coin 1.3s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes coin { from { transform: translate(0, 0) scale(.3) rotateY(0); opacity: 1; } to { transform: translate(var(--x), var(--y)) scale(1) rotateY(720deg); opacity: 0; } }

/* blockchain strip */
.chain { margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.5); overflow: hidden; padding: 1rem 0; }
.chain-track { display: flex; gap: 2.2rem; padding-left: 1.5rem; width: max-content; }
.blk { position: relative; flex: none; display: grid; gap: .2rem; padding: .7rem 1rem; min-width: 150px; border-radius: 10px; border: 1px solid rgba(255, 122, 26, .35); background: linear-gradient(180deg, rgba(255, 122, 26, .12), rgba(255, 122, 26, .03)); }
.blk::before { content: ""; position: absolute; right: 100%; top: 50%; width: 2.2rem; height: 2px; background: repeating-linear-gradient(90deg, #ff7a1a 0 6px, transparent 6px 10px); }
.blk:first-child::before { display: none; }
.blk small { color: #a99d97; font-weight: 700; }
.blk code { font-size: .8rem; color: #e9e1dc; }
.blk.old { opacity: .55; }
.blk.new { animation: blk-in .9s var(--ease) both; border-color: #3ddc84; box-shadow: 0 0 24px rgba(61, 220, 132, .35); }
@keyframes blk-in { from { transform: translateY(-40px) scale(.6); opacity: 0; } }

/* hashrate race */
.race { position: relative; overflow: hidden; background: #060403; color: #fff; --text: #f6f1ee; --muted: #a99d97; --line: rgba(255,255,255,.09); }
.hex-rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.race .wrap { position: relative; }
.race-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.race-list li { display: grid; grid-template-columns: minmax(0, 15rem) 1fr 9rem; gap: 1.2rem; align-items: center; }
.race-name { color: #fff; font-weight: 700; text-decoration: none; }
a.race-name:hover { color: var(--o); }
.race-list b { font: 700 1.2rem var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.race-bar { height: 22px; border-radius: 6px; background: rgba(255,255,255,.06); overflow: hidden; position: relative; }
.race-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--w) * 100%); transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #ff5a1f, #ffd23f); box-shadow: 0 0 18px rgba(255, 122, 26, .6); transition: transform 1.6s var(--ease); }
.race-bar i::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 8px, transparent 8px 16px); animation: race-stripes 1s linear infinite; }
@keyframes race-stripes { to { background-position: 22px 0; } }
.race-list.go i { transform: scaleX(1); }
.race-list li:nth-child(2) i { transition-delay: .1s; } .race-list li:nth-child(3) i { transition-delay: .2s; } .race-list li:nth-child(4) i { transition-delay: .3s; } .race-list li:nth-child(5) i { transition-delay: .4s; } .race-list li:nth-child(6) i { transition-delay: .5s; } .race-list li:nth-child(7) i { transition-delay: .6s; }
.race-list .you i { background: linear-gradient(90deg, #3ddc84, #a7f3c5); box-shadow: 0 0 18px rgba(61, 220, 132, .6); }
.race-list .you .race-name { color: #3ddc84; }

/* data-centre rack */
.rack-sec .two { align-items: center; }
.rack-services { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .5rem; }
.rack-services li { display: grid; gap: .1rem; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: default; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.rack-services li:hover, .rack-services li:focus, .rack-services li.on { border-color: var(--o); transform: translateX(6px); box-shadow: -4px 0 0 var(--o); outline: none; }
.rack-services span { color: var(--muted); font-size: .92rem; }
.rack { position: relative; padding: 1rem 1.2rem 1.2rem; border-radius: 16px; background: linear-gradient(180deg, #17120f, #0b0807); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), inset 0 0 0 6px #0a0706; overflow: hidden; color: #fff; }
.rack-top { display: flex; justify-content: space-between; font: 700 .8rem "JetBrains Mono", Consolas, monospace; color: #a99d97; margin-bottom: .7rem; }
.rack-temp b { color: #ffb02e; }
.unit { position: relative; display: grid; grid-template-columns: auto 1fr 5rem auto auto; gap: .7rem; align-items: center; height: 38px; padding: 0 .8rem; margin-bottom: 5px; border-radius: 5px; background: linear-gradient(180deg, #3b3836, #2a2726); border: 1px solid #4a4542; transition: box-shadow .3s, border-color .3s; }
.unit.on { border-color: #ff7a1a; box-shadow: 0 0 0 1px #ff7a1a, 0 0 24px rgba(255, 122, 26, .5); }
.u-leds { display: flex; gap: 4px; }
.u-leds i { width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 6px #3ddc84; animation: blink .9s steps(2) var(--d) infinite; }
.u-leds i:nth-child(4) { background: #ffb02e; box-shadow: 0 0 6px #ffb02e; animation-duration: 1.7s; }
@keyframes blink { 50% { opacity: .2; } }
.u-label { font: 700 .75rem "JetBrains Mono", Consolas, monospace; color: #cfc6c1; }
.u-load { height: 6px; border-radius: 6px; background: rgba(0,0,0,.4); overflow: hidden; }
.u-load i { display: block; height: 100%; width: var(--load); background: linear-gradient(90deg, #ff5a1f, #ffd23f); animation: load 2.5s ease-in-out infinite alternate; }
@keyframes load { to { width: calc(var(--load) - 12%); } }
.u-fan { width: 26px; height: 26px; border-radius: 50%; background: #111; border: 2px solid #555; display: grid; place-items: center; }
.u-fan i { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(#444 0 15%, transparent 15% 25%, #444 25% 40%, transparent 40% 50%, #444 50% 65%, transparent 65% 75%, #444 75% 90%, transparent 90%); animation: spin .5s linear infinite; }
.airflow { position: absolute; inset: 0; pointer-events: none; }
.airflow i { position: absolute; left: -20%; top: var(--y); width: 18%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 140, 50, .55), transparent); animation: air 2.4s linear var(--d) infinite; }
@keyframes air { to { left: 110%; } }

/* electricity meter */
.meter-sec .two { align-items: center; }
.e-meter { display: grid; place-items: center; }
.e-face { position: relative; width: min(380px, 100%); aspect-ratio: 3 / 4; border-radius: 22px; padding: 1.5rem; display: grid; align-content: space-between; justify-items: center; background: linear-gradient(160deg, #2a2523, #141110); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 0 0 8px #0d0a09, 0 40px 80px -40px rgba(255, 106, 19, .45); color: #fff; }
.e-brand { font: 600 1rem var(--display); letter-spacing: .1em; color: #cfc6c1; } .e-brand b { color: #ff7a1a; }
.e-odo { font: 700 2.2rem "JetBrains Mono", Consolas, monospace; letter-spacing: .12em; padding: .3rem .6rem; border-radius: 8px; background: #050303; color: #ffd23f; text-shadow: 0 0 10px rgba(255, 194, 58, .6); box-shadow: inset 0 2px 8px #000; }
.e-window { width: 82%; height: 64px; border-radius: 32px; background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.12); overflow: hidden; display: grid; place-items: center; perspective: 300px; }
.e-disc { width: 100%; height: 14px; border-radius: 50%; background: linear-gradient(180deg, #d9dde2, #8d939b); position: relative; transform: rotateX(70deg); }
.e-disc i { position: absolute; top: 0; bottom: 0; width: 14px; left: 0; background: #e8470f; box-shadow: 0 0 10px #ff6a13; animation: disc var(--disc, 4s) linear infinite; }
@keyframes disc { to { left: calc(100% - 14px); } }
.e-spec { font: 600 .78rem var(--body); color: #8e847f; }
.meter-form label { max-width: none; }
.meter-form select { width: 100%; min-height: 46px; padding: .6rem .85rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 500 1rem var(--body); }
.meter-form .calc-out { flex-wrap: wrap; }

/* offers heading above carousel */
.offers-head { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: 1.5rem; }
.offers-head h2 { margin: 0; }
.slide .slide-h { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: .98; margin: 0; }
.slide .slide-h .grad-text { display: block; }

/* binary cursor trail */
.bit { position: fixed; z-index: 95; pointer-events: none; font: 700 12px "JetBrains Mono", Consolas, monospace; color: #ff9a1f; text-shadow: 0 0 6px #ff6a13; animation: bit .9s ease-out forwards; }
@keyframes bit { to { transform: translate(var(--bx), 28px); opacity: 0; } }

/* product cards as chips: gold pins along the media edge */
.card-media { position: relative; }
.card-media::before, .card-media::after { content: ""; position: absolute; left: 10%; right: 10%; height: 6px; z-index: 3; background: repeating-linear-gradient(90deg, #d4a24a 0 6px, transparent 6px 14px); opacity: .0; transition: opacity .3s; }
.card-media::before { top: 0; } .card-media::after { bottom: 0; }
.card:hover .card-media::before, .card:hover .card-media::after { opacity: .9; }

@media (max-width: 980px) {
  .mine-grid { grid-template-columns: 1fr; }
  .race-list li { grid-template-columns: 1fr auto; } .race-bar { grid-column: 1 / -1; grid-row: 2; }
  .term-foot { grid-template-columns: 1fr 1fr; } .term-foot .times { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .term-row { grid-template-columns: 5.5rem 1fr; } .term-row .term-tag { grid-column: 2; justify-self: start; }
  .unit { grid-template-columns: auto 1fr auto; } .unit .u-load, .unit .u-fan:last-child { display: none; }
  .e-odo { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root.js:not([data-motion="on"]) .kinetic .kw { opacity: 1; transform: none; }
  :root:not([data-motion="on"]) .circuit .pulses { display: none; }
  :root:not([data-motion="on"]) .race-bar i { transform: scaleX(1); }
}
.kinetic .grad-text .kw { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kinetic { font-size: clamp(2.6rem, 5.4vw, 5rem); }

/* ===================== easter eggs ===================== */
.egg-count { margin-right: .6rem; font: 700 .85rem var(--body); color: var(--o); }
.egg-stack { position: fixed; left: 50%; top: 90px; z-index: 120; transform: translateX(-50%); display: grid; gap: .6rem; justify-items: center; pointer-events: none; }
.egg-banner { display: grid; gap: .2rem; max-width: min(92vw, 520px); padding: .9rem 1.2rem; border-radius: 14px; background: #0b0807; color: #fff; border: 1px solid #ff7a1a; box-shadow: 0 20px 50px -10px rgba(255, 106, 19, .6); text-align: center; animation: egg-in .5s var(--ease) both; }
.egg-banner small { color: #d8ccc6; font-size: .9rem; }
.egg-banner.out { opacity: 0; transform: translateY(-16px); transition: .5s; }
@keyframes egg-in { from { opacity: 0; transform: translateY(-20px) scale(.95); } }
.egg-fall { position: fixed; top: -60px; z-index: 110; pointer-events: none; animation: egg-fall 3s cubic-bezier(.3, .6, .6, 1) forwards; }
@keyframes egg-fall { to { transform: translateY(115vh) rotate(var(--rot)); } }
.moon-rocket { position: fixed; left: -280px; bottom: -280px; z-index: 115; width: clamp(160px, 22vw, 280px); height: clamp(160px, 22vw, 280px); pointer-events: none; animation: moon-fly 3.8s cubic-bezier(.45, 0, .7, 1) forwards; filter: drop-shadow(0 0 30px #ff7a1a) drop-shadow(0 0 60px rgba(255, 122, 26, .6)); }
.moon-rocket svg { width: 100%; height: 100%; transform: rotate(-8deg); }
.moon-rocket i { position: absolute; left: -45%; bottom: -45%; width: 75%; height: 75%; border-radius: 50%; background: radial-gradient(circle, #ffd23f, #ff5a1f 45%, transparent 70%); filter: blur(6px); animation: flame .12s alternate infinite; }
@keyframes flame { to { transform: scale(1.25); opacity: .7; } }
@keyframes moon-fly { 60% { transform: translate(70vw, -70vh) scale(1.1); } 100% { transform: translate(95vw, -110vh) scale(.4); } }
.egg-moon { position: fixed; right: 4vw; top: 6vh; z-index: 114; font-size: 90px; pointer-events: none; animation: moon-glow 3.4s ease forwards; }
@keyframes moon-glow { 0% { opacity: 0; transform: scale(.5); } 30%, 80% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 30px #ffe9a3); } 100% { opacity: 0; } }
.shake { animation: shake .6s; }
@keyframes shake { 20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -2px); } }
.egg-overlay { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 1.5rem; background: rgba(0, 0, 0, .85); backdrop-filter: blur(6px); cursor: pointer; animation: egg-in2 .4s both; }
@keyframes egg-in2 { from { opacity: 0; } }
.egg-term { max-width: 720px; padding: 2rem; border-radius: 16px; border: 1px solid #3ddc84; background: #020403; box-shadow: 0 0 60px rgba(61, 220, 132, .25); font-family: "JetBrains Mono", Consolas, monospace; color: #3ddc84; }
.egg-type { font-size: clamp(1.2rem, 3vw, 1.8rem); line-height: 1.4; min-height: 3em; margin: 1rem 0; text-shadow: 0 0 10px rgba(61, 220, 132, .6); }
.egg-type::after { content: "▋"; animation: blink 1s steps(2) infinite; }
.egg-meta { color: #8fcfa9; font-size: .9rem; margin: 0; }

@keyframes launch { 0% { transform: none; } 10% { transform: translate(-2px, 2px) rotate(-6deg); } 20% { transform: translate(2px, -2px) rotate(4deg); } 55% { transform: translate(60px, -140px) rotate(25deg) scale(1.4); opacity: 1; filter: drop-shadow(0 18px 10px #ff7a1a); } 56% { opacity: 0; } 80% { transform: translateY(40px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.rack.overclock .u-fan i { animation-duration: .12s; }
.rack.overclock .unit { border-color: #ff3b1f; box-shadow: 0 0 18px rgba(255, 59, 31, .6); background: linear-gradient(180deg, #5a2a22, #3a1a14); }
.rack.overclock .rack-temp b { color: #ff3b1f; animation: blink .3s steps(2) infinite; }
.rack.overclock .airflow i { background: linear-gradient(90deg, transparent, rgba(255, 59, 31, .9), transparent); animation-duration: .8s; }
.rack.cooling .unit { border-color: #4cc9f0; box-shadow: 0 0 18px rgba(76, 201, 240, .5); transition: box-shadow 1s, border-color 1s; }
.rack.cooling .airflow i { background: linear-gradient(90deg, transparent, rgba(76, 201, 240, .9), transparent); }
.gold-mode { --o: #ffcf3f; --o3: #ffd84a; --fire: linear-gradient(180deg, #fff3b0 0%, #ffd23f 50%, #c99212 100%); }

/* secret terminal (logo x5) */
.crt-off body > *:not(.egg-crt) { animation: crt-off .9s cubic-bezier(.7, 0, .3, 1) forwards; transform-origin: 50% 50vh; }
@keyframes crt-off { 0% { transform: none; filter: none; } 30% { filter: saturate(3) hue-rotate(-20deg) contrast(1.4); transform: skewX(4deg) translateX(-10px); } 60% { transform: scaleY(.004); filter: brightness(6); } 100% { transform: scale(0, .004); filter: brightness(10); opacity: 0; } }
.crt-off body { overflow: hidden; background: #000; }
.crt-on body > * { animation: crt-on .8s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 50vh; }
@keyframes crt-on { 0% { transform: scale(0, .004); filter: brightness(8); } 45% { transform: scaleY(.004); } 100% { transform: none; filter: none; } }
.egg-crt { position: fixed; inset: 0; z-index: 300; background: #050302; color: #ffb02e; font: 500 clamp(13px, 1.4vw, 16px)/1.55 "JetBrains Mono", Consolas, monospace; animation: crt-in .5s ease both; }
.egg-crt::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.75)); }
.egg-crt::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; background: rgba(255, 140, 40, .03); animation: flick .12s infinite; }
@keyframes flick { 50% { opacity: .4; } }
@keyframes crt-in { from { opacity: 0; transform: scaleY(.02); } }
.egg-crt.crt-closing { animation: crt-off .5s ease forwards; }
.crt-screen { position: absolute; inset: 0; padding: clamp(1rem, 4vw, 3rem); display: flex; flex-direction: column; text-shadow: 0 0 6px rgba(255, 140, 40, .65); }
.crt-out { flex: 1; overflow-y: auto; white-space: pre-wrap; scrollbar-width: none; }
.crt-out p { margin: 0; }
.crt-out .hi { color: #ffd23f; } .crt-out .ok { color: #7dffa8; text-shadow: 0 0 6px rgba(61, 220, 132, .6); } .crt-out .err { color: #ff6b5b; } .crt-out .pr { color: #ff7a1a; }
.crt-out a { color: #ffd23f; }
.crt-line { display: flex; gap: .6rem; align-items: center; }
.crt-line label { color: #ff7a1a; white-space: nowrap; }
.crt-line input { flex: 1; background: transparent; border: 0; outline: 0; color: #ffd23f; font: inherit; caret-color: #ffd23f; text-shadow: inherit; }
.crt-close { position: absolute; top: 1rem; right: 1rem; z-index: 4; background: transparent; color: #ffb02e; border: 1px solid #ff7a1a; border-radius: 6px; padding: .3rem .7rem; font: 600 .85rem "JetBrains Mono", Consolas, monospace; cursor: pointer; }

/* language menu */
.lang-menu { position: relative; flex: none; }
.lang-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .6rem; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); font: 800 .85rem var(--body); letter-spacing: .04em; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu[open] summary, .lang-menu summary:hover { border-color: var(--o); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; list-style: none; margin: 0; padding: .4rem; min-width: 190px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); animation: pop .2s var(--ease); }
.lang-menu a { display: block; padding: .55rem .8rem; border-radius: 9px; color: var(--text); text-decoration: none; font-weight: 600; }
.lang-menu a:hover { background: var(--panel-2); color: var(--o); }
.lang-menu a[aria-current] { background: var(--panel-2); color: var(--o); }
@media (max-width: 640px) { .lang-menu summary { min-width: 40px; height: 40px; border-radius: 10px; } }

.moon-rocket b { position: absolute; left: -110%; bottom: -110%; width: 120%; height: 120%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 80, .55), rgba(255, 90, 20, .25) 40%, transparent 70%); filter: blur(14px); animation: flame .18s alternate infinite; }
@keyframes moon-fly { 0% { transform: translate(0, 0) scale(.8); } 55% { transform: translate(62vw, -62vh) scale(1.1) rotate(4deg); } 100% { transform: translate(115vw, -125vh) scale(.5) rotate(8deg); } }
.moon-smoke { position: fixed; z-index: 114; width: 70px; height: 70px; margin: -35px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 220, 190, .55), rgba(120, 100, 90, .25) 50%, transparent 70%); animation: smoke 1.6s ease-out forwards; }
@keyframes smoke { to { transform: scale(3.2) translate(-10px, 20px); opacity: 0; } }
.btc-rain { position: fixed; top: -80px; z-index: 113; display: grid; place-items: center; border-radius: 50%; pointer-events: none; color: #fff; font-weight: 900; background: radial-gradient(circle at 32% 28%, #fff1b0, #f7931a 52%, #a85a08); box-shadow: 0 0 18px rgba(247, 147, 26, .8), inset 0 -3px 6px rgba(0,0,0,.25); text-shadow: 0 1px 2px rgba(0,0,0,.35); animation: btc-fall linear forwards; }
@keyframes btc-fall { to { transform: translate(var(--drift), 112vh) rotateY(1080deg) rotate(200deg); } }
.egg-roma { position: fixed; right: 0; bottom: 0; z-index: 116; width: clamp(220px, 34vw, 420px); pointer-events: none; animation: roma 5s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.egg-roma img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 70% 75% at 55% 55%, #000 55%, transparent 80%); mask-image: radial-gradient(ellipse 70% 75% at 55% 55%, #000 55%, transparent 80%); filter: drop-shadow(0 0 40px rgba(255, 122, 26, .5)); }
@keyframes roma { 0% { transform: translateX(110%) rotate(8deg); } 14% { transform: translateX(0) rotate(-3deg); } 20%, 82% { transform: translateX(0) rotate(0); } 100% { transform: translateX(115%) rotate(6deg); } }
.roma-say { position: absolute; left: -4%; top: 6%; padding: .35em .7em; border-radius: 22px 22px 22px 4px; background: #fff; color: #120a06; font: 700 clamp(1.8rem, 4vw, 3.2rem)/1 var(--display); text-transform: uppercase; box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 0 0 4px #ff7a1a; animation: say 5s ease forwards; transform-origin: 90% 100%; }
@keyframes say { 0%, 14% { transform: scale(0) rotate(-12deg); } 22% { transform: scale(1.25) rotate(4deg); } 28%, 80% { transform: scale(1) rotate(-3deg); } 90%, 100% { transform: scale(0); } }
.moon-rocket svg { stroke: none; }

.dev-badge { position: fixed; left: 10px; bottom: 10px; z-index: 400; padding: .25rem .6rem; border-radius: 6px; background: #e5484d; color: #fff; font: 800 .75rem/1.4 monospace; letter-spacing: .1em; pointer-events: none; }

/* =====================================================================
   v7 – mobile redesign (app-like: compact header, drawer menu,
   bottom tab bar, swipeable rails, bottom-sheet filters, sticky buy bar)
   ===================================================================== */
.nav-extra, .tabbar, .buybar, .sheet-head { display: none; }

@media (max-width: 900px) {
  .sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
  .sheet-head b { font: 700 1.3rem var(--display); text-transform: uppercase; }
  .filters-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); display: grid; place-items: center; cursor: pointer; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-contacts { min-width: 0; } .footer-contacts a { word-break: break-word; }
}

@media (max-width: 640px) {
  :root { --r-lg: 18px; }
  body { font-size: .98rem; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .wrap { width: calc(100% - 2rem); }
  h1 { font-size: 2.2rem; } h2 { font-size: 1.65rem; }
  .section { padding: 2.6rem 0; }
  .section-head { margin-bottom: 1rem; align-items: center; }
  .section-head h2 { font-size: 1.6rem; }
  .section-head .text-link { padding: 0; font-size: .9rem; }

  /* header: logo + cart + menu only */
  .header-inner { min-height: 60px; gap: .5rem; }
  .header-inner > .lang-menu, .header-inner > .theme-btn, .header-phone { display: none !important; }
  .logo { font-size: 1.2rem; } .logo .mark { width: 28px; height: 28px; }
  .cart-link { margin-left: auto; width: 42px; height: 42px; }
  .menu-btn { width: 42px; height: 42px; }

  /* full-screen drawer menu */
  .main-nav { display: flex !important; position: fixed; inset: 60px 0 0 0; z-index: 90; flex-direction: column; align-items: stretch; gap: .2rem; padding: 1rem 1rem calc(5rem + env(safe-area-inset-bottom, 0px)); background: var(--bg); overflow-y: auto; opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none; transition: opacity .25s, transform .3s var(--ease), visibility .3s; border: 0; margin: 0; }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .main-nav > a { font: 600 1.6rem var(--display); text-transform: uppercase; padding: .7rem .4rem; border-radius: 0; border-bottom: 1px solid var(--line); background: none !important; }
  .main-nav > a[aria-current] { color: var(--o); }
  .nav-extra { display: grid; gap: .8rem; margin-top: 1.4rem; }
  .nav-label { margin: 0; color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
  .nav-langs { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
  .nav-langs a { display: grid; place-items: center; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; font: 800 .8rem var(--body); }
  .nav-langs a[aria-current] { border-color: var(--o); color: var(--o); }
  .nav-theme { width: 100%; height: 48px; display: flex; align-items: center; justify-content: center; gap: .6rem; font: 700 .95rem var(--body); }
  .nav-theme span { display: inline; }
  .nav-extra .btn { min-height: 52px; }
  .menu-open, .menu-open body, .sheet-open, .sheet-open body { overflow: hidden; }

  /* bottom tab bar */
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; padding: .35rem .3rem calc(.35rem + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabbar a { position: relative; display: grid; justify-items: center; gap: .15rem; padding: .3rem 0; color: var(--muted); text-decoration: none; font: 600 .68rem var(--body); }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a[aria-current] { color: var(--o); }
  .tabbar .tab-cart b { position: absolute; top: 0; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--o); color: #fff; font: 800 .65rem/18px var(--body); text-align: center; }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 2rem); justify-content: center; text-align: center; }

  /* hero: calm and compact */
  .mine-hero { padding-top: 1.6rem; }
  .circuit { opacity: .55; }
  .kicker { font-size: .78rem; margin-bottom: 1rem; }
  .kinetic { font-size: 2.35rem; line-height: 1; }
  .mine-lead { font-size: .98rem; }
  .mine-hero .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.2rem 0 1.4rem; }
  .mine-hero .hero-cta .btn { min-height: 52px; padding: .4rem .8rem; font-size: .9rem; }
  .mine-hero .btn-arrow i { width: 38px; height: 38px; }
  .terminal { border-radius: 14px; }
  .term-bar { font-size: .72rem; padding: .55rem .8rem; } .term-bar > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .term-body { padding: .8rem .9rem 1rem; font-size: .82rem; gap: .35rem; }
  .term-row { grid-template-columns: 4.6rem 1fr auto; gap: .5rem; }
  .term-row .term-tag { grid-column: auto; }
  .term-body > .term-row:nth-child(2), .term-body > .term-row:nth-child(5), .term-stream, .term-meter { display: none; }
  .term-foot { grid-template-columns: 1fr 1fr 1fr; gap: .4rem; } .term-foot .times { grid-column: auto; }
  .term-foot p { padding: .5rem; } .term-foot b { font-size: .95rem; } .term-foot small { font-size: .6rem; }
  .chain { display: none; }

  /* ticker + stats */
  .usp span { padding: .7rem 1.1rem; font-size: .85rem; }
  .stats-grid p { padding: 1.1rem .5rem; } .stats-grid b { font-size: 2rem; }

  /* race: tight rows */
  .race-list { gap: .7rem; }
  .race-list li { grid-template-columns: 1fr auto; gap: .25rem .6rem; }
  .race-name { font-size: .88rem; } .race-list b { font-size: 1rem; } .race-bar { height: 10px; }

  /* product rails: swipe instead of an endless column */
  .grid-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; grid-template-columns: none; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -1rem; padding: 0 1rem .5rem; scrollbar-width: none; }
  .grid-scroll::-webkit-scrollbar { display: none; }
  .grid-scroll .card { scroll-snap-align: start; }
  .algo-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -1rem 1rem; padding: 0 1rem; scrollbar-width: none; }
  .algo-chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }

  /* compact product cards (2 per row in catalogue) */
  .grid-3, .related .grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .card { border-radius: 14px; }
  .card-body { padding: .65rem .7rem .75rem; gap: .35rem; }
  .card .badges .badge { font-size: .6rem; padding: .15rem .4rem; }
  .card .badges .badge:nth-child(n+3) { display: none; }
  .card h3 { font-size: .92rem; min-height: 2.2em; }
  .card-specs { min-height: 0; } .card-specs span { font-size: .68rem; padding: .1rem .4rem; } .card-specs span:nth-child(n+3) { display: none; }
  .card-city { display: none; }
  .card .price { font-size: 1.05rem; } .card .price small { font-size: .7rem; }
  .card .btn-icon { width: 38px; min-height: 38px; height: 38px; border-radius: 10px; }
  .card-media::before, .card-media::after { display: none; }

  /* catalogue: toolbar + bottom-sheet filters */
  .catalog { gap: 1rem; }
  .toolbar { position: sticky; top: 60px; z-index: 20; margin: 0 -1rem 1rem; padding: .6rem 1rem; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); gap: .5rem; flex-wrap: nowrap; }
  .toolbar #resultCount { font-size: .85rem; white-space: nowrap; }
  .filters-toggle { min-height: 40px; padding: .4rem .9rem; margin-left: auto; }
  .sort { font-size: 0; gap: 0; } .sort select { font-size: .85rem; min-height: 40px; padding: .4rem .5rem; max-width: 9.5rem; }
  .filters { inset: auto 0 0 0 !important; width: 100% !important; max-height: 82vh !important; border-radius: 20px 20px 0 0 !important; padding: 1rem 1rem calc(1.2rem + env(safe-area-inset-bottom, 0px)) !important; transform: translateY(105%) !important; z-index: 95 !important; visibility: hidden; transition: transform .35s var(--ease), visibility .35s !important; }
  .filters.open { transform: none !important; visibility: visible; box-shadow: 0 -30px 60px rgba(0,0,0,.6) !important; }
  .filters::before { content: ""; display: block; width: 44px; height: 5px; margin: -.3rem auto .7rem; border-radius: 3px; background: var(--line); }
  .sheet-open body::after { content: ""; position: fixed; inset: 0; z-index: 94; background: rgba(0,0,0,.55); }

  /* product page: sticky buy bar instead of the tab bar */
  .pg-product .tabbar { display: none; }
  .pg-product .buybar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .buybar .price { font-size: 1.15rem; } .buybar .price small { font-size: .7rem; }
  .buybar .btn { min-height: 46px; padding: .5rem .8rem; font-size: .9rem; }
  .pg-product .buy-actions { display: none; }
  .crumbs { font-size: .8rem; margin-bottom: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybox h1 { font-size: 1.8rem; }
  .key-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .key-specs span { padding: .55rem .6rem; font-size: .95rem; }
  .price.big { font-size: 1.9rem; margin: .6rem 0; }
  .calc { padding: 1rem; } .calc-out b { font-size: 1.2rem; }
  .product-info { margin-top: 2rem; gap: 1.5rem; }
  .offers li { grid-template-columns: 1fr auto; gap: .3rem .8rem; padding: .7rem .8rem; font-size: .88rem; }
  .offers li .badge { display: none; }

  /* promo carousel: lighter */
  .offers-head { padding-top: 2.4rem; padding-bottom: .8rem; }
  .promo .slide { padding: 1.6rem 0 5.5rem; }
  .promo .slide-visual { height: 200px; }
  .promo .slide .slide-h { font-size: 2rem; }
  .promo .checks { gap: .5rem; } .promo .checks li { font-size: .95rem; } .promo .checks .ic { width: 34px; height: 34px; }
  .promo .neon-title { font-size: 5rem; } .promo .mega { font-size: 3rem; }
  .promo .spec-row div { padding: 0 .7rem; } .promo .spec-row dt { font-size: 1.05rem; }
  .promo .btn-lg { min-height: 54px; font-size: .95rem; width: 100%; }
  .promo .lead-check { font-size: 1.15rem; }
  .promo .skew-label { font-size: 1.9rem; }
  .promo .compare-img { max-height: 160px; }
  .promo .cmp-hash { font-size: 1.1rem; } .promo .cmp-algo { font-size: .95rem; }
  .slider-ui { margin-top: -4.6rem; } .slide-count { font-size: 1.2rem; }

  /* rack & meter: keep the useful part, drop the heavy illustration */
  .rack-sec .rack, .meter-sec .e-meter { display: none; }
  .rack-services li { padding: .7rem .85rem; }
  .meter-form .calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .meter-form .calc-out span { padding: .6rem; } .meter-form .calc-out b { font-size: 1.05rem; }

  /* trade-in, steps, faq, cta, footer */
  .tradein img { max-height: 260px; }
  .tradein .lead { font-size: 1rem; }
  .steps li { padding: .85rem .9rem .85rem 3.6rem; } .steps li::before { width: 2rem; height: 2rem; left: .8rem; top: .85rem; font-size: 1.1rem; }
  .faq summary { padding: .9rem 3rem .9rem 1rem; font-size: .95rem; }
  .cta-band { padding: 2rem 0; } .cta-band .btn { width: 100%; }
  .site-footer { padding: 2.2rem 0 1rem; }
  .footer-grid { gap: 1.2rem; } .footer-grid p { font-size: .9rem; }
  .motion-row { text-align: center; }
  .page-head { padding: 1.8rem 0; } .page-head h1 { font-size: 2.1rem; } .page-head p { font-size: .95rem; }
  .services { gap: .6rem; } .service { padding: 1.1rem; }
  .contact-cards { gap: .6rem; } .contact-card { padding: 1rem; }
  .card-form { padding: 1.1rem; }
  .cart-row { padding: .8rem; gap: .6rem; }
  .egg-roma { width: 62vw; }
}
@media (max-width: 380px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .kinetic { font-size: 2.05rem; }
  .tabbar a { font-size: .62rem; }
}
@media (max-width: 640px) {
  /* backdrop-filter on the header would trap the fixed drawer inside the header box */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--bg) 97%, transparent); }
  :root[data-theme="light"] .site-header { background: rgba(247, 243, 239, .97); }
}
.nav-extra .btn-outline { background: transparent; color: var(--text); }
