:root {
  --bg: #1B0F1E;
  --surface: #2A1533;
  --text: #FDF4FF;
  --muted: #F5D0FE;
  --primary: #E879F9;
  --secondary: #22D3EE;
  --accent: #FACC15;
  --border: rgba(253,244,255,0.12);
  --design-keywords: classic grid-based rational timeless functional;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1200px;
  --gap: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  background-image:
    linear-gradient(160deg, rgba(232, 121, 249, 0.08) 0%, transparent 40%),
    linear-gradient(340deg, rgba(34, 211, 238, 0.06) 0%, transparent 45%);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.02em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(253, 244, 255, 0.02) 79px,
      rgba(253, 244, 255, 0.02) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(253, 244, 255, 0.015) 79px,
      rgba(253, 244, 255, 0.015) 80px
    );
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--secondary);
}

ul {
  list-style: none;
}

.disclosure {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  color: var(--bg);
  background-color: #FDF4FF;
  background-image: repeating-linear-gradient(
    45deg,
    #FDF4FF,
    #FDF4FF 10px,
    rgba(27, 15, 30, 0.04) 10px,
    rgba(27, 15, 30, 0.04) 20px
  );
  border: none;
  line-height: 1.45;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(15, 15, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.navbar-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 14px;
}

.navbar-links a {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.navbar-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 15, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px 24px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mobile-nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
}

main {
  flex: 1 0 auto;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  max-width: 560px;
}

.hero-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 360px;
  text-align: right;
  line-height: 1.5;
}

.page-hero {
  background: var(--surface);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.page-hero p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 560px;
}

.offers-section {
  padding: 48px 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(27, 15, 30, 0.82), rgba(27, 15, 30, 0.88)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

.offers-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  text-align: center;
}

.offers-intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 14px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
}

.offer-card {
  background: #fff;
  border: 4px solid #000;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 7px 7px 0 #000;
}

.offer-card-logo {
  width: 180px;
  height: 80px;
  margin: 22px auto 0;
  padding: 0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #e5e7eb;
  border-bottom: 3px solid #000;
}

.offer-card-logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  text-align: center;
  margin: 16px 16px 8px;
  text-transform: uppercase;
  font-family: var(--font);
}

.offer-bonus-group {
  text-align: center;
  padding: 0 16px;
  margin-bottom: 8px;
}

.offer-bonus {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  max-width: 100%;
}

.offer-terms {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.offer-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
  padding: 0 16px;
  margin-bottom: 12px;
}

.offer-cta {
  display: block;
  margin: 0 16px 20px;
  padding: 12px 16px;
  background: #eab308;
  color: #111;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  border: 3px solid #000;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}

.offer-cta:hover {
  background: #facc15;
  color: #111;
  transform: translateY(-2px);
}

.info-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.info-section:nth-child(even) {
  background: rgba(42, 21, 51, 0.35);
}

.info-section h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.info-section p {
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 68ch;
}

.info-section p:last-child {
  margin-bottom: 0;
}

.info-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 22px;
  background: var(--primary);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.info-cta:hover {
  background: var(--secondary);
  color: var(--bg);
}

.decor-img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.decor-clip {
  overflow: hidden;
  max-width: 100%;
}

.legal-content {
  padding: 48px 0 64px;
}

.legal-content h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 12px;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 72ch;
}

.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content strong {
  color: var(--text);
}

.contact-form {
  margin-top: 32px;
  max-width: 480px;
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--secondary);
}

.email-error {
  display: none;
  color: var(--accent);
  font-size: 12px;
  margin-top: 6px;
}

.email-error.visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 24px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.form-success.visible {
  display: block;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13px;
  max-width: 280px;
}

.footer-col h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
}

