:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --text: #F5F5F5;
  --muted: #BDBDBD;
  --primary: #A3E635;
  --secondary: #38BDF8;
  --accent: #F43F5E;
  --border: rgba(245,245,245,0.12);
  --legal-ink: #F5F5F5;
  --contracts-rule: rgba(245,245,245,0.12);
  --law-serif: Georgia, "Times New Roman", Times, serif;
  --documents-max-width: 1200px;
  --legal-doc-spacing: 1.7;
  --contracts-line-height: 1.7;
  --offer-bg-deep: #0d1117;
  --offer-surface: #161b22;
  --offer-surface-elevated: #1c2330;
  --offer-border: #30363d;
  --offer-accent: #d4a853;
  --offer-accent-soft: rgba(212, 168, 83, 0.15);
  --offer-text: #e6edf3;
  --offer-text-muted: #8b949e;
  --offer-cta: #b8860b;
  --offer-cta-hover: #c9a227;
  --offer-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: auto;
}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(163, 230, 53, 0.04) 0%, transparent 28%),
    linear-gradient(120deg, rgba(56, 189, 248, 0.03) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 0%, rgba(244, 63, 94, 0.06), transparent 50%);
  color: var(--legal-ink);
  line-height: var(--legal-doc-spacing);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
}

.legal-document-ui {
  line-height: var(--contracts-line-height);
  border-color: var(--contracts-rule);
  font-family: Georgia, "Times New Roman", Times, serif;
}

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

a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.disclosure {
  background: #050505;
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.disclosure__inner {
  max-width: var(--documents-max-width);
  margin: 0 auto;
  padding: 8px 16px 8px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.disclosure__icon {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--primary);
  line-height: 1;
}

.disclosure__inner p {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(245, 245, 245, 0.72);
  text-align: left;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 44px;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  background-image: linear-gradient(var(--bg), var(--bg)),
    linear-gradient(90deg, var(--primary), transparent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-image: linear-gradient(90deg, var(--primary), transparent) 1;
}

.site-header__bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-logo img {
  max-height: 20px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

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

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

.nav-desktop a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.nav-sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.55);
}

.nav-sheet.is-open {
  display: block;
}

.nav-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-radius: 16px 16px 0 0;
  padding: 24px 20px 32px;
  border-top: 1px solid var(--border);
}

.nav-sheet__panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-sheet__panel a {
  color: var(--text);
  text-decoration: none;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  font-size: 14px;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.nav-sheet__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header__bar {
    padding: 0 16px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

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

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

.site-footer__inner {
  max-width: var(--documents-max-width);
  margin: 0 auto;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.site-footer__brand img {
  max-height: 28px;
  width: auto;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 28px;
  list-style: none;
}

.site-footer__links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

.site-footer__links a:hover {
  color: var(--primary);
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.site-footer__badges a,
.site-footer__badges span {
  display: inline-flex;
}

.site-footer__badges img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.site-footer__requisites {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.site-footer__copy {
  font-size: 12px;
  color: rgba(245, 245, 245, 0.45);
}

.page-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 32px 64px;
}

.page-main h1 {
  font-variant: small-caps;
  letter-spacing: 0.08em;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin-bottom: 24px;
  font-weight: 600;
  line-height: 1.25;
}

.page-main h2 {
  font-variant: small-caps;
  letter-spacing: 0.06em;
  font-size: 1.25rem;
  margin: 32px 0 12px;
  font-weight: 600;
  color: var(--primary);
}

.page-main h3 {
  font-variant: small-caps;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  margin: 24px 0 10px;
  font-weight: 600;
}

.page-main p {
  margin-bottom: 16px;
  color: rgba(245, 245, 245, 0.9);
  max-width: 72ch;
}

.page-main ul,
.page-main ol {
  margin: 0 0 20px 1.25rem;
  color: var(--muted);
}

.page-main li {
  margin-bottom: 8px;
}

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

.age-gate,
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  padding: 20px;
}

.age-gate.is-visible,
.cookie-banner.is-visible {
  display: flex;
}

.age-gate__dialog,
.cookie-banner__dialog {
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 440px;
  width: 100%;
  padding: 28px 24px;
}

.age-gate__dialog h2,
.cookie-banner__dialog h2 {
  font-variant: small-caps;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.age-gate__dialog p,
.cookie-banner__dialog p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.age-gate__actions,
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 13px;
  font-variant: small-caps;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  background: var(--surface);
  color: var(--text);
}

.btn-primary {
  background: var(--primary);
  color: #0A0A0A;
  border-color: var(--primary);
}

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

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

.contact-form {
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 520px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-variant: small-caps;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

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

.contact-form__error {
  display: none;
  color: var(--accent);
  font-size: 13px;
  margin: -4px 0 12px;
}

.contact-form__error.is-visible {
  display: block;
}

.contact-success {
  display: none;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--primary);
  max-width: 520px;
  margin-top: 32px;
}

.contact-success.is-visible {
  display: block;
}

.contact-form.is-hidden {
  display: none;
}

.decor-img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

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

@media (max-width: 600px) {
  .page-main {
    padding: 32px 16px 48px;
  }

  .site-footer {
    padding: 40px 16px 28px;
  }

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

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

.offers-section {
  position: relative;
  padding: 2.5rem 1rem 3rem;
  overflow: hidden;
}

.offers-section__bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  pointer-events: none;
}

.offers-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.offers-section__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--offer-text);
  text-align: center;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
  font-variant: small-caps;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.offer-card {
  display: flex;
  flex-direction: column;
  background: var(--offer-surface);
  border: 1px solid var(--offer-border);
  border-radius: 12px;
  box-shadow: var(--offer-shadow);
  overflow: hidden;
}

.offer-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
  gap: 0.75rem;
}

.offer-card__logo {
  width: 200px;
  height: 80px;
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--offer-surface-elevated);
  padding: 0.5rem;
  box-sizing: border-box;
}

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

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

.offer-card__terms {
  font-size: 0.75rem;
  color: var(--offer-text-muted);
  margin-top: 0.25rem;
}

.offer-card__desc {
  font-size: 0.8rem;
  color: var(--offer-text-muted);
  line-height: 1.45;
}

.offer-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.7rem 1rem;
  background: var(--offer-cta);
  color: #0d1117;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  font-variant: small-caps;
  letter-spacing: 0.04em;
}

.offer-card__cta:hover {
  background: var(--offer-cta-hover);
  color: #0d1117;
}

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

.go-page__box {
  max-width: 480px;
}

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

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

@media (max-width: 600px) {
  .offer-card__logo {
    width: 160px;
    height: 64px;
  }

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

.go-page__ad {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 8px;
}

.go-page__notes {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.go-page__notes a {
  color: var(--secondary);
}
