:root {
  --ink: #291447;
  --ink-2: #163a5f;
  --text: #26384d;
  --muted: #586b7f;
  --line: #dce5ee;
  --soft: #f3f7fb;
  --white: #ffffff;
  --blue: #2166f3;
  --blue-dark: #174bb5;
  --teal: #0f9e91;
  --gold: #f3b63f;
  --shadow-sm: 0 8px 24px rgba(15, 42, 67, .08);
  --shadow-lg: 0 24px 64px rgba(15, 42, 67, .16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(33, 102, 243, .4);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(220, 229, 238, .85);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink);
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(15, 42, 67, .16);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(33, 102, 243, .28);
  border-radius: inherit;
}

.brand-mark span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand-name {
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.045em;
}

.brand-name small {
  color: var(--blue);
  font-size: .62em;
  font-weight: 800;
  letter-spacing: -.02em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.primary-nav a {
  padding: 10px 11px;
  color: #40566e;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: #edf3ff;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 11px;
  color: #40566e;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--blue-dark);
  background: #edf3ff;
}

.nav-dropdown-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  left: 50%;
  width: max-content;
  min-width: 238px;
  display: grid;
  gap: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 42, 67, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -7px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.nav-dropdown-menu a {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: #314b65;
  border-radius: 9px;
  font-size: 14px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--blue-dark);
  background: #edf3ff;
}

.session-admin-mobile,
.session-auth-mobile,
.session-shop-mobile,
.session-forum-mobile {
  display: none !important;
}

.header-cta.is-admin {
  background: #0f6f68;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.header-auth {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.header-auth:hover {
  color: var(--blue-dark);
  background: #edf3ff;
  border-color: #c9d8eb;
}

.header-auth.is-logout {
  color: #8b2e2e;
  background: #fff7f7;
  border-color: #efd2d2;
}

@media (hover: hover) and (min-width: 981px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition-delay: 0s;
  }
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-content: center;
  gap: 5px;
  margin-left: auto;
  padding: 0;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 3px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 13px;
}

.button--primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(33, 102, 243, .3);
}

.button--primary:hover {
  background: #2b73ff;
  box-shadow: 0 15px 34px rgba(33, 102, 243, .36);
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, .14);
}

.header-cta {
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(16, 42, 67, .98), rgba(18, 55, 92, .96) 52%, rgba(18, 74, 101, .94)),
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: radial-gradient(rgba(255, 255, 255, .6) .7px, transparent .7px);
  background-size: 19px 19px;
  mask-image: linear-gradient(to right, #000, transparent 72%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  pointer-events: none;
}

.hero-glow--one {
  width: 420px;
  height: 420px;
  top: -220px;
  right: 7%;
  background: rgba(33, 102, 243, .28);
}

.hero-glow--two {
  width: 300px;
  height: 300px;
  right: 28%;
  bottom: -220px;
  background: rgba(15, 158, 145, .25);
}

.hero-grid {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  align-items: center;
  gap: 64px;
  padding-block: 82px 92px;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aad5ff;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  display: block;
  background: var(--gold);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5.2vw, 67px);
  line-height: 1.03;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #d4e4f2;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 30px 0 0;
  padding: 0;
  color: #bcd0e1;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.trust-list span {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  margin-right: 5px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-size: 11px;
}

.hero-visual {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  justify-self: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 11%;
  background: radial-gradient(circle, rgba(33, 102, 243, .35), rgba(33, 102, 243, .06) 55%, transparent 70%);
  border-radius: 50%;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, .12);
  transform: translate(-50%, -50%);
}

.orbit::before {
  width: 100%;
  height: 1px;
}

.orbit::after {
  width: 1px;
  height: 100%;
}

.orbit--outer {
  inset: 3%;
}

.orbit--inner {
  inset: 22%;
  border-style: dashed;
}

.hero-center {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--white);
  border: 10px solid rgba(243, 182, 63, .95);
  border-radius: 50%;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .3), inset 0 0 0 4px var(--ink);
  transform: translate(-50%, -50%);
}

.hero-center-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .23em;
}

.hero-center strong {
  margin-block: -3px;
  font-size: 30px;
  letter-spacing: -.045em;
}

.hero-center small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .18em;
}

