:root {
  --bg: #FFF9F6;
  --surface: #FFFFFF;
  --text: #45271F;
  --muted: #A68A82;
  --primary: #E2725B;
  --secondary: #F4A460;
  --accent: #708238;
  --border: rgba(69,39,31,0.1);
  --max-w: 1200px;
  --font-serif: "Times New Roman", Times, Georgia, serif;
  --font-condensed: "Arial Narrow", "Helvetica Condensed", "Franklin Gothic Medium", Arial, sans-serif;
  --kw-retro: retro;
  --kw-news: news;
  --kw-classic: classic;
  --kw-monochrome: monochrome;
  --kw-grid: grid;
}

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

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

body {
  font-family: var(--font-serif);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(244, 164, 96, 0.08) 0%, transparent 28%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(69, 39, 31, 0.035) 27px,
      rgba(69, 39, 31, 0.035) 28px
    ),
    linear-gradient(168deg, #FFF9F6 0%, #F5EDE6 48%, #FFF9F6 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: var(--kw-retro) " " var(--kw-news) " " var(--kw-classic);
  position: fixed;
  inset: 0;
  font-size: 0;
  line-height: 0;
  background-image:
    linear-gradient(90deg, rgba(69, 39, 31, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(69, 39, 31, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: var(--kw-monochrome) " " var(--kw-grid);
  position: fixed;
  inset: 0;
  font-size: 0;
  background-image:
    radial-gradient(circle at 12% 78%, rgba(226, 114, 91, 0.07) 0%, transparent 36%),
    radial-gradient(circle at 88% 20%, rgba(112, 130, 56, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-condensed);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.disclosure-banner {
  width: 100%;
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  color: #FFF9F6;
  background: var(--text);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  position: relative;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
}

.nav-band-top {
  height: 50px;
  background: var(--text);
  border-bottom: 2px solid #000;
}

.nav-band-bottom {
  height: 36px;
  background: #2E1A15;
  border-bottom: 2px solid #000;
  position: relative;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFF9F6;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-lockup:hover {
  color: var(--secondary);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 249, 246, 0.35);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 34px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #FFF9F6;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50px;
  height: 36px;
  width: 100%;
  max-width: var(--max-w);
  padding: 0 16px;
  z-index: 92;
}

.nav-links a {
  color: #FFF9F6;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.nav-drawer-backdrop {
  display: none;
}

.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}

.page-hero {
  padding: 40px 24px 20px;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 2px solid #000;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  font-size: 1rem;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto 64px;
  padding: 40px 24px;
  background: var(--surface);
  border: 1px solid #000;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.legal-content h1 {
  font-size: 1.85rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px double #000;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

.legal-content h3 {
  font-size: 1.02rem;
  margin: 20px 0 8px;
}

.legal-content p,
.legal-content li {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1rem;
}

.legal-content ul {
  padding-left: 1.4rem;
  margin-bottom: 14px;
}

.legal-content code {
  font-size: 0.9em;
  background: rgba(69, 39, 31, 0.06);
  padding: 1px 6px;
  font-family: ui-monospace, "Courier New", monospace;
}

.site-footer {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 3px double #000;
  color: var(--text);
  padding: 48px 24px 32px;
  margin-top: auto;
  flex-shrink: 0;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-condensed);
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #000;
}

.footer-links a {
  color: var(--text);
  font-size: 0.85rem;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

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

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

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

.footer-requisites {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.au-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 920px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.age-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(69, 39, 31, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.age-dialog {
  background: var(--surface);
  border: 2px solid #000;
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

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

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

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

.age-actions button,
.cookie-actions button,
.contact-form button {
  border: 2px solid #000;
  cursor: pointer;
  font-family: var(--font-condensed);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 11px 18px;
}

.btn-confirm {
  background: var(--primary);
  color: #FFF9F6;
}

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

.age-blocked {
  display: none;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 180;
  background: var(--surface);
  border-top: 2px solid #000;
  padding: 18px 24px;
}

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

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

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

.cookie-actions .accept {
  background: var(--primary);
  color: #FFF9F6;
}

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

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

.contact-form label {
  font-family: var(--font-condensed);
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 8px;
}

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

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

.contact-form button {
  margin-top: 12px;
  align-self: flex-start;
  background: var(--primary);
  color: #FFF9F6;
}

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

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

.form-success {
  display: none;
  margin-top: 24px;
  padding: 18px;
  border: 2px solid #000;
  background: rgba(112, 130, 56, 0.12);
}

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

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

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: cover;
  border: 2px solid #000;
  filter: grayscale(1) contrast(1.15);
  image-rendering: auto;
}

.go-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  position: relative;
  z-index: 1;
}

.go-page h1 {
  margin: 18px 0 10px;
  font-size: 1.6rem;
}

.go-page p {
  color: var(--muted);
  max-width: 420px;
}

#AD {
  font-family: var(--font-condensed);
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: uppercase;
}

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

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

.go-notes {
  margin-top: 24px;
  font-size: 0.85rem;
}

.not-found {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
  position: relative;
  z-index: 1;
}

.not-found h1 {
  font-size: 3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.not-found p {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 420px;
}

.not-found a {
  display: inline-block;
  padding: 12px 22px;
  background: var(--primary);
  color: #FFF9F6;
  font-family: var(--font-condensed);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid #000;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav-band-bottom {
    display: none;
  }

  .nav-band-top .nav-inner {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(69, 39, 31, 0.45);
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

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

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(300px, 86vw);
    height: 100vh;
    max-width: none;
    background: var(--text);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 72px 24px 24px;
    gap: 16px;
    z-index: 96;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    border-left: 2px solid #000;
  }

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

  .nav-links a {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .section-wrap,
  .offers-inner,
  .footer-inner,
  .legal-content {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow-x: hidden;
  }

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

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

  .layout-band,
  .mosaic-panel,
  .mini-card {
    max-width: 100%;
  }

  .layout-table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
  }
}
