:root {
  --bg: #020617;
  --surface: #020F2F;
  --text: #E5E7EB;
  --muted: #94A3B8;
  --primary: #38BDF8;
  --secondary: #A3E635;
  --accent: #F472B6;
  --border: rgba(229,231,235,0.12);
  --ui-keywords: glassmorphism frosted blur translucent floating cards modern;
  --glass-opacity-a: 0.72;
  --glass-opacity-b: 0.84;
  --glass-opacity-c: 0.66;
  --max-w: 1100px;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    linear-gradient(160deg, var(--bg) 0%, rgba(2, 15, 47, 0.95) 45%, var(--bg) 100%),
    radial-gradient(ellipse 70% 45% at 15% 10%, rgba(56, 189, 248, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(244, 114, 182, 0.1) 0%, transparent 50%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 70% 80%, rgba(163, 230, 53, 0.06) 0%, transparent 40%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(229, 231, 235, 0.02) 40px,
      rgba(229, 231, 235, 0.02) 41px
    );
  opacity: 0.8;
}

body > * {
  position: relative;
  z-index: 1;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

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

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border: 1px solid var(--border);
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.disclosure-banner {
  width: 100%;
  background: linear-gradient(90deg, #020617, #0c4a6e);
  color: #ffffff;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  padding: 10px 16px;
  border: none;
}

.site-header {
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-lockup img {
  width: 28px;
  height: 42px;
  object-fit: contain;
}

.age-badge-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  border-bottom: none;
}

.hero-left {
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  border-right: 2px solid var(--accent);
}

.hero-left h1 {
  color: var(--bg);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-align: center;
}

.hero-right {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 40px 28px;
}

.hero-right p {
  color: var(--text);
  font-size: 1rem;
  max-width: 36em;
}

.trust-row {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
}

.trust-row li {
  color: var(--text);
  font-size: 0.95rem;
}

.offers-section {
  padding: 48px 20px 64px;
  position: relative;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 8% 10% auto;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.offers-section h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  text-align: center;
}

.offers-lead {
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.offers-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offer-card {
  position: relative;
  background: rgba(2, 15, 47, var(--glass-opacity-a));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 20px 20px;
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.45);
  overflow: hidden;
}

.offer-card:nth-child(2) {
  background: rgba(2, 15, 47, var(--glass-opacity-b));
}

.offer-card:nth-child(3) {
  background: rgba(2, 15, 47, var(--glass-opacity-c));
}

.offer-card:nth-child(4) {
  background: rgba(2, 15, 47, 0.78);
}

.offer-card::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
  pointer-events: none;
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.85);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.logo-box {
  width: 120px;
  height: 120px;
  margin: 8px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  background: rgba(229, 231, 235, 0.06);
  border-radius: 12px;
  border: 1px solid var(--border);
}

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

.offer-card h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.offer-rating {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
}

.stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 12px;
}

.star {
  width: 14px;
  height: 12px;
}

.offer-desc {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  margin-bottom: 12px;
}

.bonus-group {
  text-align: center;
  margin-bottom: 10px;
}

.bonus-text {
  font-size: clamp(0.8rem, 2.4vw, 0.95rem);
  color: var(--text);
  margin-bottom: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  line-height: 1.45;
}

.bonus-terms {
  font-size: 0.75rem;
  color: var(--muted);
}

.offer-feature {
  text-align: center;
  font-size: 0.88rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.offer-rg {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

.offer-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  background: rgba(56, 189, 248, 0.9);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.offer-cta:hover {
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-1px);
}

.site-footer {
  background: rgba(2, 15, 47, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 40px 20px 32px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.footer-brand img {
  width: 28px;
  height: 42px;
  object-fit: contain;
}

.footer-desc {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 36em;
}

.footer-rg-line {
  color: var(--muted);
  font-size: 0.85rem;
}

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

.footer-links a {
  color: var(--primary);
  font-size: 0.9rem;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.footer-badges img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-requisites {
  color: var(--muted);
  font-size: 0.8rem;
}

.back-to-top {
  color: var(--secondary);
  font-size: 0.9rem;
}

.fi-disclosure {
  margin-top: 12px;
  max-width: 720px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.85);
  text-align: left;
}

.fi-disclosure p {
  margin-bottom: 8px;
}

.age-overlay,
.cookie-banner {
  position: fixed;
  z-index: 10000;
}

.age-overlay {
  inset: 0;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.age-dialog {
  background: rgba(2, 15, 47, 0.88);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.6);
}

.age-dialog h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.age-dialog p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.age-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.age-actions button,
.cookie-actions button {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-confirm {
  background: rgba(56, 189, 248, 0.9);
  color: var(--bg);
}

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

.age-blocked {
  display: none;
  color: var(--accent);
  margin-top: 12px;
}

.age-blocked.visible {
  display: block;
}

.cookie-banner {
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(2, 15, 47, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: none;
  box-shadow: 0 16px 48px rgba(2, 6, 23, 0.55);
}

.cookie-banner.active {
  display: block;
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 12px;
}

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

.cookie-actions .accept {
  background: rgba(56, 189, 248, 0.9);
  color: var(--bg);
}

.cookie-actions .reject {
  background: transparent;
  color: var(--text);
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.legal-page h1 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.legal-page ul {
  padding-left: 1.25em;
  margin-bottom: 12px;
}

.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(2, 15, 47, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.6);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
}

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

.contact-form button {
  margin-top: 6px;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: rgba(56, 189, 248, 0.9);
  color: var(--bg);
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
}

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

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

.form-success {
  display: none;
  margin-top: 20px;
  padding: 18px;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.35);
  border-radius: 12px;
  color: var(--secondary);
}

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

.error-page {
  text-align: center;
  padding: 80px 20px;
}

.error-page h1 {
  margin-bottom: 12px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 20px;
}

.error-page a {
  display: inline-block;
  padding: 12px 20px;
  background: rgba(56, 189, 248, 0.9);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
}

.go-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  gap: 14px;
}

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

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

.go-notes {
  color: var(--muted);
  font-size: 0.85rem;
}

#AD {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-left {
    border-right: none;
    border-bottom: 2px solid var(--accent);
    min-height: 160px;
    padding: 32px 20px;
  }

  .hero-right {
    min-height: 200px;
    padding: 28px 20px;
  }

  .logo-box {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

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

  .bonus-text {
    font-size: 0.82rem;
  }

  .fi-disclosure {
    text-align: left;
  }
}
