:root {
  --bg: #003366;
  --surface: #004080;
  --text: #FFFFFF;
  --muted: #99CCFF;
  --primary: #FFFFFF;
  --secondary: #3399FF;
  --accent: #FFCC00;
  --border: rgba(255, 255, 255, 0.25);
  --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-typewriter: "Courier New", Courier, "Lucida Console", Monaco, monospace;
  --font-sans: "Segoe UI", "Helvetica Neue", "Noto Sans", Ubuntu, Cantarell, sans-serif;
  --max: 1200px;
  --paper: rgba(255, 255, 255, 0.96);
  --craft-shadow: 7px 7px 0 rgba(0, 26, 51, 0.45);
  --analog-tilt: 0.8deg;
  --offer-bg: #1a1a1a;
  --offer-border: #2a2a2a;
  --offer-bonus: #ffd700;
  --offer-cta-bg: #22c55e;
  --offer-cta-text: #ffffff;
}

*,
*::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:
    linear-gradient(165deg, rgba(0, 51, 102, 0.98) 0%, rgba(0, 40, 80, 0.94) 48%, rgba(0, 51, 102, 1) 100%),
    radial-gradient(ellipse 55% 40% at 12% 8%, rgba(51, 153, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 35% at 92% 70%, rgba(255, 204, 0, 0.08), transparent 50%);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.02) 3px,
      rgba(255, 255, 255, 0.02) 4px
    );
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(51, 153, 255, 0.08), transparent 45%);
}

.paper-shadows-minimal-analog-craft {
  --paper-texture: var(--paper);
  --shadows-depth: var(--craft-shadow);
  --minimal-gap: 10px;
  --analog-shift: var(--analog-tilt);
  --craft-edge: polygon(0.5% 0%, 100% 0.7%, 99.5% 100%, 0% 99.3%);
}

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

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

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

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

ul {
  list-style: none;
}

.disclosure-banner {
  width: 100%;
  padding: 6px 16px;
  text-align: center;
  background: transparent;
  border: none;
  position: relative;
  z-index: 120;
}

.disclosure-banner p {
  margin: 0 auto;
  max-width: 960px;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
  font-family: var(--font-typewriter);
}

.hero-shell {
  position: relative;
}

.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  height: 64px;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0, 26, 51, 0.55);
}

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

.brand-lockup img {
  width: 40px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.nav-links a {
  color: var(--primary);
  font-size: 0.92rem;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 26, 51, 0.65);
  font-family: var(--font-typewriter);
  letter-spacing: 0.04em;
}

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

.burger {
  display: none;
  width: 42px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 4px;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--primary);
  box-shadow: 0 1px 2px rgba(0, 26, 51, 0.5);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 26, 51, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
}

.nav-overlay a {
  color: var(--primary);
  font-size: 1.6rem;
  font-family: var(--font-serif);
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

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

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}

.hero-left,
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 40px 48px;
  min-height: 280px;
}

.hero-left {
  background: var(--primary);
  border-right: 2px solid var(--accent);
}

.hero-right {
  background: var(--surface);
}

.hero-left h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  color: var(--bg);
  max-width: 12ch;
  transform: rotate(calc(var(--analog-tilt) * -0.4));
}

.hero-right p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 34ch;
  font-family: var(--font-typewriter);
  line-height: 1.55;
}

.page-hero {
  position: relative;
  background: var(--surface);
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 88px 24px 36px;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--primary);
  margin: 0;
}

.offers-section {
  padding: 64px 24px;
  background-image:
    linear-gradient(180deg, rgba(0, 51, 102, 0.88), rgba(0, 40, 80, 0.92)),
    url("/images/offers_bg/offers_bg.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}

.offers-section::before {
  content: "";
  position: absolute;
  inset: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.offers-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
  position: relative;
}

.offers-intro h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--primary);
}

.offers-intro p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-typewriter);
  font-size: 0.9rem;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.offer-card {
  background: var(--offer-bg);
  border: 1px solid var(--offer-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.offer-logo {
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 12px;
  background: #0d0d0d;
  padding: 10px;
  box-sizing: border-box;
}

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

.offer-bonus-group {
  text-align: center;
}

.offer-bonus {
  margin: 0;
  color: var(--offer-bonus);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.offer-terms {
  margin: 6px 0 0;
  font-size: 0.72rem;
  color: #9ca3af;
}

.offer-desc {
  margin: 0;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.45;
  text-align: center;
}

.offer-cta {
  display: block;
  margin-top: auto;
  padding: 12px 16px;
  background: var(--offer-cta-bg);
  color: var(--offer-cta-text);
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.15s ease;
}

.offer-cta:hover {
  filter: brightness(1.08);
  color: var(--offer-cta-text);
  transform: translateY(-1px);
}

.info-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px;
  position: relative;
}

.info-section::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
}

.info-section h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--primary);
}

