:root {
  --navy: #07183f;
  --ink: #12224a;
  --muted: #5d7094;
  --blue: #1a46c9;
  --blue-deep: #1436a8;
  --sky: #49b7ff;
  --red: #e1062c;
  --yellow: #ffd000;
  --line: #e4edf7;
  --card: #ffffff;
  --page: #f4f7fb;
  --green: #22a34a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#operateurs,
#jeu-responsable { scroll-margin-top: 24px; }
#jeu-responsable.is-target { animation: target-glow 1.3s ease; }
@keyframes target-glow {
  0%, 45% {
    outline: 4px solid #1a46c9;
    background: #d5e8ff;
  }
  100% {
    outline: 4px solid transparent;
    background: linear-gradient(90deg, #e7f1ff, #f3f8ff);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn::before,
  #jeu-responsable.is-target { animation: none; }
}
body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.brand b { color: var(--sky); font-weight: 800; }
.tower { width: 24px; height: 34px; flex: none; }

.site-header {
  background: var(--navy);
  color: #fff;
  position: relative;
  z-index: 6;
}
.home .site-header {
  position: absolute;
  inset: 0 0 auto 0;
  background: linear-gradient(180deg, rgba(5, 18, 58, 0.28), rgba(5, 18, 58, 0));
}
.header-bar,
.legal .site-header {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 18px;
}
.legal .site-header { padding: 0 28px; justify-content: space-between; gap: 16px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 700; }
.legal-nav a:hover { color: var(--sky); }
.legal .moderation { margin: 0 auto 28px; width: 100%; }
.legal-footer-links { justify-content: flex-start; padding: 18px 0 8px; }
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-bar { position: relative; }
.main-nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
}
.main-nav a:hover { color: var(--sky); }
.nav-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.45);
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-age {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid #e1062c;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.5px;
  flex: none;
}
.responsible-link {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.responsible-link svg { width: 18px; height: 18px; }
.responsible-link:hover { background: rgba(255, 255, 255, 0.12); }

.hero {
  position: relative;
  min-height: 700px;
  padding: 128px 0 92px;
  color: #fff;
  background: linear-gradient(180deg, #06307a 0%, #0a56c4 55%, #8eb6ef 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 24, 78, 0.28) 0%, rgba(6, 24, 78, 0) 46%);
  pointer-events: none;
}
.hero-layout { position: relative; z-index: 2; }
.hero-copy { max-width: 560px; }
.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 18px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -1.8px;
}
.hero h1 .accent {
  background: var(--red);
  border-radius: 12px;
  padding: 0.04em 0.22em 0.1em;
  box-shadow: 0 10px 24px rgba(160, 0, 30, 0.25);
}
.hero p {
  margin: 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 10px rgba(4, 16, 50, 0.45);
}
.hero-girl {
  position: absolute;
  z-index: 2;
  right: max(16px, calc(50% - 490px));
  bottom: 0;
  height: calc(100% - 78px);
  width: auto;
  pointer-events: none;
  user-select: none;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: btn-sheen 2.8s ease-in-out infinite;
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
@keyframes btn-sheen {
  0%, 48% { transform: translateX(-160%) skewX(-18deg); }
  78%, 100% { transform: translateX(340%) skewX(-18deg); }
}
.btn:focus-visible,
.main-nav a:focus-visible,
.ulink:focus-visible,
.responsible-link:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
.btn-yellow {
  margin-top: 26px;
  background: var(--yellow);
  color: #14224d;
  padding: 15px 26px;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(0, 20, 60, 0.2);
}
.btn-blue {
  width: 100%;
  background: linear-gradient(180deg, #2457e6 0%, #1a3fbe 100%);
  color: #fff;
  padding: 13px 18px;
  font-size: 15px;
  box-shadow: 0 8px 16px rgba(20, 60, 170, 0.22);
}

.trust-wrap {
  position: relative;
  z-index: 4;
  margin-top: -58px;
}
.trust {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e7eef8;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(20, 50, 110, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust article {
  text-align: center;
  padding: 26px 16px 22px;
  color: var(--blue);
}
.trust article + article { border-left: 1px solid var(--line); }
.trust svg { width: 54px; height: 54px; margin: 0 auto 12px; display: block; }
.trust p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.block {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 10px;
}
.section-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.8px;
  font-weight: 800;
}
.section-head p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; }
.tricolor {
  width: 34px;
  height: 22px;
  margin-top: 8px;
  flex: none;
  background: linear-gradient(115deg, #0055a4 0 42%, #fff 42% 58%, #ef4135 58%);
  transform: skewX(-22deg);
  border-radius: 2px;
}

.op-grid, .ulink-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.op-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow: 0 10px 28px rgba(20, 50, 110, 0.06);
  display: flex;
  flex-direction: column;
}
.op-logo {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #1a3f86;
}
.op-logo img {
  display: block;
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}
.op-logo .logo-winamax { height: 28px; }
.op-card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  flex: 1 1 auto;
}
.op-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: break-word;
}
.op-card .btn-blue { margin-top: auto; min-height: 48px; }
.tick { width: 18px; height: 18px; flex: none; }

.moderation {
  margin-top: 54px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #e7f1ff, #f3f8ff);
  border: 1px solid #d5e4f8;
  border-radius: 22px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.age-badge {
  width: 86px;
  height: 86px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  border: 7px solid var(--red);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: -1px;
}
.age-badge span { font-size: 18px; }
.moderation-copy { flex: 1; }
.moderation h2 {
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: -0.5px;
}
.moderation p {
  margin: 0;
  color: #243864;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
}
.moderation a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.heart {
  width: 118px;
  height: auto;
  flex: none;
  margin-left: 8px;
  border-left: 1px solid #c5d7ef;
  padding-left: 18px;
}

.links-block { padding-top: 48px; padding-bottom: 64px; }
.ulink {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 8px 22px rgba(20, 50, 110, 0.05);
  min-height: 84px;
}
.ulink svg { width: 34px; height: 34px; color: var(--blue); flex: none; }
.ulink strong, .ulink small { display: block; }
.ulink strong { font-size: 15px; }
.ulink small { margin-top: 3px; color: #6a7ea3; font-size: 13px; font-weight: 600; }
.ulink:hover { border-color: #b9cff0; }

.site-footer {
  background: linear-gradient(180deg, #071433 0%, #08183c 100%);
  color: #fff;
  padding: 36px 0 22px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1.6fr auto;
  gap: 28px;
  align-items: center;
}
.footer-license {
  margin: 28px auto 0;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  font-size: 14px;
  font-weight: 600;
}
.footer-links span { color: #8ea4c8; }
.footer-links a:hover { color: var(--sky); }
.footer-contacts {
  margin: 14px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #d5e4f8;
  font-size: 14px;
  font-weight: 600;
}
.footer-contacts a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contacts svg { width: 16px; height: 16px; }
.footer-age { width: 74px; height: 74px; font-size: 24px; }
.footer-warning {
  margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #d7e5f8;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.footer-warning svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.footer-warning p { margin: 0; }
.footer-warning a { text-decoration: underline; }

.legal .section {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}
.legal h1 { font-size: 36px; letter-spacing: -0.8px; margin: 8px 0 16px; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p { line-height: 1.65; color: #24365c; }
.legal .section a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
}
.notice {
  padding: 14px 16px;
  background: #fff6d8;
  border: 1px solid #ffe08a;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.legal .site-footer { padding: 22px 28px; }
.legal .site-footer p { color: #fff; }
.legal .footer-warning p { color: #d7e5f8; }
.legal .site-footer a { color: #b9dcff; text-decoration: underline; }

@media (max-width: 1280px) {
  .hero-copy { max-width: 400px; }
}
@media (max-width: 1100px) {
  .main-nav a { padding: 8px 8px; font-size: 14px; }
  .hero-copy { max-width: 360px; }
}
@media (max-width: 900px) {
  .home .site-header {
    position: relative;
    background: var(--navy);
  }
  .home .header-bar {
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 8px;
  }
  .main-nav { display: none; }
  .hero { min-height: 0; padding: 28px 0 0; overflow: hidden; }
  .hero-bg { object-position: 22% center; }
  .hero-copy { max-width: 100%; position: relative; z-index: 3; }
  .hero h1 { font-size: clamp(36px, 8.5vw, 52px); letter-spacing: -1.2px; }
  .hero p { max-width: none; }
  .hero-girl {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    height: auto;
    width: min(340px, 78%);
    margin: 8px 14% 0 auto;
  }
  .trust-wrap { margin-top: 8px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust article:nth-child(odd) { border-left: 0; }
  .trust article:nth-child(2) { border-left: 1px solid var(--line); }
  .trust article:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .trust article:nth-child(3) { border-left: 0; }
  .op-grid, .ulink-grid { grid-template-columns: 1fr; }
  .moderation { align-items: flex-start; }
  .heart { width: 88px; }
  .footer-main { grid-template-columns: 1fr auto; align-items: start; }
  .footer-links, .footer-contacts { justify-content: flex-start; }
  .footer-license { font-size: 18px; }
}
@media (max-width: 680px) {
  .wrap, .trust, .block { width: min(1140px, calc(100% - 28px)); }
  .brand { font-size: 18px; gap: 6px; }
  .tower { width: 18px; height: 26px; }
  .header-tools { gap: 8px; }
  .responsible-link { padding: 7px 10px; font-size: 12px; gap: 6px; }
  .responsible-link svg { width: 16px; height: 16px; }
  .hero { padding-top: 22px; }
  .btn-yellow { width: 100%; max-width: 320px; }
  .block { padding-top: 40px; }
  .moderation { flex-wrap: wrap; padding: 16px; gap: 14px; }
  .age-badge { width: 72px; height: 72px; border-width: 6px; font-size: 24px; }
  .moderation h2 { font-size: 22px; }
  .heart { width: 96px; border-left: 0; padding-left: 0; margin-left: 0; }
  .links-block { padding-bottom: 40px; }
  .footer-main { grid-template-columns: 1fr; gap: 16px; }
  .footer-age { width: 64px; height: 64px; font-size: 20px; }
  .footer-warning { font-size: 15px; }
  .legal .section { width: calc(100% - 28px); padding: 24px 0 40px; }
  .legal h1 { font-size: 30px; }
  .legal .site-header { flex-wrap: wrap; height: auto; padding: 12px 16px; }
  .header-age { width: 36px; height: 36px; font-size: 12px; border-width: 2px; }
  .legal .brand { order: 1; }
  .legal .header-age { order: 2; margin-left: auto; }
  .legal-nav { order: 3; flex: 1 1 100%; font-size: 13px; }
  .section-head h2 { font-size: 26px; }
}
