/* Fugu / Фугу казино — единый контейнер и центральная ось */
:root {
  --bg-page: #001347;
  --bg-card: #08205d;
  --border-card: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-secondary: #d9e4ff;
  --text-muted: #a9bce8;
  --accent-green: #53ff00;
  --accent-green-hover: #45db00;
  --logo-blue: #4ea3ff;
  --logo-purple: #6a63ff;
  --glow-line: rgba(255, 255, 255, 0.24);
  --shadow-cta: 0 10px 25px rgba(83, 255, 0, 0.22);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.18);
  --container-max: 1120px;
  --header-h: 64px;
  --radius: 14px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--logo-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text-secondary);
}

.site-main,
section,
header,
footer {
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.text-wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

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

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-card);
}

.header-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.header-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px 16px;
  width: 100%;
  min-height: var(--header-h);
}

.header-end {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.btn-bonus-header {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: var(--accent-green);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-bonus-header:hover {
  background: var(--accent-green-hover);
  color: var(--text);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

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

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

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

.header-mobile-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 8px;
  padding-bottom: 4px;
  pointer-events: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s, max-height 0.25s ease;
}

.site-header.is-open .header-mobile-panel {
  pointer-events: auto;
  opacity: 1;
  max-height: 280px;
}

.nav-mobile-inner {
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  max-height: 260px;
  overflow-y: auto;
}

.nav-mobile-inner a {
  display: block;
  padding: 10px 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
}

.nav-mobile-inner a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.header-glow {
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .header-mobile-panel {
    display: none !important;
  }

  .logo-link img {
    height: 48px;
    max-width: 200px;
  }

  .header-row {
    gap: 16px;
  }
}

/* ——— Main ——— */
.site-main {
  flex: 1;
}

.hero-section {
  padding: 56px 0 40px;
}

.content-section {
  padding: 48px 0;
}

.content-section--tight {
  padding-top: 32px;
  padding-bottom: 48px;
}

.faq-section {
  padding: 48px 0;
}

.content-section:last-of-type,
.faq-section:last-of-type {
  padding-bottom: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-col {
  width: 100%;
  min-width: 0;
}

.hero-col--media {
  display: flex;
  justify-content: center;
}

.hero-col--text {
  display: flex;
  justify-content: center;
}

.hero-col--text .text-wrap {
  text-align: center;
}

.hero-col--text h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-col--text .lead {
  font-size: 19px;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.hero-cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  background: var(--accent-green);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cta:hover {
  background: var(--accent-green-hover);
  color: var(--text);
}

.hero-banner-link {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
  text-decoration: none;
}

.hero-banner-link:hover {
  box-shadow: var(--shadow-card), 0 0 0 1px var(--glow-line);
}

.hero-banner-link:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 4px;
}

.hero-banner-link img {
  width: 100%;
  height: auto;
}

h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin: 0 0 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 20px;
  margin: 24px 0 10px;
  color: var(--text-secondary);
  font-weight: 600;
}

.prose {
  width: 100%;
  color: var(--text-secondary);
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 1.35em;
  color: var(--text-secondary);
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text);
}

.text-muted {
  color: var(--text-muted);
  font-size: 16px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 28px;
  width: 100%;
}

.section-title-wrap h2 {
  margin-bottom: 8px;
}

.section-title-wrap .text-muted {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

@media (max-width: 991px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 14px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.steps li {
  position: relative;
  padding: 20px 20px 20px 56px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-green);
  color: #001347;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-section .text-wrap > h2 {
  margin-top: 0;
  text-align: center;
}

.faq {
  margin-top: 8px;
  width: 100%;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 4px 16px;
  box-shadow: var(--shadow-card);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  padding: 14px 0;
  list-style: none;
}

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

.faq details[open] summary {
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 10px;
}

.faq details p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--bg-page);
  border-top: 1px solid var(--border-card);
  padding: 40px 0 48px;
  margin-top: auto;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 20px;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
}

.footer-nav a:hover {
  color: var(--text-secondary);
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.footer-trust a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}

.footer-trust a:hover {
  color: var(--text-secondary);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
}

.related-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.related-links a {
  display: block;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  color: var(--text-secondary);
  text-decoration: none;
}

.related-links a:hover {
  border-color: var(--logo-blue);
  color: var(--text);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.breadcrumbs a {
  color: var(--logo-blue);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--text-secondary);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  font-size: 13px;
  color: var(--text-muted);
}

.trust-pill--link {
  text-decoration: none;
  color: var(--text-secondary);
}

.trust-pill--link:hover {
  border-color: var(--logo-blue);
  color: var(--text);
}

.btn-cta--outline {
  background: transparent;
  color: var(--accent-green);
  border: 2px solid var(--accent-green);
  box-shadow: none;
}

.btn-cta--outline:hover {
  background: rgba(83, 255, 0, 0.08);
}

.toc-section {
  padding: 8px 0 24px;
}

.page-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 820px;
  margin: 0 auto;
}

.toc-label {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--text);
  font-size: 16px;
}

.page-toc ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.page-toc a {
  color: var(--logo-blue);
  text-decoration: none;
}

.page-toc a:hover {
  text-decoration: underline;
}

.practical-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}

.practical-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.practical-list li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.cta-bottom-section {
  padding: 24px 0 56px;
}

.cta-bottom-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(145deg, var(--bg-card), #0a2a6e);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
}

.cta-bottom-card h2 {
  margin-top: 0;
}

.cta-bottom-card p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 24px;
}

.btn-cta--lg {
  padding: 16px 36px;
  font-size: 17px;
}

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