:root {
  --bg: #0D1B12;
  --surface: #14261A;
  --text: #ECFDF5;
  --muted: #A7F3D0;
  --primary: #22C55E;
  --secondary: #84CC16;
  --accent: #F59E0B;
  --border: rgba(236, 253, 245, 0.12);
  --max-w: 1200px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

main {
  flex: 1 0 auto;
}

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

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

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

.disclosure-banner {
  width: 100%;
  padding: 8px 16px;
  font-size: 12px;
  text-align: center;
  line-height: 1.45;
  color: #0D1B12;
  background: repeating-linear-gradient(
    45deg,
    #ECFDF5,
    #ECFDF5 12px,
    rgba(13, 27, 18, 0.05) 12px,
    rgba(13, 27, 18, 0.05) 24px
  );
}

.navbar {
  position: static;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  border-bottom: 2px solid var(--accent);
}

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

.nav-logo img {
  max-height: 36px;
  width: auto;
}

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

.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: var(--bg);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  padding: 32px 24px;
  overflow-y: auto;
  border-right: 1px solid var(--border);
}

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

.drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.drawer-nav {
  list-style: none;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav a {
  display: block;
  color: var(--text);
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 20px;
  transition: background 0.25s ease;
}

.drawer-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.hero {
  background: var(--surface);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero-bg img {
  max-width: 500px;
  max-height: 320px;
  width: 80%;
  object-fit: contain;
  opacity: 0.18;
  filter: grayscale(100%);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

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

.offers-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px 80px;
  position: relative;
  background-image: linear-gradient(rgba(13, 27, 18, 0.82), rgba(13, 27, 18, 0.88)), url("/images/offers_bg/offers_bg.svg");
  background-size: cover;
  background-position: center;
  border-radius: 0;
}

.offers-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text);
  text-align: center;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.offer-card {
  background: #292524;
  border: 1px solid rgba(250, 250, 249, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.offer-card-logo-wrap {
  background: #ffffff;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-card-logo {
  width: 212px;
  height: 104px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.offer-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-card-name {
  font-size: 18px;
  color: #fafaf9;
  font-weight: 400;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.offer-bonus {
  font-size: 15px;
  color: #ca8a04;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
}

.offer-terms {
  font-size: 11px;
  color: #78716c;
}

.offer-desc {
  font-size: 13px;
  color: #a8a29e;
  line-height: 1.5;
}

.offer-cta {
  display: inline-block;
  margin-top: auto;
  padding: 12px 20px;
  background: #92400e;
  color: #fafaf9;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: background 0.2s ease;
}

.offer-cta:hover {
  background: #65a30d;
  color: #fafaf9;
}

.info-sections {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.info-block {
  margin-bottom: 72px;
}

.info-block:last-child {
  margin-bottom: 0;
}

.info-block h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.info-block p {
  color: var(--muted);
  line-height: 1.7;
}

.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.layout-split .decor-wrap {
  display: flex;
  justify-content: center;
}

.layout-split .decor-wrap img {
  max-width: 500px;
  max-height: 320px;
  border-radius: 8px;
  object-fit: cover;
}

.layout-centered {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(34, 197, 94, 0.08) 100%);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.layout-centered p {
  max-width: 680px;
  margin: 0 auto;
}

.layout-card {
  padding: 36px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.layout-quote {
  padding: 40px 48px;
  position: relative;
}

.layout-quote::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
}

.layout-quote p {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  padding-left: 32px;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.layout-grid ul {
  list-style: none;
  background: var(--surface);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.layout-grid li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.layout-grid li:last-child {
  border-bottom: none;
}

.layout-grid li::before {
  content: "\2713";
  color: var(--primary);
  margin-right: 10px;
}

.layout-banner {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.15), rgba(245, 158, 11, 0.1));
  padding: 48px 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.layout-asymmetric {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.layout-asymmetric .decor-side {
  background: var(--surface);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.layout-asymmetric .decor-side img {
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 8px;
}

.layout-numbered {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.layout-numbered .info-num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
}

.layout-icon-strip {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--surface);
  border-radius: 12px;
}

.layout-icon-strip .strip-img {
  flex-shrink: 0;
  width: 180px;
}

.layout-icon-strip .strip-img img {
  max-width: 180px;
  max-height: 200px;
  object-fit: contain;
  border-radius: 8px;
}

.layout-stack {
  text-align: center;
}

.layout-stack .stack-img {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.layout-stack .stack-img img {
  max-width: 400px;
  max-height: 260px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.layout-stack .accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 20px auto;
}

.site-footer {
  background: var(--surface);
  border-top: 2px solid var(--accent);
  padding: 48px 24px 32px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-logo img {
  max-height: 36px;
}

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

.footer-badges img {
  height: 40px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-badges a:hover img {
  opacity: 1;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

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

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

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

.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 18, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.age-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
}

.age-modal h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.age-modal p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 15px;
}

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

.age-btn {
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.25s ease, transform 0.15s ease;
}

.age-btn-confirm {
  background: var(--primary);
  color: var(--bg);
}

.age-btn-confirm:hover {
  background: var(--secondary);
}

.age-btn-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  z-index: 900;
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

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

.cookie-inner p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  min-width: 240px;
}

.cookie-inner a {
  color: var(--primary);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.25s ease;
}

.cookie-btn-accept {
  background: var(--primary);
  color: var(--bg);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

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

.page-content h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--text);
}

.page-content h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

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

.page-content ul {
  margin: 12px 0 16px 24px;
  color: var(--muted);
}

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

.page-content a {
  color: var(--primary);
}

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

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-error {
  color: #f87171;
  font-size: 13px;
}

.form-success {
  margin-top: 32px;
  padding: 24px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid var(--primary);
  border-radius: 12px;
  color: var(--muted);
}

.contact-form button[type="submit"] {
  padding: 14px 28px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  align-self: flex-start;
  transition: background 0.25s ease;
}

.contact-form button[type="submit"]:hover {
  background: var(--secondary);
}

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

.error-page h1 {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 16px;
}

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

.error-page a {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--bg);
  border-radius: 24px;
  font-weight: 600;
}

.error-page a:hover {
  background: var(--secondary);
  color: var(--bg);
}

.redirect-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.redirect-card {
  max-width: 480px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
}

.ad-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

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

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

.redirect-card h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.redirect-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.redirect-card .fineprint {
  font-size: 12px;
  margin-top: 20px;
  line-height: 1.5;
}

.redirect-card .fineprint a {
  color: var(--primary);
  text-decoration: underline;
}

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

  .burger-btn {
    display: none;
  }
}

@media (max-width: 899px) {
  .hero-bg {
    display: none;
  }

  .hero {
    padding: 32px 24px;
  }

  .offers-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .offer-card-logo {
    width: 212px;
    height: 104px;
  }

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

  .layout-split,
  .layout-grid,
  .layout-asymmetric,
  .layout-icon-strip {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .layout-split {
    padding: 28px 20px;
    overflow: hidden;
  }

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

  .layout-split .decor-wrap img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
  }

  .layout-asymmetric .decor-side {
    max-width: 100%;
    overflow: hidden;
  }

  .layout-asymmetric .decor-side img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
  }

  .layout-numbered {
    flex-direction: column;
    gap: 16px;
  }

  .layout-icon-strip {
    text-align: center;
    overflow: hidden;
  }

  .layout-icon-strip .strip-img {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .layout-icon-strip .strip-img img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
  }

  .info-sections {
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
  }
}
