/* ============================================================================
   BabiloniaMC — foglio di stile principale
   Design system: dark navy + gradiente viola/magenta (colori del brand
   &d&lBABILONIA&5&lMC), tipografia Raleway (titoli) + Inter (testo).
   ========================================================================== */

/* ----------------------------------------------------------- 1. Token ----- */
:root {
  --bg: #0a0d17;
  --bg-2: #0e1220;
  --surface: #121728;
  --surface-2: #181e33;
  --surface-3: #1f2640;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --text: #f3f4f8;
  --text-2: #b7bccd;
  --text-3: #7c839b;

  --brand: #b44cff;
  --brand-2: #ff4fd8;
  --brand-3: #7c3aed;
  --brand-soft: rgba(180, 76, 255, 0.14);
  --brand-grad: linear-gradient(135deg, #7c3aed 0%, #c84cff 55%, #ff4fd8 100%);
  --brand-grad-h: linear-gradient(90deg, #7c3aed 0%, #c84cff 55%, #ff4fd8 100%);

  --gold: #fbbf24;
  --silver: #cbd5e1;
  --bronze: #d9822b;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #38bdf8;
  --amber: #f59e0b;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(200, 76, 255, 0.35), 0 10px 40px rgba(200, 76, 255, 0.25);

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Raleway', 'Inter', system-ui, sans-serif;

  --container: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------------------------------------- 2. Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(200, 76, 255, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

/* -------------------------------------------------------- 3. Utilities ----- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 880px; }
.section { padding: 88px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand-grad-h); border-radius: 2px; }
.section__head h2, .h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.01em; text-transform: uppercase; }
.section__head p { color: var(--text-2); font-size: 17px; margin-top: 14px; }
.grad-text { background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-2); }
.small { font-size: 14px; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.hide { display: none !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
/* riduci movimento (classe messa dallo script in <head>) */
html.rm .reveal { opacity: 1; transform: none; transition: none; }
html.rm { scroll-behavior: auto; }
html.rm *, html.rm *::before, html.rm *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }

/* ---------------------------------------------------------- 4. Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 22px; height: 48px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
  user-select: none;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--brand-grad); color: #fff; box-shadow: 0 8px 24px rgba(200, 76, 255, 0.3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(200, 76, 255, 0.4); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border-2); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }
.btn--discord { background: #5865f2; color: #fff; box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3); }
.btn--discord:hover { background: #4752c4; transform: translateY(-2px); }
.btn--store { background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.35); color: var(--gold); }
.btn--store:hover { background: rgba(251, 191, 36, 0.2); transform: translateY(-2px); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ----------------------------------------------------- 5. Badges & chips ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--brand-soft); color: var(--brand-2); border: 1px solid rgba(200, 76, 255, 0.25);
}
.badge--green { background: rgba(34, 197, 94, 0.12); color: var(--green); border-color: rgba(34, 197, 94, 0.3); }
.badge--gold { background: rgba(251, 191, 36, 0.12); color: var(--gold); border-color: rgba(251, 191, 36, 0.3); }
.badge--gray { background: rgba(255, 255, 255, 0.06); color: var(--text-2); border-color: var(--border-2); }
.badge--red { background: rgba(239, 68, 68, 0.12); color: #f87171; border-color: rgba(239, 68, 68, 0.3); }
.badge--blue { background: rgba(56, 189, 248, 0.12); color: var(--blue); border-color: rgba(56, 189, 248, 0.3); }
.badge--amber { background: rgba(245, 158, 11, 0.12); color: var(--amber); border-color: rgba(245, 158, 11, 0.3); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dot--pulse { position: relative; }
.dot--pulse::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid currentColor; opacity: 0; animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ------------------------------------------------------------- 6. Nav ------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  background: rgba(10, 13, 23, 0.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s;
}
.nav.is-scrolled { background: rgba(10, 13, 23, 0.88); border-bottom-color: var(--border); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 900; font-size: 18px; letter-spacing: 0.02em; }
.brand__mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 4px 12px rgba(200, 76, 255, 0.45)); }
.brand__name { white-space: nowrap; }
.brand__name span { color: var(--brand-2); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav__links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px;
  font-weight: 600; font-size: 14.5px; color: var(--text-2); transition: color 0.2s, background 0.2s;
}
.nav__links a svg { width: 17px; height: 17px; opacity: 0.85; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__links a.is-active { color: var(--text); background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(200, 76, 255, 0.25); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__status {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2);
}
.nav__status .dot { color: var(--green); }
.nav__status.is-offline .dot { color: var(--text-3); }
.nav__status strong { color: var(--text); font-variant-numeric: tabular-nums; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform 0.25s, opacity 0.25s; }
.nav__burger span::before, .nav__burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s, top 0.25s; }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__links a { padding: 10px 10px; font-size: 14px; }
  .nav__links a svg { display: none; }
  .nav__status span.label { display: none; }
}
@media (max-width: 860px) {
  .nav__burger { display: inline-flex; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px; margin: 0; background: rgba(10, 13, 23, 0.97); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 14px 14px; font-size: 16px; }
  .nav__links a svg { display: block; }
  .nav__actions .btn { display: none; }
  .nav__links .nav__mobile-only { display: flex; margin-top: 8px; }
}
.nav__links .nav__mobile-only { display: none; }
@media (max-width: 860px) { .nav__links .nav__mobile-only { display: flex; } }

/* ------------------------------------------------------------ 7. Hero ------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 80px; overflow: hidden; text-align: center; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 50% 45%, rgba(124, 58, 237, 0.28) 0%, rgba(10, 13, 23, 0) 70%),
    linear-gradient(180deg, rgba(10, 13, 23, 0.55) 0%, rgba(10, 13, 23, 0.72) 55%, var(--bg) 100%);
}
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: 0.5; pointer-events: none; }
.hero__glow--1 { width: 520px; height: 520px; left: -120px; top: 10%; background: #7c3aed; animation: float 12s ease-in-out infinite; }
.hero__glow--2 { width: 440px; height: 440px; right: -100px; bottom: 5%; background: #ff4fd8; animation: float 14s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
.hero__inner { position: relative; max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero__logo { width: 120px; height: 120px; filter: drop-shadow(0 20px 40px rgba(200, 76, 255, 0.45)); animation: logoFloat 6s ease-in-out infinite; }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__title {
  font-size: clamp(44px, 8vw, 88px); font-weight: 900; letter-spacing: -0.02em; line-height: 0.95; text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.hero__title span { background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: var(--text-3); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(180deg, var(--brand-2), transparent); animation: scrollHint 1.8s ease-in-out infinite; }
@keyframes scrollHint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (sottopagine) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 56px; overflow: hidden; text-align: center; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 23, 0.6), var(--bg) 95%), radial-gradient(50% 80% at 50% 0%, rgba(124, 58, 237, 0.35), transparent 70%); }
.page-hero h1 { font-size: clamp(36px, 6vw, 60px); text-transform: uppercase; letter-spacing: -0.01em; }
.page-hero p { color: var(--text-2); font-size: 17px; max-width: 640px; margin: 14px auto 0; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }

/* ------------------------------------------------------------ 8. Cards ------ */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow); }
.card--glow::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(200, 76, 255, 0.5), transparent 40%, transparent 60%, rgba(255, 79, 216, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-soft); color: var(--brand-2); border: 1px solid rgba(200, 76, 255, 0.2);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ------------------------------------------------- 9. "Come entrare" -------- */
.join { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .join { grid-template-columns: 1fr; } }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step__num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-grad); font-family: var(--font-head); font-weight: 800; color: #fff; box-shadow: 0 6px 16px rgba(200, 76, 255, 0.3); }
.step h4 { font-size: 16px; margin-bottom: 4px; }
.step p { color: var(--text-2); font-size: 14.5px; }
.ip-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.ip-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 100% 0%, rgba(200, 76, 255, 0.18), transparent 70%); pointer-events: none; }
.ip-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.ip-card__row:last-of-type { border-bottom: 0; }
.ip-card__row span { color: var(--text-3); }
.ip-card__row strong { font-family: var(--font-head); }
.ip-box {
  display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 8px 8px 18px;
  border-radius: 14px; background: var(--bg); border: 1px solid var(--border-2);
}
.ip-box code { flex: 1; font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: 0.02em; word-break: break-all; }
.ip-box .btn { flex: none; }

/* ---------------------------------------------------------- 10. Modalità ----- */
.modes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
@media (max-width: 1024px) { .modes { grid-template-columns: 1fr 1fr; } .mode--main { grid-column: 1 / -1; } }
@media (max-width: 640px) { .modes { grid-template-columns: 1fr; } }
.mode {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--border); background: var(--surface); isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.mode:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(200, 76, 255, 0.4); }
.mode__bg { position: absolute; inset: 0; z-index: -1; }
.mode__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.mode:hover .mode__bg img { transform: scale(1.06); }
.mode__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 13, 23, 0.1) 0%, rgba(10, 13, 23, 0.55) 45%, rgba(10, 13, 23, 0.96) 100%); }
.mode__body { padding: 28px; }
.mode__top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mode h3 { font-size: 30px; text-transform: uppercase; letter-spacing: 0.01em; }
.mode--main h3 { font-size: clamp(34px, 4vw, 48px); }
.mode__desc { color: var(--text-2); margin: 8px 0 16px; font-size: 15px; max-width: 520px; }
.mode__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.mode__tags li { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.mode--soon .mode__bg img { filter: saturate(0.85); transform: scale(1.08); }
.mode--soon .mode__bg::after { background: linear-gradient(180deg, rgba(10, 13, 23, 0.5) 0%, rgba(10, 13, 23, 0.97) 100%); }
.mode--soon h3 { color: var(--text-2); }
.mode__lock { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-2); margin-bottom: 16px; color: var(--text-2); }
.mode__lock svg { width: 30px; height: 30px; }
.progress { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 12px; }
.progress i { display: block; height: 100%; background: var(--brand-grad-h); border-radius: 99px; width: 0; transition: width 1.4s var(--ease); }
.progress__label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-3); margin-top: 8px; font-weight: 600; }

/* --------------------------------------------------------- 11. Features ----- */
.feature { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(200, 76, 255, 0.35); background: var(--surface-2); }
.feature .card__icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 14px; }
.feature .card__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--text-2); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.stat__value { font-family: var(--font-head); font-size: clamp(30px, 4vw, 42px); font-weight: 900; background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; line-height: 1; }
.stat__label { color: var(--text-2); font-size: 14px; margin-top: 8px; font-weight: 600; }

/* ---------------------------------------------------------- 12. Gallery ----- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery--4 figure:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; font-size: 13.5px; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(10, 13, 23, 0.85)); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 1; } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 7, 12, 0.92); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: flex; animation: fadeIn 0.2s; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------- 13. Leaderboard preview --- */
.lb-mini { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.lb-mini__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.lb-mini__head h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; display: flex; align-items: center; gap: 10px; }
.lb-mini__head h3 svg { width: 18px; height: 18px; color: var(--brand-2); }
.lb-mini__head a { font-size: 13px; color: var(--brand-2); font-weight: 600; }
.lb-mini ul li { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.lb-mini ul li:last-child { border-bottom: 0; }
.lb-mini .rank { width: 24px; font-family: var(--font-head); font-weight: 800; color: var(--text-3); text-align: center; }
.lb-mini .rank.r1 { color: var(--gold); } .lb-mini .rank.r2 { color: var(--silver); } .lb-mini .rank.r3 { color: var(--bronze); }
.lb-mini .name { flex: 1; font-weight: 600; font-size: 14.5px; }
.lb-mini .val { font-family: var(--font-head); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; }
.avatar { width: 32px; height: 32px; border-radius: 7px; image-rendering: pixelated; background: var(--surface-3); flex: none; }
.avatar--lg { width: 44px; height: 44px; border-radius: 9px; }
.lb-mini__empty { padding: 20px; color: var(--text-3); font-size: 14px; text-align: center; }

/* --------------------------------------------------------- 14. Discord CTA --- */
.cta {
  position: relative; border-radius: 24px; overflow: hidden; padding: 56px 40px; text-align: center;
  background: linear-gradient(135deg, #4c3fd6 0%, #7c3aed 45%, #d946ef 100%); box-shadow: var(--shadow-lg);
}
.cta::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E"); pointer-events: none; }
.cta h2 { font-size: clamp(26px, 4vw, 40px); text-transform: uppercase; position: relative; }
.cta p { position: relative; color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 12px auto 26px; font-size: 16.5px; }
.cta .btn { position: relative; background: #fff; color: #4c3fd6; }
.cta .btn:hover { background: #f4f2ff; transform: translateY(-2px); }
.cta--store { background: linear-gradient(135deg, #b45309 0%, #f59e0b 50%, #fbbf24 100%); }
.cta--store .btn { color: #92400e; }

/* ----------------------------------------------------------- 15. Footer ----- */
.footer { border-top: 1px solid var(--border); background: #070910; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer p { color: var(--text-3); font-size: 14px; margin-top: 14px; max-width: 380px; }
.footer h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-3); font-size: 14.5px; transition: color 0.2s; }
.footer ul a:hover { color: var(--brand-2); }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: var(--text-2); transition: all 0.2s; }
.footer__social a:hover { color: #fff; background: var(--brand-soft); border-color: rgba(200, 76, 255, 0.4); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--text-3); font-size: 13px; }
.footer__bottom a { color: var(--text-3); } .footer__bottom a:hover { color: var(--text); }

/* ------------------------------------------------------------ 16. Toast ----- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 300;
  padding: 12px 18px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg); font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 10px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--green); }

/* --------------------------------------------------- 17. Search & filters ---- */
.search { position: relative; }
.search input {
  width: 100%; height: 50px; padding: 0 16px 0 46px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border-2); color: var(--text); font-size: 15px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search input::placeholder { color: var(--text-3); }
.search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(200, 76, 255, 0.15); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-3); pointer-events: none; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.filters button { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); transition: all 0.2s; }
.filters button:hover { color: var(--text); border-color: var(--border-2); }
.filters button.is-active { color: #fff; background: var(--brand-grad); border-color: transparent; box-shadow: 0 6px 16px rgba(200, 76, 255, 0.3); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.toolbar .search { flex: 1; min-width: 240px; max-width: 420px; }

/* -------------------------------------------------------- 18. Accordion ------ */
.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
@media (max-width: 900px) { .rules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rules-grid { grid-template-columns: 1fr; } }
.rules-nav {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s var(--ease), background 0.2s;
}
.rules-nav:hover { border-color: rgba(200, 76, 255, 0.4); transform: translateY(-2px); background: var(--surface-2); }
.rules-nav .card__icon { width: 42px; height: 42px; margin: 0; border-radius: 10px; flex: none; }
.rules-nav .card__icon svg { width: 20px; height: 20px; }
.rules-nav strong { display: block; font-family: var(--font-head); font-size: 15px; }
.rules-nav span { font-size: 12.5px; color: var(--text-3); }
.rules-nav svg.chev { width: 16px; height: 16px; margin-left: auto; color: var(--text-3); }

.acc { display: grid; gap: 12px; }
.acc__section { margin-top: 36px; }
.acc__section > h2 { font-size: 22px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; scroll-margin-top: 100px; }
.acc__section > h2 .badge { font-size: 11px; }
.acc__section > p { color: var(--text-2); margin-bottom: 18px; font-size: 15px; }
.acc__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.acc__item.is-open { border-color: rgba(200, 76, 255, 0.35); }
.acc__btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; text-align: left; }
.acc__num { flex: none; min-width: 42px; height: 30px; padding: 0 8px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 13px; background: var(--brand-soft); color: var(--brand-2); }
.acc__title { flex: 1; font-weight: 600; font-size: 15.5px; }
.acc__sanction { flex: none; }
.acc__chev { flex: none; width: 18px; height: 18px; color: var(--text-3); transition: transform 0.25s; }
.acc__item.is-open .acc__chev { transform: rotate(180deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__body { padding: 0 18px 18px 74px; color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.acc__body ul { list-style: disc; padding-left: 18px; margin-top: 8px; }
.acc__body li { margin-bottom: 4px; }
@media (max-width: 640px) { .acc__body { padding-left: 18px; } .acc__sanction { display: none; } }
.sanction-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14.5px; }
.sanction-table th, .sanction-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.sanction-table th { font-family: var(--font-head); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.sanction-table td:first-child { font-weight: 600; }

.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: rgba(56, 189, 248, 0.07); border: 1px solid rgba(56, 189, 248, 0.25); color: var(--text-2); font-size: 14.5px; }
.notice svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.notice--warn { background: rgba(245, 158, 11, 0.07); border-color: rgba(245, 158, 11, 0.3); } .notice--warn svg { color: var(--amber); }
.notice strong { color: var(--text); }

/* ------------------------------------------------------------- 19. Wiki ----- */
.wiki { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .wiki { grid-template-columns: 1fr; gap: 24px; } }
.wiki__side { position: sticky; top: calc(var(--nav-h) + 20px); }
@media (max-width: 900px) { .wiki__side { position: static; } }
.wiki__side .search { margin-bottom: 16px; }
.wiki__nav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 10px; }
.wiki__nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: all 0.2s; }
.wiki__nav a svg { width: 16px; height: 16px; opacity: 0.8; }
.wiki__nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.wiki__nav a.is-active { color: var(--text); background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(200, 76, 255, 0.25); }
@media (max-width: 900px) { .wiki__nav { display: flex; flex-wrap: wrap; gap: 4px; } .wiki__nav a { padding: 8px 12px; font-size: 13px; } }
.wiki__content { min-width: 0; }
.wiki__section { scroll-margin-top: calc(var(--nav-h) + 24px); margin-bottom: 56px; }
.wiki__section h2 { font-size: 26px; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }
.wiki__section h2 .card__icon { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.wiki__section h2 .card__icon svg { width: 20px; height: 20px; }
.wiki__section h3 { font-size: 18px; margin: 26px 0 10px; }
.wiki__section p, .wiki__section li { color: var(--text-2); font-size: 15.5px; }
.wiki__section p { margin-bottom: 12px; }
.wiki__section ul.list { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.wiki__section ul.list li { margin-bottom: 6px; }
.wiki__section strong { color: var(--text); }
.wiki__section code, .cmd { font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 13.5px; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border); color: #e9d5ff; white-space: nowrap; }
.cmd-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 14.5px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cmd-table th, .cmd-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.cmd-table tr:last-child td { border-bottom: 0; }
.cmd-table th { font-family: var(--font-head); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); background: rgba(255, 255, 255, 0.02); }
.cmd-table td:first-child { white-space: nowrap; }
.cmd-table td { color: var(--text-2); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 14px 0 18px; }
.info { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.info b { display: block; font-family: var(--font-head); font-size: 20px; background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.info span { font-size: 13px; color: var(--text-3); font-weight: 600; }
.wiki__section .table-wrap { overflow-x: auto; }
.faq { display: grid; gap: 10px; }

/* ------------------------------------------------------------ 20. Staff ----- */
.staff-group { margin-bottom: 56px; }
.staff-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.staff-group__head h2 { font-size: 22px; text-transform: uppercase; letter-spacing: 0.06em; }
.staff-group__head .line { flex: 1; height: 1px; background: var(--border); }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1024px) { .staff-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .staff-grid { grid-template-columns: 1fr; } }
.staff-card {
  --role: var(--brand);
  position: relative; text-align: center; padding: 28px 18px 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.staff-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--role); }
.staff-card::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 0%, color-mix(in srgb, var(--role) 22%, transparent), transparent 70%); pointer-events: none; }
.staff-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--role) 55%, transparent); box-shadow: 0 16px 40px color-mix(in srgb, var(--role) 22%, rgba(0, 0, 0, 0.4)); }
.staff-card__head { width: 96px; height: 96px; margin: 0 auto 16px; position: relative; z-index: 1; }
.staff-card__head img { width: 100%; height: 100%; image-rendering: pixelated; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5)); transition: transform 0.4s var(--ease); }
.staff-card:hover .staff-card__head img { transform: translateY(-4px) rotate(-3deg) scale(1.04); }
.staff-card__name { font-family: var(--font-head); font-weight: 800; font-size: 17px; position: relative; z-index: 1; }
.staff-card__role { display: inline-flex; margin-top: 8px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--role); background: color-mix(in srgb, var(--role) 14%, transparent); border: 1px solid color-mix(in srgb, var(--role) 35%, transparent); position: relative; z-index: 1; }
.staff-card__bio { margin-top: 12px; font-size: 13.5px; color: var(--text-3); position: relative; z-index: 1; }
.staff-card__links { display: flex; justify-content: center; gap: 8px; margin-top: 12px; position: relative; z-index: 1; }
.staff-card__links a { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--text-3); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.staff-card__links a:hover { color: var(--text); border-color: var(--border-2); }
.staff-card__links svg { width: 15px; height: 15px; }
.roles-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.roles-legend span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); }
.roles-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--role); }

/* ------------------------------------------------------- 21. Classifica ----- */
.tabs { display: flex; justify-content: center; gap: 8px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); width: max-content; max-width: 100%; margin: 0 auto 32px; }
.tabs button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px; font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); transition: all 0.25s; }
.tabs button svg { width: 18px; height: 18px; }
.tabs button:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.tabs button.is-active { color: #fff; background: var(--brand-grad); box-shadow: 0 8px 20px rgba(200, 76, 255, 0.35); }
@media (max-width: 560px) { .tabs { width: 100%; } .tabs button { flex: 1; justify-content: center; padding: 12px 8px; font-size: 12.5px; } .tabs button svg { display: none; } }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; margin-bottom: 28px; }
@media (max-width: 720px) { .podium { grid-template-columns: 1fr; align-items: stretch; } }
.podium__item {
  --c: var(--gold);
  position: relative; text-align: center; padding: 30px 18px 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.podium__item:hover { transform: translateY(-5px); }
.podium__item::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 50% at 50% 0%, color-mix(in srgb, var(--c) 25%, transparent), transparent 70%); pointer-events: none; }
.podium__item--1 { --c: var(--gold); order: 2; padding-top: 40px; border-color: rgba(251, 191, 36, 0.35); }
.podium__item--2 { --c: var(--silver); order: 1; }
.podium__item--3 { --c: var(--bronze); order: 3; }
@media (max-width: 720px) { .podium__item--1 { order: 1; } .podium__item--2 { order: 2; } .podium__item--3 { order: 3; } }
.podium__rank { position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; color: #0a0d17; background: var(--c); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 40%, transparent); }
.podium__avatar { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 18px; border: 3px solid var(--c); image-rendering: pixelated; background: var(--surface-3); box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 30%, transparent); position: relative; }
.podium__item--1 .podium__avatar { width: 104px; height: 104px; }
.podium__crown { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 40px; color: var(--gold); filter: drop-shadow(0 4px 10px rgba(251, 191, 36, 0.5)); }
.podium__name { font-family: var(--font-head); font-weight: 800; font-size: 18px; position: relative; }
.podium__tag { color: var(--text-3); font-size: 13px; font-weight: 600; position: relative; }
.podium__value { margin-top: 10px; font-family: var(--font-head); font-weight: 900; font-size: 26px; color: var(--c); font-variant-numeric: tabular-nums; position: relative; }
.podium__sub { font-size: 12.5px; color: var(--text-3); font-weight: 600; margin-top: 2px; position: relative; }