.number-ball {
  position: absolute;
  z-index: 3;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 5px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  box-shadow: 0 15px 28px rgba(0, 0, 0, .28), inset 0 0 0 3px currentColor;
  font-size: 20px;
  font-weight: 900;
}

.ball--one { top: 5%; left: 43%; color: var(--blue); }
.ball--two { top: 34%; right: -1%; color: var(--teal); }
.ball--three { right: 12%; bottom: 4%; color: #7c4dca; }
.ball--four { bottom: 11%; left: 4%; color: #e35353; }
.ball--five { top: 27%; left: -2%; color: #c68200; }

.quick-strip {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}

.quick-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.quick-strip-grid > a {
  min-height: 102px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 22px;
  border-right: 1px solid var(--line);
  transition: background-color .2s ease;
}

.quick-strip-grid > a:last-child {
  border-right: 0;
}

.quick-strip-grid > a:hover {
  background: #f6f9ff;
}

.quick-icon {
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue-dark);
  background: #edf3ff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
}

.quick-strip strong,
.quick-strip small {
  display: block;
}

.quick-strip strong {
  color: var(--ink);
  font-size: 14px;
}

.quick-strip small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding-block: 100px;
}

.section--soft {
  padding-top: 124px;
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 42px;
}

.section-heading h2,
.seo-section h2,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.lottery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lottery-card {
  --accent: var(--blue);
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.lottery-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  top: -72px;
  right: -55px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 50%;
}

.lottery-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  box-shadow: 0 18px 44px rgba(15, 42, 67, .13);
  transform: translateY(-4px);
}

