:root {
  --bg: #02040A;
  --surface: #0B0E1A;
  --text: #E2E8F0;
  --muted: #64748B;
  --primary: #C5A059;
  --secondary: #1E293B;
  --accent: #94A3B8;
  --border: rgba(197,160,89,0.15);
  --win-face: #c0c0c0;
  --win-light: #ffffff;
  --win-shadow: #808080;
  --win-dark: #404040;
  --pixel: "Courier New", "Lucida Console", Monaco, monospace;
  --ui: Tahoma, "MS Sans Serif", "Segoe UI", sans-serif;
  --style-keywords: "retro" "90s" "operating system" "skeuomorphic" "nostalgic";
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ui);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(11, 14, 26, 0.95) 0%, rgba(2, 4, 10, 1) 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(197, 160, 89, 0.03) 2px,
      rgba(197, 160, 89, 0.03) 4px
    ),
    radial-gradient(ellipse at 20% 0%, rgba(197, 160, 89, 0.12), transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover {
  text-decoration: underline;
}

.disclosure-banner {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 8px 16px;
  border: none;
  line-height: 1.45;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 60px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--pixel);
  font-size: 14px;
  letter-spacing: 0.5px;
  image-rendering: pixelated;
}

.brand-lockup:hover {
  text-decoration: none;
  color: var(--primary);
}

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

.brand-name {
  font-weight: 700;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--accent);
  font-size: 12px;
  font-family: var(--pixel);
  padding: 6px 8px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
  text-decoration: none;
  image-rendering: pixelated;
}

.nav-links a:hover {
  border-bottom-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: var(--secondary);
  border-top: 2px solid var(--win-light);
  border-left: 2px solid var(--win-light);
  border-right: 2px solid var(--win-dark);
  border-bottom: 2px solid var(--win-dark);
  color: var(--text);
  width: 40px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
  font-family: var(--pixel);
}

.nav-overlay {
  display: none;
}

.hero {
  position: relative;
  height: 60vh;
  min-height: 320px;
  background-image:
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(2, 4, 10, 0.08) 3px,
      rgba(2, 4, 10, 0.08) 6px
    );
  pointer-events: none;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.hero-content h1 {
  font-family: var(--pixel);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--primary);
  image-rendering: pixelated;
  text-shadow: 2px 2px 0 var(--win-dark);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.hero-content p {
  font-size: 1rem;
  color: var(--text);
  max-width: 520px;
}

.win95-window {
  background: var(--surface);
  border-top: 2px solid rgba(255, 255, 255, 0.25);
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  border-right: 2px solid rgba(0, 0, 0, 0.6);
  border-bottom: 2px solid rgba(0, 0, 0, 0.6);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
}

.win95-titlebar {
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    #8a6f3a 40%,
    var(--primary) 50%,
    #8a6f3a 60%,
    var(--primary) 100%
  );
  background-size: 8px 100%;
  color: #02040A;
  font-family: var(--pixel);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  image-rendering: pixelated;
  letter-spacing: 0.5px;
}