.lb-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.lb-table th { font-family: var(--font-head); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); text-align: left; padding: 6px 16px; font-weight: 800; }
.lb-table td { padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 15px; }
.lb-table td:first-child { border-left: 1px solid var(--border); border-radius: 12px 0 0 12px; }
.lb-table td:last-child { border-right: 1px solid var(--border); border-radius: 0 12px 12px 0; }
.lb-table tr:hover td { background: var(--surface-2); border-color: rgba(200, 76, 255, 0.3); }
.lb-table .rank { font-family: var(--font-head); font-weight: 800; color: var(--text-3); width: 56px; }
.lb-table .player { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.lb-table .num { font-family: var(--font-head); font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-table .num--money { color: var(--gold); }
.lb-table .sub { display: block; color: var(--text-3); font-size: 12.5px; font-weight: 600; }
.lb-table .right { text-align: right; }
.lb-table tr.is-me td { background: var(--brand-soft); border-color: rgba(200, 76, 255, 0.4); }
@media (max-width: 720px) { .lb-table .hide-sm { display: none; } .lb-table td, .lb-table th { padding: 10px 12px; } }
.lb-empty { padding: 40px; text-align: center; color: var(--text-3); background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--radius-lg); }
.lb-updated { font-size: 13px; color: var(--text-3); display: inline-flex; align-items: center; gap: 8px; }
.lb-updated svg { width: 15px; height: 15px; }
.guild-tag { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; background: var(--brand-soft); color: var(--brand-2); border: 1px solid rgba(200, 76, 255, 0.3); margin-left: 8px; font-family: var(--font-head); }
.guild-emblem { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 15px; background: var(--brand-grad); color: #fff; flex: none; letter-spacing: 0.02em; }
.lvl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.prestige { color: var(--gold); }

/* --------------------------------------------------------- 22. Pagina 404 --- */
.err { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 20px 60px; }
.err h1 { font-size: clamp(80px, 20vw, 180px); line-height: 1; background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------- 23. Divider --------- */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-2), transparent); }
.bg-grid { background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px); background-size: 48px 48px; }
.bg-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 15% 20%, rgba(124, 58, 237, 0.12), transparent 70%), radial-gradient(40% 50% at 85% 80%, rgba(255, 79, 216, 0.1), transparent 70%); }

/* ============================================================================
   24. LIVELLO PREMIUM — dettagli, micro-interazioni e animazioni allo scroll
   ========================================================================== */

/* Grana sottile su tutta la pagina (profondità) */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body { animation: pageIn 0.6s ease backwards; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Scrollbar coerente con il tema */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #262d4a; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a4470; }

/* ----------------------------------------------------- Navbar evoluta ---- */
.nav { transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-open.is-hidden { transform: none; }
.nav__progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--progress, 0)); background: var(--brand-grad-h); box-shadow: 0 0 12px rgba(200, 76, 255, 0.6); pointer-events: none; }
.brand__logo { height: 44px; width: auto; filter: drop-shadow(0 4px 12px rgba(200, 76, 255, 0.35)); transition: transform 0.35s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-5deg) scale(1.07); }
.nav__links a { position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--brand-grad-h); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 860px) { .nav__links a::after { display: none; } }

/* --------------------------------------------------- Bottoni premium ----- */
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after { content: ''; position: absolute; top: -60%; left: -70%; width: 45%; height: 220%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); transition: left 0.7s var(--ease); pointer-events: none; }
.btn--shine:hover::after { left: 130%; }
.btn--gold { background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%); color: #2a1600; box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(245, 158, 11, 0.5); }
.btn--pulse-discord { animation: pulseDiscord 2.6s ease-in-out infinite; }
@keyframes pulseDiscord { 0%, 100% { box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3); } 50% { box-shadow: 0 8px 34px rgba(88, 101, 242, 0.65), 0 0 0 8px rgba(88, 101, 242, 0.12); } }
.btn--pulse-gold { animation: pulseGold 2.6s ease-in-out infinite; }
@keyframes pulseGold { 0%, 100% { box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35); } 50% { box-shadow: 0 10px 38px rgba(245, 158, 11, 0.6), 0 0 0 8px rgba(245, 158, 11, 0.12); } }
.btn--magnet { will-change: transform; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Scoppio di particelle al click "Copia IP" */
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.burst i { position: absolute; left: 0; top: 0; width: 7px; height: 7px; border-radius: 2px; background: var(--c, #ff4fd8); animation: burst 0.7s var(--ease) forwards; transform: rotate(var(--r)); }
@keyframes burst { 0% { transform: rotate(var(--r)) translateX(0) scale(1); opacity: 1; } 100% { transform: rotate(var(--r)) translateX(64px) scale(0.2); opacity: 0; } }

/* ------------------------------------------------ Reveal: varianti -------- */
.reveal { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); }
.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal[data-reveal="zoom"] { transform: scale(0.9); }
.reveal[data-reveal="blur"] { transform: translateY(14px); filter: blur(10px); }
.reveal.is-visible { transform: none; filter: none; }
[data-stagger] > .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

/* Titoli che "escono" parola per parola */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.split.is-visible .w > span { transform: none; }

/* ----------------------------------------------- Tilt 3D e spotlight ----- */
[data-tilt] { transform-style: preserve-3d; transition: transform 0.18s ease-out, border-color 0.3s, box-shadow 0.3s; will-change: transform; }
.spot { position: relative; }
.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s; z-index: 0; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 76, 255, 0.18), transparent 45%); }
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ------------------------------------------------- Hero del network ------ */
.hero__bg[data-parallax] img { animation: none; transform: translate3d(0, var(--py, 0px), 0) scale(1.18); will-change: transform; }
.page-hero__bg[data-parallax] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.15); will-change: transform; }
.hero--network { min-height: 100svh; }
.hero--network .hero__bg::after {
  background:
    radial-gradient(70% 60% at 50% 40%, rgba(124, 58, 237, 0.22) 0%, rgba(10, 13, 23, 0) 70%),
    linear-gradient(180deg, rgba(10, 13, 23, 0.35) 0%, rgba(10, 13, 23, 0.55) 55%, var(--bg) 100%);
}
.hero__logo-img { width: min(320px, 64vw); height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 46px rgba(200, 76, 255, 0.35)); animation: logoFloat 6s ease-in-out infinite; }
.hero__inner > * { opacity: 0; animation: heroIn 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 0.13s + 0.15s); }
.hero__inner > .hero__logo-img { animation: heroIn 1s var(--ease) forwards, logoFloat 6s ease-in-out 1s infinite; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px) scale(0.98); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.hero__title--net { font-size: clamp(36px, 6.2vw, 74px); }
.hero__title--net em { font-style: normal; background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(10, 13, 23, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; color: var(--text-2); }
.hero__kicker b { padding: 4px 9px; border-radius: 999px; background: var(--brand-grad); color: #fff; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-head); font-weight: 800; }
.hero__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 18px; }
.hero__stats div { text-align: center; }
.hero__stats b { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 900; line-height: 1; background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }

/* Particelle fluttuanti */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.particles i { position: absolute; bottom: -40px; left: var(--x); display: block; width: var(--s); height: var(--s); border-radius: 3px; opacity: 0; background: linear-gradient(135deg, rgba(200, 76, 255, 0.6), rgba(255, 79, 216, 0.25)); box-shadow: 0 0 18px rgba(200, 76, 255, 0.35); animation: rise var(--d) linear infinite; animation-delay: var(--delay); }
@keyframes rise { 0% { transform: translateY(0) rotate(0deg); opacity: 0; } 8% { opacity: 0.85; } 85% { opacity: 0.4; } 100% { transform: translateY(-115vh) rotate(380deg); opacity: 0; } }

/* -------------------------------------------------------- Marquee -------- */

/* -------------------------------------------------------- Roadmap -------- */
.timeline { position: relative; max-width: 920px; margin: 0 auto; padding: 8px 0 0; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 40px; width: 2px; background: var(--border-2); transform: translateX(-50%); }
.timeline__line i { position: absolute; left: 0; top: 0; width: 100%; height: var(--fill, 0%); background: var(--brand-grad); box-shadow: 0 0 16px rgba(200, 76, 255, 0.7); }
.timeline__item { position: relative; width: 50%; padding: 0 48px 44px 0; }
.timeline__item:nth-child(even) { margin-left: 50%; padding: 0 0 44px 48px; }
.timeline__dot { position: absolute; top: 26px; right: -10px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 3px solid var(--text-3); z-index: 1; transition: all 0.35s var(--ease); }
.timeline__item:nth-child(even) .timeline__dot { right: auto; left: -10px; }
.timeline__item.is-active .timeline__dot { border-color: var(--brand-2); background: var(--brand-2); box-shadow: 0 0 0 6px rgba(200, 76, 255, 0.18), 0 0 22px rgba(200, 76, 255, 0.7); }
.timeline__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); transition: border-color 0.3s, transform 0.3s var(--ease); }
.timeline__item.is-active .timeline__card { border-color: rgba(200, 76, 255, 0.35); }
.timeline__card:hover { transform: translateY(-3px); }
.timeline__date { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 10px; }
.timeline__card h3 { font-size: 21px; margin-bottom: 6px; }
.timeline__card p { color: var(--text-2); font-size: 14.5px; }
.timeline__card .progress { margin-top: 14px; }
@media (max-width: 720px) {
  .timeline__line { left: 12px; }
  .timeline__item, .timeline__item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 26px 40px; }
  .timeline__dot, .timeline__item:nth-child(even) .timeline__dot { left: 3px; right: auto; }
}

/* ------------------------------------------------- CTA di alto livello --- */
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.cta2 { position: relative; border-radius: 28px; padding: 2px; isolation: isolate; background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.1)); }
.cta2::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--angle, 0deg), transparent 0 55%, var(--c1) 72%, var(--c2) 84%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinBorder 7s linear infinite; pointer-events: none; }
@keyframes spinBorder { to { --angle: 360deg; } }
.cta2__inner { position: relative; border-radius: 26px; overflow: hidden; background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; padding: 56px; align-items: center; }
.cta2__glow { position: absolute; inset: -30%; pointer-events: none; opacity: 0.7; filter: blur(40px); background: radial-gradient(35% 40% at 75% 40%, var(--c1a), transparent 65%); }
.cta2__art { position: absolute; right: 0; top: 0; bottom: 0; width: 55%; pointer-events: none; opacity: 0.55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.cta2__art img { width: 100%; height: 100%; object-fit: cover; }
.cta2--discord { --c1: #5865f2; --c2: #c7d2fe; --c1a: rgba(88, 101, 242, 0.42); }
.cta2--store { --c1: #f59e0b; --c2: #fde68a; --c1a: rgba(245, 158, 11, 0.32); }
.cta2 .eyebrow { color: var(--c2); }
.cta2 .eyebrow::before { background: var(--c1); }
.cta2 h2 { font-size: clamp(28px, 3.6vw, 44px); text-transform: uppercase; margin: 0 0 14px; line-height: 1.05; }
.cta2 h2 em { font-style: normal; color: var(--c2); }
.cta2 .lead { color: var(--text-2); font-size: 17px; max-width: 540px; }
.cta2__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 24px 0 28px; }
.cta2__perks li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; }
.cta2__perks li svg { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: color-mix(in srgb, var(--c1) 22%, transparent); color: var(--c2); flex: none; }
.cta2__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta2__live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.cta2__live .dot { color: var(--green); }
.cta2__note { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--text-3); }
.cta2__note span { display: inline-flex; align-items: center; gap: 6px; }
.cta2__note svg { width: 14px; height: 14px; color: var(--green); }
.cta2__side { position: relative; z-index: 1; }
@media (max-width: 960px) { .cta2__inner { grid-template-columns: 1fr; padding: 36px 24px; gap: 28px; } .cta2__perks { grid-template-columns: 1fr; } .cta2__art { width: 100%; opacity: 0.25; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); } }

/* Card "server Discord" */
.dcard { position: relative; background: rgba(10, 13, 23, 0.7); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px; padding: 22px; backdrop-filter: blur(12px); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06); transform: rotate(-2deg); transition: transform 0.5s var(--ease); }
.cta2:hover .dcard { transform: rotate(0deg) translateY(-6px); }
.dcard__head { display: flex; align-items: center; gap: 14px; }
.dcard__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--surface-3); display: grid; place-items: center; overflow: hidden; flex: none; }
.dcard__icon img { width: 50px; height: 50px; object-fit: contain; }
.dcard__title { font-family: var(--font-head); font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.dcard__title svg { width: 18px; height: 18px; color: #5865f2; }
.dcard__stats { display: flex; gap: 16px; font-size: 13px; color: var(--text-2); margin-top: 4px; font-weight: 600; }
.dcard__stats span { display: inline-flex; align-items: center; gap: 6px; }
.dcard__stats .dot { width: 8px; height: 8px; }
.dcard__avatars { display: flex; align-items: center; margin: 18px 0 12px; }
.dcard__avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #161b33; margin-left: -10px; background: var(--surface-3); image-rendering: pixelated; }
.dcard__avatars img:first-child { margin-left: 0; }
.dcard__avatars span { margin-left: 12px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.dcard__msgs { display: grid; gap: 8px; }
.dcard__msg { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.045); font-size: 13.5px; opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(0.35s + var(--i, 0) * 0.3s); }
.is-visible .dcard__msg { opacity: 1; transform: none; }
.dcard__msg img { width: 30px; height: 30px; border-radius: 8px; image-rendering: pixelated; flex: none; }
.dcard__msg b { display: block; font-size: 12.5px; color: var(--brand-2); }
.dcard__msg span { color: var(--text-2); }
.dcard .btn { width: 100%; margin-top: 16px; }

/* Prodotti in evidenza (CTA negozio) */
.products { display: grid; gap: 12px; }
.product { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(10, 13, 23, 0.65); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); transition: transform 0.35s var(--ease), border-color 0.3s; }
.product:hover { transform: translateX(8px); border-color: rgba(245, 158, 11, 0.55); }
.product__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(251, 191, 36, 0.08)); color: var(--gold); flex: none; border: 1px solid rgba(245, 158, 11, 0.25); }
.product__icon svg { width: 24px; height: 24px; }
.product__body { min-width: 0; }
.product b { display: block; font-family: var(--font-head); font-size: 15px; }
.product__body span { font-size: 13px; color: var(--text-2); }
.product__price { margin-left: auto; font-family: var(--font-head); font-weight: 800; color: var(--gold); white-space: nowrap; font-size: 14px; }
.product__tag { position: absolute; top: -10px; right: 14px; font-size: 10.5px; padding: 3px 9px; border-radius: 99px; background: var(--brand-grad); color: #fff; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-head); box-shadow: 0 4px 12px rgba(200, 76, 255, 0.4); }
.promo-ribbon { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.4); color: var(--gold); font-size: 12.5px; font-weight: 700; margin-bottom: 14px; }
.promo-ribbon i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 1.6s ease-in-out infinite; }

/* ------------------------------------------------------- Novità ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news__card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.news__card:hover { transform: translateY(-6px); border-color: rgba(200, 76, 255, 0.4); box-shadow: var(--shadow); }
.news__img { aspect-ratio: 16 / 9; overflow: hidden; position: relative; display: block; }
.news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.news__card:hover .news__img img { transform: scale(1.06); }
.news__img .badge { position: absolute; top: 12px; left: 12px; }
.news__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news__meta { font-size: 12px; color: var(--text-3); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.news__body h3 { font-size: 18px; }
.news__body p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.news__link { color: var(--brand-2); font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.news__link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.news__card:hover .news__link svg { transform: translateX(4px); }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Valori del network ----- */
.value { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); transition: transform 0.35s var(--ease), border-color 0.3s; }
.value:hover { transform: translateY(-5px); border-color: rgba(200, 76, 255, 0.4); }
.value__num { position: absolute; top: 14px; right: 18px; font-family: var(--font-head); font-size: 44px; font-weight: 900; color: rgba(255, 255, 255, 0.05); line-height: 1; }
.value h3 { font-size: 19px; margin: 14px 0 8px; }
.value p { color: var(--text-2); font-size: 14.5px; }

/* --------------------------------------- Sistemi in evidenza (Survival) -- */
.sys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sys__card { position: relative; min-height: 360px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); display: flex; align-items: flex-end; isolation: isolate; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.sys__card:hover { transform: translateY(-6px); border-color: rgba(200, 76, 255, 0.45); box-shadow: var(--shadow-lg); }
.sys__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.8s var(--ease); }
.sys__card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 23, 0.05), rgba(10, 13, 23, 0.94) 72%); }
.sys__card:hover img { transform: scale(1.07); }
.sys__body { padding: 26px; }
.sys__body .badge { margin-bottom: 12px; }
.sys__body h3 { font-size: 24px; text-transform: uppercase; }
.sys__body p { color: var(--text-2); font-size: 14.5px; margin: 8px 0 16px; }
@media (max-width: 900px) { .sys { grid-template-columns: 1fr; } .sys__card { min-height: 280px; } }

/* Banda IP compatta (pagina Survival) */
.ipbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; padding: 18px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.ipbar__label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.ipbar code { font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 18px; font-weight: 600; }

/* -------------------------------------------------- Torna su ------------- */
.totop { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border-2); display: grid; place-items: center; z-index: 90; opacity: 0; transform: translateY(14px); pointer-events: none; transition: all 0.3s var(--ease); box-shadow: var(--shadow); color: var(--text-2); }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { border-color: var(--brand); color: var(--brand-2); transform: translateY(-3px); }
.totop svg { width: 20px; height: 20px; }

/* Skeleton di caricamento */
.skeleton { position: relative; overflow: hidden; background: rgba(255, 255, 255, 0.05); border-radius: 8px; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* ------------------------------------------- Vetrina Survival (home) ----- */
.showcase { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.showcase__media { position: relative; aspect-ratio: 4 / 3; }
.showcase__img { position: absolute; border-radius: 18px; object-fit: cover; border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); transition: transform 0.5s var(--ease); }
.showcase__img--main { inset: 0; width: 100%; height: 100%; }
.showcase__img--a { width: 46%; height: 44%; left: -6%; bottom: -9%; transform: rotate(-4deg); }
.showcase__img--b { width: 40%; height: 38%; right: -6%; top: -9%; transform: rotate(4deg); }
.showcase:hover .showcase__img--a { transform: rotate(-2deg) translateY(-6px); }
.showcase:hover .showcase__img--b { transform: rotate(2deg) translateY(-6px); }
.showcase:hover .showcase__img--main { transform: scale(1.01); }
.showcase__body h3 { font-size: clamp(26px, 3.2vw, 38px); text-transform: uppercase; margin: 14px 0 12px; }
.showcase__body h3 em { font-style: normal; background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.showcase__body > p { color: var(--text-2); font-size: 16.5px; }
.showcase__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 22px 0 28px; }
.showcase__list li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; }
.showcase__list li svg { width: 20px; height: 20px; padding: 3px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-2); flex: none; }
.showcase__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; gap: 60px; } .showcase__media { margin: 0 7%; } .showcase__list { grid-template-columns: 1fr; } }

/* --------------------------------- Capitoli dell'esperienza (Survival) -- */
.story { display: grid; gap: 28px; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); transition: border-color 0.3s; }
.chapter:hover { border-color: rgba(200, 76, 255, 0.35); }
.chapter:nth-child(even) .chapter__media { order: 2; }
.chapter__media { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-2); }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.chapter:hover .chapter__media img { transform: scale(1.05); }
.chapter__num { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 10px; background: rgba(10, 13, 23, 0.72); backdrop-filter: blur(8px); font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2); border: 1px solid rgba(255, 255, 255, 0.1); }
.chapter__body { padding: 8px 16px; }
.chapter__body h3 { font-size: clamp(24px, 2.8vw, 34px); text-transform: uppercase; margin: 10px 0 12px; }
.chapter__body p { color: var(--text-2); font-size: 16px; }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; gap: 18px; padding: 14px; } .chapter:nth-child(even) .chapter__media { order: 0; } .chapter__body { padding: 8px 6px 10px; } }

