/* ==========================================================================
   ELFIK SHOP — design system
   ========================================================================== */
:root {
  --bg: #09090b;
  --bg-2: #111114;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f2ee;
  --muted: #9b99a4;
  --lime: #c8ff2e;
  --lime-ink: #0d1300;
  --coral: #ff4f3a;
  --violet: #7b5cff;
  --accent: var(--lime);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Atmosphere: drifting smoke + grain ---------- */
.atmos { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.atmos i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.32;
  animation: drift 26s var(--ease) infinite alternate;
}
.atmos i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: var(--violet); }
.atmos i:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 22vh; background: var(--coral); opacity: 0.18; animation-duration: 32s; animation-delay: -8s; }
.atmos i:nth-child(3) { width: 34vw; height: 34vw; left: 30vw; bottom: -18vw; background: var(--lime); opacity: 0.12; animation-duration: 38s; animation-delay: -15s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, 4vh, 0) scale(1.15); }
  100% { transform: translate3d(-4vw, 8vh, 0) scale(0.92); }
}
.grain {
  position: fixed; inset: -50%; z-index: 1000; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ---------- Scroll progress + page curtain + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.curtain {
  position: fixed; inset: 0; z-index: 900; background: var(--lime); pointer-events: none;
  transform: translateY(-100%);
}
.curtain.enter { animation: curtainOut 0.75s var(--ease) both; }
.curtain.leave { animation: curtainIn 0.4s var(--ease) both; }
@keyframes curtainOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes curtainIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
.curtain span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: clamp(40px, 10vw, 120px); color: var(--lime-ink); letter-spacing: -0.04em;
}

