/* TopGameMeter — Framer visual DNA · cinematic black gallery
   Void #000 · white type · electric cyan #0099ff SOLO sui bordi (mai fill)
   Type: Inter Tight (display, condensed) · Inter (UI/body) */

:root {
  --void: #000000;
  --carbon: #080808;
  --obsidian: #111111;
  --graphite: #171717;
  --slate: #242424;
  --fog: #333333;
  --ash: #666666;
  --smoke: #8c8c8c;
  --silver: #999999;
  --bone: #cccccc;
  --paper: #ffffff;
  --cyan: #0099ff;

  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-lg: 8px;
  --r-card: 15px;
  --r-img: 12px;
  --r-pill: 100px;

  --container: 1200px;
  --pad-inline: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--void);
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--cyan); color: #000; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--paper); font-weight: 500; line-height: 0.95; letter-spacing: -0.04em; }

/* container */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-inline); }
.section { padding-block: 74px; }

/* eyebrow / heading */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 18px;
}
.section__head { margin-bottom: 44px; max-width: 760px; }
.section__title { font-size: clamp(34px, 5.5vw, 62px); letter-spacing: -0.045em; line-height: 0.96; }
.section__lede { margin: 20px 0 0; font-size: 18px; color: var(--silver); line-height: 1.5; max-width: 620px; letter-spacing: -0.01em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--r-pill);
  padding: 11px 22px;
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--paper); color: #000; }
.btn--primary:hover { transform: translateY(-2px); background: #e9e9e9; }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.22); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--cyan { background: transparent; color: var(--cyan); border-color: var(--cyan); }
.btn--cyan:hover { transform: translateY(-2px); background: rgba(0,153,255,0.08); }
.btn--lg { padding: 14px 28px; font-size: 15px; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.has-scroll { border-bottom: 1px solid var(--slate); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.03em; color: var(--paper); text-transform: lowercase; }
.logo__accent { color: var(--cyan); }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.header__link { font-size: 14px; font-weight: 500; color: var(--silver); letter-spacing: -0.01em; transition: color .2s ease; }
.header__link:hover { color: var(--paper); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--slate); border-radius: var(--r-lg); background: var(--carbon); align-items: center; justify-content: center; }
.burger svg { width: 20px; height: 20px; stroke: #fff; }

/* hero */
.hero {
  position: relative;
  text-align: center;
  padding-top: 92px; padding-bottom: 72px;
  background-color: #000;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.68) 42%, rgba(0,0,0,0.93) 100%),
    url("/assets/img/bg/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero .container { position: relative; z-index: 2; }
.hero__banner {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--silver); font-weight: 500;
  border: 1px solid var(--slate); border-radius: var(--r-pill);
  padding: 6px 16px; margin-bottom: 30px;
}
.hero__banner b { color: var(--cyan); font-weight: 600; }
.hero__title { font-size: clamp(52px, 10vw, 108px); letter-spacing: -0.05em; line-height: 0.88; max-width: 1000px; margin-inline: auto; }
.hero__title span { color: var(--cyan); }
.hero__lede { margin: 26px auto 0; max-width: 560px; font-size: 18px; color: var(--silver); line-height: 1.45; }
.hero__actions { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* hero tile row (icone giochi) */
.tilewall { margin-top: 60px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.tilewall__item { aspect-ratio: 1; border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--slate); background: var(--carbon); transition: border-color .3s var(--ease); }
.tilewall__item:hover { border-color: var(--cyan); }
.tilewall__item img { width: 100%; height: 100%; object-fit: cover; }

/* showcase (screenshot tiles) */
.shots__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot {
  border-radius: var(--r-img); overflow: hidden;
  border: 1px solid var(--slate); background: var(--carbon);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.shot:hover { border-color: var(--cyan); transform: translateY(-3px); }
.shot__media { aspect-ratio: 16 / 10; overflow: hidden; }
.shot__media img { width: 100%; height: 100%; object-fit: cover; }
.shot__cap { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--slate); }
.shot__cap img { width: 30px; height: 30px; border-radius: var(--r-lg); flex: none; }
.shot__cap-t { font-size: 13px; font-weight: 600; color: var(--paper); letter-spacing: -0.01em; }
.shot__cap-g { font-size: 11.5px; color: var(--smoke); }

/* games catalog */
.games__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.game {
  background: var(--carbon); border: 1px solid var(--slate); border-radius: var(--r-card);
  padding: 22px; display: flex; flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.game:hover { border-color: var(--cyan); transform: translateY(-3px); }
.game__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.game__icon { width: 58px; height: 58px; border-radius: var(--r-lg); overflow: hidden; flex: none; border: 1px solid var(--slate); }
.game__icon img { width: 100%; height: 100%; object-fit: cover; }
.game__name { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.03em; color: var(--paper); line-height: 1.05; }
.game__dev { font-size: 12.5px; color: var(--smoke); margin-top: 3px; }
.game__genre {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(0,153,255,0.35); border-radius: var(--r-pill);
  padding: 3px 12px; margin-bottom: 14px; align-self: flex-start;
}
.game__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.stars { position: relative; display: inline-block; width: 88px; height: 15px; }
.stars__bg, .stars__fg { position: absolute; inset: 0; display: flex; gap: 2px; }
.stars__bg svg { fill: var(--fog); }
.stars__fg { overflow: hidden; }
.stars__fg svg { fill: var(--paper); }
.stars svg { width: 15px; height: 15px; flex: none; }
.game__rating-num { font-weight: 600; color: var(--paper); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.game__desc { font-size: 13.5px; line-height: 1.5; color: var(--silver); margin: 0 0 20px; flex: 1; }
.game__btn { align-self: flex-start; margin-top: auto; }

/* generi (genre tiles) */
.genres__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.genre { display: flex; align-items: center; gap: 13px; border: 1px solid var(--slate); border-radius: var(--r-card); padding: 18px 20px; background: var(--carbon); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.genre:hover { border-color: var(--cyan); transform: translateY(-2px); }
.genre__ico { width: 40px; height: 40px; border: 1px solid var(--fog); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; flex: none; }
.genre__ico svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; }
.genre__t { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 500; color: var(--paper); letter-spacing: -0.02em; }
.genre__c { display: block; font-size: 12px; color: var(--smoke); margin-top: 3px; }

/* perks (vantaggi) */
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perk { border: 1px solid var(--slate); border-radius: var(--r-card); padding: 24px; background: var(--carbon); transition: border-color .3s var(--ease); }
.perk:hover { border-color: var(--cyan); }
.perk__ico { width: 40px; height: 40px; border: 1px solid var(--fog); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.perk__ico svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; }
.perk__h { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.03em; color: var(--paper); margin: 0 0 7px; }
.perk__p { margin: 0; font-size: 13.5px; color: var(--silver); line-height: 1.5; }

/* steps (come iniziare) */
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { border: 1px solid var(--slate); border-radius: var(--r-card); padding: 28px; background: var(--carbon); }
.step__n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cyan); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 18px; }
.step__h { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.03em; color: var(--paper); margin: 0 0 8px; }
.step__p { margin: 0; font-size: 14px; color: var(--silver); line-height: 1.5; }

/* stats */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { border: 1px solid var(--slate); border-radius: var(--r-card); padding: 26px 22px; background: var(--carbon); }
.stat__n { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 54px); font-weight: 500; letter-spacing: -0.05em; color: var(--paper); line-height: 1; }
.stat__n span { color: var(--cyan); }
.stat__l { margin: 12px 0 0; font-size: 13.5px; color: var(--silver); }

/* trust / method */
.method__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.method { border: 1px solid var(--slate); border-radius: var(--r-card); padding: 26px; background: var(--carbon); }
.method__ico { width: 42px; height: 42px; border: 1px solid var(--fog); border-radius: var(--r-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.method__ico svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; }
.method__h { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -0.03em; color: var(--paper); margin: 0 0 8px; }
.method__p { margin: 0; font-size: 14px; color: var(--silver); line-height: 1.5; }

/* transparency */
.mono__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.mono { border: 1px solid var(--slate); border-radius: var(--r-card); padding: 28px; background: var(--carbon); }
.mono__n { font-family: var(--font-display); font-size: 15px; color: var(--cyan); font-weight: 600; letter-spacing: 0.05em; }
.mono__h { font-family: var(--font-display); font-size: 19px; color: var(--paper); font-weight: 500; margin: 14px 0 8px; letter-spacing: -0.02em; }
.mono__p { font-size: 13.5px; color: var(--silver); line-height: 1.55; margin: 0; }
.trasp__actions { margin-top: 34px; }

/* reviews (testimonial 2-col feel) */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { border: 1px solid var(--slate); border-radius: var(--r-card); padding: 28px; background: var(--carbon); display: flex; flex-direction: column; gap: 18px; }
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 15px; height: 15px; fill: var(--paper); }
.review__quote { font-family: var(--font-display); font-size: 20px; line-height: 1.2; color: var(--paper); font-weight: 500; letter-spacing: -0.03em; margin: 0; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__ava { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cyan); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.review__name { font-weight: 600; color: var(--paper); font-size: 14.5px; }
.review__role { font-size: 12.5px; color: var(--smoke); }

/* subscribe */
.subscribe__wrap { max-width: 600px; margin-inline: auto; text-align: center; border: 1px solid var(--slate); border-radius: 24px; padding: 48px 40px; background: var(--carbon); }
.subform { margin-top: 30px; text-align: left; }
.subform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.subform__field { margin-bottom: 12px; }
.subform__field--full { grid-column: 1 / -1; }
.subform label { display: block; font-size: 13px; font-weight: 500; color: var(--bone); margin-bottom: 7px; }
.subform input[type="text"], .subform input[type="tel"], .subform input[type="email"] {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--fog); border-radius: var(--r-lg);
  background: var(--void); font-family: var(--font-body); font-size: 15px; color: var(--paper);
  transition: border-color .2s ease;
}
.subform input::placeholder { color: var(--ash); }
.subform input:focus { outline: none; border-color: var(--cyan); }
.subform__consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 20px; }
.subform__consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--cyan); flex: none; }
.subform__consent label { margin: 0; font-weight: 400; font-size: 13px; color: var(--silver); line-height: 1.45; }
.subform__consent a { color: var(--cyan); }
.subform__submit { width: 100%; justify-content: center; }
.subform__success { display: none; margin-top: 18px; padding: 15px 18px; border: 1px solid var(--cyan); border-radius: var(--r-lg); color: var(--cyan); font-size: 14px; background: rgba(0,153,255,0.06); }
.subform__success.is-visible { display: block; }

