:root {
  --ui-style: brutalist anti-design raw typography asymmetric;
  --bg: #111827;
  --surface: #1F2937;
  --text: #F9FAFB;
  --muted: #9CA3AF;
  --primary: #E11D48;
  --secondary: #4B5563;
  --accent: #FB7185;
  --border: rgba(255, 255, 255, 0.08);
  --font-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --offer-bg: #1a1a1a;
  --offer-border: #2a2a2a;
  --offer-bonus: #ffd700;
  --offer-cta-bg: #22c55e;
  --offer-cta-text: #ffffff;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(155deg, rgba(225, 29, 72, 0.12) 0%, transparent 40%),
    linear-gradient(320deg, rgba(251, 113, 133, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, #0b1220 50%, var(--bg) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 65% 45% at 8% 12%, rgba(225, 29, 72, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 78%, rgba(251, 113, 133, 0.1), transparent 50%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.03) 39px,
      rgba(255, 255, 255, 0.03) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255, 255, 255, 0.025) 39px,
      rgba(255, 255, 255, 0.025) 40px
    );
}

main {
  flex: 1 0 auto;
}

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

a {
  color: #0000ee;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #0000cc;
}

.disclosure-banner {
  position: relative;
  width: 100%;
  padding: 8px 16px 14px;
  font-size: 12px;
  text-align: center;
  line-height: 1.45;
  color: var(--bg);
  background: #f3f4f6;
  overflow: hidden;
}

.disclosure-banner .disclosure-text {
  display: block;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 4px;
}

.disclosure-wave path {
  fill: var(--bg);
}

.disclosure-wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 12px;
  display: block;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  height: 44px;
  border-bottom: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.nav-inner {
  width: 100%;
  margin: 0;
  padding: 0 32px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
  font-family: var(--font-serif);
}

.brand-lockup:hover {
  color: var(--accent);
}

.brand-lockup img {
  max-height: 20px;
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  padding-bottom: 6px;
  letter-spacing: 0.02em;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateX(-50%) scale(0);
  transition: transform 0.15s ease;
}

.nav-links a:hover::after {
  transform: translateX(-50%) scale(1);
}

.burger {
  display: none;
  width: 36px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  padding: 7px 8px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  width: 100%;
}

.nav-drawer {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--surface);
  border-radius: 18px 18px 0 0;
  border-top: 2px solid var(--primary);
  padding: 20px 24px 32px;
  transform: translateY(110%);
  transition: transform 0.28s ease;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.nav-drawer.open {
  transform: translateY(0);
}

.drawer-close {
  display: block;
  margin-left: auto;
  margin-bottom: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.nav-drawer a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: var(--font-serif);
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  border-bottom: 2px solid var(--accent);
}

.hero-left,
.hero-right {
  display: flex;
  align-items: center;
  padding: 48px 40px;
  min-height: 280px;
}

.hero-left {
  background: var(--primary);
  border-right: 2px solid var(--accent);
}

.hero-right {
  background: var(--surface);
}

.hero-left h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  transform: scaleY(1.08);
  transform-origin: left center;
  max-width: 12ch;
}

.hero-right p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 36ch;
  border-left: 3px solid var(--border);
  padding-left: 18px;
}

.marquee-divider {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee-raw 28s linear infinite;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

@keyframes marquee-raw {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.offers-section {
  padding: 64px 24px;
  background-image:
    linear-gradient(180deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.94)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--border);
  pointer-events: none;
}

.offers-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
  position: relative;
}

.offers-intro h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.offers-intro p {
  margin: 0;
  color: var(--muted);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.offer-card {
  background: var(--offer-bg);
  border: 1px solid var(--offer-border);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.offer-logo {
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 12px;
  background: #0d0d0d;
  padding: 10px;
  box-sizing: border-box;
}

.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: none;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.offer-bonus {
  color: var(--offer-bonus);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  margin: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.offer-terms {
  color: var(--muted);
  font-size: 0.72rem;
  margin: 0;
}

.offer-desc {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.45;
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--offer-cta-bg);
  color: var(--offer-cta-text);
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.offer-cta:hover {
  filter: brightness(1.08);
  color: var(--offer-cta-text);
}

.site-footer {
  margin-top: auto;
  padding: 48px 24px 32px;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  flex-shrink: 0;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
  max-width: 520px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-badges img {
  height: 42px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.45));
}

.footer-requisites {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  border: 1px dashed var(--border);
  padding: 12px 14px;
}

.footer-ar-legal {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  max-width: 95ch;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(17, 24, 39, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--surface);
  border: 2px solid var(--primary);
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.5);
}

.modal-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
}

.modal-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  border: 1px solid var(--border);
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--primary);
  color: var(--text);
  border-color: var(--primary);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
}

.btn-accent {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 10px;
  display: inline-block;
}

.legal-page h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  color: var(--accent);
  font-family: var(--font-serif);
}

.legal-page p,
.legal-page li {
  color: rgba(249, 250, 251, 0.9);
}

.legal-page ul {
  padding-left: 1.2rem;
}

.contact-form {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  max-width: 520px;
  border: 1px solid var(--border);
  padding: 22px;
  background: rgba(31, 41, 55, 0.7);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.35);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  color: var(--accent);
  font-size: 0.82rem;
  margin: 0;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--primary);
  background: rgba(225, 29, 72, 0.12);
}

.form-success.visible {
  display: block;
}

.go-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.go-card {
  text-align: center;
  max-width: 460px;
  padding: 32px 24px;
  background: var(--surface);
  border: 2px solid var(--border);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.45);
}

.go-card h1 {
  margin: 12px 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.ad-flag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 8px;
}

.spinner {
  width: 42px;
  height: 42px;
  margin: 18px auto;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin-raw 0.8s linear infinite;
}

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

.page-404 {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 24px;
  text-align: center;
}

.page-404 h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin: 0 0 12px;
  color: var(--primary);
  letter-spacing: -0.04em;
}

.page-404 p {
  color: var(--muted);
}

.page-404 .home-link {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.4);
}

.decor-clip {
  overflow: hidden;
  max-width: 100%;
}

.decor-img {
  display: block;
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: cover;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left {
    border-right: none;
    border-bottom: 2px solid var(--accent);
  }

  .nav-inner {
    padding: 0 16px;
  }
}

@media (max-width: 600px) {
  .offers-section {
    padding: 40px 16px;
  }

  .offer-logo {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    max-width: none;
  }

  .footer-badges img {
    height: 36px;
  }

  .decor-clip {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-img {
    max-width: 100%;
    width: 100%;
    max-height: 200px;
    height: auto;
  }

  .hero-left,
  .hero-right {
    padding: 32px 16px;
  }

  .marquee-divider {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 375px) {
  .decor-clip,
  .offers-section,
  .info-block,
  .footer-inner {
    max-width: 100%;
    overflow-x: hidden;
  }

  .decor-img {
    max-width: 100%;
    max-height: 180px;
  }

  .offer-logo {
    width: 140px;
    height: 70px;
  }

  .offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}
