:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --text: #F8FAFC;
  --muted: #94A3B8;
  --primary: #F97316;
  --secondary: #64748B;
  --accent: #38BDF8;
  --border: rgba(255,255,255,0.08);
  --max: 1200px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --brutalist: brutalist;
  --anti-design: anti-design;
  --raw: raw;
  --typography: typography;
  --asymmetric: asymmetric;
}

*,
*::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:
    radial-gradient(ellipse 70% 48% at 6% -10%, rgba(249, 115, 22, 0.14), transparent 58%),
    radial-gradient(ellipse 50% 40% at 96% 8%, rgba(56, 189, 248, 0.1), transparent 52%),
    linear-gradient(168deg, var(--bg) 0%, #152036 46%, var(--bg) 100%);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: var(--brutalist) " " var(--anti-design);
  position: fixed;
  inset: 0;
  font-size: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 47px,
      rgba(255, 255, 255, 0.035) 47px,
      rgba(255, 255, 255, 0.035) 48px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(255, 255, 255, 0.035) 47px,
      rgba(255, 255, 255, 0.035) 48px
    );
}

body::after {
  content: var(--raw) " " var(--typography) " " var(--asymmetric);
  position: fixed;
  inset: 0;
  font-size: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 22% 78%, rgba(249, 115, 22, 0.08), transparent 36%),
    radial-gradient(circle at 78% 30%, rgba(56, 189, 248, 0.06), transparent 32%);
}

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

main {
  flex: 1 0 auto;
}

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: #0000EE;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  font-stretch: expanded;
}

.disclosure-banner {
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
}

.disclosure-inner {
  margin: 6px auto;
  max-width: fit-content;
  padding: 6px 20px;
  border: 1px solid var(--muted);
  border-radius: 4px;
  text-align: center;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
  background: transparent;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: 58px;
  background: #0a0a0a;
  border-bottom: 1px solid var(--primary);
  box-shadow: 0 1px 6px var(--primary);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  min-height: 58px;
  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: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-stretch: expanded;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.74rem;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 6px var(--primary), 0 0 12px var(--primary);
}

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

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

.nav-overlay {
  display: none;
}

.nav-overlay.is-open {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: #0a0a0a;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.nav-overlay-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  line-height: 1;
}

.nav-overlay a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-serif);
  font-stretch: expanded;
}

.nav-overlay a:hover {
  color: var(--primary);
  text-shadow: 0 0 6px var(--primary), 0 0 12px var(--primary);
}

body.nav-open {
  overflow: hidden;
}

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

  .nav-burger {
    display: flex;
  }
}

.marquee-bar {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0.4rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-slide 28s linear infinite;
}

.marquee-text {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-stretch: condensed;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 2rem;
  white-space: nowrap;
}

@keyframes marquee-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.site-footer {
  background: #0a0a0a;
  color: var(--muted);
  padding: 40px 24px 28px;
  margin-top: 0;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  font-stretch: expanded;
  margin-bottom: 18px;
}

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

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

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

.footer-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 6px var(--primary);
}

.au-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 8px 0 16px;
  max-width: 90ch;
}

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

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

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

.footer-note,
.footer-risk {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 76ch;
}

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

.footer-updated {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

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

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

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

.age-dialog {
  background: var(--surface);
  border: 1px solid var(--border);
  outline: 1px solid rgba(249, 115, 22, 0.35);
  max-width: 420px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
}

.age-dialog h2 {
  margin-bottom: 10px;
  color: var(--text);
}

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

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

.btn-confirm,
.btn-decline,
.cookie-actions button,
.contact-form button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-confirm {
  background: var(--primary);
  color: #0F172A;
  font-weight: 700;
}

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

.age-blocked {
  display: none;
  color: var(--primary);
  font-weight: 600;
}

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

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #0a0a0a;
  color: var(--text);
  padding: 16px 24px;
  border-top: 1px solid var(--primary);
  box-shadow: 0 -1px 6px var(--primary);
}

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

.cookie-banner p {
  font-size: 0.85rem;
  max-width: var(--max);
  margin: 0 auto 12px;
  color: var(--muted);
}

.cookie-banner a {
  color: var(--accent);
}

.cookie-actions {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions .accept {
  background: var(--primary);
  color: #0F172A;
  font-weight: 700;
}

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

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

.go-page h1 {
  font-stretch: expanded;
}

#AD {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.go-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--muted);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

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

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

.legal-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.legal-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  outline: 1px dashed rgba(148, 163, 184, 0.35);
  outline-offset: -8px;
  padding: 28px 24px;
}

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

.legal-page h2 {
  font-size: 1.25rem;
  margin: 22px 0 10px;
}

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

.legal-page p,
.legal-page li {
  margin-bottom: 10px;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin-bottom: 14px;
}

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

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

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

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

.contact-form button {
  background: var(--primary);
  color: #0F172A;
  font-weight: 700;
  align-self: flex-start;
}

.form-error {
  display: none;
  color: var(--primary);
  font-size: 0.85rem;
}

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

.form-success {
  display: none;
  background: var(--surface);
  border: 1px solid var(--accent);
  padding: 18px;
  margin-top: 16px;
  color: var(--text);
}

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

.page-404 {
  text-align: center;
  padding: 64px 24px;
  border: 1px solid var(--border);
  margin: 32px auto;
  max-width: 640px;
}

.page-404 h1 {
  margin-bottom: 12px;
  font-stretch: expanded;
}

.page-404 a {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 20px;
  background: var(--primary);
  color: #0F172A;
  text-decoration: none;
  font-weight: 700;
}

.decor-img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  display: block;
  filter: none;
  box-shadow: 12px 12px 0 #000;
}

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

@media (max-width: 767px) {
  .decor-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 220px;
    box-shadow: none;
  }
}