.footer-badges img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-requisites {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-dgoj {
  font-size: 11px;
  color: rgba(245, 208, 254, 0.7);
  line-height: 1.55;
  max-width: 900px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.age-gate,
.cookie-banner {
  display: none;
  position: fixed;
  z-index: 1000;
}

.age-gate.active {
  display: flex;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  padding: 24px;
}

.age-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.age-box h2 {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.age-box p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.age-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.age-actions button {
  padding: 12px 20px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.btn-confirm {
  background: var(--primary);
  color: var(--bg);
}

.btn-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border) !important;
}

.cookie-banner.active {
  display: block;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 25, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p {
  color: var(--muted);
  font-size: 13px;
  flex: 1;
  min-width: 220px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions button {
  padding: 10px 18px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
}

#cookie-accept {
  background: var(--primary);
  color: var(--bg);
}

#cookie-reject {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.error-page {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}

.error-page h1 {
  font-size: 72px;
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 24px;
}

.error-page a {
  display: inline-block;
  padding: 12px 22px;
  background: var(--primary);
  color: var(--bg);
  font-weight: 700;
}

@media (max-width: 900px) {
  .navbar-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 16px 24px;
  }

  .hero {
    padding: 16px 0;
  }

  .hero-sub {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    max-width: 100%;
  }

  .offer-card-logo {
    width: 160px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .offer-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .offer-bonus {
    font-size: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .decor-img {
    max-width: 100%;
    max-height: 240px;
    width: 100%;
    height: auto;
  }

  .decor-clip,
  .mosaic-bg,
  .topic-bg-band {
    max-width: 100%;
    overflow: hidden;
  }

  .mosaic-bg,
  .topic-bg-band {
    min-height: 140px;
    max-height: 200px;
  }
}

@media (max-width: 375px) {
  .wrap {
    padding: 0 16px;
  }

  .decor-img {
    max-width: 100%;
    max-height: 200px;
  }

  .decor-clip,
  .mosaic-bg,
  .topic-bg-band,
  .offers-section,
  .info-section {
    max-width: 100%;
    overflow-x: hidden;
  }

  .offer-card-logo {
    width: 148px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .offer-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
  }
}

.info-section::after {
  content: "";
  display: block;
  clear: both;
}

.layout-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.layout-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.layout-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.mini-card {
  padding: 20px;
  background: var(--surface);
  border-left: 3px solid var(--primary);
}

.mini-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.mini-card p {
  font-size: 13px;
  margin-bottom: 0;
  max-width: none;
}

.layout-quote {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  align-items: start;
}

.pull-quote {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--primary);
  border-top: 4px solid var(--primary);
  padding-top: 16px;
}

.layout-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.step-item {
  padding: 16px;
  border: 1px solid var(--border);
}

.step-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 10px;
}

.layout-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 16px 0;
}

.stat-cell {
  background: var(--bg);
  padding: 20px;
  text-align: center;
}

.stat-cell strong {
  display: block;
  font-size: 28px;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.stat-cell span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.layout-rail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
}

.rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
  border-right: 2px solid var(--secondary);
  padding-right: 12px;
  height: fit-content;
}

.layout-checklist {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.layout-checklist li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.layout-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 12px;
  height: 12px;
  background: var(--primary);
}

.layout-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.mosaic-bg {
  min-height: 200px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  max-height: 320px;
}

.layout-asymmetric {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.side-note {
  padding: 20px;
  background: rgba(34, 211, 238, 0.08);
  border-top: 3px solid var(--secondary);
  font-size: 14px;
  color: var(--muted);
}

.layout-dense {
  columns: 2;
  column-gap: 40px;
}

.layout-dense p {
  break-inside: avoid;
  max-width: none;
}

.layout-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.layout-centered p {
  margin-left: auto;
  margin-right: auto;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}

.tag-row span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--primary);
  padding: 6px 12px;
}

.fade-up {
  animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .layout-split,
  .layout-quote,
  .layout-rail,
  .layout-mosaic,
  .layout-asymmetric {
    grid-template-columns: 1fr;
  }

  .layout-cards,
  .layout-steps,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .layout-dense {
    columns: 1;
  }

  .rail-label {
    writing-mode: horizontal-tb;
    transform: none;
    border-right: none;
    border-bottom: 2px solid var(--secondary);
    padding: 0 0 8px;
  }

  .mosaic-bg {
    max-width: 100%;
    overflow: hidden;
    min-height: 160px;
    max-height: 240px;
  }

  .decor-clip {
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 375px) {
  .mosaic-bg {
    max-width: 100%;
    overflow: hidden;
    min-height: 120px;
    max-height: 180px;
  }

  .layout-split .decor-img,
  .layout-quote .decor-img,
  .layout-band .decor-img,
  .layout-centered .decor-img {
    max-width: 100%;
    max-height: 200px;
  }
}
