:root {
  --bg: #02040A;
  --surface: #0B0E1A;
  --text: #E2E8F0;
  --muted: #64748B;
  --primary: #C5A059;
  --secondary: #1E293B;
  --accent: #94A3B8;
  --border: rgba(197,160,89,0.15);
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 44px;
  --max: 1120px;
  --offer-bg: #1a1a1a;
  --offer-border: #2a2a2a;
  --offer-bonus: #ffd700;
  --offer-cta-bg: #22c55e;
  --offer-cta-text: #ffffff;
  --glassmorphism: "glassmorphism";
  --frosted: "frosted";
  --blur: "blur";
  --translucent: "translucent";
  --floating-cards: "floating cards";
  --modern: "modern";
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(165deg, #02040A 0%, #0B0E1A 42%, #02040A 78%, #060914 100%),
    radial-gradient(ellipse 60% 45% at 80% -10%, rgba(197, 160, 89, 0.12), transparent 55%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: var(--glassmorphism) " " var(--frosted) " " var(--blur) " " var(--translucent) " " var(--floating-cards) " " var(--modern);
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 10% 90%, rgba(148, 163, 184, 0.06), transparent 40%),
    repeating-linear-gradient(
      125deg,
      transparent,
      transparent 56px,
      rgba(197, 160, 89, 0.02) 56px,
      rgba(197, 160, 89, 0.02) 57px
    );
  opacity: 0.85;
}

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

body.nav-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.disclosure-banner {
  width: 100%;
  background: #F8FAFC;
  color: #64748B;
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  line-height: 1.45;
}

.disclosure-label {
  display: inline;
  background: #FACC15;
  color: #1E293B;
  font-weight: 700;
  padding: 1px 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(11, 14, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

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

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

.brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  position: relative;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  padding: 4px 7px;
  text-decoration: none;
}

.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.2s ease;
}

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

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

.burger {
  display: none;
  width: 36px;
  height: 36px;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  border-radius: 8px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.burger.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.72);
  z-index: 850;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 880;
  background: rgba(11, 14, 26, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--border);
  padding: 24px 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 78vh;
  overflow-y: auto;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.45);
}

.mobile-nav a:hover {
  color: var(--primary);
  background: rgba(197, 160, 89, 0.12);
}

.offers-section {
  padding: 64px 24px;
  background-image:
    linear-gradient(180deg, rgba(2, 4, 10, 0.88), rgba(11, 14, 26, 0.92)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
}

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

.offers-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.offers-intro p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.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-card .offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  max-width: none;
}

.offer-name {
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

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

.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;
  text-align: center;
}

.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;
  transition: filter 0.2s ease, transform 0.2s ease;
}

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

.site-footer {
  margin-top: auto;
  padding: 48px 24px 32px;
  background: rgba(11, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  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-brand .brand-lockup img {
  max-height: 28px;
  height: 28px;
}

.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 62ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

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

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

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

.footer-badges a,
.footer-badges span {
  display: inline-flex;
}

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

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

.footer-updated {
  font-size: 0.78rem;
  color: var(--muted);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(2, 4, 10, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal-box {
  background: rgba(11, 14, 26, 0.92);
  border: 1px solid var(--border);
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  display: grid;
  gap: 14px;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.modal-box h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.modal-box p {
  color: var(--muted);
  font-size: 0.9rem;
}

#age-blocked {
  display: none;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s, filter 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #02040A;
}

.btn-primary:hover {
  filter: brightness(1.05);
  color: #02040A;
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--primary);
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  background: rgba(11, 14, 26, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  display: none;
}

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

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  flex: 1 1 280px;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.page-hero {
  padding: 40px 24px;
  background:
    linear-gradient(135deg, rgba(197, 160, 89, 0.1), transparent 55%),
    rgba(30, 41, 59, 0.55);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--muted);
  max-width: 60ch;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  display: grid;
  gap: 18px;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 8px;
  color: var(--primary);
}

.legal-content p,
.legal-content li {
  color: var(--accent);
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
}

.glass-panel {
  background: rgba(11, 14, 26, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
}

.frosted {
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.translucent {
  background: rgba(11, 14, 26, 0.65);
}

.floating-cards {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  animation: float-soft 5.5s ease-in-out infinite;
}

.modern {
  letter-spacing: -0.02em;
}

.blur-layer {
  filter: blur(0);
}

.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px 72px;
  display: grid;
  gap: 20px;
}

.contact-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(11, 14, 26, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(2, 4, 10, 0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

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

.field-error {
  display: none;
  color: #F87171;
  font-size: 0.8rem;
}

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

#form-success {
  display: none;
  padding: 20px;
  border-radius: 12px;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid var(--border);
  color: var(--text);
}

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

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

.go-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(197, 160, 89, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.go-notes {
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 42ch;
}

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

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 24px;
  gap: 16px;
}

.error-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.decor-clip {
  overflow: hidden;
  max-width: 100%;
  border-radius: 14px;
}

.info-cta {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(197, 160, 89, 0.12);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
}

.info-cta:hover {
  background: rgba(197, 160, 89, 0.22);
  transform: translateY(-1px);
  color: var(--primary);
}

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

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .burger {
    display: flex;
  }

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

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

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

  .offers-section {
    padding: 40px 16px;
  }

  .offer-card {
    padding: 18px;
  }

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

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

  .layout-band {
    max-width: 100%;
    height: 110px;
  }
}

@media (max-width: 375px) {
  .offer-logo {
    width: 140px;
    height: 70px;
  }

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

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

  .footer-badges img {
    height: 28px;
    max-width: 96px;
  }
}
