:root {
  --smeraldo: #059669;
  --smeraldo-deep: #064e3b;
  --smeraldo-dark: #033d30;
  --menta: #d1fae5;
  --crema: #fef3c7;
  --crema-pale: #fffaf0;
  --carta: #fffdf8;
  --inchiostro: #17221e;
  --testo-2: #42534b;
  --testo-3: #66776f;
  --testo-muted: #89968f;
  --sole: #f4b740;
  --corallo: #ef7d61;
  --bordo: rgba(23, 34, 30, .13);
  --bordo-soft: rgba(23, 34, 30, .08);
  --bordo-focus: rgba(5, 150, 105, .5);
  --ombra-card: 0 10px 28px rgba(25, 67, 50, .09);
  --ombra-alta: 0 24px 70px rgba(2, 44, 32, .28);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
  --space: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--carta); color: var(--inchiostro); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--inchiostro); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 253, 248, .92); border-bottom: 1px solid var(--bordo-soft); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Fraunces", serif; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.brand em { color: var(--smeraldo); font-style: normal; }
.brand-mark { width: 34px; height: 34px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; transform: rotate(-5deg); }
.brand-mark i { display: block; border-radius: 5px; background: var(--smeraldo); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background: var(--sole); }
.nav-wrap nav { display: flex; gap: 32px; font-size: 14px; font-weight: 600; color: var(--testo-2); }
.nav-wrap nav a { padding: 8px 0; }
.nav-wrap nav a:hover { color: var(--smeraldo); }
.nav-cta { padding: 11px 18px; border: 1px solid var(--bordo); border-radius: 999px; font-size: 14px; font-weight: 700; background: white; box-shadow: 0 4px 12px rgba(25,67,50,.05); }
.nav-cta:hover { border-color: var(--smeraldo); color: var(--smeraldo); }

.hero { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 70px; padding-block: 80px 94px; }
.hero-copy, .hero-board { min-width: 0; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--smeraldo); text-transform: uppercase; font-size: 12px; line-height: 1; letter-spacing: .14em; font-weight: 800; }
.eyebrow span { font-size: 10px; }
.hero h1 { max-width: 700px; margin: 20px 0 22px; font-family: "Fraunces", serif; font-size: clamp(48px, 5.7vw, 76px); line-height: .98; letter-spacing: -.055em; }
.hero-copy > p { max-width: 630px; color: var(--testo-2); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--smeraldo); box-shadow: 0 10px 24px rgba(5,150,105,.24); }
.button-primary:hover { background: #047d59; }
.microcopy { color: var(--testo-3); font-size: 13px; }.microcopy b { color: var(--inchiostro); display: block; }
.hero-trust { display: flex; gap: 22px; margin-top: 34px; color: var(--testo-2); font-size: 13px; font-weight: 600; }
.hero-trust span { display: flex; align-items: center; gap: 7px; }.hero-trust i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--smeraldo); background: var(--menta); font-style: normal; font-size: 11px; }
.hero-board { position: relative; min-height: 430px; display: grid; place-items: center; border-radius: 46% 54% 45% 55% / 51% 41% 59% 49%; background: var(--crema); }
.hero-board::before, .hero-board::after { content: ""; position: absolute; border: 1px dashed rgba(5,150,105,.26); border-radius: 50%; }
.hero-board::before { inset: 25px; }.hero-board::after { width: 70px; height: 70px; right: -22px; top: 42px; background: var(--menta); }
.board-grid { position: relative; z-index: 2; width: 270px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; transform: rotate(-4deg); filter: drop-shadow(0 20px 20px rgba(75,70,35,.15)); }
.tile { aspect-ratio: 1; display: grid; place-items: center; border-radius: 18px; font-family: "Fraunces", serif; font-size: 28px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.tile-leaf { color: white; background: var(--smeraldo); }.tile-sun { color: var(--smeraldo-dark); background: var(--sole); }.tile-cream { background: white; }.tile-main { grid-column: 2; grid-row: 2; color: white; background: var(--smeraldo-deep); }.tile-main b { font-size: 32px; line-height: .8; }.tile-main small { font: 700 10px "DM Sans", sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.float-note { position: absolute; z-index: 3; right: -10px; bottom: 62px; padding: 13px 15px; border-radius: 13px; background: white; box-shadow: var(--ombra-card); color: var(--smeraldo-deep); font-weight: 800; font-size: 13px; transform: rotate(4deg); }.float-note span { display: inline-grid; place-items: center; width: 25px; height: 25px; margin-left: 9px; border-radius: 50%; color: white; background: var(--smeraldo); }

.games-section { padding: 94px 0 104px; background: var(--crema-pale); border-block: 1px solid var(--bordo-soft); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 80px; margin-bottom: 40px; }
.section-heading h2, .benefits h2, .faq-layout h2 { margin: 10px 0 0; font-family: "Fraunces", serif; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; letter-spacing: -.04em; }
.section-heading > p { max-width: 460px; margin: 0; color: var(--testo-2); line-height: 1.7; }
.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.game-card { min-width: 0; padding: 0; border: 1px solid var(--bordo-soft); border-radius: var(--radius); overflow: hidden; color: inherit; text-align: left; background: white; box-shadow: 0 4px 12px rgba(25,67,50,.04); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.game-card:hover, .game-card:focus-visible { transform: translateY(-6px); border-color: var(--bordo-focus); box-shadow: var(--ombra-card); outline: none; }
.game-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--crema); }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }.game-card:hover img { transform: scale(1.045); }
.category { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: 999px; color: var(--smeraldo-deep); background: rgba(255,253,248,.9); box-shadow: 0 2px 8px rgba(0,0,0,.08); backdrop-filter: blur(8px); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.play-dot { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.85); border-radius: 50%; color: white; background: var(--smeraldo); font-size: 11px; box-shadow: 0 6px 16px rgba(4,78,59,.25); opacity: 0; transform: translateY(6px); transition: .25s ease; }.game-card:hover .play-dot, .game-card:focus-visible .play-dot { opacity: 1; transform: translateY(0); }
.game-meta { display: block; padding: 15px 15px 17px; }.game-meta strong { display: block; min-height: 42px; font: 700 17px/1.2 "Fraunces", serif; }.game-meta small { display: block; margin-top: 7px; color: var(--testo-3); font-size: 11px; }

