/* ── Webfonts (brand Winita: Manrope display + DM Sans body) ──── */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url("/shared/fonts/manrope-var.woff2") format("woff2-variations"),url("/shared/fonts/manrope-var.woff2") format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400 500;font-display:swap;src:url("/shared/fonts/dm-sans-var.woff2") format("woff2-variations"),url("/shared/fonts/dm-sans-var.woff2") format("woff2")}

:root {
  --ink: #15171f;
  --ink-soft: #2a2e3a;
  --paper: #ffffff;
  --muted: #5B6478;
  --line: #e6e9f2;
  --line-2: #dce0ee;
  --brand: #1f3189;        /* Winita blu — colore primario */
  --brand-2: #173a86;      /* blu più scuro per hover/bordi */
  --accent: #177a2f;       /* Winita verde — CTA (WCAG AA su bianco) */
  --accent-2: #106b2a;     /* verde scuro hover */
  --gold: #f4cc3d;
  --gold-2: #e8a82e;
  --red: #c10b28;          /* Winita rosso */
  --sky: #eef2fa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 23, 31, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink-soft);
  background: #f7f8fb;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; }
h1, h2, h3 {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.14;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: 42px; font-weight: 800; max-width: 760px; }
h2 { font-size: 28px; font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
main { overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px max(18px, calc((100vw - 1160px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
.site-nav a[aria-current="page"], .site-nav a:hover { background: var(--sky); color: var(--brand); }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(23, 122, 47, 0.5);
  transition: transform .12s, background .15s, box-shadow .15s;
}
.header-cta:hover, .btn:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn.secondary { background: var(--gold); color: #1a1c24; box-shadow: 0 10px 24px -8px rgba(244, 204, 61, 0.5); }
.btn.secondary:hover { background: var(--gold-2); transform: translateY(-1px); }
.menu-toggle { display: none; }

.hero, .section, .band { padding: 56px max(18px, calc((100vw - 1160px) / 2)); }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
  min-height: 620px;
  background: radial-gradient(circle at 18% 12%, rgba(244, 204, 61, 0.30), transparent 36%), linear-gradient(135deg, #1f3189 0%, #173a86 58%, #0f1f54 100%);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 16, 44, 0.82), rgba(15, 31, 84, 0.40), rgba(15, 31, 84, 0.06));
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero .lead { color: #eaeefb; }
.hero .eyebrow { color: var(--gold); }
.hero .breadcrumbs, .hero .breadcrumbs a { color: #c6d2f2; }
.hero .disclosure {
  color: #fdf7d5;
  background: rgba(10, 16, 44, 0.55);
  border-left-color: var(--gold);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--brand);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.lead { font-size: 20px; max-width: 760px; color: #2a2e3a; }
.hero-media {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  min-height: 300px;
  object-fit: cover;
}
.photo-hero {
  min-height: 680px;
  grid-template-columns: minmax(360px, 0.86fr) minmax(300px, 1.14fr);
}
.photo-hero .hero-media {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border: 2px solid rgba(244, 204, 61, 0.45);
}
.offer-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.offer-card span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(244, 204, 61, 0.40);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff8dc;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 16px; }
.disclosure, .note {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: rgba(244, 204, 61, 0.16);
  color: #3a3421;
  border-radius: 0 8px 8px 0;
}
.note.risk { border-left-color: var(--red); background: rgba(193, 11, 40, 0.10); color: #5a1018; }

.section:nth-of-type(even) { background: #ffffff; }
.casino-banner {
  position: relative;
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  min-height: 270px;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.casino-banner img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}
.casino-banner .banner-copy {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: 520px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(10, 16, 44, 0.72);
  color: var(--white);
}
.casino-banner strong { color: var(--gold); font-size: 22px; display: block; }
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}
.fact { display: grid; gap: 6px; }
.fact strong { color: var(--brand); font-family: "Manrope", sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; }
.toc { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.toc a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
caption { text-align: left; padding: 14px 14px 4px; font-weight: 700; color: var(--brand); font-family: "Manrope", sans-serif; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--sky); color: var(--brand); font-family: "Manrope", sans-serif; }
tr:last-child td { border-bottom: 0; }
.pay-grid td:first-child { font-weight: 700; color: var(--ink); }
.check-list { padding-left: 1.2rem; }
.check-list li { margin-bottom: 0.6rem; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.game-card { padding: 12px; border: 1px solid #283a6b; border-radius: 8px; background: #10183a; color: var(--white); box-shadow: 0 12px 28px rgba(20, 23, 31, 0.20); }
.game-card img { width: 100%; border-radius: 6px; aspect-ratio: 170 / 230; object-fit: cover; }
.game-card span { color: #c6d2f2; }
.game-card strong { display: block; margin-top: 10px; font-family: "Manrope", sans-serif; }
.breadcrumbs { font-size: 14px; margin-bottom: 18px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.author {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--sky);
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
}
.faq-item { border: 1px solid var(--line); border-radius: 8px; padding: 0; background: var(--white); overflow: hidden; }
.faq-button {
  width: 100%;
  min-height: 52px;
  padding: 15px 18px;
  border: 0;
  background: var(--sky);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
}
.faq-item p { padding: 0 18px 18px; }
.faq-item h3 { padding: 16px 18px 0; }
.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 22px;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  color: var(--white);
}
.cta-panel a { color: var(--white); }
.cta-panel strong { font-family: "Manrope", sans-serif; }
.site-footer {
  padding: 42px max(18px, calc((100vw - 1160px) / 2));
  background: #0f1430;
  color: #e7ebfb;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.7fr 1fr; gap: 28px; }
.site-footer a { display: block; color: #e7ebfb; margin-bottom: 8px; }
.responsible strong {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 20px;
  font-family: "Manrope", sans-serif;
}
.copyright { margin-top: 28px; color: #a6b0d6; font-size: 14px; }

@media (max-width: 900px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  body { font-size: 16px; }
  .site-header { grid-template-columns: auto auto; }
  .menu-toggle {
    display: inline-grid;
    gap: 4px;
    justify-self: end;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 12px;
  }
  .menu-toggle span { height: 2px; background: var(--ink); }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
  }
  .site-nav.is-open { display: flex; }
  .header-cta { display: none; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 32px;
    gap: 18px;
    background: linear-gradient(135deg, #1f3189 0%, #173a86 100%);
  }
  .hero::before {
    background: rgba(10, 16, 44, 0.18);
  }
  .hero .eyebrow {
    margin-bottom: 8px;
    color: var(--gold);
  }
  .hero h1 {
    margin-bottom: 14px;
    color: var(--white);
  }
  .hero .lead {
    margin-bottom: 16px;
    color: #eef1fc;
    font-size: 18px;
    line-height: 1.5;
  }
  .hero-actions {
    margin: 14px 0;
    gap: 10px;
  }
  .photo-hero { min-height: auto; }
  .photo-hero > div { display: contents; }
  .photo-hero .breadcrumbs { order: 1; }
  .photo-hero .eyebrow { order: 2; }
  .photo-hero h1 { order: 3; }
  .photo-hero .lead { order: 4; }
  .photo-hero .hero-actions { order: 5; }
  .photo-hero .hero-media { order: 6; }
  .photo-hero .offer-card { order: 7; }
  .photo-hero .disclosure { order: 8; }
  .photo-hero .hero-media {
    height: 240px;
    min-height: 0;
  }
  .offer-card {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
  }
  .offer-card span {
    min-height: 46px;
    padding: 8px 10px;
  }
  .disclosure, .note {
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.45;
  }
  .grid.cols-3, .grid.cols-2, .footer-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .hero, .section, .band { padding-left: 14px; padding-right: 14px; }
  .hero {
    padding-top: 22px;
    padding-bottom: 26px;
  }
  .hero h1 { font-size: 30px; overflow-wrap: anywhere; }
  .hero .lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .game-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Brand logo (unificato con winita.ink) — self-contained ──── */
@font-face{font-family:"WinitaLogoSans";font-style:normal;font-weight:400 800;font-display:swap;src:url('/shared/fonts/manrope-var.woff2') format('woff2')}
@font-face{font-family:"WinitaLogoMono";font-style:normal;font-weight:100 800;font-display:swap;src:url('/shared/fonts/jetbrains-mono-var.woff2') format('woff2')}
.mh-logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;min-height:44px}
.mh-logo-mark{width:36px;height:36px;display:block;position:relative;flex-shrink:0}
.mh-logo-mark i{position:absolute;display:block;transform:skewX(-12deg);border-radius:1px}
.mh-logo-mark .mark-green{width:16px;height:20px;top:0;left:18px;background:#37d45c}
.mh-logo-mark .mark-blue{width:18px;height:15px;top:13px;left:5px;background:#1267d8;z-index:2}
.mh-logo-mark .mark-red{width:15px;height:19px;top:18px;left:15px;background:#ff4b54}
.mh-logo-text{display:grid;line-height:1}
.mh-logo-text .a{font:800 22px/1 "WinitaLogoSans",system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-0.02em;color:#1f3189;font-style:italic}
.mh-logo-text .b{font:600 8px/1 "WinitaLogoMono",ui-monospace,"SF Mono",Menlo,monospace;letter-spacing:0.18em;color:#5B6478;text-transform:uppercase;margin-top:4px}
.site-footer .mh-logo-text .a{color:#fff}
.site-footer .mh-logo-text .b{color:#aeb9cf}