.info-section p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 68ch;
}

.craft-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  font-family: var(--font-typewriter);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  box-shadow: 4px 4px 0 rgba(0, 26, 51, 0.35);
  transform: rotate(calc(var(--analog-tilt) * -1));
}

.paper-panel {
  background: var(--paper);
  color: var(--bg);
  padding: 22px 24px;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
  transform: rotate(calc(var(--analog-tilt) * 0.35));
  margin: 18px 0;
}

.paper-panel p {
  color: var(--bg);
  margin: 0;
}

.paper-panel + .paper-panel {
  transform: rotate(calc(var(--analog-tilt) * -0.45));
}

.tip-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.tip-list li {
  padding: 12px 14px;
  background: rgba(0, 64, 128, 0.55);
  box-shadow: 5px 5px 0 rgba(0, 26, 51, 0.35);
  clip-path: polygon(0.6% 0%, 100% 0.5%, 99.4% 100%, 0% 99.4%);
  color: var(--text);
  font-size: 0.95rem;
}

.layout-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

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

.mini-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
}

.mini-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--accent);
}

.mini-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.decor-wrap {
  overflow: hidden;
  max-width: min(500px, 100%);
  width: 100%;
  margin: 20px 0;
  box-sizing: border-box;
}

.decor-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
  transform: rotate(calc(var(--analog-tilt) * 0.5));
}

.decor-center {
  max-width: min(480px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.topic-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-serif);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
}

.topic-cta:hover {
  color: var(--bg);
  filter: brightness(1.05);
}

.topic-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 24px 72px;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.topic-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin: 0 0 18px;
  color: var(--primary);
}

.topic-page h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 28px 0 10px;
  color: var(--accent);
}

.topic-page p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 68ch;
}

.topic-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 16px;
}

.topic-page li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.92);
}

.topic-guide {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.topic-steps {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.topic-step {
  background: rgba(255, 255, 255, 0.06);
  padding: 16px 18px;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
}

.topic-step strong {
  display: block;
  font-family: var(--font-typewriter);
  color: var(--accent);
  margin-bottom: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.topic-license {
  display: grid;
  gap: 24px;
}

.topic-quote {
  margin: 18px 0;
  padding: 22px 24px;
  background: var(--paper);
  color: var(--bg);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.45;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
  transform: rotate(calc(var(--analog-tilt) * -0.4));
}

.topic-badge-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.topic-badge {
  background: rgba(0, 64, 128, 0.55);
  padding: 16px;
  box-shadow: 5px 5px 0 rgba(0, 26, 51, 0.35);
}

.topic-badge h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--accent);
}

.topic-badge p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.topic-bonus-layout {
  display: grid;
  gap: 22px;
}

.topic-criteria {
  counter-reset: criteria;
  display: grid;
  gap: 12px;
  margin: 16px 0;
  list-style: none;
  padding: 0;
}

.topic-criteria li {
  counter-increment: criteria;
  position: relative;
  padding: 14px 14px 14px 52px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
  list-style: none;
}

.topic-criteria li::before {
  content: counter(criteria);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-typewriter);
  font-weight: 700;
  font-size: 0.85rem;
}

.topic-band {
  margin: 24px 0;
  padding: 28px 20px;
  background-image:
    linear-gradient(120deg, rgba(0, 26, 51, 0.72), rgba(0, 51, 102, 0.55)),
    var(--topic-band-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
  overflow: hidden;
  max-width: 100%;
}

.topic-band p {
  margin: 0;
  color: var(--primary);
  max-width: 42ch;
  font-family: var(--font-typewriter);
}

.caption-type {
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

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

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 18px;
  color: var(--primary);
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--accent);
}

.legal-content p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.92);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 14px;
}

.legal-content li {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.92);
}

.contact-form {
  margin-top: 28px;
  max-width: 520px;
  background: var(--paper);
  color: var(--bg);
  padding: 24px;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
}