/* FAQ */
.faq__list { width: 100%; }
.faq__item { border-bottom: 1px solid var(--slate); }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border: none; font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--paper); letter-spacing: -0.03em; }
.faq__q svg { width: 20px; height: 20px; flex: none; stroke: var(--cyan); transition: transform .3s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a-inner { padding-bottom: 24px; font-size: 15px; color: var(--silver); line-height: 1.6; }

/* footer */
.footer { border-top: 1px solid var(--slate); padding-block: 56px 36px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer__tagline { margin: 16px 0 0; font-size: 14px; color: var(--smoke); max-width: 320px; line-height: 1.55; }
.footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ash); margin: 0 0 16px; font-weight: 600; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { font-size: 14px; color: var(--silver); transition: color .2s ease; }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--slate); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__copy { font-size: 13px; color: var(--smoke); }
.footer__contact { font-size: 13px; color: var(--silver); }
.footer__contact a { color: var(--cyan); }

/* back to top */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; background: var(--carbon); border: 1px solid var(--fog); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, border-color .2s ease; }
.totop:hover { border-color: var(--cyan); }
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop svg { width: 19px; height: 19px; stroke: var(--paper); fill: none; }

/* cookie */
.cookie { position: fixed; left: 22px; right: 22px; bottom: 22px; z-index: 60; max-width: 540px; margin-inline: auto; background: var(--obsidian); border: 1px solid var(--slate); border-radius: var(--r-card); padding: 20px 22px; display: none; }
.cookie.is-visible { display: block; }
.cookie__text { font-size: 13.5px; line-height: 1.5; margin: 0 0 15px; color: var(--silver); }
.cookie__text a { color: var(--cyan); }
.cookie__actions { display: flex; gap: 10px; }

