/* ============================================
   SOS GAMING — Design System + Home + Componenti
   File: css/style.css
   ============================================ */

/* VARIABILI */
:root {
  --bg: #0B0F1A;
  --bg-alt: #0F1524;
  --card: #151B2B;
  --border: #232B3D;
  --accent: #00A8FF;
  --accent-2: #FF4655;
  --accent-3: #22C55E;
  --text: #E8ECF1;
  --text-muted: #8B95A8;
  --success: #4ADE80;
  --warning: #FBBF24;
  --whatsapp: #25D366;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-glow: 0 0 40px rgba(0,168,255,0.15);
  --container: 1200px;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* HEADER */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0; border-bottom: 1px solid transparent;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
}
.header.scrolled {
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; }
.logo img { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.nav-desktop { display: none; align-items: center; gap: 32px; }
.nav-desktop a { font-size: .92rem; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav-desktop a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-whatsapp { display: none; }
.menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; color: var(--text);
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 99;
  padding: 90px 24px 32px; transform: translateX(100%);
  transition: transform .3s ease; display: flex; flex-direction: column; gap: 8px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu .btn-whatsapp { margin-top: 20px; text-align: center; justify-content: center; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .92rem; cursor: pointer;
  border: 1px solid transparent; transition: all .2s ease;
  white-space: nowrap; min-height: 44px;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 20px rgba(0,168,255,.3); }
.btn-primary:hover { background: #0090E0; box-shadow: 0 6px 28px rgba(0,168,255,.45); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,.25); }
.btn-whatsapp:hover { background: #1FB855; box-shadow: 0 6px 28px rgba(37,211,102,.4); transform: translateY(-1px); }

/* HERO HOME */
.hero { position: relative; padding: 120px 0 80px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,168,255,.12), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(255,70,85,.08), transparent 45%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; display: grid; gap: 48px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(0,168,255,.1);
  border: 1px solid rgba(0,168,255,.3); border-radius: 999px;
  font-size: .8rem; font-weight: 500; color: var(--accent);
  margin-bottom: 20px; width: fit-content;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 8px var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; margin-bottom: 20px; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--text-muted); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-guarantee {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: .88rem; max-width: 480px;
}
.hero-guarantee .icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 8px;
  background: rgba(74,222,128,.15); color: var(--success);
  display: grid; place-items: center;
}
.hero-guarantee strong { display: block; font-size: .9rem; }
.hero-guarantee span { color: var(--text-muted); font-size: .82rem; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual-card {
  position: relative; width: 100%; max-width: 460px; aspect-ratio: 1;
  border-radius: 24px; background: linear-gradient(145deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.hero-visual-card::before {
  content: ''; position: absolute; inset: -2px; border-radius: 26px; z-index: -1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  opacity: .35; filter: blur(20px);
}
.hero-console { width: 55%; height: auto; color: var(--accent); opacity: .9; filter: drop-shadow(0 10px 40px rgba(0,168,255,.4)); }

/* TRUST BAR */
.trust-bar { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--text-muted); }
.trust-item svg { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.trust-item strong { color: var(--text); display: block; font-size: .9rem; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); margin-bottom: 12px;
}
.section-title { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 1rem; }

/* SERVIZI */
.services-grid { display: grid; gap: 20px; }
.service-card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: all .3s ease;
  overflow: hidden; display: flex; flex-direction: column; gap: 16px;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent, var(--accent)); opacity: .9;
}
.service-card:hover {
  border-color: var(--card-accent, var(--accent));
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.service-card[data-accent="ps5"] { --card-accent: var(--accent); }
.service-card[data-accent="ps4"] { --card-accent: #7C8BF5; }
.service-card[data-accent="switch"] { --card-accent: var(--accent-2); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(255,255,255,.05); color: var(--card-accent);
  display: grid; place-items: center;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--text-muted); font-size: .92rem; flex-grow: 1; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--card-accent); font-weight: 600; font-size: .9rem;
  transition: gap .2s;
}
.service-card:hover .service-link { gap: 12px; }
.service-link svg { width: 16px; height: 16px; }

/* TESTER TEASER */
.tester-teaser { position: relative; border-radius: var(--radius); padding: 2px; overflow: hidden; }
.tester-teaser::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
  opacity: .6;
}
.tester-teaser-inner {
  position: relative; background: var(--bg-alt); border-radius: calc(var(--radius) - 2px);
  padding: 48px 32px; display: grid; gap: 32px; align-items: center;
}
.tester-teaser-content { position: relative; z-index: 2; }
.tester-teaser h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 16px; }
.tester-teaser p { color: var(--text-muted); margin-bottom: 24px; max-width: 520px; }
.tester-visual { position: relative; z-index: 2; display: grid; place-items: center; min-height: 200px; }
.tester-joystick {
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1f2a3f, var(--bg));
  border: 3px solid var(--border); position: relative;
  box-shadow: inset 0 8px 24px rgba(0,0,0,.5), 0 0 40px rgba(0,168,255,.15);
}
.tester-joystick::before {
  content: ''; position: absolute; inset: 20px; border-radius: 50%;
  border: 1px dashed rgba(0,168,255,.3);
}
.tester-knob {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, #3a4a66, #1a2436);
  border: 2px solid var(--accent); transform: translate(-50%, -50%);
  box-shadow: 0 0 24px rgba(0,168,255,.5);
  animation: drift 4s ease-in-out infinite;
}
@keyframes drift {
  0%,100% { transform: translate(-50%, -50%); }
  25% { transform: translate(calc(-50% + 18px), calc(-50% - 8px)); }
  50% { transform: translate(calc(-50% - 12px), calc(-50% + 14px)); }
  75% { transform: translate(calc(-50% + 6px), calc(-50% + 10px)); }
}