/* ------------------------------------------- Wumpus nella CTA Discord ---- */
.wumpus-wrap { position: relative; display: grid; place-items: center; padding: 10px 0; }
.wumpus { width: min(320px, 72%); height: auto; filter: drop-shadow(0 30px 40px rgba(88, 101, 242, 0.45)); animation: logoFloat 5s ease-in-out infinite; }
.wumpus__bubble { position: absolute; top: 4%; right: 4%; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: #fff; color: #23272a; font-weight: 700; font-size: 14px; box-shadow: var(--shadow); transform: rotate(-3deg) translateY(8px); opacity: 0; transition: opacity 0.6s var(--ease) 0.5s, transform 0.6s var(--ease) 0.5s; }
.is-visible .wumpus__bubble { opacity: 1; transform: rotate(-3deg) translateY(0); }
@media (max-width: 960px) { .wumpus { width: min(240px, 60%); } .wumpus__bubble { right: 0; top: 0; } }

/* Riduzione movimento: si spegne tutto ciò che è decorativo */
/* riduci movimento (classe messa dallo script in <head>) */
html.rm .particles i, html.rm .cta2::before, html.rm .btn--pulse-discord, html.rm .btn--pulse-gold, html.rm .hero__logo-img, html.rm .promo-ribbon i { animation: none !important; }
html.rm .hero__inner > * { opacity: 1; animation: none; }
html.rm .split .w > span { transform: none; }
html.rm .hero__bg[data-parallax] img, html.rm .page-hero__bg[data-parallax] img { transform: scale(1.05); }
html.rm .dcard__msg { opacity: 1; transform: none; }

/* ----------------------------------------------- Carosello dungeon (home) -- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 min(72%, 760px); scroll-snap-align: center; margin: 0; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--border-2); aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.carousel__slide:hover img { transform: scale(1.04); }
.carousel__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; background: linear-gradient(180deg, transparent, rgba(10, 13, 23, 0.9)); }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 14px; background: rgba(10, 13, 23, 0.75); border: 1px solid var(--border-2); backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--text); transition: background 0.2s, border-color 0.2s; z-index: 2; }
.carousel__btn:hover { background: var(--brand-soft); border-color: rgba(200, 76, 255, 0.5); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn--prev { left: 12px; } .carousel__btn--next { right: 12px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.carousel__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.18); transition: width 0.3s var(--ease), background 0.3s; }
.carousel__dots i.is-active { width: 26px; background: var(--brand-grad-h); }
@media (max-width: 720px) { .carousel__slide { flex-basis: 86%; } .carousel__btn { width: 40px; height: 40px; } }

/* Selettore della modalità nella wiki */
.mode-select { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.mode-select label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.mode-select select { flex: 1; min-width: 0; padding: 8px 10px; border-radius: 10px; background: var(--bg); color: var(--text); border: 1px solid var(--border-2); font-weight: 700; outline: none; }
.mode-select select:focus { border-color: var(--brand); }

/* Modalità in home: testo + carosello piccolo affiancati */
.modeshow { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.modeshow__body h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 14px 0 12px; line-height: 1.2; }
.modeshow__body h3 em { font-style: normal; background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modeshow__body > p { color: var(--text-2); font-size: 16px; }
.carousel--sm .carousel__slide { flex-basis: 100%; }
.carousel--sm .carousel__btn { width: 40px; height: 40px; }
@media (max-width: 900px) { .modeshow { grid-template-columns: 1fr; gap: 28px; } }
/* Novità senza foto */
.news__card--plain .news__body { padding: 24px; }
.news__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.news__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); border: 1px solid rgba(200, 76, 255, 0.2); }
.news__icon svg { width: 22px; height: 22px; }

/* ============================================================================
   25. NEGOZIO — vetrina, carrello e checkout Tebex
   Ogni card usa --rc (colore del grado) per bordo, bagliore ed emblema.
   ========================================================================== */

/* ------------------------------------------------------- Testata e fiducia -- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 13, 23, 0.55); border: 1px solid var(--border-2); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: var(--text-2); }
.trust svg { width: 15px; height: 15px; color: var(--green); flex: none; }

/* ------------------------------------------------------------- Campi modulo -- */
.field { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border-2); color: var(--text); font-size: 15px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.field::placeholder { color: var(--text-3); }
.field:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(200, 76, 255, 0.15); }
.field.is-invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15); }
.field-error { flex-basis: 100%; font-size: 13px; color: #f87171; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }

/* -------------------------------------------- Barra delle categorie (sticky) -- */
.shopnav { position: sticky; top: calc(var(--nav-h) + 10px); z-index: 60; display: flex; align-items: center; gap: 8px; padding: 8px; margin: 28px 0 8px; border-radius: 18px; background: rgba(14, 18, 32, 0.86); border: 1px solid var(--border-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); transition: top 0.4s var(--ease); }
.shopnav__tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.shopnav__tabs::-webkit-scrollbar { display: none; }
.shopnav__tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-family: var(--font-head); font-weight: 800; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); white-space: nowrap; transition: color 0.2s, background 0.2s; }
.shopnav__tabs a svg { width: 16px; height: 16px; }
.shopnav__tabs a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.shopnav__tabs a.is-active { color: #fff; background: var(--brand-grad); box-shadow: 0 6px 18px rgba(200, 76, 255, 0.35); }

.shop-section { padding: 44px 0 12px; scroll-margin-top: calc(var(--nav-h) + 90px); }
.shop-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 24px; }
.shop-section__head h2 { font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.shop-section__head h2 .card__icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.shop-section__head h2 .card__icon svg { width: 22px; height: 22px; }
.shop-section__head p { color: var(--text-2); font-size: 15.5px; max-width: 520px; }

/* ------------------------------------------------------------- Card grado -- */
.rank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .rank-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .rank-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .rank-grid { grid-template-columns: 1fr; } }
.rank-card { --rc: var(--brand); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 22px 22px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); overflow: hidden; isolation: isolate; cursor: pointer; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.rank-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--rc); z-index: 1; }
.rank-card::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 45% at 50% 0%, color-mix(in srgb, var(--rc) 24%, transparent), transparent 70%); }
.rank-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--rc) 55%, transparent); box-shadow: 0 18px 44px color-mix(in srgb, var(--rc) 22%, rgba(0, 0, 0, 0.45)); }
.perks { display: grid; gap: 8px; margin: 16px 0 4px; text-align: left; width: 100%; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.perks li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--rc); flex: none; }
.price { font-family: var(--font-head); font-weight: 900; font-size: 30px; line-height: 1; margin: 18px 0 16px; font-variant-numeric: tabular-nums; }
.price small { font-size: 0.55em; font-weight: 800; color: var(--text-2); margin-left: 2px; }
.rank-card .price { margin: 22px 0 18px; }
.rank-card__actions { display: grid; gap: 10px; width: 100%; margin-top: auto; }
.rank-card .btn { width: 100%; }
.btn--rank { background: color-mix(in srgb, var(--rc) 16%, transparent); border-color: color-mix(in srgb, var(--rc) 45%, transparent); color: #fff; }
.btn--rank:hover { background: var(--rc); color: #0a0d17; transform: translateY(-2px); box-shadow: 0 10px 26px color-mix(in srgb, var(--rc) 40%, transparent); }
.btn.is-in-cart { background: rgba(34, 197, 94, 0.14); border-color: rgba(34, 197, 94, 0.45); color: var(--green); }
.btn.is-in-cart:hover { background: rgba(34, 197, 94, 0.22); color: var(--green); box-shadow: none; }

/* IMMORTAL: il grado di punta ha il bordo animato */
.rank-card--top { border-color: transparent; }
.rank-card--top > .rank-card__ring { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1; background: conic-gradient(from var(--angle, 0deg), transparent 0 50%, var(--rc) 70%, #fff 80%, var(--rc) 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinBorder 5s linear infinite; }

/* ---------------------------------------------------------------- Upgrade -- */
/* una scala: una riga per gradino, dall'alto verso il basso */
.up-list { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 880px; margin: 0 auto; }
.up-row { --ca: var(--brand); --cb: var(--brand-2); position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; isolation: isolate; transition: transform 0.3s var(--ease), border-color 0.3s; }
.up-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--ca), var(--cb)); }
.up-row::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background: linear-gradient(90deg, color-mix(in srgb, var(--ca) 12%, transparent), transparent 35%, transparent 65%, color-mix(in srgb, var(--cb) 12%, transparent)); }
.up-row:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cb) 50%, transparent); }
.up-path { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; flex-wrap: wrap; }
.rank-pill { --rc: var(--brand); display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 10px; font-family: var(--font-head); font-weight: 900; font-size: 14px; letter-spacing: 0.04em; color: var(--rc); background: color-mix(in srgb, var(--rc) 13%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 38%, transparent); white-space: nowrap; }
.rank-pill svg { width: 14px; height: 14px; }
.up-arrow { width: 22px; height: 22px; color: var(--text-3); flex: none; transition: transform 0.3s var(--ease), color 0.3s; }
.up-row:hover .up-arrow { transform: translateX(4px); color: var(--cb); }
.up-row .price { font-size: 22px; margin: 0; white-space: nowrap; }
.up-row .btn { flex: none; }
@media (max-width: 520px) { .up-row { flex-wrap: wrap; } .up-row .btn { width: 100%; } }

/* ------------------------------------------------------------------ Gemme -- */
/* flex e non grid: con 7 tagli l'ultima riga resta centrata invece di lasciare un buco */
.gem-grid { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.gem-grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * 18px) / var(--cols)); min-width: 0; }
@media (max-width: 1100px) { .gem-grid { --cols: 3; } }
@media (max-width: 760px) { .gem-grid { --cols: 2; } }
@media (max-width: 440px) { .gem-grid { --cols: 1; } }
.gem-card { --rc: #a855f7; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 18px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; isolation: isolate; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.gem-card::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(65% 45% at 50% 8%, rgba(168, 85, 247, 0.2), transparent 70%); }
.gem-card:hover { transform: translateY(-6px); border-color: rgba(200, 76, 255, 0.5); box-shadow: 0 18px 44px rgba(124, 58, 237, 0.25); }
.gem-card--hot { border-color: rgba(200, 76, 255, 0.55); box-shadow: 0 0 0 1px rgba(200, 76, 255, 0.25), 0 14px 40px rgba(124, 58, 237, 0.22); }
.gem-card--best { --rc: var(--gold); border-color: rgba(251, 191, 36, 0.5); box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.2), 0 14px 40px rgba(245, 158, 11, 0.16); }
.gem-card--best::after { background: radial-gradient(65% 45% at 50% 8%, rgba(251, 191, 36, 0.16), transparent 70%); }
.gem-tag { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); padding: 4px 11px; border-radius: 999px; font-family: var(--font-head); font-size: 10.5px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; background: var(--brand-grad); color: #fff; box-shadow: 0 4px 14px rgba(200, 76, 255, 0.4); }
.gem-card--best .gem-tag { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #2a1600; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4); }
.gem-card .price { margin: 12px 0 14px; font-size: 26px; }
.gem-card .btn { width: 100%; margin-top: auto; }

/* ---------------------------------------------------------------- Bundle -- */
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .bundle-grid { grid-template-columns: 1fr; } }
.bundle-card { --rc: var(--brand); position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden; isolation: isolate; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.bundle-card::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 65%); }
.bundle-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--rc) 55%, transparent); box-shadow: 0 18px 44px color-mix(in srgb, var(--rc) 20%, rgba(0, 0, 0, 0.45)); }
.bundle-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.bundle-card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex: none; color: var(--rc); background: color-mix(in srgb, var(--rc) 15%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 38%, transparent); }
.bundle-card__icon svg { width: 26px; height: 26px; }
.bundle-card__name { font-family: var(--font-head); font-weight: 900; font-size: 22px; letter-spacing: 0.05em; }
.bundle-card__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.bundle-contents { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(10, 13, 23, 0.55); border: 1px solid var(--border); }
.bundle-contents .plus { font-family: var(--font-head); font-weight: 900; color: var(--text-3); font-size: 18px; }
.gem-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 10px; font-family: var(--font-head); font-weight: 900; font-size: 14px; color: #d8b4fe; background: rgba(168, 85, 247, 0.13); border: 1px solid rgba(168, 85, 247, 0.38); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gem-pill svg { width: 14px; height: 14px; }
.bundle-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.bundle-card__foot .price { margin: 0; font-size: 28px; }

/* ------------------------------------------------------ Carrello (drawer) -- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(5, 7, 12, 0.62); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 160; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--border-2); box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5); transform: translateX(100%); visibility: hidden; transition: transform 0.38s var(--ease), visibility 0s linear 0.38s; }
.is-cart-open .drawer { transform: none; visibility: visible; transition: transform 0.38s var(--ease), visibility 0s; }
.is-cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.drawer__head h2 { font-size: 18px; text-transform: uppercase; letter-spacing: 0.06em; display: flex; align-items: center; gap: 10px; }
.drawer__head h2 svg { width: 20px; height: 20px; color: var(--gold); }
.iconbtn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--text-2); transition: color 0.2s, background 0.2s, border-color 0.2s; flex: none; }
.iconbtn:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.iconbtn svg { width: 18px; height: 18px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { display: grid; place-items: center; gap: 12px; text-align: center; padding: 60px 10px; color: var(--text-3); }
.cart-empty svg { width: 46px; height: 46px; opacity: 0.5; }
.cart-item { --rc: var(--brand); display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 10px; animation: itemIn 0.35s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.cart-item__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 35%, transparent); }
.cart-item__icon svg { width: 20px; height: 20px; }
.cart-item__text { flex: 1; min-width: 0; }
.cart-item__text b { display: block; font-family: var(--font-head); font-size: 14.5px; }
.cart-item__text span { font-size: 12.5px; color: var(--text-3); }
.cart-item__price { font-family: var(--font-head); font-weight: 800; font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--border); background: rgba(10, 13, 23, 0.6); }
.cart-player { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 14px; font-size: 13.5px; color: var(--text-2); }
.cart-player img { width: 30px; height: 30px; border-radius: 7px; image-rendering: pixelated; flex: none; }
.cart-player b { color: var(--text); }
.cart-player button { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--brand-2); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.cart-total span { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.cart-total b { font-family: var(--font-head); font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; }
.cart-msg { display: none; gap: 10px; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 13.5px; line-height: 1.5; }
.cart-msg.is-error { display: flex; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.35); color: #fca5a5; }
.cart-msg.is-info { display: flex; background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.32); color: #fcd34d; }
.cart-msg svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.cart-legal { margin-top: 12px; font-size: 12px; color: var(--text-3); text-align: center; line-height: 1.5; }
.cart-legal a { color: var(--text-2); text-decoration: underline; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }
.btn.is-loading svg.spin { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------- Esito del pagamento / avvisi -- */
.shop-banner { display: none; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; margin-bottom: 20px; font-size: 14.5px; }
.shop-banner.is-visible { display: flex; }
.shop-banner svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.shop-banner--ok { background: rgba(34, 197, 94, 0.09); border: 1px solid rgba(34, 197, 94, 0.35); color: #bbf7d0; }
.shop-banner--ok svg { color: var(--green); }
.shop-banner--warn { background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.32); color: #fde68a; }
.shop-banner--warn svg { color: var(--amber); }
.shop-banner strong { color: #fff; }
.shop-banner code { font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 12.5px; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); }

/* ------------------------------------------------------------ Come funziona -- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: how; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.how__step { position: relative; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); counter-increment: how; }
.how__step::before { content: counter(how); position: absolute; top: 16px; right: 20px; font-family: var(--font-head); font-size: 44px; font-weight: 900; line-height: 1; color: rgba(255, 255, 255, 0.05); }
.how__step h3 { font-size: 18px; margin: 14px 0 8px; }
.how__step p { color: var(--text-2); font-size: 14.5px; }

/* riduci movimento (classe messa dallo script in <head>) */
html.rm .rank-card--top > .rank-card__ring, html.rm .hdr-cart.is-bump, html.rm .cart-item { animation: none !important; }
html.rm .modal, html.rm .modal__box { transition: none; }
html.rm .drawer { transition: none; }

/* nota legale del negozio: dichiarazione di non affiliazione ben visibile */
.shop-legal{margin-top:32px;padding:18px 20px;border:1px solid var(--border);border-radius:var(--radius);background:rgba(255,255,255,.025);text-align:center;font-size:.9rem;line-height:1.6;color:var(--text-3)}
.shop-legal p{margin:0}
.shop-legal p+p{margin-top:8px}
.shop-legal strong{color:var(--text-2);font-weight:700;letter-spacing:.01em}
.shop-legal a{color:var(--brand-2)}
.shop-section__note{margin:16px auto 0;max-width:720px;text-align:center;font-size:.85rem;line-height:1.55;color:var(--text-3)}
.linkbtn{background:none;border:0;padding:0;font:inherit;font-weight:700;color:var(--brand-2);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.linkbtn:hover{color:var(--text)}
.linkbtn:focus-visible{outline:2px solid var(--brand-2);outline-offset:3px;border-radius:4px}
.drawer:focus{outline:none}
.plus-sign{font-family:var(--font-body);font-weight:800;font-size:1.06em;line-height:0;margin-left:.05em}

/* ======================================================================
   25b. NEGOZIO — struttura per modalità, header, finestre (v1.4)
   ==================================================================== */

/* ---- header del negozio: accesso e carrello in alto a destra ---- */
.shop-page .nav.is-hidden { transform: none; }            /* il carrello deve restare sempre a portata di mano */
.shop-page .nav .btn--store { display: none; } /* siamo già nel negozio */
.hdr-shop { display: flex; align-items: center; gap: 8px; }
.hdr-account, .hdr-cart { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px; border-radius: 12px; font-family: var(--font-head); font-weight: 800; font-size: 14px; white-space: nowrap; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.hdr-account { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-2); color: var(--text); max-width: 190px; }
.hdr-account:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }
.hdr-account svg { width: 17px; height: 17px; color: var(--brand-2); flex: none; }
.hdr-account img { width: 26px; height: 26px; border-radius: 7px; image-rendering: pixelated; flex: none; margin-left: -4px; }
.hdr-account span { overflow: hidden; text-overflow: ellipsis; }
.hdr-account.is-in { border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.08); }
.hdr-cart { position: relative; background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.4); color: var(--gold); }
.hdr-cart:hover { background: rgba(251, 191, 36, 0.22); transform: translateY(-1px); }
.hdr-cart svg { width: 18px; height: 18px; flex: none; }
.hdr-cart__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--gold); color: #2a1600; font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums; }
.hdr-cart__count[data-n="0"] { display: none; }           /* l'indicatore compare solo se c'è qualcosa */
.hdr-cart.is-bump { animation: cartBump 0.45s var(--ease); }
@media (max-width: 1180px) { .shop-page .nav__status { display: none; } }
@media (max-width: 640px) {
  .hdr-cart__label { display: none; }
  .hdr-account, .hdr-cart { padding: 0 11px; height: 40px; }
  .hdr-account span { max-width: 74px; }
  .hdr-cart__count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; font-size: 11px; }
  .shop-page .nav__actions > .btn--discord { display: none; }
  .shop-page .brand__name { display: none; }
}

/* ---- pagina iniziale della modalità ---- */
.shop-mode { padding: 36px 0 12px; }
.shop-mode__head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.shop-mode__kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 8px; }
.shop-mode__head h2 { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(30px, 4.4vw, 46px); text-transform: uppercase; letter-spacing: 0.04em; }
.shop-mode__head h2 svg { width: 0.8em; height: 0.8em; color: var(--brand-2); }
.shop-mode__head p { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* ---- percorso e titolo della categoria ---- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; font-size: 13.5px; font-weight: 700; color: var(--text-3); }
.crumbs a { color: var(--text-2); transition: color 0.2s; }
.crumbs a:hover { color: var(--brand-2); }
.crumbs svg { width: 14px; height: 14px; transform: rotate(-90deg); opacity: 0.6; }
.crumbs span[aria-current] { color: var(--text); }
.shopnav { margin-top: 14px; }
.shop-section h2:focus, .shop-mode h2:focus { outline: none; }

/* ---- grado: icona dedicata + nome ---- */
.rank-card__head { margin: 0; font: inherit; }
.rank-badge { --sz: 76px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.rank-badge__icon { position: relative; width: var(--sz); height: var(--sz); border-radius: 24px; display: grid; place-items: center; color: var(--rc); background: linear-gradient(145deg, color-mix(in srgb, var(--rc) 30%, #121728), #0d111d 75%); border: 1px solid color-mix(in srgb, var(--rc) 55%, transparent); box-shadow: 0 14px 34px color-mix(in srgb, var(--rc) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.16); transition: transform 0.45s var(--ease); }
.rank-badge__icon::after { content: ''; position: absolute; inset: 5px; border-radius: 19px; border: 1px solid color-mix(in srgb, var(--rc) 22%, transparent); pointer-events: none; }
.rank-badge__icon svg { width: 36px; height: 36px; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--rc) 60%, transparent)); }
.rank-card:hover .rank-badge__icon { transform: translateY(-4px) scale(1.05); }
.rank-badge__name { font-family: var(--font-head); font-weight: 900; font-size: 25px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rc); text-shadow: 0 0 22px color-mix(in srgb, var(--rc) 35%, transparent); }
.rank-card__more { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 6px; font-size: 13px; font-weight: 700; color: var(--text-2); transition: color 0.2s; }
.rank-card__more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.rank-card__more:hover, .rank-card:hover .rank-card__more { color: var(--rc); }
.rank-card:hover .rank-card__more svg { transform: translateX(4px); }
.rank-card__more:focus-visible { outline: 2px solid var(--rc); outline-offset: 2px; border-radius: 8px; }

