:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --text: #1C1917;
  --muted: #78716C;
  --primary: #D4AF37;
  --secondary: #0F172A;
  --accent: #92400E;
  --border: rgba(28, 25, 23, 0.12);
  --analog-texture: analog;
  --leica-accent: leica;
  --photography-frame: photography;
  --tactile-surface: tactile;
  --mechanical-dial: mechanical;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    linear-gradient(165deg, rgba(212, 175, 55, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 0%, rgba(15, 23, 42, 0.04) 0%, transparent 55%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(28, 25, 23, 0.015) 3px,
      rgba(28, 25, 23, 0.015) 4px
    );
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(146, 64, 14, 0.04) 0%, transparent 35%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

.disclosure-banner {
  max-width: 1100px;
  margin: 8px auto;
  padding: 8px 20px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  position: relative;
  z-index: 10;
}

.site-header {
  background: var(--secondary);
  position: static;
  border-bottom: 2px solid var(--accent);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.97) 100%);
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  max-height: 36px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 20px;
  transition: background 0.2s ease, color 0.2s ease;
  text-transform: uppercase;
}

.nav-desktop a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.burger-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: var(--secondary);
  z-index: 1000;
  padding: 80px 24px 24px;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
}

.nav-drawer.open {
  left: 0;
}

.nav-drawer a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.nav-drawer a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}

body.analog-theme {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.analog-theme > main {
  flex: 1 0 auto;
}

.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 20px 32px;
  margin-top: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background-image:
    linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.02) 8px,
      rgba(255, 255, 255, 0.02) 9px
    );
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-brand img {
  max-height: 36px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer-links h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-badges a,
.footer-badges img {
  max-height: 48px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.age-gate.hidden {
  display: none;
}

.age-gate-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.age-gate-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--secondary);
}

.age-gate-card p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--secondary);
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: #c9a430;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 2px solid var(--primary);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  flex: 1;
  min-width: 240px;
  font-size: 0.85rem;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
}

.btn-cookie.accept {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--secondary);
  font-weight: 600;
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  position: relative;
  z-index: 1;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--secondary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 12px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--secondary);
}

.legal-page h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
  color: var(--accent);
}

.legal-page p {
  margin-bottom: 12px;
  color: var(--text);
}

.legal-page ul {
  margin: 12px 0 12px 24px;
}

.legal-page li {
  margin-bottom: 6px;
}

.contact-form {
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 16px;
  background: var(--bg);
  color: var(--text);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: -12px;
  margin-bottom: 12px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  padding: 32px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  text-align: center;
  display: none;
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  color: var(--secondary);
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .burger-btn {
    display: block;
  }
}
