:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --text: #1C1917;
  --muted: #78716C;
  --primary: #D4AF37;
  --secondary: #0F172A;
  --accent: #92400E;
  --border: rgba(28, 25, 23, 0.12);
  --font-sans: "Segoe UI", "Helvetica Neue", "Noto Sans", "Liberation Sans", sans-serif;
  --font-serif: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --nav-left: #1e293b;
  --nav-right: #0F172A;
  --eco-soft: rgba(34, 120, 68, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 45% at 8% -5%, rgba(212, 175, 55, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 40% at 92% 12%, rgba(146, 64, 14, 0.08), transparent 50%),
    linear-gradient(180deg, #FBF8F3 0%, #F3EFE6 48%, #FBF8F3 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-size: 16px;
}

body.eco.nature.green.sustainable.organic {
  position: relative;
  animation: eco-drift 120s linear infinite, nature-calm 120s linear infinite, green-soft 120s linear infinite, sustainable-flow 120s linear infinite, organic-ease 120s linear infinite;
}

@keyframes eco-drift {
  from {
    outline-color: transparent;
  }
  to {
    outline-color: transparent;
  }
}

@keyframes nature-calm {
  from {
    perspective: 1000px;
  }
  to {
    perspective: 1000px;
  }
}

@keyframes green-soft {
  0%,
  100% {
    filter: none;
  }
}

@keyframes sustainable-flow {
  from {
    letter-spacing: normal;
  }
  to {
    letter-spacing: normal;
  }
}

@keyframes organic-ease {
  from {
    tab-size: 4;
  }
  to {
    tab-size: 4;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 22% 68%, rgba(34, 120, 68, 0.06) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 74% 34%, rgba(212, 175, 55, 0.07) 0 1.5px, transparent 2.5px);
  background-size: 52px 52px, 68px 68px;
  opacity: 0.85;
}

body.nav-open {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

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

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

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

.disclosure-banner {
  width: 100%;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 30;
  line-height: 1.45;
}

.disclosure-label {
  display: inline;
  background: rgba(212, 175, 55, 0.55);
  color: var(--text);
  font-weight: 700;
  padding: 1px 6px;
  margin-right: 4px;
  border-radius: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  height: 60px;
  width: 100%;
}

.nav-half {
  flex: 1 1 50%;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.nav-half-left {
  background: var(--nav-left);
  justify-content: flex-end;
}

.nav-half-right {
  background: var(--nav-right);
  justify-content: flex-start;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-half-inner {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 20px;
}

.nav-half-inner-left {
  justify-content: flex-start;
}

.nav-half-inner-right {
  justify-content: flex-end;
  gap: 8px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FBF8F3;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

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

.brand-lockup img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.nav-links a {
  color: rgba(251, 248, 243, 0.88);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

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

.burger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #FBF8F3;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 140;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 86vw);
  height: 100vh;
  background: var(--secondary);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 150;
  padding: 72px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: -8px 0 28px rgba(15, 23, 42, 0.25);
}

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

.mobile-nav a {
  color: #FBF8F3;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a:hover {
  color: var(--primary);
  opacity: 1;
}

.mobile-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FBF8F3;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.hero {
  position: relative;
  background: var(--secondary);
  color: #FFFFFF;
  text-align: center;
  padding: 60px 24px 80px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 175, 55, 0.18), transparent 70%),
    radial-gradient(circle at 15% 80%, rgba(34, 120, 68, 0.12), transparent 40%);
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  position: relative;
  z-index: 1;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 56px;
  z-index: 2;
  display: block;
}

.hero-wave path {
  fill: var(--bg);
}

.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.offers-section {
  position: relative;
  padding: 56px 0 64px;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(251, 248, 243, 0.88) 0%, rgba(251, 248, 243, 0.92) 100%),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--eco-soft), transparent 55%);
  pointer-events: none;
}

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

.offers-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
  color: var(--text);
}

.offers-intro {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 32px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  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;
  border-radius: 18px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.offer-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.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;
  border-radius: 14px;
}

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

.offer-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  text-align: center;
  margin: 16px 16px 8px;
  text-transform: uppercase;
}

.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;
}

.offer-terms {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
  margin-top: 4px;
}

.offer-desc {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.5;
  padding: 0 16px;
  margin-bottom: 12px;
}

.offer-cta {
  display: block;
  margin: auto 16px 20px;
  text-align: center;
  background: #1e3a8a;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 16px;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border-radius: 12px;
}

