/* styles.css - shared design tokens + nav/footer for tqe.gg.
 *
 * Per-page styles stay inline in each page's <style> block. This file is
 * just the bits every page needs (palette, typography, container, nav,
 * footer). Matches the design language of the original landing page.
 */

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

body {
  background: #0a0a0f;
  color: #d4c9a8;
  font-family: 'Georgia', 'Times New Roman', serif;
  min-height: 100vh;
  overflow-x: hidden;
}

#bg {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 0%, #1a1228 0%, #0a0a0f 60%);
  z-index: 0;
}

.glow {
  position: fixed; top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(120,80,30,0.12) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: pulse 7s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

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

.divider {
  width: 100px;
  height: 1px;
  background: linear-gradient(to right, transparent, #6a5d42, transparent);
  margin: 2rem auto;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #6a5d42;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ── NAV ─────────────────────────────────────────────────────────────── */

.site-nav {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(180,160,100,0.08);
  background: rgba(10,10,15,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.site-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  flex-wrap: wrap;
}

.site-nav-brand {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #c4a55a;
  text-decoration: none;
  flex-shrink: 0;
}
.site-nav-brand:hover { color: #e8c98e; }

.site-nav-links {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a6e58;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.site-nav-links a:hover { color: #d4c9a8; }
.site-nav-links a.active { color: #c4a55a; }

.site-nav-cta {
  padding: 0.55rem 1.1rem;
  background: rgba(160,120,60,0.18);
  border: 1px solid rgba(180,160,100,0.35);
  color: #c4a55a;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.site-nav-cta:hover { background: rgba(160,120,60,0.32); color: #e8c98e; }

@media (max-width: 600px) {
  .site-nav-inner { gap: 1rem; padding: 0.85rem 1.2rem; }
  .site-nav-links { gap: 1rem; }
  .site-nav-links a, .site-nav-brand, .site-nav-cta { font-size: 0.62rem; letter-spacing: 0.18em; }
}

/* ── FOOTER ──────────────────────────────────────────────────────────── */

.site-footer {
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #2a2420;
  text-transform: uppercase;
  border-top: 1px solid rgba(180,160,100,0.08);
  margin-top: 4rem;
}

/* ── BUTTONS (shared) ────────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: rgba(160,120,60,0.2);
  border: 1px solid rgba(180,160,100,0.4);
  color: #e8c98e;
  font-family: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary:hover {
  background: rgba(160,120,60,0.35);
  color: #f4e6b8;
  border-color: rgba(180,160,100,0.6);
}

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: transparent;
  border: 1px solid rgba(180,160,100,0.25);
  color: #a89870;
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: rgba(180,160,100,0.5); color: #d4c9a8; }

.btn-disabled {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: transparent;
  border: 1px solid rgba(180,160,100,0.1);
  color: #4a4030;
  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: not-allowed;
}

/* ── PAGE HEADERS (shared) ──────────────────────────────────────────── */

.page-header {
  text-align: center;
  padding: 5rem 0 2rem;
}

.page-header .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #6a5d42;
  margin-bottom: 1.5rem;
}

.page-header h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: normal;
  letter-spacing: 0.04em;
  color: #e8dfc8;
  text-shadow: 0 0 60px rgba(160,120,60,0.2);
}

.page-header .tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: #a89870;
  font-style: italic;
  max-width: 540px;
  margin: 1.4rem auto 0;
}