/* EXPRESS BADGE */
.express-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(251,191,36,.15); color: var(--warning);
  font-size: .75rem; font-weight: 600;
  border: 1px solid rgba(251,191,36,.35);
}

/* EXPRESS BLOCK (home) */
.express-block {
  background: linear-gradient(135deg, rgba(251,191,36,.1), rgba(255,70,85,.05));
  border: 1px solid rgba(251,191,36,.3);
  border-radius: var(--radius); padding: 32px;
  display: grid; gap: 20px;
}
.express-block h3 {
  font-size: 1.3rem; display: flex; align-items: center; gap: 10px;
}
.express-block h3 svg { width: 26px; height: 26px; color: var(--warning); }
.express-block p { color: var(--text-muted); font-size: .95rem; }
.express-list { list-style: none; display: grid; gap: 10px; }
.express-list li { display: flex; gap: 10px; font-size: .9rem; color: var(--text-muted); }
.express-list li svg { width: 18px; height: 18px; color: var(--warning); flex-shrink: 0; margin-top: 2px; }
.express-list strong { color: var(--text); }

/* PERCHÉ NOI */
.why-grid { display: grid; gap: 20px; }
.why-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: border-color .2s;
}
.why-item:hover { border-color: var(--accent); }
.why-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(0,168,255,.12); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 16px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-item p { color: var(--text-muted); font-size: .9rem; }

/* RECENSIONI */
.reviews-summary {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 32px; flex-wrap: wrap;
}
.reviews-score { font-family: 'Space Grotesk', sans-serif; font-size: 2.8rem; font-weight: 700; line-height: 1; }
.reviews-stars { color: var(--warning); font-size: 1.1rem; letter-spacing: 2px; }
.reviews-count { color: var(--text-muted); font-size: .9rem; }
.reviews-grid { display: grid; gap: 16px; }
.review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.review-stars { color: var(--warning); font-size: .9rem; letter-spacing: 1px; }
.review-text { font-size: .92rem; line-height: 1.55; }
.review-author {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
}
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; font-weight: 600; font-size: .85rem;
  color: #fff; flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .88rem; }
.review-date { font-size: .78rem; color: var(--text-muted); }

/* CTA RECENSIONI GOOGLE */
.reviews-google-cta {
  text-align: center;
  padding: 24px;
  margin: 0 auto 32px;
  max-width: 720px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.reviews-google-cta p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.55;
}

/* CTA FINALE */
.cta-final { padding: 64px 0; }
.cta-final-inner {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 48px 32px; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, rgba(0,168,255,.15), rgba(255,70,85,.1));
}
.cta-final-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-final h2 { position: relative; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 16px; }
.cta-final p {
  position: relative; color: var(--text-muted); margin-bottom: 32px;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.cta-final-buttons {
  position: relative; display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: center;
}

/* FOOTER */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 44px; }
.footer-brand p { color: var(--text-muted); font-size: .88rem; max-width: 320px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-muted); transition: all .2s;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: .95rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { color: var(--text-muted); font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  color: var(--text-muted); font-size: .82rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.5); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--card); border-top: 1px solid var(--border);
  padding: 20px; display: none;
  box-shadow: 0 -8px 40px rgba(0,0,0,.5);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.cookie-text { flex: 1 1 300px; font-size: .85rem; color: var(--text-muted); }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-buttons .btn { padding: 10px 18px; font-size: .85rem; min-height: 40px; }

/* RESPONSIVE */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .tester-teaser-inner { padding: 56px 48px; }
  .express-block { padding: 40px; }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-actions .btn-whatsapp { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }
  .hero { padding: 160px 0 100px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .tester-teaser-inner { grid-template-columns: 1.3fr 1fr; padding: 64px 56px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .cta-final-inner { padding: 72px 48px; }
  .express-block { grid-template-columns: 1fr 1fr; align-items: center; }
}
/* Slot express dinamico */
.express-slot {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.express-slot-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--warning);
  font-weight: 600;
}

.express-slot-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.express-slot .btn {
  align-self: flex-start;
  margin-top: 4px;
}/* CSS Document */