:root {
  --bg: #042b52;
  --bg-dark: #031f38;
  --panel: #083763;
  --panel-2: #0c477f;
  --panel-3: #114f8d;
  --line: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-soft: #f7fbff;
  --muted: #e8f2ff;
  --muted-2: #cfe1f6;
  --accent: #ff6b1a;
  --accent-hover: #ff8340;
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 26, 0.13), transparent 20%),
    radial-gradient(circle at left top, rgba(121, 196, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #0b4f93 0%, var(--bg) 120px, var(--bg-dark) 100%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(4, 42, 79, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo {
  position: relative;
  z-index: 3;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1;
  flex: 0 0 auto;
}

.logo span {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav-link {
  position: relative;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: var(--text-soft);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 15px;
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8648 100%);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 107, 26, 0.25);
  transform: translateY(-1px);
}

.page-main {
  padding: 28px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
  gap: 28px;
  background: linear-gradient(135deg, #032a52 0%, #083b6a 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.hero-content {
  padding: 40px;
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #ffe3d3;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  animation: heroFloat 3.8s ease-in-out infinite;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.12);
  word-break: break-word;
}

.hero p {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn::after,
.sticky-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.12) 40%, rgba(255,255,255,0.28) 50%, transparent 60%);
  transition: transform 0.65s ease;
}

.btn:hover::after,
.sticky-btn:hover::after {
  transform: translateX(120%);
}

.btn:hover,
.sticky-btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8547 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 107, 26, 0.26);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #ff9a5f 100%);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}

.hero-media {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    url('/assets/img/hero-main.svg') center/cover no-repeat;
}

.content-stack {
  display: grid;
  gap: 22px;
}

.content-stack > section {
  background: linear-gradient(180deg, rgba(11, 71, 128, 0.94), rgba(6, 47, 87, 0.97));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  overflow: hidden;
}

.content-stack > section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,0.16);
}

.content-stack > section h1,
.content-stack > section h2 {
  margin: 0 0 18px;
  line-height: 1.2;
  color: #fff;
  word-break: break-word;
}

.content-stack > section h1 {
  font-size: clamp(30px, 4vw, 42px);
}

.content-stack > section h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.content-stack > section h3 {
  margin: 22px 0 12px;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
  word-break: break-word;
}

.content-stack > section p,
.content-stack > section li,
.content-stack > section td {
  color: var(--text-soft);
  font-size: 18px;
}

.content-stack > section p {
  margin: 0 0 14px;
}

.content-stack > section strong {
  color: #fff;
}

.content-stack > section ul,
.content-stack > section ol {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}

.content-stack > section ul li,
.content-stack > section ol li {
  position: relative;
  padding: 14px 16px 14px 56px;
  margin: 0 0 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.content-stack > section ul li::before {
  content: "•";
  position: absolute;
  left: 18px;
  top: 13px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.95), rgba(255, 148, 82, 0.9));
  box-shadow: 0 8px 16px rgba(255, 107, 26, 0.24);
}

.content-stack > section ol {
  counter-reset: step;
}

.content-stack > section ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 13px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 107, 26, 0.96), rgba(255, 150, 90, 0.92));
  box-shadow: 0 8px 16px rgba(255, 107, 26, 0.24);
}

.content-stack > section ul li.list-item-dual {
  padding-top: 16px;
  padding-bottom: 16px;
  border-left: 3px solid rgba(255,255,255,0.1);
}

.content-stack > section ul li.list-item-risk {
  border-left: 3px solid rgba(255, 112, 112, 0.75);
  background: linear-gradient(180deg, rgba(255, 112, 112, 0.11), rgba(255,255,255,0.02));
}

.content-stack > section ul li.list-item-ok {
  border-left: 3px solid rgba(77, 241, 159, 0.82);
  background: linear-gradient(180deg, rgba(77, 241, 159, 0.11), rgba(255,255,255,0.02));
}

.content-stack > section ul li.list-item-info {
  border-left: 3px solid rgba(129, 192, 255, 0.82);
}

.list-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  margin-right: 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.list-tag-ok {
  background: rgba(77, 241, 159, 0.18);
  color: #dbffed;
}

.list-tag-risk {
  background: rgba(255, 112, 112, 0.18);
  color: #ffe5e5;
}

.list-tag-info {
  background: rgba(129, 192, 255, 0.18);
  color: #e5f3ff;
}