.win95-titlebar .icon-dot {
  width: 12px;
  height: 12px;
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.win95-body {
  padding: 20px;
}

.btn-3d {
  display: inline-block;
  font-family: var(--pixel);
  font-size: 13px;
  color: var(--bg);
  background: var(--primary);
  border-top: 3px solid #e8d4a8;
  border-left: 3px solid #e8d4a8;
  border-right: 3px solid #6b5530;
  border-bottom: 3px solid #6b5530;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
  padding: 10px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.1s;
  image-rendering: pixelated;
}

.btn-3d:hover {
  text-decoration: none;
  color: var(--bg);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.btn-3d:active {
  transform: translate(3px, 3px);
  box-shadow: none;
  border-top-color: #6b5530;
  border-left-color: #6b5530;
  border-right-color: #e8d4a8;
  border-bottom-color: #e8d4a8;
}

.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-wrap h2 {
  font-family: var(--pixel);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 16px;
  image-rendering: pixelated;
  letter-spacing: 0.5px;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 640px;
}

.offers-section {
  position: relative;
  background-image:
    linear-gradient(rgba(2, 4, 10, 0.88), rgba(11, 14, 26, 0.92)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg 8deg,
    rgba(197, 160, 89, 0.02) 8deg 16deg
  );
  pointer-events: none;
}

.offers-grid {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 480px;
}

.offer-card {
  background: var(--surface);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  border-right: 2px solid rgba(0, 0, 0, 0.55);
  border-bottom: 2px solid rgba(0, 0, 0, 0.55);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  padding: 0;
  overflow: hidden;
}

.offer-card-inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.offer-logo {
  width: 160px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

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

.offer-card .offer-name {
  font-family: var(--pixel);
  font-size: 1.1rem;
  color: var(--text);
  image-rendering: pixelated;
}

.offer-bonus-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 100%;
}

.offer-bonus {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  line-height: 1.35;
}

.offer-terms {
  font-size: 11px;
  color: var(--muted);
}

.offer-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.info-section {
  position: relative;
}

.info-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.decor-img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  border-right: 2px solid rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
}

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

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

.layout-stack p {
  margin-bottom: 12px;
  color: var(--text);
}

.layout-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.mini-panel {
  background: var(--secondary);
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  border-right: 2px solid rgba(0, 0, 0, 0.45);
  border-bottom: 2px solid rgba(0, 0, 0, 0.45);
  padding: 16px;
}

.mini-panel h3 {
  font-family: var(--pixel);
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 8px;
  image-rendering: pixelated;
}

.mini-panel p {
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0;
}

.layout-list ul {
  list-style: none;
  margin-top: 12px;
}

.layout-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.layout-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-family: var(--pixel);
}

.layout-quote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  background: rgba(197, 160, 89, 0.06);
  margin: 16px 0;
  font-style: italic;
  color: var(--accent);
}

.layout-band {
  background: var(--secondary);
  padding: 32px 24px;
  margin: 0 -24px;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}

.layout-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 0 24px;
}

.layout-zigzag {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

.layout-zigzag .num {
  font-family: var(--pixel);
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  image-rendering: pixelated;
  opacity: 0.7;
}

.layout-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  font-family: var(--pixel);
  font-size: 1.4rem;
  color: var(--primary);
  image-rendering: pixelated;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

.layout-timeline {
  border-left: 2px solid var(--primary);
  padding-left: 24px;
  margin-top: 16px;
}

.layout-timeline .step {
  position: relative;
  margin-bottom: 20px;
}

.layout-timeline .step::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border: 2px solid var(--bg);
}

.layout-timeline h3 {
  font-family: var(--pixel);
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
  image-rendering: pixelated;
}

.layout-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.layout-mosaic .mosaic-main {
  background: var(--secondary);
  padding: 20px;
  border: 1px solid var(--border);
}

.layout-mosaic .mosaic-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.layout-mosaic .mosaic-side > div {
  flex: 1;
  background: rgba(197, 160, 89, 0.08);
  padding: 14px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--accent);
}

.cta-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--pixel);
  font-size: 13px;
  color: var(--bg);
  background: var(--primary);
  border-top: 3px solid #e8d4a8;
  border-left: 3px solid #e8d4a8;
  border-right: 3px solid #6b5530;
  border-bottom: 3px solid #6b5530;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
  padding: 10px 18px;
  text-decoration: none;
  image-rendering: pixelated;
}

.cta-link:hover {
  text-decoration: none;
  color: var(--bg);
}

.site-footer {
  background: var(--surface);
  border-top: 2px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: auto;
  position: relative;
  flex-shrink: 0;
  width: 100%;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary) 0,
    var(--primary) 4px,
    transparent 4px,
    transparent 8px
  );
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--pixel);
  color: var(--text);
  text-decoration: none;
  image-rendering: pixelated;
}

.footer-brand:hover {
  text-decoration: none;
  color: var(--primary);
}