.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none; border-radius: 50%; display: none; }
.cursor { width: 6px; height: 6px; background: var(--lime); margin: -3px 0 0 -3px; }
.cursor-ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(200, 255, 46, 0.5);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.cursor-ring.hot { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(200, 255, 46, 0.08); border-color: var(--lime); }
@media (pointer: fine) { .has-cursor .cursor, .has-cursor .cursor-ring { display: block; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(9, 9, 11, 0.6); border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, transform 0.45s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); background: rgba(9, 9, 11, 0.82); }
.header.hide { transform: translateY(-100%); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.logo svg circle { transform-origin: 50% 50%; animation: spin 9s linear infinite; }
.logo svg circle:nth-child(2) { animation-duration: 6s; animation-direction: reverse; }
.logo svg circle:nth-child(3) { animation-duration: 4s; }
.logo b { color: var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--surface-2); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px;
  transition: transform 0.3s var(--ease-back), background 0.3s;
}
.cart-btn:hover { background: var(--lime); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--coral); color: #fff;
  font-size: 12px; display: grid; place-items: center; font-weight: 800;
}
.cart-count[data-n='0'] { background: rgba(0, 0, 0, 0.15); color: inherit; }
.cart-btn.bump { animation: bump 0.6s var(--ease-back); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.18) rotate(-4deg); } 60% { transform: scale(0.95) rotate(2deg); } 100% { transform: scale(1); } }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: block; }
  .header-actions { display: flex; gap: 8px; align-items: center; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; height: calc(100dvh - 72px); flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px var(--gutter); background: var(--bg); clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease); visibility: hidden;
  }
  .menu-open .nav { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav a {
    font-family: var(--display); font-size: clamp(28px, 8vw, 40px); font-weight: 700; color: var(--text); background: none !important;
    padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; opacity: 0; transform: translateY(30px);
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  }
  .menu-open .nav a { opacity: 1; transform: none; }
  .menu-open .nav a:nth-child(2) { transition-delay: 0.05s; } .menu-open .nav a:nth-child(3) { transition-delay: 0.1s; }
  .menu-open .nav a:nth-child(4) { transition-delay: 0.15s; } .menu-open .nav a:nth-child(5) { transition-delay: 0.2s; }
  .cart-btn .cart-label { display: none; }
}
@media (min-width: 861px) { .header-actions { display: flex; align-items: center; gap: 8px; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: 0.01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, color 0.35s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 40px -10px rgba(200, 255, 46, 0.55); }
.btn-primary::before { background: var(--text); }
.btn-ghost { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--bg); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200, 255, 46, 0.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(200, 255, 46, 0.6); } 80%, 100% { box-shadow: 0 0 0 12px rgba(200, 255, 46, 0); } }
.h-display { font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.045em; }
.h-section { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 52ch; }
.section { padding: clamp(64px, 10vw, 128px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head .h-section em { font-style: normal; color: var(--lime); }

/* split text */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--base, 0ms)); }
.split.in .w > span { transform: none; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal='scale'] { transform: scale(0.92); }
[data-reveal='left'] { transform: translateX(-40px); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(46px, 8.6vw, 122px); margin: 22px 0 26px; }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.hero h1 .lime { color: var(--lime); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1.08; display: grid; place-items: center; }
.hero-visual .disc {
  position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2a33, #111116 60%);
  box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px -20px rgba(123, 92, 255, 0.45);
}
.hero-visual .ring { position: absolute; width: 100%; aspect-ratio: 1; animation: spin 30s linear infinite; }
.hero-visual .ring text { font-family: var(--display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.32em; fill: var(--muted); text-transform: uppercase; }
.hero-visual .p { position: absolute; width: 50%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); transition: transform 0.2s linear; }
.hero-visual .p img { animation: bob 6s ease-in-out infinite; }
.hero-visual .p1 { left: -2%; top: 4%; width: 46%; opacity: 0.9; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)) saturate(0.9); }
.hero-visual .p1 img { transform: rotate(-12deg); animation-name: bobL; }
.hero-visual .p2 { left: 20%; top: 12%; width: 72%; z-index: 1; }
.hero-visual .p2 img { animation-delay: -3s; animation-name: bobR; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes bobL { 0%, 100% { transform: translateY(0) rotate(-12deg); } 50% { transform: translateY(-20px) rotate(-8deg); } }
@keyframes bobR { 0%, 100% { transform: translateY(0) rotate(10deg); } 50% { transform: translateY(-14px) rotate(6deg); } }
.hero-visual .sticker {
  position: absolute; z-index: 2; left: 4%; bottom: 10%; width: 120px; height: 120px; border-radius: 50%; background: var(--coral); color: #fff;
  display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 800; line-height: 1; transform: rotate(-14deg);
  box-shadow: 0 20px 40px -10px rgba(255, 79, 58, 0.6); animation: wobble 4s ease-in-out infinite;
}
.hero-visual .sticker small { display: block; font-size: 11px; letter-spacing: 0.1em; font-weight: 700; margin-top: 4px; }
.hero-visual .sticker strong { font-size: 30px; }
@keyframes wobble { 0%, 100% { transform: rotate(-14deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.06); } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(40px, 6vw, 72px); }
.stat { background: var(--bg); padding: 22px 24px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(24px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; order: -1; }
  .hero-visual .sticker { width: 92px; height: 92px; } .hero-visual .sticker strong { font-size: 22px; }
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--bg-2); transform: rotate(-1.5deg); margin: 0 -2vw; }
.marquee.alt { background: var(--lime); color: var(--lime-ink); transform: rotate(1.2deg); margin-top: -14px; border: 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee.alt .marquee-track { animation-direction: reverse; animation-duration: 30s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.4vw, 28px); letter-spacing: -0.02em; white-space: nowrap; }
.marquee-track span::after { content: '✦'; color: var(--lime); font-size: 0.7em; }
.marquee.alt .marquee-track span::after { color: var(--lime-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.card {
  --c: var(--lime);
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease), box-shadow 0.4s;
  isolation: isolate;
}
.card:hover { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent), 0 30px 60px -30px color-mix(in srgb, var(--c) 60%, transparent); }
.card.tilting { transition: transform 0.12s linear, box-shadow 0.4s; }
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.1), transparent 45%);
}
.card:hover::after { opacity: 1; }
.card-media { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-media::before {
  content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent), transparent 68%);
  filter: blur(20px); opacity: 0.55; transition: opacity 0.5s, transform 0.8s var(--ease);
}
.card:hover .card-media::before { opacity: 0.95; transform: scale(1.2); }
.card-media img, .card-media .ph { position: relative; width: 78%; transform: translateZ(40px); transition: transform 0.8s var(--ease); }
.card-media .float { animation: bob 5s ease-in-out infinite; animation-delay: var(--fd, 0s); }
.card:hover .card-media img, .card:hover .card-media .ph { transform: translateZ(60px) scale(1.08) rotate(-4deg); }
.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: var(--coral); color: #fff; transform: translateZ(50px);
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; transform: translateZ(30px); }
.card-cat { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card-title { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.15; letter-spacing: -0.02em; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-family: var(--display); font-weight: 700; font-size: 20px; }
.price del { color: var(--muted); font-size: 14px; font-weight: 500; font-family: var(--body); }
.card-go {
  width: 46px; height: 46px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; flex: none;
  transition: transform 0.5s var(--ease-back), background 0.3s;
}
.card-go svg { width: 18px; height: 18px; }
.card:hover .card-go { background: var(--c); transform: rotate(-45deg) scale(1.08); color: #000; }
.card-link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }

/* device placeholder (products without photo) */
.ph { aspect-ratio: 1; }
.ph svg { width: 100%; height: 100%; overflow: visible; }
.ph .smoke { animation: smoke 4s ease-in-out infinite; transform-origin: 50% 100%; opacity: 0; }
.ph .smoke:nth-child(2) { animation-delay: 1.3s; } .ph .smoke:nth-child(3) { animation-delay: 2.6s; }
@keyframes smoke { 0% { transform: translateY(0) scale(0.6); opacity: 0; } 30% { opacity: 0.5; } 100% { transform: translateY(-40px) scale(1.6); opacity: 0; } }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 18px); }
.cat {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 22px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: left;
  transition: transform 0.5s var(--ease), background 0.4s, color 0.4s, box-shadow 0.4s;
}
.cat:hover { transform: translateY(-6px); }
.cat.active { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.cat-num { font-family: var(--display); font-size: 13px; font-weight: 700; opacity: 0.6; }
.cat h3 { font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.03em; line-height: 1.05; }
.cat p { font-size: 13px; opacity: 0.7; margin-top: 6px; }
.cat-count { position: absolute; right: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; box-shadow: inset 0 0 0 1px currentColor; opacity: 0.6; }
.cat .blob { position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--violet); filter: blur(30px); opacity: 0.4; transition: transform 0.8s var(--ease); }
.cat:hover .blob { transform: scale(1.6) translate(-20px, -20px); }
.cat.active .blob { background: #fff; opacity: 0.5; }
@media (max-width: 860px) { .cats { grid-template-columns: repeat(2, 1fr); } .cat { min-height: 150px; } }

/* filter chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.3s, color 0.3s;
}
.chip.active { background: var(--text); color: var(--bg); }
.grid .card.leaving { animation: cardOut 0.25s var(--ease) both; }
.grid .card.entering { animation: cardIn 0.6s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes cardOut { to { opacity: 0; transform: scale(0.94); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(0.96); } }
.empty { padding: 60px 20px; text-align: center; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.empty b { display: block; font-family: var(--display); color: var(--text); font-size: 22px; margin-bottom: 6px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.step::before {
  counter-increment: s; content: '0' counter(s); display: block; font-family: var(--display); font-weight: 800; font-size: 54px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); margin-bottom: 26px; transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}
.step:hover::before { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.step h3 { font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }
.step .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.step.in .bar { transform: scaleX(1); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.band {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 6vw, 72px);
  background: var(--lime); color: var(--lime-ink); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.band h2 { font-family: var(--display); font-size: clamp(28px, 4.6vw, 56px); line-height: 1; letter-spacing: -0.04em; }
.band p { margin-top: 12px; font-weight: 600; opacity: 0.75; }
.band .btn-primary { background: var(--lime-ink); color: var(--lime); box-shadow: none; }
.band .btn-primary::before { background: #fff; }
.band .btn-primary:hover { color: var(--lime-ink); }
.band .orb { position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.2); animation: spin 20s linear infinite; }
.band .orb::after { content: ''; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lime-ink); }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(40px, 8vw, 96px); border-top: 1px solid var(--line); padding: 56px 0 28px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { position: relative; transition: color 0.3s; }
.footer a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.4s var(--ease); }
.footer a:hover { color: var(--lime); }
.footer a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.footer p { color: var(--muted); font-size: 14px; max-width: 34ch; margin-top: 12px; }
.footer-big {
  font-family: var(--display); font-weight: 800; font-size: clamp(56px, 16vw, 230px); line-height: 0.8; letter-spacing: -0.06em;
  margin-top: 48px; color: transparent; -webkit-text-stroke: 1px var(--line-2); white-space: nowrap; user-select: none;
  background: linear-gradient(90deg, var(--lime), var(--coral), var(--violet), var(--lime)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; transition: color 0.6s;
  animation: hue 10s linear infinite;
}
.footer-big:hover { color: transparent; -webkit-text-stroke-color: transparent; }
@keyframes hue { to { background-position: 300% 0; } }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.badge18 { display: inline-flex; align-items: center; gap: 8px; }
.badge18 b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--coral); color: var(--coral); font-size: 11px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(44px, 9vw, 120px); margin-top: 16px; }
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.crumbs a:hover { color: var(--text); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 72px); align-items: start; padding: clamp(20px, 3vw, 40px) 0 0; }
.stage {
  --c: var(--lime);
  position: sticky; top: 96px; aspect-ratio: 1; border-radius: calc(var(--radius) + 8px); overflow: hidden;
  background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--c) 35%, transparent), transparent 60%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: background 0.8s var(--ease);
}
.stage::before {
  content: ''; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--c) 30%, transparent), transparent 40%);
  animation: spin 12s linear infinite; opacity: 0.6;
}
.stage-name {
  position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 7vw, 92px);
  letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12); white-space: nowrap; pointer-events: none;
}
.stage-img { position: relative; width: 70%; aspect-ratio: 1; display: grid; place-items: center; transition: transform 0.25s linear; }
.stage-img > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.stage-img .swap-out { animation: swapOut 0.45s var(--ease) both; }
.stage-img .swap-in { animation: swapIn 0.7s var(--ease) both, bob 6s ease-in-out 0.7s infinite; }
@keyframes swapOut { to { opacity: 0; transform: translateX(-30%) rotate(-18deg) scale(0.8); } }
@keyframes swapIn { from { opacity: 0; transform: translateX(30%) rotate(18deg) scale(0.8); } }
.pdp-info h1 { font-size: clamp(34px, 4.8vw, 62px); margin: 14px 0 12px; }
.pdp-tag { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 13px; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 6px; flex-wrap: wrap; }
.pdp-price .now { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.03em; }
.pdp-price del { color: var(--muted); font-size: 18px; }
.pdp-price .off { padding: 4px 10px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 800; font-size: 13px; }
.bulk { color: var(--lime); font-weight: 700; font-size: 15px; }
.pdp-desc { color: var(--muted); margin: 18px 0 26px; max-width: 56ch; }
.label { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.label span:last-child { color: var(--text); letter-spacing: 0; text-transform: none; font-size: 14px; }
.flavors { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin-bottom: 26px; }
.flavor {
  --fc: var(--lime);
  position: relative; aspect-ratio: 1; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; overflow: hidden; transition: transform 0.4s var(--ease-back), box-shadow 0.3s;
}
.flavor::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--fc) 50%, transparent), transparent 70%); opacity: 0.5; transition: opacity 0.3s; }
.flavor img { position: relative; width: 82%; height: 82%; object-fit: contain; transition: transform 0.4s var(--ease); }
.flavor .emo { position: relative; font-size: 22px; }
.flavor:hover { transform: translateY(-4px); }
.flavor:hover img { transform: scale(1.12) rotate(-6deg); }
.flavor.active { box-shadow: inset 0 0 0 2px var(--fc), 0 10px 30px -10px var(--fc); }
.flavor.active::before { opacity: 1; }
.qty { display: inline-flex; align-items: center; height: 56px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button { width: 48px; height: 100%; font-size: 20px; font-weight: 700; border-radius: 999px; transition: background 0.2s; }
.qty button:hover { background: var(--surface-2); }
.qty output { min-width: 32px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.qty.sm { height: 40px; } .qty.sm button { width: 36px; font-size: 16px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.buy-row .btn { flex: 1; min-width: 180px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.feat { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; }
.feat i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--lime)) 18%, transparent); color: var(--c, var(--lime)); font-style: normal; flex: none; }
.feat i svg { width: 18px; height: 18px; }
.note18 { margin-top: 18px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .stage { position: relative; top: 0; } }

/* ---------- Cart & checkout ---------- */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.panel { border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(18px, 3vw, 28px); }
.panel h2 { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; margin-bottom: 18px; }
.sticky { position: sticky; top: 96px; }
.line {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line);
  animation: cardIn 0.6s var(--ease) both; animation-delay: var(--d, 0ms);
}
.line:first-child { padding-top: 0; }
.line.removing { animation: lineOut 0.4s var(--ease) both; }
@keyframes lineOut { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; } }
.line-img { --c: var(--lime); width: 84px; height: 84px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%), var(--bg-2); }
.line-img img, .line-img .ph { width: 80%; height: 80%; object-fit: contain; }
.line h3 { font-family: var(--display); font-size: 15px; letter-spacing: -0.01em; }
.line small { color: var(--muted); display: block; }
.line-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.line-price { font-family: var(--display); font-weight: 700; text-align: right; white-space: nowrap; }
.link-btn { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--coral); }
.sum { display: grid; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.sum-row b { color: var(--text); font-weight: 700; text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 6px; border-top: 1px dashed var(--line-2); }
.sum-total b { font-family: var(--display); font-size: 28px; letter-spacing: -0.03em; }
.free { margin: 4px 0 18px; }
.free-text { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.free-text b { color: var(--lime); }
.free-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.free-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--lime)); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); transition: transform 1s var(--ease); }

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; height: 58px; padding: 22px 16px 8px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.field textarea { height: 96px; resize: vertical; padding-top: 26px; }
.field label { position: absolute; left: 17px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transition: transform 0.3s var(--ease), font-size 0.3s, color 0.3s; transform-origin: 0 0; }
.field input:focus, .field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(200, 255, 46, 0.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px); font-size: 11px; color: var(--lime); font-weight: 700; letter-spacing: 0.04em; }
.field.err input { border-color: var(--coral); animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .opts { grid-template-columns: 1fr; } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt > span {
  display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--radius-sm); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.opt > span b { display: flex; justify-content: space-between; gap: 8px; }
.opt > span small { color: var(--muted); }
.opt:hover > span { transform: translateY(-2px); }
.opt input:checked + span { box-shadow: inset 0 0 0 2px var(--lime); background: rgba(200, 255, 46, 0.05); }
.opt input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.form-title { font-family: var(--display); font-size: 16px; margin: 10px 0 -4px; letter-spacing: -0.01em; }
.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255, 79, 58, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 79, 58, 0.4); font-size: 14px; display: none; }
.form-msg.show { display: block; animation: cardIn 0.4s var(--ease); }

