/* Selector / Селектор казино — общие стили */
:root {
  --bg-page: #1f2635;
  --bg-surface: #202738;
  --text: #ffffff;
  --text-muted: #dfe6f2;
  --cta: #146df5;
  --cta-hover: #0f5ed6;
  --accent: #2d8cff;
  --shadow-btn: rgba(0, 0, 0, 0.22);
  --line-header: rgba(255, 255, 255, 0.14);
  --container: 1120px;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

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

main {
  flex: 1 0 auto;
}

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

.site-header > .container {
  position: relative;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  min-height: 56px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 28px;
  width: auto;
}

@media (min-width: 900px) {
  .logo img {
    height: 32px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px var(--shadow-btn);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--bonus-header {
  background: var(--cta);
  color: #fff;
}

.btn--bonus-header:hover {
  background: var(--cta-hover);
  color: #fff;
}

.btn--cta {
  background: var(--cta);
  color: #fff;
  font-size: 17px;
  padding: 14px 28px;
  margin-top: 8px;
}

.btn--cta:hover {
  background: var(--cta-hover);
  color: #fff;
}

.nav-desktop {
  display: none;
  flex: 1;
  justify-content: flex-end;
}

.nav-desktop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 18px;
}

.nav-desktop a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--accent);
}

.burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-shrink: 0;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.burger-lines {
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  border-radius: 1px;
}

.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}

.burger-lines::before {
  top: -6px;
}

.burger-lines::after {
  top: 6px;
}

.burger[aria-expanded="true"] .burger-lines {
  background: transparent;
}

.burger[aria-expanded="true"] .burger-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] .burger-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Компактная мобильная панель — не fullscreen */
.nav-mobile-panel {
  display: none;
  max-height: 260px;
  overflow-y: auto;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.nav-mobile-panel.is-open {
  display: block;
  position: absolute;
  left: 24px;
  right: 24px;
  top: 100%;
  margin-top: 6px;
  z-index: 60;
}

.nav-mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile-panel a {
  display: block;
  padding: 8px 6px;
  color: var(--text);
  font-size: 15px;
  border-radius: 6px;
}

.nav-mobile-panel a:hover,
.nav-mobile-panel a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.nav-mobile-only {
  display: block;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .burger {
    display: none;
  }

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

  .nav-mobile-only {
    display: none;
  }
}

/* ——— Hero & sections ——— */
.hero {
  padding: 48px 0 32px;
  text-align: center;
}

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

.hero-lead {
  max-width: 820px;
  margin: 0 auto 20px;
  color: var(--text-muted);
  font-size: 19px;
}

.hero-lead p {
  margin: 0 0 14px;
}

.hero-lead p:last-child {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-banner {
  display: block;
  margin-top: 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
}

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

.section-block {
  padding: 40px 0;
}

.section-block .container > * {
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}


.section-block h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-block p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.section-block ul,
.section-block ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
  color: var(--text-muted);
}

.section-block li {
  margin-bottom: 8px;
}

.muted {
  color: var(--text-muted);
}

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

.steps li {
  position: relative;
  padding: 14px 14px 14px 52px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  color: var(--text-muted);
}

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

.faq-item {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
}

.inline-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 17px;
  color: var(--text-muted);
}

.inline-links a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-links a:hover {
  color: #fff;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--line-header);
  padding: 36px 0 28px;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-logo img {
  height: 26px;
  width: auto;
  margin: 0 auto;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

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

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

.copyright {
  margin: 0;
  font-size: 14px;
  color: rgba(223, 230, 242, 0.65);
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }

  .footer-logo img {
    margin: 0;
  }

  .footer-nav ul {
    justify-content: flex-end;
  }
}