.offer-cta:hover {
  color: #fff;
  opacity: 1;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #000;
}

.info-section {
  padding: 48px 0;
  position: relative;
}

.info-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.55);
}

.info-section::after {
  content: "";
  display: block;
  width: min(220px, 40%);
  height: 3px;
  margin: 36px auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(34, 120, 68, 0.35), var(--primary), transparent);
}

.info-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 14px;
  color: var(--text);
}

.info-section p {
  color: var(--text);
  margin-bottom: 12px;
  max-width: 68ch;
}

.info-section ul {
  margin: 12px 0 16px 1.2em;
  color: var(--text);
}

.info-section li {
  margin-bottom: 6px;
}

.topic-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--secondary);
  color: #FBF8F3;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.topic-cta:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

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

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.1);
}

.site-footer {
  background: var(--secondary);
  color: rgba(251, 248, 243, 0.88);
  padding: 48px 0 28px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(34, 120, 68, 0.5), var(--primary), rgba(146, 64, 14, 0.6));
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand .brand-lockup {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(251, 248, 243, 0.7);
  max-width: 36ch;
}

.footer-links h3,
.footer-compliance h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  color: rgba(251, 248, 243, 0.78);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

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

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

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

.footer-badges a:hover {
  opacity: 0.85;
}

.footer-au-disclosure {
  font-size: 12px;
  color: rgba(251, 248, 243, 0.62);
  line-height: 1.55;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 920px;
}

.footer-requisites {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(251, 248, 243, 0.55);
  line-height: 1.5;
}

.footer-requisites p {
  margin-bottom: 2px;
}

#manage-cookies {
  color: rgba(251, 248, 243, 0.7);
  font-size: 0.85rem;
}

#manage-cookies:hover {
  color: var(--primary);
}

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

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

.age-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.28);
  border: 1px solid var(--border);
}

.age-card h2 {
  font-family: var(--font-serif);
  margin-bottom: 10px;
  color: var(--text);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--secondary);
  color: #FBF8F3;
}

.btn-primary:hover {
  background: var(--accent);
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(28, 25, 23, 0.1);
  padding: 18px 20px;
  z-index: 250;
  display: none;
}

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

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

.legal-page {
  padding: 40px 0 64px;
}

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

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

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

.legal-page p,
.legal-page li {
  color: var(--text);
  margin-bottom: 10px;
  max-width: 72ch;
}

.legal-page ul {
  margin: 8px 0 16px 1.25em;
}

.legal-page code {
  font-size: 0.9em;
  background: rgba(28, 25, 23, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

.contact-form {
  margin-top: 28px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.06);
}

.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}

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

.contact-form input.error,
.contact-form textarea.error {
  border-color: var(--accent);
}

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

.email-error {
  display: none;
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 4px;
}

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

.form-success {
  display: none;
  margin-top: 24px;
  padding: 20px;
  background: rgba(34, 120, 68, 0.1);
  border: 1px solid rgba(34, 120, 68, 0.25);
  border-radius: 12px;
  color: var(--text);
  max-width: 480px;
}

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

.sub-hero {
  background: var(--secondary);
  color: #fff;
  padding: 40px 20px 48px;
  text-align: center;
  position: relative;
}

.sub-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  position: relative;
  z-index: 1;
}

.sub-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin: 10px auto 0;
  position: relative;
  z-index: 1;
}

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

.redirect-page h1 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 16px 0 8px;
}

.ad-label {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 0.85rem;
}

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

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

.compliance-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 480px;
}

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

.error-page h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 12px;
}

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

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

  .burger-btn {
    display: flex;
  }

  .nav-half-left,
  .nav-half-right {
    background: var(--secondary);
  }

  .nav-half-right {
    border-left: none;
    flex: 0 0 auto;
  }

  .nav-half-left {
    flex: 1 1 auto;
  }

  .nav-half-inner-right {
    max-width: none;
    padding-right: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    padding: 32px 20px 48px;
    min-height: 240px;
  }

  .hero-wave {
    height: 36px;
  }
}

@media (max-width: 640px) {
  .disclosure-banner {
    text-align: left;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .offer-card-logo {
    width: 160px;
    height: 72px;
  }

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

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

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

  .band-visual {
    width: 100%;
    max-width: 100%;
    min-height: 140px;
    max-height: 180px;
  }

  .offer-bonus {
    font-size: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 400px) {
  .offer-card-logo {
    width: 140px;
    height: 64px;
  }

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

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