/* result screens */
.result { text-align: center; padding: clamp(40px, 8vw, 90px) 20px; max-width: 640px; margin: 0 auto; }
.result .mark {
  width: 110px; height: 110px; margin: 0 auto 26px; border-radius: 50%; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center;
  animation: pop 0.8s var(--ease-back) both;
}
.result .mark svg { width: 52px; height: 52px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.6s 0.4s var(--ease) forwards; }
.result.warn .mark { background: var(--coral); color: #fff; }
@keyframes pop { from { transform: scale(0) rotate(-90deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.result h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px; }
.result p { color: var(--muted); }
.result pre { text-align: left; white-space: pre-wrap; background: var(--bg-2); border-radius: var(--radius-sm); padding: 16px; margin: 20px 0; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line); font-family: ui-monospace, monospace; }
.result .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 800; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate3d(var(--x), 110vh, 0) rotate(var(--r)); } }

/* ---------- Legal pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; margin: 36px 0 10px; }
.prose p, .prose li { color: #c9c7cf; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.prose .todo { background: rgba(255, 79, 58, 0.14); color: #ffb3a8; padding: 1px 6px; border-radius: 6px; font-weight: 700; }

/* ---------- Age gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 980; display: grid; place-items: center; padding: 20px;
  background: rgba(9, 9, 11, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: fadeIn 0.5s var(--ease) both;
}
.gate.out { animation: fadeOut 0.5s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }
.gate-box { max-width: 460px; width: 100%; text-align: center; padding: clamp(28px, 5vw, 44px); border-radius: calc(var(--radius) + 6px); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -20px rgba(123, 92, 255, 0.5); animation: cardIn 0.8s 0.1s var(--ease) both; }
.gate-18 { font-family: var(--display); font-weight: 800; font-size: 84px; line-height: 1; letter-spacing: -0.06em; background: linear-gradient(120deg, var(--lime), var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gate h2 { font-family: var(--display); font-size: 22px; margin: 10px 0 8px; letter-spacing: -0.02em; }
.gate p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.gate .actions { display: grid; gap: 10px; }
.gate.denied .gate-box { animation: shake 0.4s; }

/* ---------- Toast + fly to cart ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 960; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6); transition: transform 0.6s var(--ease-back); max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast a { background: var(--bg); color: var(--text); padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.fly { position: fixed; z-index: 970; pointer-events: none; width: 80px; height: 80px; object-fit: contain; transition: transform 0.85s cubic-bezier(0.5, -0.4, 0.6, 1), opacity 0.85s; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.nf h1 { font-size: clamp(100px, 26vw, 300px); color: transparent; -webkit-text-stroke: 2px var(--lime); animation: wobble 5s ease-in-out infinite; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ---------- Phone: two cards per row ---------- */
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: 14px; }
  .card-cat { font-size: 10px; }
  .price { font-size: 16px; }
  .price del { font-size: 12px; }
  .card-go { width: 34px; height: 34px; }
  .card-go svg { width: 15px; height: 15px; }
  .card-tag { top: 10px; left: 10px; font-size: 11px; padding: 4px 8px; }
  .feats { grid-template-columns: 1fr; }
}