.how-section { padding-block: 110px; }.section-heading.compact { margin-bottom: 42px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; min-height: 260px; padding: 28px; border: 1px solid var(--bordo); border-radius: var(--radius); background: white; overflow: hidden; }.steps li:nth-child(2) { background: var(--crema); }.steps li:nth-child(3) { background: var(--menta); }
.step-number { position: absolute; top: 20px; right: 22px; color: rgba(23,34,30,.23); font: 700 13px "Fraunces", serif; }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color: white; background: var(--smeraldo); font: 700 26px "Fraunces", serif; transform: rotate(-4deg); }.steps li:nth-child(2) .step-icon { color: var(--smeraldo-dark); background: var(--sole); }.steps li:nth-child(3) .step-icon { background: var(--smeraldo-deep); }
.steps h3 { margin: 42px 0 8px; font: 700 26px "Fraunces", serif; }.steps p { margin: 0; max-width: 280px; color: var(--testo-2); line-height: 1.6; }

.featured-section { padding: 96px 0; background: var(--smeraldo-deep); }
.featured-card { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.featured-visual { position: relative; padding: 18px; border-radius: 30px; background: rgba(255,255,255,.09); transform: rotate(-1deg); }.featured-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.featured-sticker { position: absolute; left: -20px; bottom: 32px; padding: 12px 16px; border-radius: 12px; background: var(--sole); color: var(--smeraldo-dark); font-weight: 800; font-size: 12px; transform: rotate(-5deg); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.kicker.light { color: #8af1ce; }.featured-copy { color: white; }.featured-copy h2 { margin: 14px 0 20px; font: 700 clamp(36px,4vw,56px)/1.04 "Fraunces", serif; letter-spacing: -.04em; }.featured-copy h2 em { color: var(--sole); font-style: normal; }.featured-copy > p { max-width: 520px; color: rgba(255,255,255,.76); line-height: 1.7; }.featured-copy ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }.featured-copy li { padding: 8px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.84); font-size: 12px; }.button-cream { color: var(--smeraldo-deep); background: var(--crema); box-shadow: 0 10px 30px rgba(0,0,0,.18); }

.benefits { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; padding-block: 110px; }.benefits-intro > p { max-width: 420px; color: var(--testo-2); line-height: 1.7; }.benefit-list { display: grid; gap: 14px; }.benefit-list article { display: flex; align-items: center; gap: 22px; padding: 24px; border: 1px solid var(--bordo-soft); border-radius: 18px; background: white; }.benefit-list article > span { flex: 0 0 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--smeraldo); background: var(--menta); font-size: 25px; }.benefit-list article:nth-child(2) > span { color: var(--smeraldo-dark); background: var(--crema); }.benefit-list h3 { margin: 0 0 4px; font: 700 20px "Fraunces", serif; }.benefit-list p { margin: 0; color: var(--testo-3); font-size: 14px; }

.faq-section { padding: 100px 0; background: var(--crema); }.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }.faq-layout > div:first-child p { color: var(--testo-2); line-height: 1.6; }.faq-list { border-top: 1px solid var(--bordo); }.faq-list details { border-bottom: 1px solid var(--bordo); }.faq-list summary { position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none; font-weight: 700; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary span { position: absolute; right: 4px; top: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--smeraldo); transition: transform .2s ease; }.faq-list details[open] summary span { transform: rotate(45deg); }.faq-list details p { margin: -4px 48px 22px 0; color: var(--testo-2); line-height: 1.65; font-size: 14px; }

.site-footer { color: rgba(255,255,255,.72); background: var(--inchiostro); }.footer-top { display: grid; grid-template-columns: 1.5fr .6fr .7fr; gap: 80px; padding-block: 72px; }.footer-brand { color: white; }.footer-top > div:first-child p { max-width: 430px; margin-top: 22px; line-height: 1.7; }.footer-links { display: flex; flex-direction: column; gap: 12px; }.footer-links h2 { margin: 0 0 8px; color: white; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }.footer-links a { font-size: 14px; }.footer-links a:hover { color: var(--sole); }.footer-bottom { display: flex; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

.game-modal[hidden] { display: none; }.game-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 22px; }.modal-backdrop { position: absolute; inset: 0; background: rgba(5,30,23,.84); backdrop-filter: blur(10px); }.modal-panel { position: relative; z-index: 1; width: min(1120px, 96vw); max-height: 94vh; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: var(--inchiostro); box-shadow: var(--ombra-alta); }.modal-bar { height: 58px; padding: 0 14px 0 20px; display: flex; align-items: center; justify-content: space-between; color: white; }.modal-bar > div { display: flex; align-items: center; gap: 10px; }.modal-bar h2 { margin: 0; font: 700 17px "Fraunces", serif; }.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 5px rgba(74,222,128,.12); }.modal-close { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: white; background: rgba(255,255,255,.07); font-size: 24px; line-height: 1; cursor: pointer; }.modal-close:hover { background: rgba(255,255,255,.15); }.iframe-wrap { aspect-ratio: 16/9; background: #07110d; }.iframe-wrap iframe { width: 100%; height: 100%; border: 0; background: #07110d; }

:focus-visible { outline: 3px solid var(--sole); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
@media (max-width: 1040px) { .game-grid { grid-template-columns: repeat(3, 1fr); }.hero { gap: 36px; }.hero h1 { font-size: 56px; }.featured-card { gap: 42px; }.benefits, .faq-layout { gap: 52px; } }
@media (max-width: 760px) { :root { --shell: min(100% - 28px, 620px); }.nav-wrap { min-height: 66px; }.nav-wrap nav { display: none; }.nav-cta { padding: 9px 13px; }.hero { min-height: auto; grid-template-columns: minmax(0, 1fr); padding-block: 64px 72px; }.hero h1 { font-size: clamp(42px, 13vw, 60px); }.hero-copy > p { font-size: 16px; }.hero-board { min-height: 350px; }.section-heading { display: block; }.section-heading > p { margin-top: 18px; }.game-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }.games-section, .how-section, .featured-section, .faq-section { padding-block: 72px; }.steps, .featured-card, .benefits, .faq-layout, .footer-top { grid-template-columns: minmax(0, 1fr); }.steps li { min-height: 230px; }.featured-card { gap: 48px; }.featured-sticker { left: -5px; }.benefits { gap: 42px; padding-block: 72px; }.footer-top { gap: 38px; padding-block: 56px; }.modal-panel { width: 100%; }.iframe-wrap { aspect-ratio: 3/4; } }
@media (max-width: 520px) { .shell { width: auto; margin-inline: 28px; }.nav-cta { display: none; }.hero h1 { font-size: clamp(32px, 8.8vw, 38px); hyphens: auto; overflow-wrap: break-word; }.brand { font-size: 17px; }.brand-mark { width: 30px; height: 30px; }.hero-actions { align-items: flex-start; flex-direction: column; }.hero-trust { gap: 10px; flex-wrap: wrap; }.hero-board { min-height: 310px; }.board-grid { width: 220px; }.game-meta { padding: 12px; }.game-meta strong { font-size: 15px; }.game-meta small { display: none; }.category { top: 8px; left: 8px; padding: 5px 7px; }.play-dot { display: none; }.footer-bottom { gap: 12px; flex-direction: column; }.game-modal { padding: 8px; }.iframe-wrap { aspect-ratio: 9/14; } }

/* Legal pages */
.legal-main { padding: 76px 0 110px; }.legal-layout { display: grid; grid-template-columns: 280px minmax(0,720px); gap: 80px; align-items: start; }.legal-aside { position: sticky; top: 110px; }.legal-aside .kicker { margin-bottom: 14px; }.legal-aside h1 { margin: 0 0 16px; font: 700 42px/1.05 "Fraunces", serif; letter-spacing: -.04em; }.legal-aside p { color: var(--testo-3); font-size: 13px; }.legal-content section { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--bordo-soft); }.legal-content h2 { margin: 0 0 14px; font: 700 25px "Fraunces", serif; }.legal-content p, .legal-content li { color: var(--testo-2); line-height: 1.75; }.legal-content li + li { margin-top: 8px; }.legal-content a { color: var(--smeraldo); text-decoration: underline; text-underline-offset: 3px; }.legal-back { display: inline-flex; margin-top: 22px; color: var(--smeraldo); font-weight: 700; }
@media (max-width:760px) { .legal-main { padding-top: 52px; }.legal-layout { grid-template-columns: 1fr; gap: 48px; }.legal-aside { position: static; }.legal-aside h1 { font-size: 38px; } }