.contact-form label {
  display: block;
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--bg);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: none;
  background: rgba(0, 51, 102, 0.06);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 1rem;
  box-shadow: 3px 3px 0 rgba(0, 26, 51, 0.2);
}

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

.contact-form .error-msg {
  display: none;
  color: #b91c1c;
  font-size: 0.85rem;
  margin: -8px 0 12px;
}

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

.contact-form button {
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-serif);
  box-shadow: 5px 5px 0 rgba(0, 26, 51, 0.35);
}

.contact-form button:hover {
  background: var(--accent);
  color: var(--bg);
}

.contact-form.is-hidden {
  display: none;
}

.form-success {
  display: none;
  margin-top: 24px;
  padding: 22px;
  background: var(--paper);
  color: var(--bg);
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
  font-family: var(--font-serif);
}

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

.site-footer {
  margin-top: auto;
  background: rgba(0, 26, 51, 0.55);
  padding: 48px 24px 28px;
  box-shadow: 0 -8px 0 rgba(0, 26, 51, 0.25);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.footer-brand .brand-lockup {
  text-shadow: none;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-family: var(--font-typewriter);
}

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

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

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

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

.footer-requisites p {
  margin: 0 0 4px;
}

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

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 26, 51, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate.visible {
  display: flex;
}

.age-card {
  background: var(--paper);
  color: var(--bg);
  max-width: 420px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
  text-align: center;
}

.age-card h2 {
  font-family: var(--font-serif);
  margin: 0 0 12px;
}

.age-card p {
  margin: 0 0 20px;
  font-size: 0.95rem;
}

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

.btn {
  border: none;
  cursor: pointer;
  padding: 11px 18px;
  font-weight: 700;
  font-family: var(--font-serif);
  box-shadow: 4px 4px 0 rgba(0, 26, 51, 0.3);
}

.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}

.btn-ghost {
  background: rgba(0, 51, 102, 0.1);
  color: var(--bg);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 450;
  display: none;
  max-width: 640px;
  margin: 0 auto;
}

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

.cookie-inner {
  background: var(--paper);
  color: var(--bg);
  padding: 18px 20px;
  box-shadow: var(--craft-shadow);
  clip-path: var(--craft-edge);
}

.cookie-inner p {
  margin: 0 0 14px;
  font-size: 0.9rem;
}

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

.redirect-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.redirect-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
}

.ad-label {
  font-family: var(--font-typewriter);
  color: var(--accent);
  letter-spacing: 0.12em;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.redirect-notes {
  max-width: 420px;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.error-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  text-align: center;
}

.error-page h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin: 0 0 12px;
}

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

.error-page a {
  display: inline-block;
  padding: 12px 20px;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: var(--craft-shadow);
  font-weight: 700;
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes floatPaper {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.reveal {
  opacity: 0;
  animation: sheetIn 0.7s ease forwards;
}

.hero-left h1 {
  animation: sheetIn 0.75s ease both;
}

.hero-right p {
  animation: sheetIn 0.75s ease 0.12s both;
}

.offer-card {
  animation: sheetIn 0.6s ease both;
}

.offer-card:nth-child(2) {
  animation-delay: 0.08s;
}

.offer-card:nth-child(3) {
  animation-delay: 0.16s;
}

.offer-card:nth-child(4) {
  animation-delay: 0.24s;
}

.offer-card:nth-child(5) {
  animation-delay: 0.32s;
}

.craft-tag {
  animation: floatPaper 5s ease-in-out infinite;
}

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

  .burger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left {
    border-right: none;
    border-bottom: 2px solid var(--accent);
  }

  .layout-split,
  .layout-cards,
  .topic-guide,
  .topic-badge-row {
    grid-template-columns: 1fr;
  }

  .hero-left,
  .hero-right {
    padding: 80px 24px 36px;
  }

  .offer-logo {
    width: 180px;
    height: 90px;
  }

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

@media (max-width: 560px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }

  .footer-badges img {
    max-width: 110px;
  }

  .decor-wrap {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

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

  .offer-logo {
    width: 160px;
    height: 80px;
  }

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

  .offer-bonus {
    font-size: 0.88rem;
  }

  .topic-page {
    padding: 28px 16px 56px;
  }

  .topic-criteria li {
    padding-left: 48px;
  }
}