/* ---- gemme: una sola gemma, quantità + bonus ---- */
.gem-icon { width: 76px; height: 76px; margin: 16px 0 16px; border-radius: 24px; display: grid; place-items: center; color: #d8b4fe; background: linear-gradient(145deg, rgba(168, 85, 247, 0.3), #0d111d 75%); border: 1px solid rgba(168, 85, 247, 0.5); box-shadow: 0 14px 34px rgba(124, 58, 237, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16); transition: transform 0.45s var(--ease); }
.gem-icon svg { width: 38px; height: 38px; fill: rgba(168, 85, 247, 0.25); filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.6)); }
.gem-card:hover .gem-icon { transform: translateY(-4px) scale(1.05); }
.gem-card--best .gem-icon { color: #fcd34d; background: linear-gradient(145deg, rgba(251, 191, 36, 0.26), #0d111d 75%); border-color: rgba(251, 191, 36, 0.5); box-shadow: 0 14px 34px rgba(245, 158, 11, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.gem-card--best .gem-icon svg { fill: rgba(251, 191, 36, 0.2); filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6)); }
.gem-amount { display: grid; gap: 8px; justify-items: center; font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.gem-amount__base { font-weight: 900; font-size: 27px; line-height: 1; }
.gem-amount__base em { font-style: normal; font-size: 0.6em; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.gem-amount__bonus { display: inline-flex; padding: 4px 11px; border-radius: 999px; font-family: var(--font-body); font-size: 12.5px; font-weight: 800; color: var(--green); background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.32); white-space: nowrap; }
.gem-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); --rc: #a855f7; }
.gem-card--best { --rc: #f59e0b; }

/* ---- bundle: prezzo pieno barrato + prezzo scontato ---- */
.bundle-card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.bundle-card__off { position: absolute; top: 18px; right: 18px; padding: 5px 11px; border-radius: 999px; font-family: var(--font-head); font-size: 13px; font-weight: 900; letter-spacing: 0.04em; color: #052e13; background: linear-gradient(135deg, #4ade80, #22c55e); box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35); }
.price-box { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.price-old { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--text-3); text-decoration: line-through; text-decoration-color: #f87171; text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }
.bundle-card__foot .price { color: #4ade80; }
.bundle-card__foot .price small { color: #86efac; }
.bundle-card__foot { align-items: flex-end; }

/* ---- upgrade: stesso fondo delle altre card ---- */
.up-row { background: linear-gradient(180deg, var(--surface-2), var(--surface)); }

/* ---- finestre: accesso e scheda del pacchetto ---- */
.modal { --rc: var(--brand); position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; padding: 20px; overflow-y: auto; background: rgba(5, 7, 12, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s; }
.modal:focus { outline: none; }
.is-login-open #login-modal, .is-rank-open #rank-modal { opacity: 1; visibility: visible; transition: opacity 0.25s, visibility 0s; }
.modal__box { position: relative; width: min(560px, 100%); padding: 36px 32px 30px; border-radius: 24px; text-align: center; background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); border: 1px solid color-mix(in srgb, var(--rc) 40%, var(--border-2)); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 80px color-mix(in srgb, var(--rc) 14%, transparent); transform: translateY(14px) scale(0.98); transition: transform 0.3s var(--ease); overflow: hidden; isolation: isolate; }
.modal__box::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 40% at 50% 0%, color-mix(in srgb, var(--rc) 22%, transparent), transparent 70%); }
.is-login-open #login-modal .modal__box, .is-rank-open #rank-modal .modal__box { transform: none; }
.modal__box--sm { width: min(440px, 100%); }
.modal__close { position: absolute; top: 14px; right: 14px; background: rgba(10, 13, 23, 0.5); }
.modal__icon { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; color: var(--brand-2); background: linear-gradient(145deg, rgba(200, 76, 255, 0.28), #0d111d 75%); border: 1px solid rgba(200, 76, 255, 0.5); box-shadow: 0 14px 34px rgba(124, 58, 237, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.modal__icon svg { width: 30px; height: 30px; }
.modal__avatar { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 18px; image-rendering: pixelated; border: 1px solid var(--border-2); background: var(--surface-3); }
.modal__box h2 { font-size: 22px; line-height: 1.25; }
.modal__lead { margin: 10px auto 20px; max-width: 380px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.modal__box form { display: grid; gap: 10px; }
.modal__box form .field { width: 100%; height: 52px; text-align: center; font-size: 16px; font-weight: 600; }
.modal__box form .field-error { text-align: center; }
.modal__note { margin-top: 14px; font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.modal__note strong { color: var(--text-2); }
.rank-sheet__head { margin-bottom: 18px; }
.rank-sheet__head .rank-badge { --sz: 88px; }
.rank-sheet__head .rank-badge__name { font-size: 30px; }
.rank-sheet__desc { color: var(--text-2); font-size: 15px; line-height: 1.65; max-width: 440px; margin: 0 auto; }
.rank-sheet__sub { margin: 24px 0 0; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
#rank-modal .perks { margin: 12px 0 0; padding: 16px 18px; border-radius: 16px; background: rgba(10, 13, 23, 0.55); border: 1px solid var(--border); }
.rank-sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.rank-sheet__foot .price { margin: 0; font-size: 34px; }
.rank-sheet__foot .btn { flex: 1; max-width: 260px; }
@media (max-width: 480px) { .modal__box { padding: 32px 20px 22px; } .rank-sheet__foot { flex-direction: column; } .rank-sheet__foot .btn { max-width: none; width: 100%; } }
.gem-amount__bonus.is-empty { visibility: hidden; }
.rank-badge__name .plus-sign { margin-left: -0.04em; letter-spacing: 0; }

/* ======================================================================
   25c. NEGOZIO v1.5 — header a filo, accesso, regalo, MVP, assistenza
   ==================================================================== */
/* accesso e carrello all'estrema destra della finestra */
.shop-page .nav__inner { max-width: none; padding-left: 24px; padding-right: 24px; }
.shop-page .hdr-shop { order: 9; margin-left: 6px; }
@media (max-width: 640px) { .shop-page .nav__inner { padding-left: 14px; padding-right: 12px; gap: 10px; } }

/* pulsanti d'acquisto: principale + regalo */
.buy { display: flex; gap: 8px; width: 100%; }
.buy .btn { flex: 1; min-width: 0; width: auto; }
.buy .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.giftbtn { flex: none; width: 48px; align-self: stretch; min-height: 44px; border-radius: 12px; display: grid; place-items: center; color: #f9a8d4; background: rgba(244, 114, 182, 0.1); border: 1px solid rgba(244, 114, 182, 0.35); transition: background 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s; }
.giftbtn svg { width: 19px; height: 19px; transition: transform 0.3s var(--ease); }
.giftbtn:hover { background: #f472b6; color: #2a0717; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(244, 114, 182, 0.35); }
.giftbtn:hover svg { transform: rotate(-10deg) scale(1.1); }
.giftbtn.is-on { background: rgba(244, 114, 182, 0.24); border-color: #f472b6; color: #fff; }
.giftbtn:focus-visible { outline: 2px solid #f472b6; outline-offset: 2px; }
.buy--lg .giftbtn { width: 56px; border-radius: 14px; }
.gem-card .buy { margin-top: auto; }
.up-row .buy, .bundle-card__foot .buy { width: auto; flex: none; }
.up-row .buy .btn, .bundle-card__foot .buy .btn { flex: none; }
.rank-sheet__foot .buy { flex: 1; max-width: 320px; }
.rank-sheet__foot .buy .btn { max-width: none; }
@media (max-width: 520px) { .up-row .buy { width: 100%; } .up-row .buy .btn { flex: 1; } }
@media (max-width: 480px) { .rank-sheet__foot .buy { max-width: none; width: 100%; } .bundle-card__foot { flex-wrap: wrap; } .bundle-card__foot .buy { width: 100%; } .bundle-card__foot .buy .btn { flex: 1; } }

/* finestre di accesso e regalo */
.is-gift-open #gift-modal { opacity: 1; visibility: visible; transition: opacity 0.25s, visibility 0s; }
.is-gift-open #gift-modal .modal__box { transform: none; }
.modal__box--login { padding-top: 0; }
.login-hero { position: relative; height: 128px; margin: 0 -32px 54px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.55), rgba(255, 79, 216, 0.35)), url('../img/bg-sunset-md.jpg') center/cover; border-bottom: 1px solid var(--border-2); }
.login-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(14, 18, 32, 0.85)); }
.login-hero--gift { background: linear-gradient(135deg, rgba(244, 114, 182, 0.55), rgba(124, 58, 237, 0.4)), url('../img/bg-sunset-md.jpg') center/cover; }
.login-hero__glow { position: absolute; left: 50%; bottom: -60px; width: 180px; height: 120px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 55%, transparent), transparent); z-index: 1; }
.login-hero__head { position: absolute; left: 50%; bottom: -42px; z-index: 2; width: 84px; height: 84px; transform: translateX(-50%); border-radius: 20px; image-rendering: pixelated; background: var(--surface-3); border: 3px solid var(--bg-2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--rc) 70%, transparent), 0 16px 34px rgba(0, 0, 0, 0.5); }
.login-hero__badge { position: absolute; left: calc(50% + 26px); bottom: -48px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f472b6; color: #2a0717; border: 3px solid var(--bg-2); }
.login-hero__badge svg { width: 16px; height: 16px; }
.modal__kicker { display: inline-block; margin-bottom: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-2); }
.modal__name { color: var(--brand-2); }
.modal__lead strong { color: var(--text); }
.inputwrap { position: relative; }
.inputwrap > svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-3); pointer-events: none; transition: color 0.2s; }
.inputwrap:focus-within > svg { color: var(--brand-2); }
.modal__box form .inputwrap .field { padding: 0 44px; height: 54px; border-radius: 14px; background: rgba(10, 13, 23, 0.7); }
.modal__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.modal__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.modal__chips svg { width: 13px; height: 13px; color: var(--green); }
@media (max-width: 480px) { .login-hero { margin: 0 -20px 54px; } }

/* striscia dell'account nel carrello */
.cart-player { gap: 12px; padding: 12px 14px; border-radius: 16px; margin-bottom: 16px; }
.cart-player.is-in { background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.03)); border: 1px solid rgba(34, 197, 94, 0.32); }
.cart-player.is-out { background: linear-gradient(135deg, rgba(200, 76, 255, 0.14), rgba(255, 79, 216, 0.05)); border: 1px dashed rgba(200, 76, 255, 0.5); }
.cart-player img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.45); }
.cart-player__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: var(--brand-2); background: rgba(200, 76, 255, 0.16); border: 1px solid rgba(200, 76, 255, 0.4); }
.cart-player__icon svg { width: 19px; height: 19px; }
.cart-player__text { display: grid; gap: 1px; min-width: 0; flex: 1; }
.cart-player__text small { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-3); }
.cart-player__text b { font-family: var(--font-head); font-size: 15px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-player.is-out .cart-player__text b { font-size: 13.5px; white-space: normal; }
.cart-player button { margin-left: 0; flex: none; height: 34px; padding: 0 14px; border-radius: 10px; font-size: 12.5px; font-weight: 800; color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-2); transition: background 0.2s; }
.cart-player button:hover { background: rgba(255, 255, 255, 0.12); }
.cart-player.is-out button { color: #fff; background: var(--brand-grad); border-color: transparent; box-shadow: 0 6px 16px rgba(200, 76, 255, 0.35); }
.cart-item__text .cart-item__gift { display: inline-flex; align-items: center; gap: 5px; color: #f9a8d4; font-weight: 700; }
.cart-item__gift svg { width: 12px; height: 12px; }
.cart-item__price small { font-size: 0.75em; color: var(--text-3); font-weight: 700; }
.cart-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 4px; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); background: rgba(255, 79, 216, 0.07); border: 1px solid rgba(255, 79, 216, 0.25); }
.cart-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--brand-2); }

/* MVP: l'abbonamento */
.price-per { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--text-2); margin-left: 6px; }
.mvp { --rc: #ff4fd8; position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; border-radius: 26px; background: linear-gradient(135deg, color-mix(in srgb, var(--rc) 12%, var(--surface-2)), var(--surface) 55%); border: 1px solid transparent; overflow: hidden; isolation: isolate; box-shadow: 0 30px 80px color-mix(in srgb, var(--rc) 14%, rgba(0, 0, 0, 0.5)); }
.mvp__ring { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1; background: conic-gradient(from var(--angle, 0deg), color-mix(in srgb, var(--rc) 35%, transparent) 0 50%, var(--rc) 70%, #fff 80%, var(--rc) 90%, color-mix(in srgb, var(--rc) 35%, transparent) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinBorder 6s linear infinite; }
.mvp::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 80% at 0% 0%, color-mix(in srgb, var(--rc) 26%, transparent), transparent 65%), radial-gradient(50% 70% at 100% 100%, rgba(124, 58, 237, 0.22), transparent 70%); }
.mvp__main { padding: 40px; }
.mvp__brand { display: flex; align-items: center; gap: 20px; }
.mvp__brand .rank-badge__icon { --sz: 88px; width: 88px; height: 88px; flex: none; }
.mvp__brand .rank-badge__icon svg { width: 42px; height: 42px; }
.mvp__kicker { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rc); background: color-mix(in srgb, var(--rc) 13%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent); }
.mvp__kicker svg { width: 13px; height: 13px; }
.mvp__name { margin-top: 10px; font-family: var(--font-head); font-weight: 900; font-size: clamp(44px, 6vw, 64px); line-height: 0.95; letter-spacing: 0.08em; background: linear-gradient(100deg, #fff 0%, var(--rc) 55%, #c084fc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mvp__desc { margin-top: 22px; color: var(--text-2); font-size: 16px; line-height: 1.65; max-width: 520px; }
.mvp__perks { margin-top: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.mvp__side { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 40px; background: rgba(8, 10, 18, 0.55); border-left: 1px solid var(--border); }
.mvp__price { display: flex; align-items: baseline; justify-content: center; }
.mvp__price .price { margin: 0; font-size: 56px; }
.mvp__notes { display: grid; gap: 10px; }
.mvp__notes li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.mvp__notes svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--rc); }
@media (max-width: 900px) { .mvp { grid-template-columns: 1fr; } .mvp__side { border-left: 0; border-top: 1px solid var(--border); } }
@media (max-width: 560px) { .mvp__main, .mvp__side { padding: 26px 20px; } .mvp__perks { grid-template-columns: 1fr; } .mvp__brand { gap: 14px; } .mvp__brand .rank-badge__icon { width: 68px; height: 68px; } .mvp__price .price { font-size: 46px; } }

/* assistenza: ticket su Discord */
.shop-help { position: relative; display: flex; align-items: center; gap: 28px; padding: 30px 36px 30px 210px; min-height: 190px; border-radius: 26px; background: linear-gradient(120deg, rgba(88, 101, 242, 0.24), rgba(88, 101, 242, 0.06) 60%), var(--surface); border: 1px solid rgba(88, 101, 242, 0.42); overflow: hidden; isolation: isolate; }
.shop-help__glow { position: absolute; left: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); z-index: -1; background: radial-gradient(closest-side, rgba(88, 101, 242, 0.45), transparent); }
.shop-help__wumpus { position: absolute; left: 14px; bottom: -14px; width: 190px; height: auto; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45)); transition: transform 0.5s var(--ease); }
.shop-help:hover .shop-help__wumpus { transform: translateY(-6px) rotate(-3deg); }
.shop-help__text { flex: 1; min-width: 0; }
.shop-help__text h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 8px 0 8px; }
.shop-help__text p { color: var(--text-2); font-size: 15px; max-width: 560px; }
.shop-help .btn { flex: none; }
@media (max-width: 860px) { .shop-help { flex-direction: column; align-items: flex-start; padding: 150px 24px 26px; } .shop-help__wumpus { left: 20px; top: 8px; bottom: auto; width: 140px; } .shop-help .btn { width: 100%; } }
/* riduci movimento (classe messa dallo script in <head>) */
html.rm .mvp__ring { animation: none; }

/* ======================================================================
   25d. v1.5.1 — header più largo, negozio in evidenza, regalo sotto ad Aggiungi
   ==================================================================== */
/* logo e nome più a sinistra: la barra usa tutta la larghezza della finestra */
.nav__inner { max-width: none; padding-left: 28px; padding-right: 28px; }
@media (max-width: 640px) { .nav__inner { padding-left: 14px; padding-right: 12px; } }

/* negozio: voci, stato e Discord al centro; accesso e carrello a destra */
.shop-page .hdr-shop { order: 0; margin-left: 0; flex: none; }
@media (min-width: 861px) {
  .shop-page .nav__links { margin-left: auto; }
  .shop-page .nav__actions { margin-left: 8px; margin-right: auto; }
}
@media (max-width: 860px) { .shop-page .nav__actions { margin-left: auto; } }

/* "Regala" sotto ad "Aggiungi" */
.buy { flex-direction: column; }
.buy .btn { flex: none; width: 100%; }
.giftbtn, .buy--lg .giftbtn { width: 100%; min-height: 0; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font-size: 13px; font-weight: 800; }
.giftbtn svg { width: 16px; height: 16px; }
.up-row .buy, .bundle-card__foot .buy { min-width: 170px; }
.up-row .buy .btn, .bundle-card__foot .buy .btn { flex: none; width: 100%; }

/* ======================================================================
   25e. v1.6 — menu al centro, carrello fisso, striscia di luce sul negozio
   ==================================================================== */
/* voci del menu al centro della barra (nel negozio lo sono già, insieme a stato e Discord) */
@media (min-width: 861px) { body:not(.shop-page) .nav__links { margin-left: auto; } }

/* striscia di luce che attraversa il pulsante ogni 5 secondi (Negozio nell'header, "Apri il negozio") */
.nav .btn--store, .btn--sweep { position: relative; overflow: hidden; }
.nav .btn--store::after, .btn--sweep::after { content: ''; position: absolute; top: -60%; left: -70%; width: 40%; height: 220%; transform: rotate(18deg); pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); transition: none; animation: storeSweep 5s ease-in-out infinite !important; animation-duration: 5s !important; animation-iteration-count: infinite !important; }
@keyframes storeSweep { 0%, 45% { left: -70%; } 80%, 100% { left: 150%; } }

