/* ============================================================
   towerrushgioco.com — design system
   Tema "neon night-city" (nello spirito di Tower Rush di Galaxsys)
   Navy notte #0a0f1f · Ciano #25c5ff · Oro moltiplicatore #ffcb3d
   ============================================================ */

:root {
  --cyan: #25c5ff;
  --cyan-d: #0aa3df;
  --cyan-bright: #6bd9ff;
  --cyan-soft: rgba(37, 197, 255, .13);
  --cyan-line: rgba(37, 197, 255, .42);

  --gold: #ffcb3d;
  --gold-d: #e8ab12;
  --gold-bright: #ffd76b;
  --gold-soft: rgba(255, 203, 61, .13);
  --gold-line: rgba(255, 203, 61, .42);

  --ok: #36d39a;
  --crash: #ff5a76;

  --bg: #0a0f1f;
  --bg-2: #0d1426;
  --surface: #131b30;
  --surface-2: #1a2440;
  --line: #243154;
  --line-soft: #1b2543;

  --white: #ffffff;
  --text: #eaf1ff;
  --muted: #a9b6d4;
  --muted-2: #6f7fa6;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 6px rgba(0, 0, 0, .34);
  --shadow-md: 0 10px 26px rgba(0, 0, 0, .5);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, .64);
  --shadow-cyan: 0 12px 30px rgba(37, 197, 255, .34);

  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0 0 .45em; line-height: 1.14; letter-spacing: -.02em; font-weight: 800; color: #fff; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.45rem); }
h3 { font-size: clamp(1.18rem, 2.2vw, 1.4rem); }
p { margin: 0 0 1rem; }
strong, b { color: #fff; font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 66px 0; }
.section--tight { padding: 44px 0; }
.section--alt { background: var(--bg-2); }
.section--surface { background: var(--surface); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cyan-bright); margin-bottom: 12px;
}
.lead { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 64ch; margin: 0 auto 42px; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 800; font-size: 1rem; line-height: 1; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cyan); color: #042235; box-shadow: var(--shadow-cyan); }
.btn-primary:hover { background: var(--cyan-bright); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #2a1e02; box-shadow: 0 12px 30px rgba(255, 203, 61, .3); }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-dark { background: var(--surface-2); color: #fff; border-color: var(--line); }
.btn-dark:hover { background: #20305a; transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: #fff; }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: .92rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 31, .9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 12px; height: 70px; }
.brand { display: inline-flex; align-items: center; }
.brand .logo-img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.nav-links a {
  padding: 8px 9px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--muted);
  white-space: nowrap; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--surface-2); color: #fff; }
.nav-links a.active { color: #fff; }
.nav-cta { margin-left: 6px; color: #042235 !important; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero { background: var(--bg); color: #fff; overflow: hidden; position: relative; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 82% -10%, rgba(37, 197, 255, .28), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px;
  align-items: center; padding: 64px 0 70px;
}
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--cyan-bright); }
.hero p { color: var(--muted); font-size: 1.18rem; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px 26px; margin-top: 20px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--cyan-bright); }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: 100%; max-width: 540px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}

/* ---------- badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .78rem;
  padding: 6px 12px; border-radius: 999px; background: var(--cyan-soft); color: var(--cyan-bright);
  border: 1px solid var(--cyan-line);
}
.badge-age { background: var(--surface-2); color: #fff; border-color: var(--line); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- stat cards (a colpo d'occhio) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat .num { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--cyan-bright); line-height: 1.05; }
.stat .lbl { color: var(--muted); margin-top: 8px; font-size: .95rem; }

/* ---------- cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 38px; }
.grid-2-wide { grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cyan-soft); color: var(--cyan-bright); margin-bottom: 16px;
}
.card-icon svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- screenshot frame ---------- */
.shot {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); background: var(--surface);
}
.shot img { width: 100%; height: auto; display: block; }
.shot-cap { color: var(--muted-2); font-size: .85rem; text-align: center; margin-top: 12px; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps.grid-cols { grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 24px 22px;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--cyan); color: #042235; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- offer / bonus box ---------- */
.offer {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center;
  background: linear-gradient(135deg, rgba(37, 197, 255, .15), rgba(37, 197, 255, .03));
  border: 1px solid var(--cyan-line); border-radius: var(--radius-xl); padding: 34px;
}
.offer h2 { margin-bottom: 8px; }
.offer .offer-amt { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; color: #fff; line-height: 1.05; }
.offer .offer-amt span { color: var(--cyan-bright); }
.offer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.offer li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.offer li svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--cyan-bright); margin-top: 3px; }
.code-pill {
  display: inline-flex; align-items: center; gap: 12px; background: var(--bg); border: 1px dashed var(--cyan-line);
  border-radius: 14px; padding: 12px 18px; font-weight: 800; letter-spacing: .04em; margin: 6px 0 14px;
}
.code-pill b { color: var(--cyan-bright); font-size: 1.25rem; letter-spacing: .12em; }