/* legal */
.legal { padding-block: 56px 80px; }
.legal__head { max-width: 820px; margin: 0 auto 36px; }
.legal__updated { font-size: 13px; color: var(--smoke); margin: 0 0 20px; }
.legal__body { max-width: 820px; margin-inline: auto; }
.legal__body h2 { font-size: 26px; margin: 38px 0 12px; letter-spacing: -0.03em; }
.legal__body h3 { font-size: 18px; font-family: var(--font-display); margin: 24px 0 10px; color: var(--bone); font-weight: 500; }
.legal__body p, .legal__body li { font-size: 15px; color: var(--silver); line-height: 1.65; }
.legal__body ul { padding-left: 22px; }
.legal__body a { color: var(--cyan); }
.legal__body strong { color: var(--bone); }
.backhome { margin-top: 8px; }

/* responsive */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .tilewall { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 860px) {
  .games__grid, .shots__grid, .method__grid, .mono__grid, .reviews__grid, .genres__grid, .perks__grid, .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .header__links { display: none; }
  .burger { display: flex; }
  .header__nav.is-open { position: fixed; inset: 66px 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--void); border-bottom: 1px solid var(--slate); padding: 18px var(--pad-inline) 26px; }
  .header__nav.is-open .header__links { display: grid; gap: 4px; }
  .header__nav.is-open .header__link { padding: 12px 0; font-size: 17px; color: var(--paper); }
  .header__nav.is-open .header__cta { margin-top: 12px; }
}
@media (max-width: 560px) {
  .section { padding-block: 54px; }
  .games__grid, .shots__grid, .method__grid, .mono__grid, .reviews__grid, .stats__grid, .subform__row, .genres__grid, .perks__grid, .steps__grid { grid-template-columns: 1fr; }
  .tilewall { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .subscribe__wrap { padding: 34px 22px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