/* ---------- ELFIK additions ---------- */
.card-cat b { color: var(--lime); font-weight: 800; }
/* Poze cu fundal: le încadrăm ca o fotografie rotunjită. */
img.photo { border-radius: 18px; object-fit: cover; aspect-ratio: 1; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.7); }
.card-media img.photo { width: 70%; }
.stage-img > img.photo { inset: 6%; width: 88%; height: 88%; }
.flavors img { border-radius: 10px; }

/* variant pills (culori, rezistențe, arome fără poză proprie) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pill {
  --fc: var(--lime);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; text-align: left;
  transition: transform 0.35s var(--ease-back), box-shadow 0.3s, background 0.3s;
}
.pill .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--fc); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 12px -2px var(--fc); flex: none; transition: transform 0.4s var(--ease-back); }
.pill small { color: var(--muted); font-weight: 600; font-size: 12px; }
.pill .emo { font-size: 15px; }
.pill:hover { transform: translateY(-2px); }
.pill:hover .dot { transform: scale(1.3); }
.pill.active { box-shadow: inset 0 0 0 2px var(--fc); background: color-mix(in srgb, var(--fc) 12%, transparent); }

/* floating Telegram button */
.tg-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 150; display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: #2aabee; color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 14px 34px -10px rgba(42, 171, 238, 0.7); transition: transform 0.4s var(--ease-back);
  animation: tgIn 0.8s 1.2s var(--ease-back) both;
}
.tg-float svg { width: 20px; height: 20px; }
.tg-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.6); animation: ping 2.4s 2s infinite; }
.tg-float:hover { transform: translateY(-3px) scale(1.04); }
@keyframes tgIn { from { transform: translateY(120px); } }
@media (max-width: 600px) { .tg-float span { display: none; } .tg-float { width: 52px; padding: 0; justify-content: center; } }
.hero-grid { grid-template-columns: 1fr 1fr; }
.hero h1 { font-size: clamp(44px, 7.2vw, 108px); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Mobil: nimic nu iese din ecran ---------- */
html, body { overflow-x: clip; }
.marquees { overflow: hidden; padding: 14px 0 22px; margin: -14px 0 -22px; }
.marquee { margin: 0 -12px; }
.grid > *, .two-col > *, .cats > *, .steps > *, .form-row > *, .opts > *, .grid2 > *, .feats > * { min-width: 0; }
.line { grid-template-columns: 84px minmax(0, 1fr) auto; }
.line h3, .card-title { overflow-wrap: anywhere; }
.cat h3 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 600px) {
  .page-hero h1 { font-size: clamp(38px, 12vw, 64px); }
  .hero h1 { font-size: clamp(36px, 12.5vw, 64px); }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { min-height: 132px; padding: 16px; border-radius: 18px; }
  .cat h3 { font-size: 18px; }
  .cat p { font-size: 12px; line-height: 1.4; }
  .cat-count { width: 30px; height: 30px; right: 12px; top: 12px; font-size: 12px; }
  .panel { padding: 16px; }
  .line { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .line-img { width: 60px; height: 60px; border-radius: 12px; }
  .line-price { grid-column: 2; text-align: left; }
  .sum-total b { font-size: 24px; }
  .section-head { gap: 14px; }
  .h-section { font-size: clamp(26px, 8vw, 40px); }
  .pdp-info h1 { font-size: clamp(30px, 10vw, 44px); }
  .pdp-price .now { font-size: 32px; }
  .buy-row .btn { min-width: 0; }
  .stage-name { font-size: 15vw; }
  .footer-big { font-size: 22vw; }
}
@media (max-width: 360px) {
  .grid { gap: 8px; }
  .card-body { padding: 10px 10px 12px; }
  .card-title { font-size: 13px; }
  .price { font-size: 14px; }
  .card-go { width: 30px; height: 30px; }
  .card-tag { font-size: 10px; }
  .btn { padding: 0 20px; }
  .opt > span { padding: 12px; }
}
.logo span { white-space: nowrap; }

/* ---------- Performanță pe telefoane ----------
   Efectele cu filter/backdrop-filter și zgomotul animat sunt scumpe pentru GPU-ul
   telefoanelor (mai ales iPhone). Pe ecrane tactile le înlocuim cu variante ieftine. */
@media (hover: none), (max-width: 860px) {
  .grain { display: none; }
  .atmos i { filter: none; opacity: 0.5; background: radial-gradient(circle, var(--c, #7b5cff) 0%, transparent 65%) !important; animation-duration: 40s; }
  .atmos i:nth-child(1) { --c: rgba(123, 92, 255, 0.55); }
  .atmos i:nth-child(2) { --c: rgba(255, 79, 58, 0.35); }
  .atmos i:nth-child(3) { --c: rgba(200, 255, 46, 0.22); }
  .header, .header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(9, 9, 11, 0.94); }
  .hero-visual .p, .stage-img > * { filter: none; }
  .card-media::before { filter: none; }
  .card:hover .card-media::before { transform: none; }
  .cursor, .cursor-ring { display: none !important; }
}
/* Animațiile continue rulează doar pentru ce e pe ecran. */
.card:not(.vis) .float, .marquee:not(.vis) .marquee-track { animation-play-state: paused; }