.list-tag-note {
  background: rgba(255, 194, 94, 0.16);
  color: #fff4d8;
}

.table-scroll,
.general-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  margin: 18px 0 8px;
}

.table-scroll::-webkit-scrollbar,
.general-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.table-scroll::-webkit-scrollbar-thumb,
.general-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}

table,
.general-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: rgba(255,255,255,0.03);
}

thead th,
table th {
  background: rgba(255, 107, 26, 0.16);
  color: #fff;
  text-align: left;
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

tbody td,
.general-table td,
table td {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-soft);
  vertical-align: top;
}

tbody tr:nth-child(even),
table tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.025);
}

.faq-section h3 {
  padding: 14px 18px;
  margin-top: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

.faq-section h3 + p {
  padding: 0 4px 8px;
}

.placeholder-note {
  margin: 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.18);
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  background: rgba(3, 22, 41, 0.65);
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-media {
    min-height: 280px;
  }

  .content-stack > section {
    padding: 24px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 10px;
    padding: 14px;
    background: rgba(4, 42, 79, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(0,0,0,0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 20;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 16px;
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 16px));
  }

  .page-main {
    padding: 16px 0 32px;
  }

  .logo {
    font-size: 24px;
  }

  .hero {
    border-radius: 18px;
    margin-bottom: 18px;
  }

  .hero-content,
  .content-stack > section {
    padding: 18px;
  }

  .hero-media {
    min-height: 180px;
  }

  .hero h1,
  .content-stack > section h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .content-stack > section h2 {
    font-size: 27px;
    line-height: 1.15;
  }

  .content-stack > section h3 {
    font-size: 19px;
  }

  .hero p,
  .content-stack > section p,
  .content-stack > section li,
  .content-stack > section td {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .content-stack {
    gap: 16px;
  }

  .content-stack > section ul li,
  .content-stack > section ol li {
    padding: 13px 14px 13px 48px;
    border-radius: 12px;
  }

  .content-stack > section ul li::before {
    left: 14px;
    top: 12px;
    width: 22px;
    height: 22px;
    font-size: 24px;
  }

  .content-stack > section ol li::before {
    left: 12px;
    top: 11px;
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  table,
  .general-table {
    min-width: 620px;
  }
}

.legal-bookmaker-banner {
  margin: 0 0 26px;
}

.legal-bookmaker-banner__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 420px);
  align-items: center;
  gap: 26px;
  padding: 30px 34px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at right top, rgba(255, 179, 71, 0.18), transparent 30%),
    linear-gradient(135deg, #0a3e73 0%, #072f58 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  position: relative;
}

.legal-bookmaker-banner__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03), transparent 35%),
    linear-gradient(180deg, transparent, rgba(255,255,255,0.02));
  pointer-events: none;
}

.legal-bookmaker-banner__text,
.legal-bookmaker-banner__media {
  position: relative;
  z-index: 1;
}

.legal-bookmaker-banner__label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 107, 26, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffd7bf;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-bookmaker-banner__text h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  text-wrap: balance;
}

.legal-bookmaker-banner__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.legal-bookmaker-banner__list li {
  position: relative;
  margin: 0;
  padding: 14px 16px 14px 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 18px;
  line-height: 1.45;
}

.legal-bookmaker-banner__list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff5b00;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(255, 91, 0, 0.14);
}

.legal-bookmaker-banner__list strong {
  color: #ffffff;
}

.legal-bookmaker-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6b1a 0%, #ff5400 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 28px rgba(255, 91, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.legal-bookmaker-banner__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 91, 0, 0.34);
  filter: brightness(1.04);
}

.legal-bookmaker-banner__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-bookmaker-banner__media img {
  max-width: 100%;
  width: min(100%, 330px);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.28));
  transform: translateZ(0);
}

@media (max-width: 980px) {
  .legal-bookmaker-banner__content {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .legal-bookmaker-banner__media {
    order: -1;
  }

  .legal-bookmaker-banner__media img {
    width: min(100%, 260px);
  }

  .legal-bookmaker-banner__text h2 {
    font-size: clamp(24px, 5vw, 34px);
  }
}

@media (max-width: 640px) {
  .legal-bookmaker-banner__content {
    padding: 20px;
    gap: 18px;
    border-radius: 18px;
  }

  .legal-bookmaker-banner__list li {
    font-size: 16px;
    padding: 13px 14px 13px 46px;
  }

  .legal-bookmaker-banner__button {
    width: 100%;
  }
}