/* Shared styles for subpages (about, privacy, terms) */
:root {
  --ink: #0a0807;
  --parchment: #e8dcc4;
  --blood: #8b1a1a;
  --blood-bright: #c13838;
  --gold: #e8c766;
  --gold-dim: #a88b4a;
  --stone: #2a2422;
  --stone-light: #3d3532;
  --smoke: rgba(232, 220, 196, 0.08);
  --ember: #d4642a;
}

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

html, body {
  background: var(--ink);
  color: var(--parchment);
  font-family: 'Cormorant Garamond', serif;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(139, 26, 26, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(232, 199, 102, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(212, 100, 42, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  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='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.25s ease;
}

.back-link:hover {
  color: var(--blood-bright);
}

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h1 {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dim) 40%, var(--blood) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(232, 199, 102, 0.2);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 400px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.divider-ornament {
  color: var(--gold);
  font-size: 1.2rem;
}

.content {
  background: linear-gradient(145deg, var(--stone) 0%, rgba(42, 36, 34, 0.6) 100%);
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  box-shadow:
    inset 0 1px 0 rgba(232, 199, 102, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  font-size: 1.1rem;
}

.content::before,
.content::after {
  content: '✦';
  position: absolute;
  color: var(--gold);
  font-size: 0.8rem;
  background: var(--ink);
  padding: 0 8px;
  top: -8px;
}
.content::before { left: 20px; }
.content::after { right: 20px; }

.content h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.content h2:first-child {
  margin-top: 0;
}

.content p {
  margin-bottom: 1rem;
}

.content ul {
  margin: 1rem 0 1rem 1.5rem;
}

.content li {
  margin-bottom: 0.5rem;
}

.content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold-dim);
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}

.content a:hover {
  color: var(--blood-bright);
}

.content em {
  color: var(--gold);
  font-style: italic;
}

.content .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--stone-light);
}

footer {
  text-align: center;
  margin-top: 3rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.footer-sep {
  color: var(--gold-dim);
  font-size: 0.7rem;
}

.footer-tagline {
  color: var(--gold);
  opacity: 0.85;
}

@media (max-width: 640px) {
  .container { padding: 2rem 1.25rem 3rem; }
  .content { padding: 2rem 1.25rem; }
  .content::before { left: 12px; }
  .content::after { right: 12px; }
}

@media (max-width: 420px) {
  .container { padding: 1.5rem 1rem 2.5rem; }
  .content { padding: 1.75rem 1rem; font-size: 1rem; }
  .eyebrow { font-size: 0.6rem; letter-spacing: 0.4em; }
}
