:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --primary: #F97316;
  --secondary: #64748B;
  --accent: #38BDF8;
  --border: rgba(255,255,255,0.08);
  --max-w: 1200px;
  --nav-h: 52px;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --skeuomorphism: "skeuomorphism";
  --realistic: "realistic";
  --tactile: "tactile";
  --depth: "depth";
  --material-feel: "material feel";
  --shadow-raised: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-pressed: inset 0 3px 8px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.05);
  --surface-grad: linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, transparent 42%, rgba(0, 0, 0, 0.35) 100%);
}

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

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

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(165deg, #0b1224 0%, var(--bg) 38%, #152238 72%, var(--bg) 100%),
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(249, 115, 22, 0.18) 0%, transparent 55%);
  background-attachment: fixed;
  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;
  opacity: 0.4;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 28px,
      rgba(255, 255, 255, 0.02) 28px,
      rgba(255, 255, 255, 0.02) 29px
    ),
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.07), transparent 42%);
}

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

body.no-scroll,
body.nav-open {
  overflow: hidden;
}

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

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

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

.is-hidden {
  display: none !important;
}

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

.disclosure-inner {
  max-width: var(--max-w);
  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: 12px;
  color: var(--primary);
  line-height: 1;
}

.disclosure-text {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.78);
  text-align: left;
}

.trust-signal {
  background: #0c1322;
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.trust-signal .disclosure-inner {
  padding: 8px 16px 8px 12px;
}

.trust-signal .disclosure-text {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.95);
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background-color: rgba(15, 23, 42, 0.96);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(255, 255, 255, 0.02) 1px,
    rgba(255, 255, 255, 0.02) 2px
  );
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-lockup img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(248, 250, 252, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.25));
  border: 1px solid var(--border);
  width: 42px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  box-shadow: var(--shadow-raised);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

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

.nav-backdrop.open {
  display: block;
}

main {
  flex: 1;
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 24px;
  text-align: center;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -20px;
  background-image: url("/images/decorative/decor_1.webp");
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(0.45);
  z-index: -1;
  transform: scale(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.85));
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  margin-bottom: 12px;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: var(--shadow-raised);
  background-image: var(--surface-grad);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-pressed);
}

.btn-primary {
  background-color: var(--primary);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 48%), linear-gradient(180deg, #fb923c, var(--primary) 55%, #ea580c);
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-secondary {
  background-color: var(--surface);
  background-image: var(--surface-grad);
  color: var(--text);
  border-color: var(--border);
}

.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
  border-top: 1px solid var(--border);
  padding: 40px 24px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  width: fit-content;
}

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

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

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

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

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

.footer-requisites {
  font-size: 12px;
  color: var(--muted);
}

.footer-compliance {
  font-size: 12px;
  color: var(--muted);
  max-width: 900px;
}

.footer-mx-disclosure {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.92);
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

.updated-date {
  font-size: 12px;
  color: var(--secondary);
}

.age-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 6, 23, 0.82);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.age-dialog {
  width: min(440px, 100%);
  background: var(--surface);
  background-image: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: var(--shadow-raised);
  text-align: center;
}

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

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

.age-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.age-blocked {
  display: none;
  color: var(--muted);
}

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

.age-blocked a {
  color: var(--accent);
}

.cookie-banner {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 180;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  background-image: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-raised);
}

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

.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-inner p {
  font-size: 0.92rem;
  color: var(--muted);
}

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

.legal-page,
.topic-page,
.error-page,
.go-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.legal-page h1,
.topic-page h1,
.error-page h1,
.go-page h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.legal-page h2,
.topic-page h2 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
  color: var(--text);
}

.legal-page h3,
.topic-page h3 {
  font-size: 1.05rem;
  margin: 18px 0 8px;
}

.legal-page p,
.topic-page p,
.error-page p,
.go-page p {
  color: rgba(248, 250, 252, 0.88);
  margin-bottom: 12px;
}

.legal-page ul,
.topic-page ul {
  margin: 0 0 14px 1.2rem;
  color: rgba(248, 250, 252, 0.88);
}

.legal-page li,
.topic-page li {
  margin-bottom: 6px;
}

.panel-surface {
  background: var(--surface);
  background-image: var(--surface-grad);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-raised);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  max-width: 520px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

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

.field-error {
  display: none;
  color: #fb7185;
  font-size: 0.85rem;
}

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

.contact-success {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.1);
  color: var(--text);
}

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

.go-page {
  text-align: center;
  padding-top: 72px;
}

.go-ad {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  background: rgba(30, 41, 59, 0.8);
}

.go-spinner {
  width: 42px;
  height: 42px;
  margin: 24px auto;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.35);
}

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

.go-compliance {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--muted);
}

.go-compliance a {
  color: var(--accent);
}

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

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 95;
    background: #020617;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 72px 32px;
    gap: 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: var(--accent);
  }

  .hero {
    padding: 32px 20px;
  }
}