.lottery-card--lotto { --accent: #2166f3; }
.lottery-card--ten { --accent: #0f9e91; }
.lottery-card--serale { --accent: #7651c9; }
.lottery-card--super { --accent: #db8b00; }
.lottery-card--euro { --accent: #2b7cbe; }
.lottery-card--million { --accent: #d34f72; }
.lottery-card--vinci { --accent: #259b5b; }

.lottery-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.lottery-symbol {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--accent) 28%, transparent);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.status-pill {
  padding: 5px 9px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, var(--white));
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lottery-card h3 {
  margin: 22px 0 7px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.lottery-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.card-links {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.card-links a {
  position: relative;
  min-height: 33px;
  display: flex;
  align-items: center;
  padding-right: 22px;
  color: #41566e;
  font-size: 13px;
  font-weight: 720;
}

.card-links a::after {
  content: "→";
  position: absolute;
  right: 2px;
  color: var(--accent);
  transition: transform .2s ease;
}

.card-links a:hover {
  color: var(--accent);
}

.card-links a:hover::after {
  transform: translateX(3px);
}

.live-section {
  background: var(--white);
}

.live-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.live-tabs {
  display: flex;
  gap: 7px;
  padding: 13px;
  overflow-x: auto;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.live-tab {
  min-width: max-content;
  min-height: 44px;
  padding: 9px 15px;
  color: #52677d;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.live-tab:hover {
  color: var(--blue);
  background: rgba(255, 255, 255, .75);
}

.live-tab.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(33, 102, 243, .25);
}

.live-panel {
  position: relative;
  padding: 16px;
}

.live-panel iframe {
  width: 100%;
  min-height: 300px;
  display: block;
  border: 0;
  border-radius: 12px;
  background: #f7f9fc;
  transition: height .25s ease, opacity .2s ease;
}

.live-panel.is-loading iframe {
  opacity: .35;
}

.frame-loading {
  position: absolute;
  z-index: 2;
  top: 38px;
  left: 50%;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 700;
  transform: translateX(-50%);
}

.live-panel.is-loading .frame-loading {
  display: flex;
}

.frame-loading span {
  width: 14px;
  height: 14px;
  border: 2px solid #d9e4f0;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.live-fallback {
  margin: 11px 4px 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.live-fallback a,
.text-link {
  color: var(--blue);
  font-weight: 800;
}

.noscript-note {
  margin: 14px 0 0;
  padding: 12px 15px;
  color: #7a4b00;
  background: #fff6df;
  border: 1px solid #f6dda4;
  border-radius: 10px;
}

.section--ink {
  color: var(--white);
  background: var(--ink);
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light > p {
  color: #b8cad9;
}

.section-heading--light .kicker {
  color: #75b7ff;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-card {
  position: relative;
  min-height: 270px;
  padding: 25px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.tool-card:hover {
  background: rgba(33, 102, 243, .2);
  border-color: rgba(117, 183, 255, .5);
  transform: translateY(-4px);
}

.tool-index {
  color: #75b7ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.tool-card h3 {
  margin: 63px 0 9px;
  color: var(--white);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.tool-card p {
  margin: 0;
  color: #b8cad9;
  font-size: 14px;
}

.tool-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-size: 20px;
  transition: transform .2s ease;
}

.tool-card:hover .tool-arrow {
  transform: translate(3px, -3px);
}

.seo-section {
  background: var(--white);
}

.seo-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: start;
  gap: 72px;
}

.seo-section h2 {
  margin-bottom: 24px;
}

.seo-section p {
  color: var(--muted);
  font-size: 17px;
}

.seo-section strong {
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 10px;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.faq-card {
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-card > h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.faq-card details {
  border-bottom: 1px solid var(--line);
}

.faq-card details:last-child {
  border-bottom: 0;
}

.faq-card summary {
  position: relative;
  padding: 17px 34px 17px 0;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  position: absolute;
  top: 15px;
  right: 2px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
}

.faq-card details[open] summary::after {
  content: "−";
}

.faq-card details p {
  margin: -3px 0 17px;
  font-size: 14px;
}

.responsible-bar {
  color: #5a4a22;
  background: #fff8e8;
  border-block: 1px solid #f5e2ae;
}

.responsible-bar .shell {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 16px;
}

.responsible-bar p {
  margin: 0;
  font-size: 13px;
}

.responsible-icon {
  width: 50px;
  height: 50px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #714d00;
  background: #ffe1a0;
  border: 2px solid #d59b23;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.site-footer {
  color: #b8cad9;
  background: #091b2b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 55px;
  padding-block: 74px 58px;
}

.brand--footer {
  color: var(--white);
}

.brand--footer .brand-name small {
  color: #75b7ff;
}

.footer-brand p {
  max-width: 350px;
  margin: 21px 0 0;
  color: #93aabd;
  font-size: 14px;
}

.footer-grid h2 {
  margin: 3px 0 17px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: #a9bdcd;
  font-size: 13px;
  transition: color .2s ease;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #d9e5ee;
  font-weight: 750;
}

/* Pagine interne leggere */
.page-main {
  min-height: 60vh;
  background: var(--soft);
}

.page-hero {
  color: var(--white);
  background: linear-gradient(125deg, var(--ink), #174b68);
  padding-block: 70px;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: #c7d9e7;
  font-size: 18px;
}

.page-section {
  padding-block: 70px 90px;
}

.sitemap-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sitemap-group,
.contact-card,
.contact-aside {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.sitemap-group h2,
.contact-card h2,
.contact-aside h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 21px;
  letter-spacing: -.025em;
}

.sitemap-group a {
  display: block;
  padding: 8px 0;
  color: #455c74;
  border-bottom: 1px solid #edf1f5;
  font-size: 14px;
  font-weight: 680;
}

.sitemap-group a:last-child {
  border-bottom: 0;
}

.sitemap-group a:hover {
  color: var(--blue);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  align-items: start;
  gap: 22px;
}

.contact-card fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-notice {
  display: grid;
  gap: 3px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid;
  border-radius: 11px;
  font-size: 14px;
}

.form-notice strong {
  color: inherit;
  font-size: 15px;
}

.form-notice--success {
  color: #12613b;
  background: #ecf9f2;
  border-color: #9dd8b8;
}

.form-notice--error {
  color: #8a2630;
  background: #fff1f2;
  border-color: #e8afb5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.form-field label,
.form-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--text);
  background: #fbfcfe;
  border: 1px solid #cfdbe6;
  border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(33, 102, 243, .11);
  outline: 0;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 7px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #455c74;
  font-size: 13px;
}

.check-row input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--blue);
}

.consent-box {
  margin-top: 20px;
  padding: 15px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.consent-box a {
  color: var(--blue);
  font-weight: 800;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.button--secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-aside p,
.contact-aside li {
  color: var(--muted);
  font-size: 14px;
}

.contact-aside ul {
  padding-left: 19px;
}

.contact-aside a {
  color: var(--blue);
  font-weight: 750;
}

@media (max-width: 1080px) {
  .primary-nav > a,
  .nav-dropdown-toggle {
    padding-inline: 7px;
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
    gap: 32px;
  }

  .lottery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sitemap-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions {
    display: none;
  }

  .session-admin-mobile,
  .session-auth-mobile,
  .session-shop-mobile,
  .session-forum-mobile {
    display: inline-flex !important;
  }

  .primary-nav {
    position: absolute;
    z-index: 99;
    top: 100%;
    right: 0;
    left: 0;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    display: grid;
    align-content: start;
    gap: 3px;
    margin: 0;
    padding: 18px 20px 40px;
    overflow-y: auto;
    background: rgba(255, 255, 255, .99);
    border-top: 1px solid var(--line);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }

  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .primary-nav a {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    font-size: 16px;
  }

  .nav-dropdown {
    width: 100%;
    display: block;
  }

  .nav-dropdown-toggle {
    width: 100%;
    min-height: 50px;
    justify-content: space-between;
    padding: 12px 15px;
    font-size: 16px;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    display: grid;
    gap: 2px;
    padding: 0 8px;
    overflow: hidden;
    background: #f6f9fd;
    border: 0;
    border-radius: 11px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none;
    transition: max-height .24s ease, padding .24s ease;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 430px;
    padding: 7px 8px 9px;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown-menu a {
    min-height: 44px;
    padding: 10px 15px 10px 25px;
    font-size: 15px;
  }

  .session-admin-mobile {
    display: flex !important;
    color: #0b5c57 !important;
    background: #e9f7f5;
  }

  .session-auth-mobile {
    display: flex !important;
    color: #174bb5 !important;
    background: #edf3ff;
  }

  .session-auth-mobile.is-logout {
    color: #8b2e2e !important;
    background: #fff1f1;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 68px 92px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-actions,
  .trust-list {
    justify-content: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-visual {
    width: min(90vw, 420px);
  }

  .quick-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-strip-grid > a:nth-child(2) {
    border-right: 0;
  }

  .quick-strip-grid > a:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading,
  .seo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 680px;
  }

  .seo-grid {
    gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-grid {
    gap: 44px;
    padding-block: 54px 75px;
  }

  .hero h1 {
    font-size: clamp(36px, 11.5vw, 50px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    justify-content: start;
    width: fit-content;
    margin-inline: auto;
    text-align: left;
  }

  .hero-visual {
    width: min(84vw, 350px);
  }

  .hero-center {
    width: 142px;
    height: 142px;
    border-width: 7px;
  }

  .hero-center strong {
    font-size: 25px;
  }

  .number-ball {
    width: 52px;
    height: 52px;
    font-size: 17px;
  }

  .quick-strip {
    margin-top: -26px;
  }

  .quick-strip-grid {
    grid-template-columns: 1fr;
  }

  .quick-strip-grid > a {
    min-height: 82px;
    padding: 17px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-strip-grid > a:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 72px;
  }

  .section--soft {
    padding-top: 95px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .seo-section h2,
  .page-hero h1 {
    font-size: 31px;
  }

  .section-heading > p,
  .seo-section p {
    font-size: 15px;
  }

  .lottery-grid,
  .tools-grid,
  .sitemap-groups,
  .form-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .lottery-card {
    min-height: 0;
  }

  .tool-card {
    min-height: 230px;
  }

  .live-panel {
    padding: 8px;
  }

  .live-panel iframe {
    border-radius: 9px;
  }

  .faq-card {
    padding: 22px;
  }

  .responsible-bar .shell {
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 24px;
    padding-block: 58px 44px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 18px;
  }

  .form-field--wide {
    grid-column: auto;
  }

  .page-hero {
    padding-block: 54px;
  }

  .page-section {
    padding-block: 48px 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header,
  .hero-visual,
  .hero-actions,
  .quick-strip,
  .live-tabs,
  .site-footer {
    display: none !important;
  }

  .hero,
  .section--ink,
  .page-hero {
    color: #000;
    background: #fff;
  }

  .hero h1,
  .section-heading--light h2,
  .page-hero h1 {
    color: #000;
  }

  .section {
    padding-block: 24px;
  }
}
