/* ============================================
   ILLUMINATIAM — Cultic Official Site Theme
   Inspired by illuminati.am framework
   ============================================ */

:root {
  --bg-dark: #0a0a0b;
  --bg-card: #111113;
  --bg-elevated: #16161a;
  --gold: #c9a227;
  --gold-light: #e5c76b;
  --gold-dim: #8b7312;
  --text-primary: #e8e6e3;
  --text-muted: #9a9690;
  --text-faded: #5c5854;
  --border: #2a2826;
  --accent-red: #8b2020;
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Crimson Text', Georgia, serif;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 11, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  display: block;
  flex-shrink: 0;
  color: var(--gold);
}

.logo-link .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  transition: color var(--transition);
}

.logo-link:hover .logo,
.logo-link:hover .logo-mark {
  color: var(--gold-light);
}

.logo-link .logo-mark {
  opacity: 0.95;
}

.logo-link:hover .logo-mark {
  opacity: 1;
}

.main-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  transition: color var(--transition);
}

.nav-item a:hover {
  color: var(--gold);
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-item.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gold);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(20, 18, 15, 0.9) 0%, var(--bg-dark) 70%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath fill='none' stroke='%23c9a227' stroke-width='0.8' d='M30 2 L58 50 L2 50 Z'/%3E%3C/svg%3E");
  background-size: 80px 70px;
  background-position: 0 0;
}

.hero-rays {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 100%;
  pointer-events: none;
  color: var(--gold);
}

.hero-rays svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  z-index: 0;
  color: var(--gold);
  opacity: 0.5;
  filter: drop-shadow(0 0 30px rgba(201, 162, 39, 0.15));
}

.hero-emblem img {
  display: block;
  width: clamp(100px, 18vw, 160px);
  height: auto;
}

.hero-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 40vw solid transparent;
  border-right: 40vw solid transparent;
  border-bottom: 25vh solid rgba(17, 17, 19, 0.6);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 50% 35%, rgba(201, 162, 39, 0.12) 0%, transparent 45%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.25em;
  color: var(--gold);
  margin: 0 0 0.5rem;
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.2);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 1rem);
  letter-spacing: 0.35em;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
}

.hero-tagline .out-for-you {
  display: block;
  color: var(--gold);
  letter-spacing: 0.15em;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 2rem 0 1.5rem;
  line-height: 1.7;
}

.hero-social a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.hero-social a:hover {
  color: var(--gold-light);
}

.pyramid-accent {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  opacity: 0.35;
}

.pyramid-accent svg {
  display: block;
}

/* ----- Occult dividers ----- */
.occult-divider {
  text-align: center;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.occult-divider-top {
  border-top: none;
  padding-top: 0;
  padding-bottom: 0.5rem;
}

.divider-symbol {
  display: inline-block;
  color: var(--gold-dim);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  opacity: 0.8;
}

.section-icon-wrap {
  text-align: center;
  margin-bottom: 1rem;
}

.section-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  opacity: 0.7;
}

.section-icon use {
  color: inherit;
}

/* ----- Latest Message ----- */
.latest-message {
  padding: 4rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
  text-align: center;
}

.message-card.featured {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.message-card.featured h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.btn-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.btn-link:hover {
  color: var(--gold-light);
}

.btn-view {
  display: block;
  font-size: 0.85rem;
  color: var(--text-faded);
  text-decoration: none;
  margin-top: 0.25rem;
}

.btn-view:hover {
  color: var(--gold);
}

/* ----- Join Section ----- */
.join-section {
  position: relative;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.join-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='35' viewBox='0 0 40 35'%3E%3Cpath fill='none' stroke='%23c9a227' stroke-width='0.4' opacity='0.06' d='M20 2 L38 33 L2 33 Z'/%3E%3C/svg%3E");
  background-size: 50px 44px;
  background-position: 0 0;
  pointer-events: none;
}

.join-section .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.2em;
  color: var(--gold);
  text-align: center;
  margin: 0 0 0.5rem;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.join-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 0;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group.honeypot {
  position: absolute;
  left: -9999px;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--bg-dark);
  background: var(--gold);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-submit:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
}

/* ----- Archives ----- */
.archives-section {
  padding: 4rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.archives-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 0.25rem;
}

.archives-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 2.5rem;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.archive-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.archive-card:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.06);
}

.card-icon-wrap {
  margin-bottom: 1rem;
}

.card-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-dim);
  opacity: 0.8;
}

.archive-card:hover .card-icon {
  color: var(--gold);
  opacity: 1;
}

.archive-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.6;
}

.card-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
}

.card-link:hover {
  color: var(--gold-light);
}

.card-view {
  display: block;
  font-size: 0.8rem;
  color: var(--text-faded);
  text-decoration: none;
  margin-top: 0.25rem;
}

.card-view:hover {
  color: var(--gold);
}

.btn-archives {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid var(--gold);
  text-decoration: none;
  text-align: center;
  transition: background var(--transition), color var(--transition);
}

.btn-archives:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ----- People / Testimonials ----- */
.people-section {
  position: relative;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.people-section .container {
  position: relative;
  z-index: 1;
}

.people-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--gold);
}

.people-eyes-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.people-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

.people-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-align: center;
  margin: 0 0 1.5rem;
}

.people-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.testimonial {
  background: var(--bg-card);
  border-left: 3px solid var(--gold-dim);
  padding: 1.25rem 1.5rem;
  margin: 0;
}

.testimonial cite {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.testimonial p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.people-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-secondary {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--bg-dark);
  background: var(--gold);
  border: 1px solid var(--gold);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--bg-dark);
}

/* ----- Testament CTA ----- */
.testament-cta {
  padding: 4rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  text-align: center;
}

.testament-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.testament-emblem {
  margin-bottom: 1rem;
}

.testament-emblem img {
  display: block;
  margin: 0 auto;
  color: var(--gold);
  opacity: 0.85;
}

.testament-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.testament-heading {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin: 0;
}

.testament-heading + .testament-heading {
  margin-bottom: 1.5rem;
}

.btn-testament {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid var(--gold);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.btn-testament:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ----- Footer ----- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  display: block;
  opacity: 0.6;
  color: var(--gold-dim);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-nav a,
.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-faded);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--gold);
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-faded);
  margin: 1.5rem 0 0;
}

/* ----- Inner pages (archives, testament) ----- */
.page-header {
  padding: 6rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-header .container > img[src*="logo-emblem"],
.page-header .section-icon-wrap img {
  color: var(--gold);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.page-content {
  padding: 3rem 0 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.page-content p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.page-content .lead {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
}

.page-content h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--gold);
  text-decoration: none;
}

.back-link:hover {
  color: var(--gold-light);
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }

  .main-nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.is-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    letter-spacing: 0.15em;
  }

  .hero-subtitle {
    letter-spacing: 0.2em;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- SEO: Topics section & accessibility ----- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.seo-topics {
  padding: 2rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.seo-topics-inner {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.seo-topics-inner p {
  margin: 0.75rem 0;
  max-width: 100%;
}

.seo-topics-inner strong {
  color: var(--text-primary);
  margin-right: 0.25rem;
}

/* Backlink opportunities list */
.backlink-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.backlink-list a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
}

.backlink-list a:hover {
  text-decoration: underline;
  color: var(--gold-light);
}
