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

:root {
  --bg: #FFF1F2;
  --surface: #FFFFFF;
  --text: #3F1D22;
  --muted: #9F5F68;
  --primary: #FB7185;
  --secondary: #FDBA74;
  --accent: #34D399;
  --border: rgba(63,29,34,0.12);
  --max-w: 1200px;
  --shadow-2: 2px 2px 0 rgba(63, 29, 34, 0.12);
  --shadow-4: 4px 4px 0 rgba(63, 29, 34, 0.14);
  --shadow-8: 8px 8px 0 rgba(63, 29, 34, 0.16);
  --shadow-12: 12px 12px 0 rgba(63, 29, 34, 0.18);
  --shadow-16: 16px 16px 0 rgba(63, 29, 34, 0.2);
  --craft-cut-paper: cut paper;
  --craft-layered: layered;
  --craft-paper-craft: paper craft;
  --craft-tactile: tactile;
  --craft-handmade: handmade;
  --craft-collage: collage;
  --font: "Trebuchet MS", "Segoe UI", Candara, "Gill Sans", sans-serif;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(251, 113, 133, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 5%, rgba(253, 186, 116, 0.22) 0%, transparent 50%),
    linear-gradient(168deg, var(--bg) 0%, #ffe4e8 48%, #fff7ed 100%);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: "layered paper craft";
  position: fixed;
  inset: 0;
  font-size: 0;
  background-image:
    repeating-linear-gradient(
      -6deg,
      transparent,
      transparent 38px,
      rgba(63, 29, 34, 0.025) 38px,
      rgba(63, 29, 34, 0.025) 39px
    );
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "cut paper tactile handmade collage";
  position: fixed;
  inset: 0;
  font-size: 0;
  background-image:
    radial-gradient(circle at 18% 78%, rgba(52, 211, 153, 0.08) 0%, transparent 36%),
    radial-gradient(circle at 88% 55%, rgba(251, 113, 133, 0.1) 0%, transparent 42%);
  pointer-events: none;
  z-index: 0;
}

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

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

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

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

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

.disclosure-banner {
  width: 100%;
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #3F1D22 0%, #7a3140 55%, #3F1D22 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  position: relative;
  z-index: 50;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #3F1D22;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border-bottom: none;
}

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

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

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

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

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.15s ease;
}

.nav-links a:hover {
  color: var(--secondary);
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

.paper-sheet {
  background: var(--surface);
  border-radius: 6px;
  box-shadow: var(--shadow-8);
  border: 1px solid var(--border);
  position: relative;
}

.paper-sheet.rot-1 {
  transform: rotate(-1.5deg);
}

.paper-sheet.rot-2 {
  transform: rotate(1.2deg);
}

.paper-sheet.rot-3 {
  transform: rotate(-0.8deg);
}

.paper-sheet.elev-2 {
  box-shadow: var(--shadow-2);
}

.paper-sheet.elev-4 {
  box-shadow: var(--shadow-4);
}

.paper-sheet.elev-8 {
  box-shadow: var(--shadow-8);
}

.paper-sheet.elev-12 {
  box-shadow: var(--shadow-12);
}

.paper-sheet.elev-16 {
  box-shadow: var(--shadow-16);
}

.torn-edge {
  clip-path: polygon(
    0 0,
    100% 0,
    100% 92%,
    96% 100%,
    90% 94%,
    84% 100%,
    76% 93%,
    68% 100%,
    58% 94%,
    48% 100%,
    38% 93%,
    28% 100%,
    18% 94%,
    8% 100%,
    0 93%
  );
}

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

.page-hero {
  padding: 48px 24px 28px;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

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

.legal-content {
  max-width: 860px;
  margin: 0 auto 56px;
  padding: 32px 28px;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow-8);
  border: 1px solid var(--border);
}

.legal-content h1 {
  font-size: 1.9rem;
  margin-bottom: 16px;
}

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

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

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

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 12px;
}

.legal-content code {
  font-size: 0.9em;
  background: rgba(251, 113, 133, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

.cta-link {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: var(--shadow-4);
  transition: transform 0.15s ease, background 0.15s ease;
}

.cta-link:hover {
  background: #e85a70;
  color: #fff;
  transform: scale(1.03);
}

.site-footer {
  position: relative;
  z-index: 1;
  background: #3F1D22;
  color: rgba(255, 255, 255, 0.88);
  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: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

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

.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: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
  line-height: 1.5;
}

.au-disclosure {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
  max-width: 920px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.age-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(63, 29, 34, 0.72);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.age-dialog {
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow-16);
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.age-dialog h2 {
  font-size: 1.4rem;
  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: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 6px;
  padding: 11px 18px;
}

.btn-confirm {
  background: var(--accent);
  color: #16352a;
}

.btn-decline {
  background: rgba(63, 29, 34, 0.1);
  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: 16px;
  left: 16px;
  right: 16px;
  z-index: 180;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-12);
  padding: 18px 16px;
}

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

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 12px;
}

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

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

.cookie-actions .reject {
  background: rgba(63, 29, 34, 0.08);
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  max-width: 520px;
}

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

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

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

.contact-form button {
  align-self: flex-start;
  background: var(--primary);
  color: #fff;
}

.form-error {
  display: none;
  color: #b91c1c;
  font-size: 0.85rem;
}

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

.form-success {
  display: none;
  padding: 20px;
  background: rgba(52, 211, 153, 0.15);
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  margin-top: 20px;
}

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

.decor-img {
  max-width: min(500px, 100%);
  max-height: 320px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

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

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

.go-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(63, 29, 34, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

#AD {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

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

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

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

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(63, 29, 34, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    padding: 72px 24px 40px;
    z-index: 45;
  }

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

  .nav-links a {
    font-size: 1.35rem;
    padding: 8px 12px;
  }

  .nav-toggle {
    position: relative;
    z-index: 50;
  }
}

@media (max-width: 375px) {
  .decor-img {
    max-width: 100%;
    max-height: 180px;
  }

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

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