/* Site palette from offers_layout (RS_bKQ1rH_8) — system fonts only */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #9ca3af;
  background: #111827;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Disclosure — normal flow, not fixed */
.disclosure-bar {
  flex-shrink: 0;
  width: 100%;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: center;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.disclosure-bar p {
  margin: 0;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Header / navbar — dark */
.site-header {
  flex-shrink: 0;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link img {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(220px, 42vw);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop li {
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  display: block;
  padding: 0.45rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e5e7eb;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f9fafb;
}

/* Burger: default visible (mobile-first), hidden on desktop — order matters */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #f3f4f6;
  border-radius: 1px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 1rem;
  left: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-top: 0.35rem;
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  padding: 0.5rem;
  z-index: 50;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #f3f4f6;
  border-radius: 8px;
}

.mobile-menu a:hover {
  background: rgba(5, 150, 105, 0.2);
  color: #ecfdf5;
}

.header-wrap {
  position: relative;
}

@media (min-width: 768px) {
  .burger {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* Main page content — grows so footer sits at bottom on short pages */
.page-main {
  display: block;
  flex: 1 0 auto;
}

/* Hero — compact */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem 0.65rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: #f9fafb;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-tagline {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: #d1d5db;
  max-width: 52rem;
}

@media (max-width: 767px) {
  .hero {
    padding: 0.55rem 1rem 0.4rem;
  }

  .hero h1 {
    font-size: 1.05rem;
  }

  .hero-tagline {
    display: none;
  }
}

/* Info sections */
.info-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.info-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f3f4f6;
}

.info-section p {
  margin: 0;
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* Offers section background */
.offers-section {
  position: relative;
  background-color: #111827;
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.88) 100%);
  pointer-events: none;
}

.offers-section > .main {
  position: relative;
  z-index: 1;
}

/* --- Card layout copied from offers_layout/RS_bKQ1rH_8/style.css (scoped to #offers) --- */
#offers .main {
  max-width: 420px;
  margin: 0 auto;
  padding: 20px 16px 36px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

#offers .card {
  background: #1f2937;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#offers .card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 18px 18px;
}

#offers .logo-wrap {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px;
}

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

#offers .card-heading {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

#offers .card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #f3f4f6;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

#offers .rating {
  display: flex;
  align-items: center;
  gap: 3px;
}

#offers .rating .star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  width: 14px;
  height: 14px;
}

#offers .rating .star svg {
  width: 100%;
  height: 100%;
}

#offers .card-bottom {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

#offers .offer-label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

#offers .offer-headline {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #f9fafb;
  line-height: 1.35;
  letter-spacing: -0.02em;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

#offers .offer-desc {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.4;
}

#offers .offer-note {
  margin: 0;
  font-size: 11px;
  color: #4b5563;
  line-height: 1.45;
}

#offers .cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: #059669;
  color: #ecfdf5;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.15s ease;
  min-width: 148px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#offers .cta:hover {
  background: #047857;
}

#offers .cta:active {
  transform: scale(0.98);
}

#offers .cta svg {
  width: 8px;
  height: 12px;
  flex-shrink: 0;
}

@media (min-width: 440px) {
  #offers .main {
    padding: 24px 20px 40px;
    gap: 22px;
  }

  #offers .card-top {
    padding: 22px 22px 20px;
    gap: 18px;
  }

  #offers .logo-wrap {
    width: 72px;
    height: 72px;
    border-radius: 12px;
  }

  #offers .card-heading {
    gap: 9px;
  }

  #offers .card-bottom {
    padding: 20px 24px 26px;
    gap: 10px;
  }

  #offers .offer-headline {
    font-size: 20px;
  }

  #offers .cta {
    margin-top: 14px;
  }
}

@media (max-width: 767px) {
  #offers .logo-wrap {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    padding: 3px;
  }

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

  #offers .offer-headline {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
  }
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 1.25rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  max-width: 200px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: #059669;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

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

.footer-badges img {
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: min(200px, 100%);
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-copy a {
  color: #9ca3af;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Legal / inner pages */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.legal-page h1 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  color: #f9fafb;
}

.legal-page h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  color: #e5e7eb;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page a {
  color: #34d399;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: #6ee7b7;
}

/* Required for postbuild: age modal, cookie banner */
#age-verify-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
}

#age-verify-modal.active {
  display: flex;
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: relative;
}

.modal-content {
  background: #1f2937;
  color: #e5e7eb;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 400px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-reject {
  display: none;
  background: #1f2937;
  color: #fecaca;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.modal-reject.active {
  display: block;
}

.modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.modal-btn-confirm,
.modal-btn-cancel,
.cookie-accept,
.cookie-reject {
  padding: 0.55rem 1rem;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-btn-confirm,
.cookie-accept {
  background: #059669;
  color: #ecfdf5;
}

.modal-btn-cancel,
.cookie-reject {
  background: transparent;
  color: #d1d5db;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999998;
  background: #1f2937;
  color: #e5e7eb;
  padding: 1rem 1.25rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#cookie-banner.active {
  display: block;
  visibility: visible;
  opacity: 1;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}


#mobile-menu { display: none; }
#mobile-menu.active { display: flex; flex-direction: column; }
@media (min-width: 768px) { #menu-toggle { display: none !important; } }