/* carrello fisso in basso a destra */
.cart-fab { position: fixed; right: 24px; bottom: 24px; z-index: 95; width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; color: #2a1600; background: linear-gradient(135deg, #fde68a, #fbbf24 50%, #f59e0b); border: 1px solid #fcd34d; box-shadow: 0 14px 34px rgba(245, 158, 11, 0.45), 0 4px 10px rgba(0, 0, 0, 0.4); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.cart-fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 44px rgba(245, 158, 11, 0.6), 0 4px 10px rgba(0, 0, 0, 0.4); }
.cart-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cart-fab svg { width: 27px; height: 27px; }
.cart-fab__count { position: absolute; top: -8px; right: -8px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: var(--brand-2); color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 900; border: 3px solid var(--bg); font-variant-numeric: tabular-nums; }
.cart-fab__count[data-n="0"] { display: none; }
.cart-fab.is-bump { animation: cartBump 0.45s var(--ease); }
.is-cart-open .cart-fab { opacity: 0; pointer-events: none; }
.shop-page .totop { bottom: 100px; right: 32px; }
@media (max-width: 640px) { .cart-fab { right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 18px; } .shop-page .totop { bottom: 84px; right: 21px; } }
/* riduci movimento (classe messa dallo script in <head>) */
html.rm .cart-fab.is-bump { animation: none; }
.giftbtn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* su schermi larghi il menu è al centro esatto della finestra */
@media (min-width: 1280px) { body:not(.shop-page) .nav__inner { position: relative; } body:not(.shop-page) .nav__links { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; } }

/* ======================================================================
   26. Schermata "Aggiungi server" di Minecraft (dimostrativa, tutta in CSS)
   ==================================================================== */
.mcscreen { --mc: 'VT323', 'JetBrains Mono', ui-monospace, monospace; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-2); box-shadow: var(--shadow-lg); background: #1b1b1b; }
/* fondo scuro "a blocchi" che ricorda lo sfondo dei menu del gioco */
.mcscreen__body { padding: 26px 28px 24px; font-family: var(--mc); color: #fff; image-rendering: pixelated;
  background-color: #2b2119;
  background-image: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    repeating-conic-gradient(#4a3526 0% 25%, #3d2b1f 0% 50%),
    repeating-conic-gradient(#5a4130 0% 25%, #46321f 0% 50%);
  background-size: auto, 32px 32px, 8px 8px; background-blend-mode: normal, multiply, normal; }
.mcscreen__title { margin: 0 0 18px; text-align: center; font-size: 26px; line-height: 1; letter-spacing: 0.02em; text-shadow: 2px 2px 0 #3f3f3f; }
.mcscreen__label { display: block; margin: 12px 0 5px; font-size: 20px; line-height: 1; color: #a0a0a0; text-shadow: 2px 2px 0 #282828; }
.mcscreen__input { display: block; width: 100%; height: 40px; padding: 0 10px; font-family: var(--mc); font-size: 22px; color: #e0e0e0; background: #000; border: 2px solid #a0a0a0; border-radius: 0; outline: none; text-shadow: 2px 2px 0 #383838; cursor: text; }
.mcscreen__input:focus { border-color: #fff; }
.mcscreen__ip { position: relative; }
.mcscreen__caret { position: absolute; right: 12px; top: 6px; font-size: 22px; color: #e0e0e0; animation: mcBlink 1s steps(1) infinite; }
@keyframes mcBlink { 50% { opacity: 0; } }
.mcscreen__hint { margin: 14px 0 0; text-align: center; font-size: 19px; color: #a0a0a0; text-shadow: 2px 2px 0 #282828; }
.mcscreen__hint b { color: #fff; font-weight: 400; }
.mcscreen__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mcbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; font-family: var(--mc); font-size: 22px; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; background: #6e6e6e; border: 2px solid #000; border-radius: 0; box-shadow: inset 2px 2px 0 #aaa, inset -2px -4px 0 #4a4a4a; cursor: pointer; transition: none; }
.mcbtn svg { width: 16px; height: 16px; }
.mcbtn:hover, .mcbtn:focus-visible { background: #7e8fc4; box-shadow: inset 2px 2px 0 #bfcaf0, inset -2px -4px 0 #55639a; border-color: #fff; color: #ffffa0; outline: none; }
.mcbtn--ghost { cursor: default; color: #a0a0a0; background: #3a3a3a; box-shadow: inset 2px 2px 0 #555, inset -2px -4px 0 #262626; }
.mcbtn--ghost:hover { background: #3a3a3a; box-shadow: inset 2px 2px 0 #555, inset -2px -4px 0 #262626; border-color: #000; color: #a0a0a0; }
@media (max-width: 480px) { .mcscreen__body { padding: 20px 16px; } .mcscreen__title { font-size: 22px; } .mcscreen__btns { grid-template-columns: 1fr; } .mcbtn--ghost { display: none; } }
/* riduci movimento (classe messa dallo script in <head>) */
html.rm .mcscreen__caret { animation: none; }
/* Copia IP dentro al campo dell'indirizzo */
.mcscreen__ip .mcscreen__input { padding-right: 132px; }
.mcbtn--in { position: absolute; top: 4px; right: 4px; bottom: 4px; height: auto; padding: 0 12px; font-size: 19px; white-space: nowrap; }
@media (max-width: 480px) { .mcscreen__btns { display: none; } .mcscreen__ip .mcscreen__input { padding-right: 118px; font-size: 19px; } .mcbtn--in { font-size: 17px; padding: 0 8px; } }
/* il carrello fisso compare quando si aggiunge il primo prodotto */
.cart-fab { opacity: 0; visibility: hidden; transform: translateY(24px) scale(0.6); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s linear 0.4s, box-shadow 0.25s; }
.cart-fab.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s, box-shadow 0.25s; }
.cart-fab.is-shown:hover { transform: translateY(-4px) scale(1.05); }
.is-cart-open .cart-fab.is-shown { opacity: 0; pointer-events: none; }
.shop-page .totop { bottom: 22px; right: 22px; }
.shop-page:has(.cart-fab.is-shown) .totop { bottom: 100px; right: 32px; }
@media (max-width: 640px) { .shop-page:has(.cart-fab.is-shown) .totop { bottom: 84px; right: 21px; } }
.gem-amount__bonus.is-plain { color: var(--text-2); background: rgba(255, 255, 255, 0.05); border-color: var(--border-2); }
/* nome del network: BABILONIA viola chiaro, MC viola scuro */
.brand__name { color: #b57bff; }
.brand__name span { color: #6d28d9; }
/* barra della finestra in stile Windows */
.mcscreen__win { margin-left: auto; display: flex; height: 100%; }
.mcscreen__win i::before, .mcscreen__win i::after { content: ''; position: absolute; left: 50%; top: 50%; background: #e6e6e6; }
.mcscreen__win .w-min::before { width: 10px; height: 1px; transform: translate(-50%, -50%); }
.mcscreen__win .w-max::before { width: 9px; height: 9px; background: transparent; border: 1px solid #e6e6e6; transform: translate(-50%, -50%); }
.mcscreen__win .w-close::before, .mcscreen__win .w-close::after { width: 13px; height: 1px; }
.mcscreen__win .w-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mcscreen__win .w-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
/* Negozio subito a destra di Classifiche */
.nav__links a.btn--store { margin-left: 8px; padding: 0 16px; color: var(--gold); font-weight: 700; }
.nav__links a.btn--store:hover { color: var(--gold); background: rgba(251, 191, 36, 0.2); }
.nav__links a.btn--store svg { display: block; opacity: 1; }
@media (max-width: 860px) { .nav__links a.btn--store { display: none; } }
/* "Scorri" più in basso, staccato dai badge della versione */
.hero__scroll { bottom: 6px; }
.hero__scroll i { height: 26px; }
/* metodi di pagamento in fondo al negozio */
.paymethods { margin-top: 44px; padding: 26px 24px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); text-align: center; }
.paymethods h3 { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; text-transform: uppercase; letter-spacing: 0.08em; }
.paymethods h3 svg { width: 18px; height: 18px; color: var(--green); }
.paymethods__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 20px 0 16px; }
.paymethods__grid li { flex: 1 1 150px; max-width: 220px; display: grid; gap: 10px; justify-items: center; padding: 16px 12px; border-radius: 16px; background: rgba(10, 13, 23, 0.55); border: 1px solid var(--border); transition: border-color 0.25s, transform 0.25s var(--ease); }
.paymethods__grid li:hover { border-color: var(--border-2); transform: translateY(-3px); }
.paymethods__logos { display: flex; align-items: center; justify-content: center; gap: 12px; height: 40px; }
.paymethods__logos img { width: 38px; height: 38px; object-fit: contain; opacity: 0.92; }
.paymethods__grid b { font-size: 13px; font-weight: 700; color: var(--text-2); }
.paymethods p { font-size: 13px; color: var(--text-3); max-width: 560px; margin: 0 auto; line-height: 1.55; }

/* ======================================================================
   25f. v1.7 — scelta della modalità, network, pagamenti a colori
   ==================================================================== */
.shop-page:not(.shop-home) .paymethods { display: none; }
/* loghi a colori: su tessera chiara, come nelle pagine di pagamento */
.paymethods__logos { height: 46px; gap: 8px; }
.paymethods__logos img { width: 58px; height: 40px; padding: 7px 10px; border-radius: 9px; background: #fff; opacity: 1; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); }
.paymethods { margin-top: 56px; }
.shop-mode__kicker { display: block; }
.shop-mode__head h2 { display: flex; justify-content: center; }

/* ======================================================================
   25g. v1.8 — modalità in stile Minecraft, categorie in finestra, UNBAN/MVP
   ==================================================================== */
/* UNBAN e MVP: due pulsanti affiancati sotto la modalità */
.net-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .net-grid { grid-template-columns: 1fr; } }
.net-btn { --rc: var(--brand); position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: 'icon text go' 'icon price go'; align-items: center; gap: 4px 16px; padding: 18px 20px; border-radius: 20px; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, color-mix(in srgb, var(--rc) 20%, var(--surface-2)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); box-shadow: 0 12px 30px color-mix(in srgb, var(--rc) 12%, rgba(0, 0, 0, 0.4)); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.net-btn::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 35%, transparent), transparent); }
.net-btn:hover { transform: translateY(-4px); border-color: var(--rc); box-shadow: 0 18px 44px color-mix(in srgb, var(--rc) 28%, rgba(0, 0, 0, 0.4)); }
.net-btn__icon { grid-area: icon; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; color: #0a0d17; background: var(--rc); box-shadow: 0 10px 24px color-mix(in srgb, var(--rc) 45%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.net-btn__icon svg { width: 27px; height: 27px; }
.net-btn__text { grid-area: text; min-width: 0; }
.net-btn__text b { display: block; font-family: var(--font-head); font-weight: 900; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.net-btn__text span { display: block; font-size: 13px; color: var(--text-2); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.net-btn__price { grid-area: price; font-family: var(--font-head); font-weight: 900; font-size: 17px; color: var(--rc); font-variant-numeric: tabular-nums; }
.net-btn__price small { font-size: 0.75em; color: var(--text-2); font-weight: 700; }
.net-btn__go { grid-area: go; width: 22px; height: 22px; color: var(--rc); transition: transform 0.3s var(--ease); }
.net-btn:hover .net-btn__go { transform: translateX(5px); }

/* finestra con le categorie della modalità */
.is-mode-open #mode-modal { opacity: 1; visibility: visible; transition: opacity 0.25s, visibility 0s; }
.is-mode-open #mode-modal .modal__box { transform: none; }
.modal__box--wide { width: min(720px, 100%); }
#mode-modal h2 { font-size: 34px; text-transform: uppercase; letter-spacing: 0.06em; }
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 6px; }
@media (max-width: 480px) { .pick-grid { grid-template-columns: 1fr; } }
.pick { --rc: var(--brand); display: grid; justify-items: center; gap: 8px; padding: 22px 14px 18px; border-radius: 18px; background: rgba(10, 13, 23, 0.55); border: 1px solid var(--border); transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.pick:hover, .pick:focus-visible { transform: translateY(-4px); border-color: var(--rc); background: color-mix(in srgb, var(--rc) 10%, rgba(10, 13, 23, 0.55)); box-shadow: 0 14px 34px color-mix(in srgb, var(--rc) 22%, transparent); outline: none; }
.pick__icon { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; color: var(--rc); background: linear-gradient(145deg, color-mix(in srgb, var(--rc) 28%, #121728), #0d111d 75%); border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent); box-shadow: 0 10px 26px color-mix(in srgb, var(--rc) 25%, transparent); }
.pick__icon svg { width: 28px; height: 28px; }
.pick b { font-family: var(--font-head); font-weight: 900; font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); }
.pick small { font-size: 12.5px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ======================================================================
   27. v1.9 — animazioni "morbide", pulsante e finestra Vota
   ==================================================================== */
/* modalità morbida: niente parallasse né grandi spostamenti, restano dissolvenze ed effetti leggeri */
html.rm-soft { scroll-behavior: auto; }
html.rm-soft .reveal:not(.is-visible), html.rm-soft .reveal[data-reveal]:not(.is-visible) { transform: translateY(8px) !important; }
html.rm-soft .hero__bg[data-parallax] img, html.rm-soft .page-hero__bg[data-parallax] img { transform: scale(1.05); }
html.rm .nav .btn--store::after, html.rm .btn--sweep::after { animation: none !important; }

/* finestre generiche (Vota): stesso aspetto di quelle del negozio */
.modal.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s, visibility 0s; }
.modal.is-open .modal__box { transform: none; }

.btn--vote { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.4); color: #4ade80; font-weight: 700; }
.btn--vote:hover { background: rgba(34, 197, 94, 0.22); transform: translateY(-2px); }
.nav__links a.btn--vote { margin-left: 6px; padding: 0 16px; color: #4ade80; }
.nav__links a.btn--vote:hover { color: #4ade80; background: rgba(34, 197, 94, 0.22); }
.nav__links a.btn--vote svg { display: block; opacity: 1; }
@media (max-width: 860px) { .nav__links a.btn--vote { margin: 8px 0 0; height: auto; padding: 14px; justify-content: flex-start; font-size: 16px; } }
.modal__icon--vote { color: #4ade80; background: linear-gradient(145deg, rgba(34, 197, 94, 0.3), #0d111d 75%); border-color: rgba(34, 197, 94, 0.5); box-shadow: 0 14px 34px rgba(34, 197, 94, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.vote-list { display: grid; gap: 10px; text-align: left; counter-reset: none; }
.vote-list a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(10, 13, 23, 0.6); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.25s var(--ease), background 0.2s; }
.vote-list a:hover, .vote-list a:focus-visible { border-color: #22c55e; background: rgba(34, 197, 94, 0.1); transform: translateX(4px); outline: none; }
.vote-list__n { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 900; font-size: 14px; color: #052e13; background: #4ade80; }
.vote-list b { flex: 1; font-family: var(--font-head); font-size: 15.5px; }
.vote-list svg { width: 18px; height: 18px; color: #4ade80; flex: none; }
.vote-empty { padding: 16px; border-radius: 14px; background: rgba(10, 13, 23, 0.6); border: 1px dashed var(--border-2); color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

/* ======================================================================
   28. v1.9 — negozio: pulsante Survival, Altro, riquadri laterali, testate
   ==================================================================== */
.shop-page:not(.shop-home) [data-home-only] { display: none; }

/* pagina iniziale: scelta a sinistra, obiettivo e top donatore a destra */
.shop-front { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; padding: 36px 0 8px; }
@media (max-width: 1000px) { .shop-front { grid-template-columns: 1fr; } }
.shop-mode__head--left { text-align: left; max-width: none; margin: 0 0 20px; }
.shop-mode__head--left h2 { justify-content: flex-start; font-size: clamp(26px, 3.4vw, 38px); }


/* riquadri laterali */
.shop-front__side { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 16px); }
@media (max-width: 1000px) { .shop-front__side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .shop-front__side { grid-template-columns: 1fr; } }
.widget { position: relative; padding: 20px; border-radius: 20px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); overflow: hidden; isolation: isolate; }
.widget::after { content: ''; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; z-index: -1; border-radius: 50%; pointer-events: none; }
.widget--goal::after { background: radial-gradient(closest-side, rgba(34, 197, 94, 0.22), transparent); }
.widget--top::after { background: radial-gradient(closest-side, rgba(251, 191, 36, 0.22), transparent); }
.widget--goal { border-color: rgba(34, 197, 94, 0.28); }
.widget--top { border-color: rgba(251, 191, 36, 0.28); }
.widget__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.widget__head svg { width: 18px; height: 18px; flex: none; }
.widget--goal .widget__head svg { color: #4ade80; }
.widget--top .widget__head svg { color: var(--gold); }
.widget__head h3 { font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.12em; }
.widget__note { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--text-3); }
.goal__nums { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.goal__nums b { font-family: var(--font-head); font-weight: 900; font-size: 28px; line-height: 1; }
.goal__nums span { font-size: 13.5px; font-weight: 600; color: var(--text-3); }
.goal__bar { height: 14px; margin: 14px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border); overflow: hidden; }
.goal__bar i { position: relative; display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg, #16a34a, #4ade80 60%, #a3e635); box-shadow: 0 0 16px rgba(34, 197, 94, 0.55); transition: width 1.2s var(--ease); overflow: hidden; }
.goal__bar i::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.22) 0 10px, transparent 10px 20px); animation: goalStripes 1.2s linear infinite; }
@keyframes goalStripes { to { transform: translateX(23px); } }
.goal__pct { font-size: 13px; color: var(--text-2); }
.goal__pct b { color: #4ade80; font-family: var(--font-head); }
.topdon { display: flex; align-items: center; gap: 14px; }
.topdon img { width: 64px; height: 64px; flex: none; border-radius: 16px; image-rendering: pixelated; background: var(--surface-3); border: 2px solid var(--gold); box-shadow: 0 10px 26px rgba(245, 158, 11, 0.3); }
.topdon b { display: block; font-family: var(--font-head); font-weight: 900; font-size: 18px; overflow: hidden; text-overflow: ellipsis; }
.topdon span { display: block; margin-top: 2px; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--gold); font-variant-numeric: tabular-nums; }
.topdon--empty img { filter: grayscale(1); opacity: 0.45; border-color: var(--border-2); box-shadow: none; }
.topdon--empty b { font-size: 16px; color: var(--text-2); }
.topdon--empty span { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--text-3); }

/* categorie: tasto per tornare e testata nel colore della categoria */
.shop-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.shop-topbar .crumbs { margin-top: 0; }
.backbtn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 13px; border-radius: 12px; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-2); transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease); }
.backbtn svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform 0.3s var(--ease); }
.backbtn:hover { background: var(--brand-soft); border-color: var(--brand); transform: translateX(-2px); }
.backbtn:hover svg { transform: rotate(180deg) translateX(4px); }
.shop-section { --rc: var(--brand); padding-top: 22px; }
.shop-section__head { position: relative; align-items: center; padding: 22px 26px; margin-bottom: 28px; border-radius: 22px; overflow: hidden; isolation: isolate; background: linear-gradient(110deg, color-mix(in srgb, var(--rc) 20%, var(--surface-2)), var(--surface) 70%); border: 1px solid color-mix(in srgb, var(--rc) 38%, transparent); }
.shop-section__head::after { content: ''; position: absolute; left: -60px; top: -80px; width: 260px; height: 260px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 30%, transparent), transparent); }
.shop-section__head h2 .card__icon { color: var(--rc); background: color-mix(in srgb, var(--rc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); box-shadow: 0 8px 22px color-mix(in srgb, var(--rc) 25%, transparent); }
.shop-section__head p { color: var(--text-2); }
html.rm .goal__bar i::after { animation: none !important; }

/* ======================================================================
   29. v1.9 — home più viva
   ==================================================================== */
.mcscreen.is-typing .mcscreen__input#mc-ip { border-color: #fff; }
/* luci che si spostano lentamente dietro alle sezioni della home */
#survival, #entra, #novita { overflow: hidden; }
#survival::before, #entra::before, #novita::before { content: ''; position: absolute; z-index: 0; width: 560px; height: 560px; border-radius: 50%; pointer-events: none; filter: blur(10px); animation: orbDrift 22s ease-in-out infinite alternate; }
#survival::before { left: -200px; top: 6%; background: radial-gradient(closest-side, rgba(180, 76, 255, 0.16), transparent); }
#entra::before { right: -220px; top: 20%; background: radial-gradient(closest-side, rgba(255, 79, 216, 0.13), transparent); animation-duration: 26s; animation-direction: alternate-reverse; }
#novita::before { left: 30%; bottom: -320px; background: radial-gradient(closest-side, rgba(56, 189, 248, 0.1), transparent); animation-duration: 30s; }
#survival > .container, #entra > .container, #novita > .container { position: relative; z-index: 1; }
@keyframes orbDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(90px, 60px, 0) scale(1.15); } }
html.rm-soft #survival::before, html.rm-soft #entra::before, html.rm-soft #novita::before { animation: none; }

/* ======================================================================
   30. v2.0 — hero con una sola frase, header, schermata MC senza cornice
   ==================================================================== */
.hero__title--one { font-size: clamp(34px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45); }
.hero__title--one + .hero__cta { margin-top: 30px; }
/* Negozio è la voce che conta: un po' più grande, con un alone che respira */
.nav__links a.btn--store { height: 42px; padding: 0 20px; font-weight: 800; border-color: rgba(251, 191, 36, 0.6); animation: storeHalo 2.8s ease-in-out infinite; }
@keyframes storeHalo { 0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.35); } 50% { box-shadow: 0 0 0 7px rgba(251, 191, 36, 0), 0 0 22px rgba(251, 191, 36, 0.35); } }
/* Vota: discreto, accanto a stato e Discord */
.nav__actions .btn--vote { background: rgba(255, 255, 255, 0.04); border-color: var(--border); color: var(--text-2); font-weight: 600; padding: 0 13px; gap: 7px; }
.nav__actions .btn--vote svg { color: #4ade80; }
.nav__actions .btn--vote:hover { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.4); color: var(--text); transform: none; }
@media (max-width: 1240px) { .nav__actions .btn--vote span { display: none; } .nav__actions .btn--vote { padding: 0 11px; } }
/* la schermata di Minecraft senza finestra attorno */
.mcscreen { border-radius: 8px; border: 3px solid #000; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06), 0 30px 70px rgba(0, 0, 0, 0.55); }
.mcscreen__body { padding: 30px 30px 28px; }

/* ======================================================================
   32. v2.1 — correzioni dopo il ricontrollo
   ==================================================================== */
/* header del negozio: Accedi e Carrello si stringono prima, così non escono dallo schermo
   nella fascia 861-1180 px, dove il menu è ancora tutto in linea */
@media (max-width: 1180px) {
  .hdr-cart__label { display: none; }
  .hdr-account, .hdr-cart { padding: 0 11px; height: 40px; }
  .hdr-account span { max-width: 84px; }
  .shop-page .nav__links a { padding: 10px 9px; }
  .shop-page .nav__actions .btn--vote span { display: none; }
}
@media (max-width: 1000px) { .shop-page .nav__actions .btn--discord { display: none; } }

/* pulsanti grandi: su schermi molto stretti vanno a capo invece di uscire dal bordo */
@media (max-width: 420px) {
  .mcb--big { flex-wrap: wrap; row-gap: 6px; }
  .mcb__label { min-width: 0; overflow-wrap: anywhere; }
  .mcb__price { margin-left: 0; }
  .mcb__label + .mcb__go { margin-left: auto; }
}

/* finestre: quando il contenuto è più alto dello schermo si appoggia in alto e si scorre tutto */
.modal { place-items: unset; justify-items: center; align-items: start; }
.modal__box { margin: auto 0; }

/* la schermata di Minecraft torna ad avere il padding ridotto sul telefono */
@media (max-width: 480px) {
  .mcscreen__body { padding: 20px 14px 18px; }
  .mcscreen__ip .mcscreen__input { padding-right: 104px; }
}

/* pulsante di pagamento: su schermi da 320 px il testo non viene più tagliato */
@media (max-width: 380px) {
  .shop-page .drawer .btn--lg { font-size: 21px; padding-left: 12px; padding-right: 12px; }
  .shop-page .drawer .btn--lg svg { width: 16px; height: 16px; }
}

/* riga del carrello inclusa nel pagamento in corso */
.cart-item.is-now { border-color: rgba(34, 197, 94, 0.45); box-shadow: inset 3px 0 0 #22c55e; }
.cart-item.is-now .cart-item__price::after { content: ' · ora'; font-size: 0.75em; color: #4ade80; }

/* contenitore dei prodotti che hanno una pagina tutta loro (UNBAN, MVP) */
.mvp-wrap { display: grid; gap: 18px; }
/* nei bundle la suddivisione sta dentro alla pillola delle gemme */
.gem-pill--split { align-items: center; padding: 7px 13px; }
.gem-pill--split > span { display: grid; gap: 2px; line-height: 1.1; }
.gem-pill--split small { font-family: var(--font-body); font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; color: #86efac; }

/* ======================================================================
   31. v3.0 — NEGOZIO: impaginazione pulita, stessa mano del resto del sito.
   Nessun effetto "da gioco": schede scure, un accento di colore per prodotto,
   tipografia del sito (Raleway per i titoli, Inter per il testo).
   ==================================================================== */
.shop-page { --line: rgba(255, 255, 255, 0.08); --line-2: rgba(255, 255, 255, 0.16); }

/* --- superfici --- */
.shop-page .rank-card, .shop-page .gem-card, .shop-page .bundle-card, .shop-page .up-row, .shop-page .mvp,
.shop-page .widget, .shop-page .shop-banner, .shop-page .paymethods, .shop-page .shop-legal,
.shop-page .how__step, .shop-page .acc__item, .shop-page .cart-item, .shop-page .modal__box,
.shop-page .paymethods__grid li, .shop-page .bundle-contents, .shop-page #rank-modal .perks, .shop-page .shop-section__head {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}
.shop-page .cart-item, .shop-page .bundle-contents, .shop-page .paymethods__grid li { border-radius: var(--radius); }
.shop-page .rank-card, .shop-page .gem-card, .shop-page .bundle-card, .shop-page .mvp, .shop-page .modal__box {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}
.shop-page .rank-card::after, .shop-page .gem-card::after, .shop-page .bundle-card::after,
.shop-page .up-row::after, .shop-page .mvp::after, .shop-page .widget::after { content: none; }
.shop-page .rank-card::before { top: 0; left: 0; right: 0; height: 3px; background: var(--rc); }
.shop-page .up-row::before { width: 3px; background: var(--cb); }
.shop-page .rank-card:hover, .shop-page .gem-card:hover, .shop-page .bundle-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--rc, #b44cff) 50%, transparent);
  box-shadow: 0 26px 56px color-mix(in srgb, var(--rc, #b44cff) 18%, rgba(0, 0, 0, 0.45));
}
.shop-page .up-row:hover { transform: translateY(-2px); border-color: var(--line-2); }

/* --- tipografia --- */
.shop-page .rank-badge__name, .shop-page .bundle-card__name, .shop-page .mvp__name, .shop-page .gem-amount__base,
.shop-page .price, .shop-page .cart-total b, .shop-page .goal__big, .shop-page .topdon b,
.shop-page .shop-section__head h2, .shop-page .modal__box h2, .shop-page .drawer__head h2, .shop-page .shop-mode__head h2,
.shop-page .cart-item__text b, .shop-page .cart-item__price, .shop-page .rank-pill, .shop-page .gem-pill,
.shop-page .price-old, .shop-page .price-per, .shop-page .paymethods h3, .shop-page .widget__head h3,
.shop-page .mcb__label, .shop-page .pick b, .shop-page .backbtn, .shop-page .shopnav__tabs a, .shop-page .crumbs {
  font-family: var(--font-head); text-shadow: none;
}
.shop-page .rank-badge__name { font-size: 22px; font-weight: 900; letter-spacing: 0.08em; }
.shop-page .bundle-card__name, .shop-page .mvp__name { font-weight: 900; letter-spacing: 0.04em; }
.shop-page .mvp__name { background: var(--brand-grad-h); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-page .price { font-size: 30px; font-weight: 900; color: var(--text); }
.shop-page .price small { font-size: 0.55em; font-weight: 800; color: var(--text-2); }
.shop-page .gem-amount__base { font-size: 27px; font-weight: 900; }
.shop-page .gem-amount__base em { font-size: 0.5em; font-weight: 800; letter-spacing: 0.14em; color: var(--text-3); }
.shop-page .rank-pill, .shop-page .gem-pill { font-size: 13.5px; font-weight: 800; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--rc, #a855f7) 38%, transparent); }
.shop-page .gem-pill--split small { font-family: var(--font-body); font-size: 11.5px; font-weight: 800; }
.shop-page .cart-total b { font-size: 26px; font-weight: 900; }
.shop-page .cart-item__price { font-size: 14.5px; font-weight: 800; }
.shop-page .price-old { font-size: 15px; font-weight: 800; }
.shop-page .crumbs { font-size: 13px; letter-spacing: 0.02em; }

/* --- icone: quadrato morbido con il colore del prodotto --- */
.shop-page .rank-badge__icon, .shop-page .gem-icon, .shop-page .bundle-card__icon, .shop-page .modal__icon,
.shop-page .cart-item__icon, .shop-page .card__icon, .shop-page .mcb__slot, .shop-page .pick__icon {
  border-radius: 16px;
  color: var(--rc, var(--brand-2));
  background: color-mix(in srgb, var(--rc, #b44cff) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--rc, #b44cff) 34%, transparent);
  box-shadow: none;
}
.shop-page .rank-badge__icon::after { content: none; }
.shop-page .rank-badge__icon { width: 64px; height: 64px; }
.shop-page .rank-badge__icon svg { width: 30px; height: 30px; filter: none; }
.shop-page .topdon img, .shop-page .cart-player img, .shop-page .modal__avatar,
.shop-page .login-hero__head, .shop-page .hdr-account img { border-radius: 12px; border: 1px solid var(--line-2); }

/* --- pulsanti: quelli del sito, senza rifiniture da gioco --- */
.shop-page .giftbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 40px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px;
  color: #f0a8cd; background: rgba(244, 114, 182, 0.1); border: 1px solid rgba(244, 114, 182, 0.28);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.shop-page .giftbtn:hover, .shop-page .giftbtn:focus-visible { background: #d4438f; border-color: #d4438f; color: #fff; transform: translateY(-1px); outline: none; }
.shop-page .giftbtn.is-on { background: rgba(212, 67, 143, 0.9); border-color: transparent; color: #fff; }
.shop-page .btn--rank { background: color-mix(in srgb, var(--rc) 16%, transparent); border-color: color-mix(in srgb, var(--rc) 45%, transparent); color: #fff; }
.shop-page .btn--rank:hover { background: var(--rc); color: #0a0d17; box-shadow: 0 10px 26px color-mix(in srgb, var(--rc) 35%, transparent); }
.shop-page .backbtn { height: 40px; padding: 0 16px 0 12px; border-radius: var(--radius); font-size: 13.5px; font-weight: 700; color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); }
.shop-page .backbtn:hover { color: var(--text); background: var(--brand-soft); border-color: var(--brand); }

/* --- barra delle categorie --- */
.shop-page .shopnav { padding: 6px; border-radius: 999px; background: rgba(14, 18, 32, 0.86); border: 1px solid var(--border); }
.shop-page .shopnav__tabs a { padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 800; letter-spacing: 0.02em; text-transform: none; color: var(--text-2); background: transparent; border: 0; }
.shop-page .shopnav__tabs a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.shop-page .shopnav__tabs a.is-active { color: #fff; background: color-mix(in srgb, var(--tc, #b44cff) 82%, #000); box-shadow: 0 6px 18px color-mix(in srgb, var(--tc, #b44cff) 30%, transparent); }
.shop-page .shopnav__tabs a.is-active svg { color: #fff; }

/* --- testata della categoria --- */
.shop-page .shop-section__head { padding: 22px 26px; border-left: 3px solid var(--rc); }
.shop-page .shop-section__head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; letter-spacing: 0.02em; text-transform: none; color: var(--text); }
.shop-page .shop-section__head h2 .mcb__slot { width: 46px; height: 46px; border-radius: 13px; }
.shop-page .shop-section__head h2 .mcb__slot svg { width: 22px; height: 22px; }
.shop-page .shop-section__head p { font-size: 14.5px; color: var(--text-2); }

/* --- scelta della modalità e prodotti del network --- */
.mcb--big {
  position: relative; display: flex; align-items: center; gap: 18px; width: 100%; min-height: 84px;
  padding: 18px 20px; border-radius: var(--radius-lg); cursor: pointer;
  background: linear-gradient(120deg, color-mix(in srgb, var(--rc) 12%, var(--surface)), var(--surface) 62%);
  border: 1px solid color-mix(in srgb, var(--rc) 28%, var(--border));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s var(--ease), box-shadow 0.22s, border-color 0.22s;
}
.mcb--big::before { content: none; }
.mcb--primary { min-height: 108px; padding: 22px; }
.mcb--big:hover, .mcb--big:focus-visible {
  transform: translateY(-4px); border-color: color-mix(in srgb, var(--rc) 62%, transparent);
  box-shadow: 0 24px 50px color-mix(in srgb, var(--rc) 22%, rgba(0, 0, 0, 0.4)); outline: none;
}
.mcb--big .mcb__slot { width: 56px; height: 56px; flex: none; display: grid; place-items: center; }
.mcb--big .mcb__slot svg { width: 28px; height: 28px; }
.mcb--primary .mcb__slot { width: 68px; height: 68px; border-radius: 20px; }
.mcb--primary .mcb__slot svg { width: 34px; height: 34px; }
.mcb__label { font-size: 22px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.mcb--primary .mcb__label { font-size: 30px; }
.mcb__go { width: 34px; height: 34px; margin-left: auto; padding: 8px; border-radius: 50%; flex: none; color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 36%, transparent); transition: transform 0.22s var(--ease), background 0.22s; }
.mcb--big:hover .mcb__go { transform: translateX(3px); background: color-mix(in srgb, var(--rc) 26%, transparent); }
.mcb__price { margin-left: auto; font-family: var(--font-head); font-weight: 900; font-size: 18px; color: var(--text); }
.net-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .net-grid { grid-template-columns: 1fr; } .mcb__label { font-size: 20px; } .mcb--primary .mcb__label { font-size: 26px; } }

/* --- finestra con le categorie --- */
.shop-page .pick { --b: none; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius-lg); text-align: left; color: var(--text); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); box-shadow: none; transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s; }
.shop-page .pick:hover, .shop-page .pick:focus-visible { transform: translateY(-3px); background: color-mix(in srgb, var(--rc) 10%, rgba(255, 255, 255, 0.03)); border-color: color-mix(in srgb, var(--rc) 50%, transparent); color: var(--text); outline: none; }
.shop-page .pick__icon { width: 46px; height: 46px; border-radius: 14px; }
.shop-page .pick__icon svg { width: 22px; height: 22px; }
.shop-page .pick b { font-size: 16px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }

/* --- riquadri laterali --- */
.shop-page .widget { padding: 20px; }
.shop-page .widget__head h3 { font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.shop-page .goal__big b { font-size: 40px; font-weight: 900; color: var(--text); }
.shop-page .goal__big span { font-size: 19px; font-weight: 800; color: var(--text-3); }
.shop-page .goal__bar { height: 8px; margin: 12px 0 8px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.05); }
.shop-page .goal__bar i { border-radius: 999px; background: linear-gradient(90deg, #16a34a, #4ade80); box-shadow: none; }
.shop-page .goal__bar i::after { content: none; }
.shop-page .topdon img { width: 48px; height: 48px; }
.shop-page .topdon b { font-size: 15.5px; font-weight: 800; }
.shop-page .topdon span { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--text-2); }

/* --- avvisi e pagamenti --- */
.shop-page .shop-banner { border-left-width: 3px; }
.shop-page .shop-banner--ok { border-left-color: #4ade80; }
.shop-page .shop-banner--warn { border-left-color: var(--amber); }
.shop-page .shop-banner strong { font-family: var(--font-head); font-size: 15px; }
.shop-page .paymethods h3 { font-size: 16px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.shop-page .paymethods__grid b { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--text-2); }
.paymethods__logos img { width: 56px; height: 36px; padding: 4px 6px; border-radius: 6px; background: #fff; object-fit: contain; opacity: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }

/* --- carrello e finestre --- */
.shop-page .drawer { border-radius: 0; }
.shop-page .modal .iconbtn, .shop-page .drawer .iconbtn { border-radius: 12px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, 0.04); color: var(--text-2); transition: color 0.2s, background 0.2s; }
.shop-page .modal .iconbtn:hover, .shop-page .drawer .iconbtn:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.shop-page .cart-fab { border-radius: 18px; border: 1px solid rgba(251, 191, 36, 0.45); background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #2a1600; box-shadow: 0 14px 30px rgba(245, 158, 11, 0.35); }
.shop-page .cart-fab__count { border-radius: 999px; border: 3px solid var(--bg); font-family: var(--font-head); font-size: 13px; font-weight: 900; }

/* --- pagina iniziale: scelta al centro, riquadri a destra --- */
.shop-front { grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; }
.shop-front__main { display: grid; align-content: start; justify-items: center; }
.shop-front__main > * { width: 100%; max-width: 660px; }
.shop-mode__head { text-align: center; margin-bottom: 22px; }
.shop-mode__head h2 { justify-content: center; }
@media (max-width: 1000px) {
  .shop-front { grid-template-columns: 1fr; }
  .shop-front__main > * { max-width: none; }
  .shop-front__side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .shop-front__side { grid-template-columns: 1fr; } }
/* separatore fra la modalità e i prodotti validi per tutto il network */
.shop-divider { display: flex; align-items: center; gap: 16px; margin: 32px 0 16px; font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); }
.shop-divider::before, .shop-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ======================================================================
   33. v3.1 — ultimi ritocchi: un solo accento per prodotto, "Regala" come
   azione secondaria, righe e prezzi allineati.
   ==================================================================== */

/* --- l'accento di colore in alto vale per tutte le schede, non solo i gradi --- */
.shop-page .gem-card::before, .shop-page .bundle-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--rc); z-index: 1;
}
/* i tagli in evidenza si riconoscono dal bordo, non da un bagliore */
.shop-page .gem-card--hot, .shop-page .gem-card--best { border-color: color-mix(in srgb, var(--rc) 45%, var(--border)); }
/* sotto al totale si scrive solo se c'è davvero un bonus */
.shop-page .gem-amount__bonus.is-plain { visibility: hidden; }

/* --- "Regala" è l'azione secondaria: neutra, prende il colore del prodotto al passaggio --- */
.shop-page .giftbtn { color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-2); box-shadow: none; }
.shop-page .giftbtn svg { color: var(--text-3); transition: color 0.2s, transform 0.3s var(--ease); }
.shop-page .giftbtn:hover, .shop-page .giftbtn:focus-visible {
  color: var(--text); background: color-mix(in srgb, var(--rc, #b44cff) 14%, transparent);
  border-color: color-mix(in srgb, var(--rc, #b44cff) 48%, transparent); transform: none; box-shadow: none;
}
.shop-page .giftbtn:hover svg, .shop-page .giftbtn:focus-visible svg { color: inherit; }
.shop-page .giftbtn:focus-visible { outline: 2px solid color-mix(in srgb, var(--rc, #b44cff) 70%, #fff); outline-offset: 2px; }
/* un regalo già nel carrello resta ben riconoscibile */
.shop-page .giftbtn.is-on { color: #f0a8cd; background: rgba(244, 114, 182, 0.12); border-color: rgba(244, 114, 182, 0.45); }
.shop-page .giftbtn.is-on svg { color: inherit; }

/* --- upgrade: una riga sola, i due pulsanti affiancati --- */
.shop-page .up-row .buy { flex-direction: row; min-width: 0; gap: 8px; }
.shop-page .up-row .buy .btn { width: auto; padding: 0 18px; }
.shop-page .up-row .giftbtn { width: auto; height: 48px; padding: 0 16px; }

/* --- bundle: prezzo e pulsanti alla stessa altezza in tutte e tre le schede --- */
.shop-page .bundle-card__foot { margin-top: auto; }
.shop-page .bundle-contents { min-height: 74px; }

/* --- il nome del prodotto prende il colore del prodotto (UNBAN verde, MVP rosa) --- */
.shop-page .mvp__name { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--rc); }

/* --- riquadri laterali: icone dello stesso tono, obiettivo a zero in grigio --- */
.shop-page .widget__head svg { color: var(--text-3); }
.shop-page .goal__big span { margin-left: 3px; }
.shop-page .goal--empty .goal__big b, .shop-page .goal--empty .goal__big span { color: var(--text-3); }

/* le regole responsive vanno ripetute in fondo: qui vince l'ultima che si legge */
@media (max-width: 1000px) {
  .shop-front { grid-template-columns: 1fr; }
  .shop-front__main > * { max-width: none; }
  .shop-front__side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .shop-front__side { grid-template-columns: 1fr; }
  .net-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shop-page .up-row { flex-wrap: wrap; }
  .shop-page .up-row .buy { width: 100%; }
  .shop-page .up-row .buy .btn { flex: 1; }
}

/* ======================================================================
   34. v3.1.1 — icona della testata di categoria (Pacchetti VIP, Unban…)
   ==================================================================== */
/* dentro a un titolo flex il riquadro si restringeva: quadrato vero e icona al centro */
.shop-page .shop-section__head h2 .mcb__slot {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  /* fondo pieno e scuro: sotto c'è l'alone colorato della testata e l'icona ci spariva dentro */
  background: color-mix(in srgb, var(--rc) 20%, #0b0f1a);
  border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent);
}
.shop-page .shop-section__head h2 .mcb__slot svg { width: 24px; height: 24px; color: var(--rc); }
/* l'alone della testata resta, ma più discreto: prima copriva icona e testo */
.shop-page .shop-section__head::after { background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 16%, transparent), transparent); }

/* ======================================================================
   35. v3.2 — Discord come sezione del sito, Negozio nella barra del copyright
   ==================================================================== */
.community__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 0 0 26px; }
.community__list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.community__list li svg { width: 18px; height: 18px; flex: none; color: #8b95f8; }
.community__go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.community__live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.community__live .dot { color: var(--green); }
.community__live strong { color: var(--text); }
@media (max-width: 900px) { .community__list { grid-template-columns: 1fr; } }
/* il wumpus non sta più dentro a un riquadro: è un'illustrazione della pagina */
#discord .wumpus { width: min(300px, 68%); filter: drop-shadow(0 26px 36px rgba(88, 101, 242, 0.3)); }

/* pulsante Negozio nel piè di pagina, sotto ai collegamenti del server */
.footer .footer__store { margin-top: 18px; height: 40px; padding: 0 18px; font-size: 14px; color: var(--gold); }
.footer .footer__store:hover { color: var(--gold); }
.footer__store svg { width: 16px; height: 16px; }

/* ======================================================================
   36. v3.3 — disegni 3D dei prodotti dentro ai riquadri delle icone
   ==================================================================== */
.icon3d { display: block; width: 78%; height: 78%; object-fit: contain; }
/* i riquadri erano fatti per un'icona vettoriale: con il disegno si riempiono di più */
.shop-page .rank-badge__icon .icon3d { width: 84%; height: 84%; }
.shop-page .gem-icon .icon3d { width: 86%; height: 86%; }
.shop-page .mcb--big .mcb__slot .icon3d, .shop-page .pick__icon .icon3d { width: 82%; height: 82%; }
.shop-page .shop-section__head h2 .mcb__slot .icon3d { width: 80%; height: 80%; }
.shop-page .bundle-card__icon .icon3d { width: 80%; height: 80%; }
/* il disegno ha già i suoi riflessi: niente alone aggiuntivo sotto */
.shop-page .rank-badge__icon:has(.icon3d), .shop-page .gem-icon:has(.icon3d) { box-shadow: none; }
.rank-card:hover .rank-badge__icon .icon3d, .gem-card:hover .gem-icon .icon3d { transform: none; }

/* ======================================================================
   37. v3.4 — upgrade: i due gradi con il loro disegno, non più pillole
   ==================================================================== */
.shop-page .up-row { padding: 14px 18px 14px 20px; }
.up-path { gap: 16px; }
.up-step { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.up-step__icon {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 15px; color: var(--rc);
  background: color-mix(in srgb, var(--rc) 16%, #0b0f1a); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent);
}
.up-step__icon svg { width: 24px; height: 24px; }
.up-step__icon .icon3d { width: 84%; height: 84%; }
.up-step b { font-family: var(--font-head); font-weight: 900; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rc); white-space: nowrap; }
.up-arrow { width: 20px; height: 20px; }
@media (max-width: 620px) {
  .up-path { gap: 10px; }
  .up-step { gap: 9px; }
  .up-step__icon { width: 44px; height: 44px; border-radius: 13px; }
  .up-step b { font-size: 14.5px; letter-spacing: 0.05em; }
}
/* telefono: i due gradi e la freccia stanno su una riga sola in tutte le righe */
@media (max-width: 420px) {
  .up-path { gap: 8px; }
  .up-step { gap: 8px; }
  .up-step__icon { width: 38px; height: 38px; border-radius: 11px; }
  .up-step b { font-size: 13.5px; letter-spacing: 0.04em; }
  .up-arrow { width: 16px; height: 16px; }
}
/* telefono: prima i due gradi su tutta la riga, poi il prezzo, poi i pulsanti */
@media (max-width: 620px) {
  .shop-page .up-row { flex-wrap: wrap; row-gap: 12px; }
  .shop-page .up-row .up-path { flex: 1 1 100%; }
  .shop-page .up-row .price { order: 2; }
  .shop-page .up-row .buy { order: 3; width: 100%; }
}


/* ======================================================================
   38. v3.5 — Area personale (login Discord) e pannelli staff
   ==================================================================== */
.page-hero--plain { padding-bottom: 28px; }
.nav__actions .btn--account { background: rgba(255, 255, 255, 0.04); border-color: var(--border); color: var(--text-2); font-weight: 600; padding: 0 13px; gap: 7px; }
.nav__actions .btn--account svg { color: var(--brand-2); }
.nav__actions .btn--account:hover { background: var(--brand-soft); border-color: rgba(200, 76, 255, 0.4); color: var(--text); transform: none; }

.acc-side { position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 14px; padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
@media (max-width: 900px) { .acc-side { position: static; } }
.acc-user { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; border-bottom: 1px solid var(--border); min-width: 0; }
.acc-user > div { min-width: 0; }
.acc-user img, .acc-user__ph { width: 48px; height: 48px; border-radius: 14px; flex: none; }
.acc-user__ph { display: grid; place-items: center; background: #5865f2; color: #fff; }
.acc-user__ph svg { width: 24px; height: 24px; }
.acc-user b { display: block; font-family: var(--font-head); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-role { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); white-space: nowrap; }
.acc-role--mod { color: #7dd3fc; border-color: rgba(125, 211, 252, 0.35); background: rgba(56, 189, 248, 0.1); }
.acc-role--admin { color: #fca5a5; border-color: rgba(248, 113, 113, 0.35); background: rgba(239, 68, 68, 0.1); }
.acc-role--manager { color: #fcd34d; border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.1); }
.acc-role--owner { color: #f0abfc; border-color: rgba(232, 121, 249, 0.4); background: rgba(217, 70, 239, 0.12); }
.acc-nav { display: grid; gap: 2px; }
@media (max-width: 900px) { .acc-nav { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .acc-nav__group { grid-column: 1 / -1; } }
.acc-nav__group { margin: 10px 8px 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.acc-nav__group:first-child { margin-top: 0; }
.acc-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: background 0.2s, color 0.2s; }
.acc-nav a svg { width: 17px; height: 17px; flex: none; color: var(--text-3); }
.acc-nav a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.acc-nav a.is-active { background: var(--brand-soft); color: var(--text); }
.acc-nav a.is-active svg { color: var(--brand-2); }
.acc-logout { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--text-3); border: 1px solid var(--border); transition: color 0.2s, border-color 0.2s; }
.acc-logout svg { width: 16px; height: 16px; }
.acc-logout:hover { color: #fca5a5; border-color: rgba(248, 113, 113, 0.4); }

.acc-main { min-width: 0; outline: none; }
.acc-head h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 18px; }
.acc-head h2 svg { width: 24px; height: 24px; color: var(--brand-2); }
.acc-body { display: grid; gap: 16px; }
.acc-card { padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.acc-card h3, .acc-h3, .acc-split h3 { font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.acc-card h3 { margin-bottom: 14px; }
.acc-h3 { margin-top: 8px; }
.acc-split { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acc-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px; font-size: 12px; color: var(--text); background: rgba(255, 255, 255, 0.08); }
.acc-lead { color: var(--text-2); font-size: 14.5px; max-width: 760px; }
.acc-note { font-size: 13px; color: var(--text-3); }
.acc-note a, .acc-empty a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.acc-muted { color: var(--text-3); font-size: 13px; }
.acc-kicker { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 4px; }
.acc-warn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; text-align: left; color: #fde68a; background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.32); }
.acc-warn svg { width: 18px; height: 18px; flex: none; color: var(--amber); }

.acc-loading { display: flex; align-items: center; gap: 12px; padding: 40px 0; color: var(--text-3); font-size: 14px; }
.acc-spin { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.12); border-top-color: var(--brand-2); animation: spin 0.8s linear infinite; }
.acc-empty { display: grid; justify-items: center; gap: 8px; padding: 36px 16px; text-align: center; border-radius: var(--radius-lg); border: 1px dashed var(--border-2); color: var(--text-3); }
.acc-empty svg { width: 30px; height: 30px; color: var(--text-3); opacity: 0.7; }
.acc-empty b { color: var(--text); font-family: var(--font-head); font-size: 16px; }
.acc-empty p { max-width: 460px; font-size: 13.5px; }

.acc-link { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.acc-link > div { flex: 1; min-width: 220px; }
.acc-link img { width: 64px; height: 64px; border-radius: 14px; image-rendering: pixelated; border: 1px solid var(--border-2); }
.acc-link b { display: block; font-family: var(--font-head); font-size: 20px; }
.acc-link p { margin-top: 4px; font-size: 13.5px; color: var(--text-2); }
.acc-link--ok { border-color: rgba(34, 197, 94, 0.35); background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), var(--surface) 55%); }
.acc-link--wait { border-color: rgba(200, 76, 255, 0.35); }
.acc-link > .acc-link__ph, .acc-link > .acc-link__btns, .acc-link > .acc-code { flex: none; min-width: 0; }
.acc-link__ph { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; color: var(--brand-2); background: var(--brand-soft); }
.acc-link__ph svg { width: 26px; height: 26px; }
.acc-link__btns { display: flex; gap: 8px; }
.acc-code { display: grid; gap: 6px; justify-items: center; padding: 14px 18px; border-radius: 14px; background: #0b0f1a; border: 1px solid var(--border-2); }
.acc-code span { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.acc-code code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 20px; font-weight: 600; color: #fff; letter-spacing: 0.06em; }
.acc-inline { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.acc-inline .field { max-width: 280px; }

.acc-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acc-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .acc-grid2, .acc-grid3 { grid-template-columns: 1fr; } }
.acc-tile { display: grid; gap: 4px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s var(--ease); }
.acc-tile svg { width: 22px; height: 22px; color: var(--brand-2); margin-bottom: 6px; }
.acc-tile b { font-family: var(--font-head); font-size: 16px; }
.acc-tile span { font-size: 13px; color: var(--text-3); }
.acc-tile:hover { border-color: rgba(200, 76, 255, 0.45); transform: translateY(-2px); }

.acc-list { display: grid; gap: 8px; }
.acc-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap; }
.acc-row__main { flex: 1; min-width: 180px; }
.acc-row__main b { display: block; font-size: 14.5px; font-weight: 700; color: var(--text); }
.acc-row__main span { font-size: 12.5px; color: var(--text-3); }
.acc-row__ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--text-2); background: rgba(255, 255, 255, 0.05); }
.acc-row__ico svg { width: 18px; height: 18px; }
.acc-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.acc-dot--on { background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16); }
.acc-dot--off { background: var(--text-3); }
.acc-amount { font-family: var(--font-head); font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.acc-state { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: var(--text-3); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); white-space: nowrap; }
.acc-state--on { color: #fca5a5; background: rgba(239, 68, 68, 0.1); border-color: rgba(248, 113, 113, 0.35); }
.acc-state--ok { color: #86efac; background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.35); }
.acc-tag { min-width: 96px; text-align: center; padding: 4px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); background: rgba(255, 255, 255, 0.06); }
.acc-tag--ban { color: #fca5a5; background: rgba(239, 68, 68, 0.12); }
.acc-tag--mute { color: #fcd34d; background: rgba(251, 191, 36, 0.12); }
.acc-tag--avvertimento { color: #fdba74; background: rgba(249, 115, 22, 0.12); }
.acc-tag--kick { color: #93c5fd; background: rgba(59, 130, 246, 0.12); }
.acc-danger:hover { color: #fca5a5 !important; border-color: rgba(248, 113, 113, 0.45) !important; }
.acc-pill { display: inline-block; padding: 1px 7px; margin-left: 4px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-2); background: var(--brand-soft); vertical-align: middle; }

.acc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.acc-kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .acc-kpis--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acc-kpi { display: grid; gap: 4px; padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); min-width: 0; }
.acc-kpi span { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.acc-kpi b { font-family: var(--font-head); font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.acc-kpi small { font-size: 12px; color: var(--text-3); }
.acc-kpi--ok b { color: #86efac; }
.acc-kpi--bad b { color: #fca5a5; }
.acc-kpis--owner .acc-kpi { border-color: rgba(232, 121, 249, 0.3); background: linear-gradient(160deg, rgba(217, 70, 239, 0.07), var(--surface) 60%); }

.acc-chart h3 { margin: 0; }
.acc-bars { display: flex; align-items: flex-end; gap: 4px; height: 180px; margin-top: 16px; padding-bottom: 2px; border-bottom: 1px solid var(--border); }
.acc-bars span { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.acc-bars i { display: block; width: 100%; height: max(2px, var(--h)); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--brand-2), #7c3aed); opacity: 0.85; transition: opacity 0.2s; }
.acc-bars span:hover i { opacity: 1; box-shadow: 0 0 16px rgba(200, 76, 255, 0.45); }
.acc-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--text-3); }

.acc-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.acc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc-table th { text-align: left; padding: 10px 14px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--border); }
.acc-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.acc-table tr:last-child td { border-bottom: 0; }
.acc-table td:not(:first-child), .acc-table th:not(:first-child) { white-space: nowrap; }
.acc-prod td small { display: block; font-size: 11.5px; color: var(--text-3); font-family: 'JetBrains Mono', ui-monospace, monospace; }
.acc-prod tr.is-off td:first-child b { color: var(--text-3); text-decoration: line-through; }
.acc-actions { display: flex; gap: 6px; }
.field--sm { height: 36px; width: 110px; font-size: 14px; }

.acc-search { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-search .field { max-width: 320px; }
.acc-who { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; }
.acc-who img { border-radius: 10px; image-rendering: pixelated; }
.acc-who b { font-family: var(--font-head); font-size: 18px; }
.acc-form { display: grid; gap: 12px; }
.acc-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.acc-form textarea.field { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; font-family: inherit; }
.acc-form select.field { appearance: auto; }
.acc-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.acc-form__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-form label.acc-check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.acc-new summary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--text); background: var(--brand-soft); border: 1px solid rgba(200, 76, 255, 0.35); cursor: pointer; list-style: none; }
.acc-new summary::-webkit-details-marker { display: none; }
.acc-new summary svg { width: 16px; height: 16px; }
.acc-new[open] summary { margin-bottom: 12px; }
.acc-switch { position: relative; display: inline-block; width: 42px; height: 24px; }
.acc-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.acc-switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.12); transition: background 0.2s; pointer-events: none; }
.acc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.acc-switch input:checked + span { background: var(--green); }
.acc-switch input:checked + span::after { transform: translateX(18px); }
.acc-switch input:focus-visible + span { outline: 2px solid var(--brand-2); outline-offset: 2px; }

.acc-login { display: grid; place-items: center; padding: 20px 0 40px; }
.acc-login__card { width: min(520px, 100%); display: grid; justify-items: center; gap: 14px; padding: 40px 32px; text-align: center; border-radius: 26px; background: linear-gradient(180deg, rgba(88, 101, 242, 0.14), var(--surface) 45%); border: 1px solid rgba(88, 101, 242, 0.4); }
.acc-login__icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: #5865f2; color: #fff; box-shadow: 0 16px 40px rgba(88, 101, 242, 0.4); }
.acc-login__icon svg { width: 36px; height: 36px; }
.acc-login__card h2 { font-size: 26px; }
.acc-login__card p { color: var(--text-2); max-width: 400px; }
.acc-login__list { display: grid; gap: 8px; margin: 6px 0; text-align: left; }
.acc-login__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.acc-login__list svg { width: 18px; height: 18px; color: #8b95f8; }
.acc-login__card small { font-size: 12px; color: var(--text-3); }
.acc-login__card code { font-family: 'JetBrains Mono', ui-monospace, monospace; }
@media (max-width: 480px) { .acc-login__card { padding: 32px 20px; } }

/* riquadri laterali del negozio: disegno 3D al posto dell icona */
.shop-page .widget__art { width: 34px; height: 34px; flex: none; display: grid; place-items: center; margin: -6px 0; }
.shop-page .widget__art .icon3d { width: 100%; height: 100%; }

/* --- area personale: rifiniture v3.6 --- */
.acc-head h2:focus { outline: none; }
.acc-head h2:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 6px; border-radius: 8px; }
.acc-kicker { display: inline-flex; align-items: center; gap: 6px; }
.acc-kicker svg { width: 14px; height: 14px; }
.acc-link--ok .acc-kicker { color: #86efac; }
.acc-copy { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--text-2); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-2); transition: color 0.2s, background 0.2s; }
.acc-copy svg { width: 13px; height: 13px; }
.acc-copy:hover { color: var(--text); background: var(--brand-soft); }
.acc-timer { margin-top: 8px !important; font-size: 12.5px !important; font-weight: 700; color: var(--brand-2) !important; font-variant-numeric: tabular-nums; }
.acc-privacy { align-items: flex-start; }
.acc-privacy .acc-note { max-width: 620px; }
.acc-privacy .linkbtn { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.acc-privacy .linkbtn:hover { color: #fca5a5; }
.acc-updated { margin-top: -6px; }
.acc-up { color: #86efac; font-weight: 800; }
.acc-down { color: #fca5a5; font-weight: 800; }
.acc-who > div { display: grid; gap: 2px; }
.acc-who span { font-size: 12.5px; color: var(--text-3); }
.acc-who code, .acc-row__main code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: var(--text-2); }
.acc-row > img { width: 36px; height: 36px; border-radius: 9px; image-rendering: pixelated; flex: none; }
.acc-search--sm .field { height: 40px; max-width: 260px; font-size: 14px; }
.acc-table-wrap--flat { border: 0; background: transparent; border-radius: 0; margin: 0 -6px; }
.acc-table-wrap--flat .acc-table td, .acc-table-wrap--flat .acc-table th { padding-left: 6px; padding-right: 6px; }
/* valore della barra al passaggio del mouse (o del dito) */
.acc-bars span { position: relative; }
.acc-bars span::after { content: attr(data-v); position: absolute; left: 50%; bottom: calc(var(--h) + 8px); transform: translateX(-50%); padding: 3px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; white-space: nowrap; color: #fff; background: #0b0f1a; border: 1px solid var(--border-2); opacity: 0; pointer-events: none; transition: opacity 0.15s; z-index: 2; }
.acc-bars span:hover::after { opacity: 1; }
.acc-bars span:first-child::after { left: 0; transform: none; }
.acc-bars span:last-child::after { left: auto; right: 0; transform: none; }
.acc-form label small { font-weight: 600; }
.acc-edit { list-style: none; }
@media (max-width: 560px) {
  .acc-row { gap: 10px; }
  .acc-row .btn--sm { flex: 1; }
  .acc-kpis--4 { grid-template-columns: 1fr 1fr; }
  .acc-kpi b { font-size: 20px; }
  .acc-link { gap: 14px; }
  .acc-code code { font-size: 18px; }
}

/* ======================================================================
   39. v3.6 — barra di navigazione: niente sovrapposizioni a nessuna larghezza
   (misurata da 390 a 1920 px). Il negozio ha la sua barra e non è toccato.
   ==================================================================== */
/* voci centrate sulla pagina solo quando i pulsanti a destra non le toccano */
@media (min-width: 1081px) and (max-width: 1439px) {
  body:not(.shop-page) .nav__links { position: static; transform: none; margin-left: auto; }
}
/* senza icone accanto alle voci fino a 1300 px: il testo basta e lo spazio serve */
@media (min-width: 1081px) and (max-width: 1299px) {
  body:not(.shop-page) .nav__links a:not(.btn--store) svg { display: none; }
  body:not(.shop-page) .nav__links a { padding-left: 11px; padding-right: 11px; }
}
/* fra 861 e 1080 px le voci non ci stanno tutte: si usa il menu a tendina come sul telefono */
@media (min-width: 861px) and (max-width: 1080px) {
  body:not(.shop-page) .nav__burger { display: inline-flex; }
  body:not(.shop-page) .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px; margin: 0; background: rgba(10, 13, 23, 0.97); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  }
  body:not(.shop-page) .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  body:not(.shop-page) .nav__links a { padding: 14px; font-size: 16px; }
  body:not(.shop-page) .nav__links a svg { display: block; }
  body:not(.shop-page) .nav__links a::after { display: none; }
  body:not(.shop-page) .nav__links a.btn--store { display: none; }
  body:not(.shop-page) .nav__links .nav__mobile-only { display: flex; }
  body:not(.shop-page) .nav__actions .btn--vote, body:not(.shop-page) .nav__actions .btn--discord { display: none; }
}
/* telefono: i pulsanti impilati della home hanno tutti la stessa larghezza */
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
  .showcase__actions, .community__go { flex-direction: column; align-items: stretch; max-width: 340px; }
  .hero__cta .btn, .showcase__actions .btn, .community__go .btn { width: 100%; justify-content: center; }
}
.acc-list--corta > li:nth-child(n+21) { display: none; }
.acc-more { justify-self: start; }

/* ======================================================================
   40. v3.7 — verifica con /discord verifica, primo owner, staff e ruoli
   ==================================================================== */
.acc-user > div { display: grid; justify-items: start; gap: 4px; }
.acc-ver { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--amber); }
.acc-ver:hover { text-decoration: underline; text-underline-offset: 3px; }
.acc-ver--ok { color: #86efac; }
.acc-ver svg { width: 12px; height: 12px; }

.acc-owner-claim { display: grid; gap: 6px; border-color: rgba(232, 121, 249, 0.45); background: linear-gradient(135deg, rgba(217, 70, 239, 0.12), var(--surface) 60%); }
.acc-owner-claim > b { font-family: var(--font-head); font-size: 20px; }
.acc-owner-claim p { font-size: 13.5px; color: var(--text-2); max-width: 680px; }
.acc-owner-claim .acc-kicker { color: #f0abfc; }
.acc-owner-claim .field { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.12em; text-transform: uppercase; }

.acc-verify { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: center; border-color: rgba(200, 76, 255, 0.4); background: linear-gradient(135deg, rgba(200, 76, 255, 0.1), var(--surface) 55%); }
@media (max-width: 760px) { .acc-verify { grid-template-columns: 1fr; } }
.acc-verify__steps > b { display: block; font-family: var(--font-head); font-size: 20px; margin-bottom: 12px; }
.acc-verify__steps ol { display: grid; gap: 8px; margin-bottom: 14px; }
.acc-verify__steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.acc-verify__steps li strong { color: var(--text); }
.acc-verify__steps li span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; font-family: var(--font-head); font-size: 12px; font-weight: 900; color: #fff; background: var(--brand-grad); }
.acc-verify__steps .acc-muted strong { color: var(--text-2); }
.acc-code--big { padding: 22px 18px; gap: 10px; }
.acc-code--big code { font-size: clamp(17px, 2.2vw, 22px); word-break: break-all; text-align: center; }
.acc-code--big .acc-timer { font-size: 12px; font-weight: 700; color: var(--brand-2); font-variant-numeric: tabular-nums; }

.acc-tile.is-locked { opacity: 0.6; }
.acc-tile.is-locked svg { color: var(--text-3); }
.acc-tile.is-locked:hover { opacity: 0.85; }

.acc-person img, .acc-person__ph { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.acc-person__ph { display: grid; place-items: center; background: #5865f2; color: #fff; }
.acc-person__ph svg { width: 18px; height: 18px; }
.acc-role-select { width: auto; min-width: 140px; height: 38px; padding: 0 10px; font-weight: 700; cursor: pointer; appearance: auto; }
#acc-found:empty { display: none; }
#acc-found { margin-top: 12px; }
.acc-empty code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; color: var(--text); }
.acc-code--big code { word-break: normal; overflow-wrap: normal; font-size: clamp(16px, 1.6vw, 20px); }
.acc-code--big code b { display: inline-block; white-space: nowrap; color: var(--brand-2); letter-spacing: 0.12em; }
.acc-verify__steps li p { margin: 0; }
.acc-role-select { flex: 0 0 auto; width: 170px; }
@media (max-width: 560px) { .acc-person { flex-wrap: wrap; } .acc-role-select { width: 100%; } }
.acc-verify__steps ol { padding: 0; margin-left: 0; list-style: none; }
.acc-login__card .acc-login__step { font-size: 13px; line-height: 1.55; color: var(--text-3); }

/* ======================================================================
   41. v3.8 — accesso semplice, pulsante piccolo dell'area personale,
   home precisa su ogni schermo (misurata da 320 a 2560 px di larghezza
   e da 390 a 1440 px di altezza)
   ==================================================================== */

/* --- pulsante dell'area personale: un cerchio piccolo; dopo l'accesso mostra l'avatar di Discord --- */
.nav__actions .btn--account { position: relative; flex: none; width: 36px; height: 36px; padding: 0; gap: 0; border-radius: 50%; }
.nav__actions .btn--account svg { width: 17px; height: 17px; }
.nav__actions .btn--account.is-in { border-color: rgba(200, 76, 255, 0.6); box-shadow: 0 0 0 3px rgba(200, 76, 255, 0.12); }
.nav__actions .btn--account .nav__avatar { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); border-radius: 50%; object-fit: cover; }
.nav__links .nav__avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
.nav__links a:has(.nav__avatar) > svg { display: none; }

/* --- area personale: senza accesso c'è solo la scheda per entrare, al centro dello schermo --- */
body .section.acc-page { padding: calc(var(--nav-h) + 32px) 0 72px; min-height: 70vh; }
body.acc-anon .section.acc-page { display: flex; align-items: center; min-height: 100svh; padding: calc(var(--nav-h) + 24px) 0 48px; }
.acc-anon .acc-page > .container { width: 100%; }
.acc-login { padding: 0; }
.acc-login__card { width: min(400px, 100%); gap: 12px; padding: 36px 30px 30px; }
.acc-login__icon { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 6px; }
.acc-login__icon svg { width: 32px; height: 32px; }
.acc-login__card h1 { font-size: 26px; margin-bottom: 6px; }
.acc-login__card .btn--block { margin-top: 2px; }
.acc-login__card small { font-size: 12.5px; }
.acc-login__msg { font-size: 14px; }
.acc-login__card .acc-login__msg--err { color: #fca5a5; font-weight: 600; }
@media (max-width: 480px) { .acc-login__card { padding: 30px 20px 24px; } }

/* attivazione di Discord (solo finché il server non ha le chiavi dell'app) */
.acc-login__card.acc-setup { width: min(540px, 100%); justify-items: stretch; text-align: left; }
.acc-setup > .acc-login__icon, .acc-setup > .linkbtn { justify-self: center; }
.acc-setup > h1 { text-align: center; }
.acc-setup__steps { display: grid; gap: 12px; margin: 2px 0 6px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }
.acc-setup__steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.acc-setup__steps li > span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; font-family: var(--font-head); font-size: 12px; font-weight: 900; color: #fff; background: #5865f2; }
.acc-setup__steps li > div { flex: 1; min-width: 0; }
.acc-setup__steps li p { max-width: none; color: var(--text-2); }
.acc-setup__steps b { color: var(--text); }
.acc-setup__steps a { color: #aab1ff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.acc-setup__uri { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; padding: 8px 8px 8px 12px; border-radius: 10px; background: #0b0f1a; border: 1px solid var(--border-2); }
.acc-setup__uri code { flex: 1 1 220px; min-width: 0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; line-height: 1.5; color: #fff; overflow-wrap: anywhere; }
.acc-setup__uri .acc-copy { flex: none; margin: 0; }
.acc-setup__f { display: grid; gap: 6px; }
.acc-setup__f > span { font-size: 13px; font-weight: 700; color: var(--text-2); }
.acc-setup__f .field { width: 100%; }
.acc-setup__code { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.12em; text-transform: uppercase; }
.acc-setup .field-error { text-align: center; }

/* --- home, primo schermo: logo e titolo seguono anche l'ALTEZZA dello schermo, così logo, titolo,
   pulsanti e stato del server stanno sempre nello schermo (portatili 1366×768 e 1280×720 compresi) --- */
.hero__logo-img { width: min(320px, 64vw, 32svh); }
.hero__title--one { font-size: clamp(32px, min(5.6vw, 8svh), 68px); }
@media (max-height: 820px) {
  .hero { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 64px; }
  .hero__inner { gap: 18px; }
  .hero__title--one + .hero__cta { margin-top: 20px; }
}
@media (max-height: 680px) {
  .hero { padding-bottom: 56px; }
  .hero__inner { gap: 14px; }
  .hero__title--one + .hero__cta { margin-top: 14px; }
  .hero__cta .btn--lg { height: 52px; }
}
/* telefono in orizzontale: tutto più compatto, senza "Scorri" */
@media (max-height: 520px) and (min-width: 480px) {
  .hero { padding: calc(var(--nav-h) + 14px) 0 26px; }
  .hero__inner { gap: 10px; }
  .hero__logo-img { width: min(170px, 27svh); }
  .hero__title--one { font-size: clamp(24px, 7.4svh, 36px); }
  .hero__title--one + .hero__cta { margin-top: 8px; }
  .hero__cta .btn--lg { height: 46px; padding: 0 22px; font-size: 15px; }
  .hero__meta { margin-top: 2px; }
  .hero__scroll { display: none; }
}
/* telefono in verticale: pulsanti un po' più bassi, niente "Scorri" (col dito si scorre da sé) */
@media (max-width: 560px) {
  .hero { padding-bottom: 40px; }
  .hero__logo-img { width: min(250px, 60vw, 29svh); }
  .hero__inner { gap: 16px; }
  .hero__title--one + .hero__cta { margin-top: 12px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn--lg { height: 52px; }
  .hero__meta { margin-top: 0; }
  .hero__scroll { display: none; }
}
/* schermi grandi (monitor 2K/4K, 1920 a tutto schermo): il primo schermo cresce con lo schermo */
@media (min-width: 1800px) and (min-height: 960px) {
  .hero__logo-img { width: min(440px, 31svh); }
  .hero__title--one { font-size: clamp(68px, min(4.3vw, 7.2svh), 96px); }
  .hero__inner { max-width: 1160px; gap: 26px; }
  .hero__title--one + .hero__cta { margin-top: 34px; }
  .hero__cta { gap: 14px; }
  .hero .btn--lg { height: 62px; padding: 0 36px; font-size: 17px; border-radius: 14px; }
  .hero .btn--lg svg { width: 20px; height: 20px; }
  .hero__meta { gap: 12px; }
  .hero__meta .badge { padding: 6px 13px; font-size: 13px; }
}

/* finestre molto basse: "Scorri" toccherebbe lo stato del server */
@media (max-height: 620px) { .hero__scroll { display: none; } }

/* --- schermi molto larghi (monitor 1440p al 100%, 4K): barra in alto proporzionata, su tutte le pagine --- */
@media (min-width: 2200px) {
  :root { --nav-h: 84px; }
  .nav__inner { padding-left: 40px; padding-right: 40px; }
  .brand { font-size: 21px; gap: 12px; }
  .brand__logo { height: 52px; }
  .nav__links { gap: 6px; }
  .nav__links a { font-size: 16.5px; padding: 12px 17px; }
  .nav__links a svg { width: 19px; height: 19px; }
  .nav__links a.btn--store { height: 48px; padding: 0 24px; }
  .nav__actions { gap: 12px; }
  .nav__status { font-size: 14.5px; padding: 10px 14px; }
  .nav__actions .btn--sm { height: 46px; font-size: 15.5px; }
  .nav__actions .btn--sm svg { width: 20px; height: 20px; }
  .nav__actions .btn--account { width: 42px; height: 42px; }
  .nav__actions .btn--account svg { width: 19px; height: 19px; }
}

/* --- margini laterali: sul tablet 20 px sono pochi --- */
@media (min-width: 700px) and (max-width: 1239px) { .container { padding-left: 32px; padding-right: 32px; } }

/* --- home su schermi larghi: contenuto più largo e, oltre i 2200 px, testi un po' più grandi --- */
@media (min-width: 1600px) { .home { --container: 1320px; } }
@media (min-width: 2200px) {
  .home { --container: 1520px; }
  .home .section { padding: 120px 0; }
  .home .section__head { max-width: 900px; margin-bottom: 60px; }
  .home .section__head h2, .home .h2 { font-size: 54px; }
  .home .eyebrow { font-size: 13px; }
  .home .modeshow__body h3 { font-size: 36px; }
  .home .modeshow__body > p, .home .join p.muted { font-size: 18px !important; }
  .home .showcase__list li, .home .community__list li { font-size: 16px; }
  .home .step { padding: 22px; }
  .home .step h4 { font-size: 18px; }
  .home .step p { font-size: 15.5px; }
  .home .news__body h3 { font-size: 21px; }
  .home .news__body p { font-size: 15.5px; }
  .home .news__link { font-size: 15px; }
  .home main .btn:not(.btn--lg):not(.btn--sm) { height: 52px; font-size: 16px; }
}

/* --- telefono: le cose da toccare hanno almeno 40-44 px --- */
@media (max-width: 700px) {
  .news__link { min-height: 44px; margin: -6px 0 -12px; }
  .mcscreen__input { height: 46px; }
  .mcscreen__ip .mcscreen__input { padding-right: 124px; }
  .mcbtn--in { top: 4px; bottom: 4px; padding: 0 12px; }
}

/* --- telefono: meno vuoto fra una sezione e l'altra, piè di pagina più corto (due colonne) --- */
@media (max-width: 700px) {
  .section:not(.section--tight) { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
}
@media (max-width: 560px) {
  .footer { padding-top: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
}

/* ======================================================================
   42. v3.9 — notizie con grafica (home, archivio, pagina della notizia)
   e nuova area personale
   ==================================================================== */

/* --- griglia e scheda della notizia: in testa la grafica con il titolo, sotto il testo --- */
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 980px) { .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ngrid { grid-template-columns: 1fr; gap: 18px; } }
.ncard { --nc: #b44cff; position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 20px; overflow: hidden; color: inherit; isolation: isolate;
  background: var(--surface); border: 1px solid var(--border); transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.ncard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--nc) 45%, transparent); box-shadow: 0 26px 50px rgba(0, 0, 0, 0.42), 0 0 0 1px color-mix(in srgb, var(--nc) 18%, transparent); }
.ncard:focus-visible { outline: 2px solid var(--nc); outline-offset: 3px; border-radius: 20px; }
.ncard__head { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ncard__head > .ncov { position: absolute; inset: 0; }
.ncard__ombra { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8, 10, 18, 0) 28%, rgba(8, 10, 18, 0.5) 60%, rgba(8, 10, 18, 0.93) 100%); }
.ncard__sopra { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; padding: 18px 20px; }
.ncard__tag, .ncard__pin { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; line-height: 1.3; }
.ncard__tag { background: color-mix(in srgb, var(--nc) 78%, #000); box-shadow: 0 4px 16px color-mix(in srgb, var(--nc) 38%, transparent); }
.ncard__pin { background: rgba(10, 13, 23, 0.72); border: 1px solid rgba(251, 191, 36, 0.5); color: var(--gold); backdrop-filter: blur(6px); }
.ncard__pin svg { width: 12px; height: 12px; }
.ncard__sopra:has(.ncard__pin) { gap: 7px; }
.ncard__titolo { font-size: 21px; line-height: 1.18; letter-spacing: -0.005em; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); text-wrap: balance; }
.ncard__corpo { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 20px 20px; }
.ncard__meta { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.ncard__corpo p { flex: 1; color: var(--text-2); font-size: 14.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__leggi { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; font-size: 14px; font-weight: 700; color: color-mix(in srgb, var(--nc) 62%, #fff); }
.ncard__leggi svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.ncard:hover .ncard__leggi svg { transform: translateX(4px); }

/* grafica della notizia: foto, oppure sfondo nel colore della notizia con il disegno 3D */
.ncov { position: relative; width: 100%; height: 100%; overflow: hidden; background: #0b0f1a; }
.ncov--foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ncard:hover .ncov--foto img { transform: scale(1.05); }
.ncov--grafica { background:
    radial-gradient(90% 85% at 82% 22%, color-mix(in srgb, var(--nc) 62%, transparent) 0%, transparent 60%),
    radial-gradient(70% 60% at 0% 100%, color-mix(in srgb, var(--nc) 22%, transparent) 0%, transparent 70%),
    linear-gradient(140deg, color-mix(in srgb, var(--nc) 34%, #0b0f1a) 0%, #0c1020 72%); }
.ncov__trama { position: absolute; inset: 0; opacity: 0.9;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px; -webkit-mask-image: radial-gradient(75% 85% at 78% 28%, #000 0%, transparent 72%); mask-image: radial-gradient(75% 85% at 78% 28%, #000 0%, transparent 72%); }
.ncov__art { position: absolute; right: 7%; top: 7%; width: 44%; max-width: 240px; height: auto; transform: rotate(-7deg);
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 34px color-mix(in srgb, var(--nc) 45%, transparent)); transition: transform 0.6s var(--ease); }
.ncard:hover .ncov__art { transform: rotate(-2deg) scale(1.06) translateY(-4px); }
.ncov__ico { position: absolute; right: 9%; top: 11%; width: 34%; height: auto; aspect-ratio: 1; color: color-mix(in srgb, var(--nc) 60%, #fff); opacity: 0.85; filter: drop-shadow(0 0 30px color-mix(in srgb, var(--nc) 55%, transparent)); }
html.rm .ncard:hover .ncov__art, html.rm .ncard:hover .ncov--foto img { transform: none; }

/* home: sotto le tre notizie, il collegamento all'archivio */
.news-tutte { display: flex; justify-content: center; margin-top: 30px; }

/* archivio: la notizia più recente (o quella in evidenza) in grande */
.page-hero--news { padding-bottom: 36px; }
.news-archive { padding-top: 8px; }
.nfiltri { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.nfiltri[hidden] { display: none; }
.nfiltro { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-2); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.nfiltro:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nfiltro.is-on { color: #fff; background: var(--brand-soft); border-color: rgba(200, 76, 255, 0.5); }
.ngrid--apertura { grid-template-columns: 1fr; margin-bottom: 22px; }
.ncard--grande { flex-direction: row; }
.ncard--grande .ncard__head { flex: 1.45; aspect-ratio: 16 / 9; }
.ncard--grande .ncard__corpo { flex: 1; justify-content: center; gap: 14px; padding: 32px; }
.ncard--grande .ncard__titolo { font-size: clamp(24px, 2.6vw, 34px); }
.ncard--grande .ncard__corpo p { font-size: 16px; -webkit-line-clamp: 6; flex: 0 1 auto; }
.ncard--grande .ncov__art { width: 36%; }
@media (max-width: 860px) {
  .ncard--grande { flex-direction: column; }
  .ncard--grande .ncard__head { flex: none; }
  .ncard--grande .ncard__corpo { padding: 18px 20px 22px; }
}

/* --- pagina della notizia --- */
.art { --nc: #b44cff; }
.art-hero { position: relative; display: flex; align-items: flex-end; min-height: min(64vh, 580px); padding: calc(var(--nav-h) + 56px) 0 44px; overflow: hidden; isolation: isolate; }
.art-hero > .ncov { position: absolute; inset: 0; z-index: -2; }
.art-hero > .ncov--grafica .ncov__art { right: max(4%, calc((100% - var(--container)) / 2 + 10px)); top: calc(var(--nav-h) + 24px); width: min(34vw, 360px); max-width: none; }
.art-hero__ombra { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 13, 23, 0.4) 0%, rgba(10, 13, 23, 0.52) 42%, rgba(10, 13, 23, 0.9) 82%, var(--bg) 100%); }
.art-hero__dentro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.art-hero__dentro > * { max-width: 860px; }
.art-briciole { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.art-briciole a:hover { color: var(--text); }
.art-briciole svg { width: 14px; height: 14px; opacity: 0.6; }
.art-tag { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: color-mix(in srgb, var(--nc) 78%, #000); box-shadow: 0 6px 20px color-mix(in srgb, var(--nc) 40%, transparent); }
.art-hero h1 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.07; letter-spacing: -0.015em; text-wrap: balance; text-shadow: 0 4px 26px rgba(0, 0, 0, 0.5); }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.art-meta > * + *::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 14px 3px 0; border-radius: 50%; background: var(--nc); vertical-align: middle; }
.art-colonna { max-width: 780px; padding-top: 8px; padding-bottom: 72px; }
.art-lead { margin: 6px 0 30px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.65; color: var(--text); }
.art-corpo { font-size: 17px; line-height: 1.8; color: var(--text-2); overflow-wrap: break-word; }
.art-corpo > :first-child { margin-top: 0; }
.art-corpo h2 { margin: 38px 0 12px; font-size: clamp(22px, 2.2vw, 27px); color: var(--text); }
.art-corpo h3 { margin: 28px 0 10px; font-size: 20px; color: var(--text); }
.art-corpo p { margin: 0 0 18px; }
.art-corpo ul, .art-corpo ol { margin: 0 0 20px; padding-left: 24px; }
.art-corpo ul { list-style: disc; }
.art-corpo ol { list-style: decimal; }
.art-corpo li { margin: 6px 0; padding-left: 4px; }
.art-corpo li::marker { color: var(--nc); font-weight: 700; }
.art-corpo a { color: color-mix(in srgb, var(--nc) 60%, #fff); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.art-corpo a:hover { color: #fff; }
.art-corpo strong { color: var(--text); }
.art-corpo code { padding: 2px 7px; border-radius: 6px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.88em; color: #e9d5ff; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border); white-space: nowrap; }
.art-corpo blockquote { margin: 26px 0; padding: 14px 22px; border-left: 3px solid var(--nc); border-radius: 0 14px 14px 0; background: rgba(255, 255, 255, 0.03); color: var(--text); font-style: italic; }
.art-corpo blockquote p { margin: 0; }
.art-corpo figure { margin: 28px 0; }
.art-corpo figure img, .art-corpo p img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); }
.art-corpo figcaption { margin-top: 8px; font-size: 13px; color: var(--text-3); text-align: center; }
.art-corpo hr { height: 1px; margin: 34px 0; border: 0; background: var(--border-2); }
.art-callout { margin: 26px 0; padding: 16px 20px; border-radius: 14px; font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--nc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--nc) 42%, transparent); }
.art-cta { margin: 34px 0 6px; }
.art-cta .btn svg { width: 18px; height: 18px; }
.art-condividi { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); }
.art-condividi > span { margin-right: 4px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.art-share { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-2); transition: color 0.2s, background 0.2s, border-color 0.2s; }
.art-share svg { width: 16px; height: 16px; }
.art-share:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); border-color: color-mix(in srgb, var(--nc) 45%, transparent); }
.art-share[hidden] { display: none; }
.art-altre { padding-bottom: 88px; }
.art-altre h2 { margin-bottom: 20px; font-size: clamp(22px, 2.4vw, 28px); text-transform: uppercase; }
@media (max-width: 640px) {
  .art-hero { min-height: 440px; padding-bottom: 30px; }
  .art-hero > .ncov--grafica .ncov__art { width: 46vw; top: calc(var(--nav-h) + 16px); opacity: 0.9; }
  .art-corpo { font-size: 16.5px; }
  .art-colonna { padding-bottom: 56px; }
}

/* --- area personale: intestazione con il profilo, schede, riquadri --- */
.me { display: grid; gap: 18px; }
.me-head { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; padding: 22px 24px; border-radius: 22px;
  background: radial-gradient(90% 140% at 0% 0%, rgba(200, 76, 255, 0.16), transparent 60%), var(--surface); border: 1px solid var(--border); }
.me-head__id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.me-avatar { width: 72px; height: 72px; flex: none; border-radius: 22px; object-fit: cover; box-shadow: 0 0 0 3px rgba(200, 76, 255, 0.35), 0 12px 30px rgba(0, 0, 0, 0.4); }
.me-avatar--ph { display: grid; place-items: center; background: #5865f2; color: #fff; }
.me-avatar--ph svg { width: 34px; height: 34px; }
.me-head__txt { display: grid; gap: 4px; min-width: 0; }
.me-hello { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2); }
.me-name { font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.me-chips .acc-role { margin-top: 0; }
.me-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 4px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.me-chip svg { width: 13px; height: 13px; }
.me-chip .mchead { width: 18px; height: 18px; border-radius: 5px; image-rendering: pixelated; }
.me-chip--ok { color: #86efac; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.35); }
.me-chip--warn { padding-left: 10px; color: var(--amber); background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.4); }
.me-chip--warn:hover { background: rgba(245, 158, 11, 0.18); }
.me-head__azioni { display: flex; flex-wrap: wrap; gap: 10px; }
.me-head__azioni .btn { height: 44px; padding: 0 16px; font-size: 14px; }
.me-staffbtn { box-shadow: 0 10px 26px rgba(200, 76, 255, 0.35); }
.me-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.me-tabs::-webkit-scrollbar { display: none; }
.me-tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: 1 0 auto; justify-content: center; height: 44px; padding: 0 18px; border-radius: 11px;
  font-size: 14.5px; font-weight: 700; color: var(--text-2); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.me-tabs a svg { width: 18px; height: 18px; color: var(--text-3); }
.me-tabs a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.me-tabs a.is-active { color: #fff; background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(200, 76, 255, 0.35); }
.me-tabs a.is-active svg { color: var(--brand-2); }
.me-tabs__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 800; line-height: 20px; text-align: center; color: #fff; background: var(--brand-2); }
.me-tabs__n[hidden] { display: none; }
.me-body { display: grid; gap: 16px; min-width: 0; }
.me-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.me-tile { position: relative; display: grid; gap: 2px; padding: 18px 20px; min-height: 124px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s, transform 0.25s var(--ease); }
.me-tile:hover { border-color: rgba(200, 76, 255, 0.4); transform: translateY(-3px); }
.me-tile > svg { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; color: var(--brand-2); opacity: 0.85; }
.me-tile__n { font-family: var(--font-head); font-size: 34px; font-weight: 900; line-height: 1.1; }
.me-tile b { font-size: 14.5px; }
.me-tile small { font-size: 12.5px; color: var(--text-3); }
.me-tile--ok .me-tile__n { color: #86efac; }
.me-tile--bad .me-tile__n { color: #fca5a5; }
.me-tile.is-locked { opacity: 0.62; }
.me-tile.is-locked > svg { color: var(--text-3); }
.me-tile.is-loading { display: grid; place-items: center; }
.me-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.me-quick__i { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border); transition: background 0.2s, border-color 0.2s; }
.me-quick__i:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--border-2); }
.me-quick__i > svg { width: 22px; height: 22px; flex: none; color: var(--brand-2); }
.me-quick__i span { display: grid; min-width: 0; }
.me-quick__i b { font-size: 14px; }
.me-quick__i small { font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-link .mchead { width: 56px; height: 56px; border-radius: 12px; image-rendering: pixelated; flex: none; }
@media (max-width: 980px) { .me-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .me-head { padding: 18px; }
  .me-avatar { width: 58px; height: 58px; border-radius: 18px; }
  .me-head__azioni { width: 100%; }
  .me-head__azioni .btn { flex: 1; }
  .me-staffbtn { flex-basis: 100% !important; }
  .me-tiles { grid-template-columns: 1fr; }
  .me-tile { min-height: 0; }
  .me-tabs a { flex: 0 0 auto; padding: 0 14px; }
}
@media (max-width: 420px) { .me-quick { grid-template-columns: 1fr; } .me-head__azioni .me-esci span { display: none; } }

/* --- negozio: nastrino, prezzo pieno barrato e "Dettagli" su ogni prodotto --- */
.prod-tag { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 4px 11px; border-radius: 999px; font-family: var(--font-head); font-size: 10.5px; font-weight: 900;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; color: #fff; background: color-mix(in srgb, var(--rc, var(--brand)) 80%, #000);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--rc, var(--brand)) 40%, transparent); }
.up-row .prod-tag { top: 10px; right: 12px; }
.mvp .prod-tag { top: 18px; right: 18px; }
.price-was { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.price-was .price-old { font-size: 14px; }
.price-off { padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #86efac; background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.35); }
.rank-card .price-was, .gem-card .price-was { justify-content: center; margin-top: 6px; }
.mvp__side > .price-was { justify-content: center; }
.prod-more { margin-top: 2px; }
.gem-card .prod-more { align-self: center; }
.bundle-card__info { margin: -6px 0 12px; }
.bundle-card__info .prod-more { padding-left: 0; }
.price-box--up { display: grid; justify-items: end; gap: 2px; }
.price-box--up .prod-more { padding: 2px 0; font-size: 12.5px; }
@media (max-width: 620px) { .shop-page .up-row .price-box--up { order: 2; justify-items: start; } }
.rank-badge__name--prod { font-size: 26px; text-align: center; }
.rank-sheet__kicker { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-3); text-align: center; }
.rank-sheet__foot .price-box { display: grid; gap: 2px; }
.rank-sheet__foot .price-box .price-was { justify-content: flex-start; }
textarea { font: inherit; }
/* titolo della notizia allineato alla colonna del testo; con la grafica il colore resta più vivo */
.container.art-hero__dentro { max-width: 780px; }
.art-hero > .ncov--grafica + .art-hero__ombra, .art-hero > .ncov--base-grande + .art-hero__ombra { background: linear-gradient(180deg, rgba(10, 13, 23, 0.05) 0%, rgba(10, 13, 23, 0.25) 45%, rgba(10, 13, 23, 0.85) 85%, var(--bg) 100%); }
.ncard__tag, .ncard__pin { font-size: 11.5px; }
.art-briciole a { padding: 10px 2px; }

/* ======================================================================
   43. v4.0 — immagine base delle notizie, gallerie negli articoli
   ==================================================================== */
.ncov--base img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; transition: transform 0.8s var(--ease); }
.ncov--base::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(120deg, color-mix(in srgb, var(--nc) 55%, transparent) 0%, transparent 58%); }
.ncard:hover .ncov--base img { transform: scale(1.04); }
html.rm .ncard:hover .ncov--base img { transform: none; }
.art-galleria { display: grid; gap: 10px; margin: 26px 0; }
.art-galleria--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art-galleria--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.art-galleria figure { margin: 0; }
.art-galleria img { aspect-ratio: 4 / 3; object-fit: cover; }
.art-galleria figcaption { margin-top: 6px; font-size: 12.5px; }
@media (max-width: 560px) { .art-galleria--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.art-corpo img { cursor: zoom-in; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.art-corpo img:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-height: 100%; }
.lightbox figcaption { font-size: 14px; color: var(--text-2); text-align: center; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); cursor: pointer; }
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.16); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--prev svg { transform: rotate(180deg); }
.lightbox__nav--next { right: 16px; }

/* --- menu di accesso in alto a destra: nickname Minecraft (negozio) o Discord (area personale) --- */
.amenu { position: fixed; z-index: 150; width: 360px; max-width: calc(100vw - 20px); max-height: calc(100vh - var(--nav-h) - 20px); overflow-y: auto;
  border-radius: 18px; background: rgba(18, 23, 40, 0.98); border: 1px solid var(--border-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(200, 76, 255, 0.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top right; transition: opacity 0.18s ease, transform 0.22s var(--ease); }
.amenu.is-open { opacity: 1; transform: none; }
.amenu[hidden] { display: none; }
.amenu__testa { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 10px 18px; }
.amenu__testa b { font-family: var(--font-head); font-size: 16px; }
.amenu__x { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--text-3); }
.amenu__x:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.amenu__x svg { width: 16px; height: 16px; }
.amenu__blocco { display: grid; gap: 10px; margin: 0 10px 10px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }
.amenu__titolo { display: flex; align-items: center; gap: 10px; }
.amenu__titolo > div { display: grid; }
.amenu__titolo b { font-size: 14px; }
.amenu__titolo small { font-size: 12px; color: var(--text-3); }
.amenu__ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; }
.amenu__ico svg { width: 18px; height: 18px; }
.amenu__ico--mc { background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.3); }
.amenu__ico--mc img { width: 20px; height: 20px; image-rendering: pixelated; border-radius: 3px; }
.amenu__ico--dc { color: #fff; background: #5865f2; }
.amenu__form { display: flex; gap: 8px; }
.amenu__form .field { height: 42px; font-size: 14.5px; border-radius: 10px; }
.amenu__form .btn { height: 42px; flex: none; }
.amenu__errore:empty { display: none; }
.amenu__usa { justify-self: start; font-size: 13px; }
.amenu__io { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(10, 13, 23, 0.6); }
.amenu__io img, .amenu__ph { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: cover; }
.amenu__testa-mc { image-rendering: pixelated; }
.amenu__ph { display: grid; place-items: center; background: #5865f2; color: #fff; }
.amenu__ph svg { width: 20px; height: 20px; }
.amenu__io > div { display: grid; justify-items: start; gap: 3px; min-width: 0; }
.amenu__io b { font-size: 14.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.amenu__io small { font-size: 12px; color: var(--text-3); }
.amenu__io .acc-role { margin: 0; }
.amenu__riga { display: flex; gap: 8px; }
.amenu__riga .btn { flex: 1; height: 38px; }
.amenu__voci { display: grid; gap: 2px; }
.amenu__voci a, .amenu__voci button { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); text-align: left; }
.amenu__voci svg { width: 17px; height: 17px; color: var(--text-3); }
.amenu__voci a:hover, .amenu__voci button:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.amenu__voci a:hover svg { color: var(--brand-2); }
.amenu__voci button:hover { color: #fca5a5; }
.amenu__nota { font-size: 13px; color: var(--text-3); }
.amenu__attesa { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.amenu__attesa .acc-spin { width: 16px; height: 16px; }
.nav__actions .btn--account.is-mc { border-color: rgba(34, 197, 94, 0.55); }
.nav__avatar--mc { image-rendering: pixelated; }
/* nel negozio l'accesso sta accanto al carrello: il cerchio della barra non serve */
.shop-page .nav__actions .btn--account { display: none; }
@media (max-width: 599px) { .amenu { width: auto; transform-origin: top center; } }

/* --- passaggio morbido fra le pagine (Chrome, Edge, Safari 18+): la barra resta ferma, il resto sfuma --- */
@view-transition { navigation: auto; }
.nav { view-transition-name: barra; }
::view-transition-old(root) { animation: 0.18s ease both vtEsce; }
::view-transition-new(root) { animation: 0.26s var(--ease) both vtEntra; }
@keyframes vtEsce { to { opacity: 0; } }
@keyframes vtEntra { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
html.rm ::view-transition-old(root), html.rm ::view-transition-new(root) { animation: none; }
/* v4.1 — sfondo base delle notizie senza logo: al suo posto l'icona della notizia in una tessera di vetro
   del colore scelto (ogni notizia ha la sua faccia) */
.ncov__glifo { position: absolute; z-index: 1; right: 9%; top: 14%; width: 23%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--nc, #b44cff) 70%, rgba(255, 255, 255, 0.12)) 0%, color-mix(in srgb, var(--nc, #b44cff) 26%, rgba(10, 13, 23, 0.4)) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24); box-shadow: 0 18px 44px color-mix(in srgb, var(--nc, #b44cff) 42%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -12px 26px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transform: rotate(-7deg); transition: transform 0.6s var(--ease); }
.ncov__glifo svg { width: 48%; height: 48%; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.ncard:hover .ncov__glifo { transform: rotate(-2deg) scale(1.06) translateY(-3px); }
html.rm .ncard:hover .ncov__glifo { transform: rotate(-7deg); }
.ncard--grande .ncov__glifo { width: 20%; right: 10%; top: 16%; }
/* testa dell'articolo: lo stesso sfondo, con la tessera dell'icona a destra (in alto su telefono) */
.ncov--base-grande .ncov__sfondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-hero > .ncov--base-grande img { object-position: center 42%; }
.art-hero > .ncov--base-grande .ncov__glifo { right: max(6%, calc((100% - var(--container)) / 2 + 40px)); top: calc(var(--nav-h) + 60px); width: clamp(130px, 14vw, 200px); }
@media (max-width: 900px) { .art-hero > .ncov--base-grande .ncov__glifo { width: 104px; top: calc(var(--nav-h) + 22px); right: 6%; } }
@media (max-width: 640px) { .art-hero > .ncov--base-grande .ncov__glifo { width: 76px; top: calc(var(--nav-h) + 14px); right: 5%; } }

/* v4.2 — anteprime delle notizie più basse (la testa era troppo alta) */
/* v4.3 — l'immagine è solo una striscia decorativa in alto con l'etichetta; il titolo sta nel testo della scheda */
.ncard__head, .ncard--grande .ncard__head { flex: none; aspect-ratio: auto; height: 64px; }
.ncard__sopra { flex-direction: row; align-items: center; gap: 6px; padding: 0 16px 12px; }
.ncard__sopra:empty { display: none; }
.ncard__titolo { font-size: 19px; color: var(--text); text-shadow: none; }
.ncard--grande { flex-direction: column; }
.ncard--grande .ncard__corpo { padding: 20px 24px 24px; gap: 10px; }
.ncard--grande .ncard__titolo { font-size: clamp(22px, 2.2vw, 28px); }
.ncard--grande .ncard__corpo p { -webkit-line-clamp: 4; }

/* v4.5 — lingue: bandierina in alto a destra e menu delle lingue */
html.i18n-attesa body { opacity: 0; }
.nav__actions .btn--lingua { flex: none; width: 36px; height: 36px; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); transition: border-color 0.15s, background 0.15s; }
.nav__actions .btn--lingua:hover, .nav__actions .btn--lingua[aria-expanded="true"] { background: var(--brand-soft); border-color: rgba(200, 76, 255, 0.45); transform: none; }
.btn--lingua img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.lingue { position: fixed; z-index: 160; display: grid; gap: 2px; min-width: 190px; padding: 6px; border-radius: 14px; background: #141a2e; border: 1px solid var(--border-2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); animation: lingueApri 0.14s ease-out; }
@keyframes lingueApri { from { opacity: 0; transform: translateY(-4px); } }
.lingue button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; text-align: left; color: var(--text-2); transition: background 0.15s, color 0.15s; }
.lingue button:hover, .lingue button:focus-visible { color: #fff; background: rgba(255, 255, 255, 0.06); }
.lingue button.is-on { color: #fff; background: var(--brand-soft); }
.lingue img { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
html.rm .lingue { animation: none; }
/* la bandierina resta visibile anche su telefono */
@media (max-width: 1100px) { .nav__actions .btn.btn--lingua { display: inline-flex; align-items: center; justify-content: center; } }
@media (max-width: 380px) { .nav__actions .btn.btn--lingua { width: 34px; height: 34px; } .nav__status { padding-left: 8px; padding-right: 8px; } }
/* telefono stretto: la lingua si sceglie dal menu ☰ (nel negozio resta accanto al menu) */
.nav__links .nav__lingua { display: none; align-items: center; gap: 12px; width: 100%; font: inherit; font-weight: 600; color: var(--text-2); text-align: left; }
.nav__lingua img { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
@media (max-width: 480px) {
  body:not(.shop-page) .nav__actions .btn.btn--lingua { display: none; }
  body:not(.shop-page) .nav__links .nav__lingua { display: flex; }
}
@media (max-width: 480px) { body:not(.shop-page) .nav__links .nav__lingua { padding: 14px 14px; font-size: 16px; margin-top: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); } }
/* in tedesco e francese le voci del menu sono più lunghe: tra 1025 e 1599 px le icone delle voci lasciano spazio al testo */
@media (min-width: 1025px) and (max-width: 1599px) {
  html[lang="de-DE"] .nav__links a svg, html[lang="fr-FR"] .nav__links a svg { display: none; }
}
/* sconto accanto al prezzo barrato: stesso carattere dei prezzi, piccolo e sulla stessa riga */
.price-off { font-family: var(--font-head); letter-spacing: 0.02em; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-box .price-was { gap: 7px; }