/* ---------- rating breakdown ---------- */
.ratings { display: grid; gap: 16px; }
.rating-row { display: grid; grid-template-columns: 200px 1fr 46px; gap: 16px; align-items: center; }
.rating-row .label { color: var(--muted); font-weight: 600; font-size: .96rem; }
.bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan-d), var(--cyan-bright)); border-radius: 999px; }
.rating-row .val { font-weight: 800; color: #fff; text-align: right; }
.stars { color: var(--gold-bright); letter-spacing: 1px; }
.score-big {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: var(--surface); border: 1px solid var(--cyan-line); border-radius: var(--radius);
  padding: 14px 22px;
}
.score-big b { font-size: 2.4rem; color: var(--cyan-bright); line-height: 1; }
.score-big span { color: var(--muted); font-weight: 600; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #042235; flex: 0 0 auto; }
.review .name { font-weight: 700; color: #fff; }
.review .meta { color: var(--muted-2); font-size: .85rem; }
.review .stars { font-size: .9rem; }
.review p { color: var(--muted); margin: 8px 0 0; font-size: .98rem; }

/* ---------- pros / cons ---------- */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pc-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.pc-box h3 { display: flex; align-items: center; gap: 10px; }
.pc-box h3 svg { flex: 0 0 22px; width: 22px; height: 22px; }
.pc-box.pros h3 svg { color: var(--ok); }
.pc-box.cons h3 svg { color: var(--crash); }
.pc-box ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 11px; }
.pc-box li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.pc-box li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; }
.pros li svg { color: var(--ok); }
.cons li svg { color: var(--crash); }

/* ---------- comparison / data table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--surface); }
table.cmp th, table.cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .97rem; }
table.cmp thead th { background: var(--bg-2); color: #fff; font-weight: 700; }
table.cmp td:first-child { font-weight: 700; color: #fff; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
table.cmp td.t-triple { color: var(--cyan-bright); font-weight: 800; }
table.cmp td.t-frozen { color: #8fd9ff; font-weight: 800; }
table.cmp td.t-temple { color: var(--gold-bright); font-weight: 800; }
table.cmp td.t-cashout { color: var(--ok); font-weight: 800; }
table.cmp td.t-build { color: var(--crash); font-weight: 800; }

/* ---------- payment / provider chips ---------- */
.pays { display: flex; flex-wrap: wrap; gap: 12px; }
.pay {
  border: 1px solid var(--line); background: var(--surface); border-radius: 12px;
  padding: 12px 18px; font-weight: 700; color: #fff; font-size: .95rem;
}

/* ---------- callout ---------- */
.callout {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--cyan-soft); border: 1px solid var(--cyan-line);
  border-radius: var(--radius-lg); padding: 24px 26px;
}
.callout.callout-gold { background: var(--gold-soft); border-color: var(--gold-line); }
.callout .callout-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--cyan); color: #042235; display: grid; place-items: center; }
.callout.callout-gold .callout-icon { background: var(--gold); color: #2a1e02; }
.callout .callout-icon svg { width: 22px; height: 22px; }
.callout h3 { margin-bottom: 4px; }
.callout p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 22px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; padding: 18px 0; display: flex;
  justify-content: space-between; align-items: center; gap: 16px; font-size: 1.04rem; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan-bright); font-size: 1.5rem; font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- prose (text pages) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 1.7em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.35em; font-size: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--muted); }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--cyan-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose .updated { color: var(--muted-2); font-size: .9rem; }
.prose strong { color: #fff; }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: .88rem; color: var(--muted-2); padding: 18px 0 0; }
.crumbs a:hover { color: var(--cyan-bright); }

/* ---------- footer ---------- */
.site-footer { background: #070b16; color: var(--muted); padding: 56px 0 30px; font-size: .94rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { margin-bottom: 12px; }
.footer-about { max-width: 38ch; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a:hover { color: var(--cyan-bright); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.footer-badge { border: 1px solid var(--line); border-radius: 10px; padding: 7px 11px; font-weight: 700; font-size: .8rem; color: var(--muted); }
.footer-disclosure { margin: 34px 0 0; color: var(--muted-2); font-size: .82rem; line-height: 1.6; }
.footer-disclosure b { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted-2); font-size: .85rem; }
.footer-bottom a:hover { color: var(--cyan-bright); }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack-sm > * + * { margin-top: 10px; }
.text-link { color: var(--cyan-bright); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding: 50px 0 54px; }
  .hero-art { order: -1; max-width: 480px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .steps.grid-cols { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-2-wide, .offer, .pc, .reviews { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rating-row { grid-template-columns: 150px 1fr 42px; }
}
/* collapse the 8-item nav to a burger before the layout gets crowded */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-2);
    border-bottom: 1px solid var(--line); padding: 12px 20px 18px; box-shadow: var(--shadow-md);
    z-index: 60;
  }
  .nav.open .nav-links a { padding: 12px; }
  .nav.open .nav-cta { margin: 6px 0 0; width: auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 48px 0; }
  .stats, .grid-3, .grid-4, .steps.grid-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .offer { padding: 24px; }
}