.footer-brand img {
  width: 32px;
  height: 31px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  margin-bottom: 28px;
}

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

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

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

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

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

.footer-nz-disclosure {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 720px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  white-space: pre-line;
}

.page-main {
  flex: 1 0 auto;
  width: 100%;
}

.page-hero-strip {
  background: linear-gradient(135deg, var(--secondary), var(--bg));
  border-bottom: 2px solid var(--border);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.page-hero-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(197, 160, 89, 0.04) 10px,
    rgba(197, 160, 89, 0.04) 20px
  );
  pointer-events: none;
}

.page-hero-strip .inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero-strip h1,
.page-hero-label {
  font-family: var(--pixel);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--primary);
  image-rendering: pixelated;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.legal-content h1 {
  font-family: var(--pixel);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
  image-rendering: pixelated;
}

.legal-content h2 {
  font-family: var(--pixel);
  font-size: 1.1rem;
  color: var(--primary);
  margin: 28px 0 10px;
  image-rendering: pixelated;
}

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

.legal-content ul {
  margin: 8px 0 16px 20px;
  color: var(--text);
}

.legal-content li {
  margin-bottom: 6px;
}

.contact-form {
  margin-top: 28px;
  max-width: 480px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
  font-family: var(--pixel);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border-top: 2px solid var(--win-dark);
  border-left: 2px solid var(--win-dark);
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 10px 12px;
  font-family: var(--ui);
  font-size: 14px;
  margin-bottom: 4px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-error {
  color: #e57373;
  font-size: 12px;
  min-height: 16px;
  display: block;
}

.form-success {
  display: none;
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 24px;
  color: var(--text);
  font-size: 15px;
}

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

.form-hidden {
  display: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-box {
  background: var(--surface);
  border-top: 2px solid rgba(255, 255, 255, 0.25);
  border-left: 2px solid rgba(255, 255, 255, 0.25);
  border-right: 2px solid rgba(0, 0, 0, 0.6);
  border-bottom: 2px solid rgba(0, 0, 0, 0.6);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  max-width: 420px;
  width: 100%;
}

.modal-box .win95-body {
  text-align: center;
}

.modal-box p {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 14px;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  padding: 16px 24px;
  box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.3);
}

.cookie-banner.hidden {
  display: none;
}

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

.cookie-inner p {
  flex: 1;
  font-size: 13px;
  color: var(--accent);
  min-width: 200px;
}

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

.btn-ghost {
  font-family: var(--pixel);
  font-size: 12px;
  color: var(--text);
  background: var(--secondary);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  border-right: 2px solid rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid rgba(0, 0, 0, 0.5);
  padding: 8px 14px;
  cursor: pointer;
  image-rendering: pixelated;
}

.redirect-page {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 0;
}

.redirect-box {
  max-width: 440px;
  width: 100%;
  text-align: center;
}

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

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

.redirect-notes {
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.error-box {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.error-box .win95-body {
  text-align: center;
}

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

.error-page h1 {
  font-family: var(--pixel);
  font-size: 4rem;
  color: var(--primary);
  image-rendering: pixelated;
}

.subpage-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.subpage-article h1 {
  font-family: var(--pixel);
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 20px;
  image-rendering: pixelated;
}

.subpage-article h2 {
  font-family: var(--pixel);
  font-size: 1.15rem;
  color: var(--primary);
  margin: 28px 0 12px;
  image-rendering: pixelated;
}

.subpage-article h3 {
  font-family: var(--pixel);
  font-size: 1rem;
  color: var(--accent);
  margin: 20px 0 8px;
  image-rendering: pixelated;
}

.subpage-article p {
  margin-bottom: 14px;
  color: var(--text);
}

.subpage-article ul,
.subpage-article ol {
  margin: 8px 0 16px 20px;
  color: var(--text);
}

.subpage-article li {
  margin-bottom: 6px;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.rail-panel {
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 16px;
  position: sticky;
  top: 80px;
}

.rail-panel h3 {
  font-family: var(--pixel);
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 12px;
  image-rendering: pixelated;
}

.pull-quote {
  font-family: var(--pixel);
  font-size: 1.2rem;
  color: var(--primary);
  text-align: center;
  padding: 32px 24px;
  margin: 28px 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  image-rendering: pixelated;
  line-height: 1.5;
}

.bg-band {
  background-size: cover;
  background-position: center;
  min-height: 180px;
  margin: 28px 0;
  border: 2px solid var(--border);
  position: relative;
}

.bg-band-decor-4 {
  background-image: url("/images/decorative/decor_4.webp");
}

.sub-spaced {
  margin: 24px 0;
}

.rail-note {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}

.topic-window {
  margin-bottom: 32px;
}

.topic-split {
  margin-bottom: 32px;
}

.bg-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2, 4, 10, 0.85), rgba(2, 4, 10, 0.3));
}

.image-rail {
  display: flex;
  gap: 12px;
  overflow: hidden;
  margin: 24px 0;
  max-width: 100%;
}

.image-rail .decor-wrap {
  flex: 1;
  min-width: 0;
}

.retro {
  font-family: var(--pixel);
}

.ui-90s {
  image-rendering: pixelated;
}

.operating-system {
  border-style: solid;
}

.skeuomorphic {
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.15), 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.nostalgic {
  letter-spacing: 0.5px;
}

.nineties-bevel {
  border-top-color: rgba(255, 255, 255, 0.25);
  border-left-color: rgba(255, 255, 255, 0.25);
  border-right-color: rgba(0, 0, 0, 0.55);
  border-bottom-color: rgba(0, 0, 0, 0.55);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleFlicker {
  0%,
  100% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  93% {
    opacity: 0.7;
  }
  94% {
    opacity: 1;
  }
}

@keyframes bevelPulse {
  0%,
  100% {
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow: 5px 5px 0 rgba(197, 160, 89, 0.25);
  }
}

.hero-content h1 {
  animation: fadeUp 0.7s ease-out, titleFlicker 4s ease-in-out 1s infinite;
}

.offer-card {
  animation: bevelPulse 3s ease-in-out infinite;
}

.info-section .win95-window,
.info-section .section-wrap > * {
  animation: fadeUp 0.6s ease-out;
}

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

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }

  .nav-overlay.open {
    display: flex;
  }

  .nav-overlay a {
    color: var(--text);
    font-family: var(--pixel);
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding: 4px 0;
    image-rendering: pixelated;
  }

  .nav-overlay a:hover {
    border-bottom-color: var(--primary);
    color: var(--primary);
  }

  .nav-overlay .overlay-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
    font-family: var(--pixel);
  }

  .hero {
    height: 40vh;
  }

  .hero-content {
    text-align: center;
    padding: 24px 16px 32px;
  }

  .hero-content p {
    margin: 0 auto;
  }

  .layout-split,
  .layout-band-inner,
  .layout-mosaic,
  .layout-cols-3,
  .layout-cards,
  .sidebar-layout {
    grid-template-columns: 1fr;
  }

  .layout-zigzag {
    grid-template-columns: 1fr;
  }

  .rail-panel {
    position: static;
  }

  .layout-band {
    margin: 0;
  }

  .offer-logo {
    width: 150px;
    height: 68px;
  }

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

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

  .decor-img {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .nav-inner {
    padding: 0 16px;
  }

  .section-wrap {
    padding: 32px 16px;
  }

  .brand-name {
    font-size: 12px;
  }

  .footer-badges img {
    height: 40px;
  }

  .offer-logo {
    width: 140px;
    height: 63px;
  }

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

  .offer-bonus {
    font-size: 0.85rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

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

  .decor-img {
    max-width: 100%;
    width: 100%;
    max-height: 200px;
    height: auto;
  }

  .layout-band {
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .image-rail {
    max-width: 100%;
    overflow: hidden;
  }

  .bg-band {
    max-width: 100%;
    min-height: 120px;
  }
}
