/* === CSS Variables & Base Reset === */
:root {
  --gold: #c9a84c;
  --gold2: #e8cc84;
  --gold-dim: rgba(201,168,76,.18);
  --gold-glow: rgba(201,168,76,.35);
  --dark: #0c0a06;
  --dark2: #131009;
  --dark3: #1a1610;
  --panel: rgba(26,22,16,.85);
  --panel2: rgba(35,30,20,.7);
  --text: #f0e8d8;
  --text2: #b8a88a;
  --text3: #7a6a52;
  --line: rgba(201,168,76,.15);
  --good: #5aaa7a;
  --warn: #d4873a;
  --bad: #c25050;
  --shadow: 0 20px 60px rgba(0,0,0,.6);
  --r: 6px;
  --r2: 10px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }

body {
  font-family: var(--sans);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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");
  pointer-events: none; z-index: 1000; opacity: .4;
}

a { color: inherit; text-decoration: none }

.main-content { padding-top: 150px; min-height: 100vh }

/* Section layouts */
.section { max-width: 1140px; margin: 0 auto; padding: 80px 24px }
.section-sm { max-width: 1140px; margin: 0 auto; padding: 50px 24px }

.sec-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.sec-label::before { content: ''; width: 20px; height: 1px; background: var(--gold) }
.sec-title {
  font-family: var(--serif); font-size: clamp(28px,3.5vw,42px);
  font-weight: 600; line-height: 1.15; margin-bottom: 14px;
}
.sec-sub { color: var(--text2); font-size: 16px; max-width: 560px; line-height: 1.65 }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
  margin: 0;
}

/* Messages */
.messages-container {
  max-width: 1140px; margin: 16px auto 0; padding: 0 24px;
}

/* Empty state */
.empty-state {
  text-align: center; padding: 60px 24px;
  border: 1px dashed var(--line); border-radius: 14px;
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px }
.empty-state h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 8px }
.empty-state p { color: var(--text2); margin-bottom: 20px }

/* Cookie consent banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--dark2); border-top: 1px solid var(--line);
  padding: 16px 24px; z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,.5);
}
.cookie-banner-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  justify-content: space-between;
}
.cookie-banner p { font-size: 13px; color: var(--text2); margin: 0; line-height: 1.5 }
.cookie-banner a { color: var(--gold); text-decoration: underline }
.btn-sm { padding: 8px 20px; font-size: 13px; white-space: nowrap }

@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; text-align: center; gap: 12px }
}

/* Responsive */
@media (max-width: 700px) {
  .section { padding: 40px 16px }
}
