/*
Theme Name: ZodSyn 2025
Theme URI: https://zodsyn.com
Author: ZodSyn
Description: Custom ZodSyn dark cosmic theme based on the original 2025 HTML layout.
Version: 1.0.4
Text Domain: zodsyn-2025
*/

/* --------------------------------------------------
   Palette & base variables
-------------------------------------------------- */

:root {
  --bg-grad-start: #0f0e17;
  --bg-grad-end:   #1a1a2e;
  --bg-card:       rgba(15, 14, 23, 0.95);

  --ink:        #f4f4f4;
  --muted:      #c7c7c7;
  --muted-soft: #e0e0e0;

  --gold:       #d4af37;
  --gold-soft:  #ffd700;

  --border-soft: rgba(212, 175, 55, 0.25);
}

/* --------------------------------------------------
   Reset / Base
-------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body.starfield {
  font-family: "Georgia", "Times New Roman", serif;
  background: linear-gradient(135deg, var(--bg-grad-start) 0%, var(--bg-grad-end) 100%);
  color: var(--ink);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------
   HIDE BANNER IMAGES - Match emulate.html
-------------------------------------------------- */

.banner {
  display: none !important;
}

/* --------------------------------------------------
   Layout helpers
-------------------------------------------------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.main-content {
  padding-top: 64px; /* fixed header height */
  padding-bottom: 3rem;
}

/* --------------------------------------------------
   Header / Navigation
-------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 14, 23, 0.95);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(15px);
  transition: background 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  font-size: 1.6rem;
}

/* Primary menu (nav-links comes from wp_nav_menu) */

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: #e8e8e8;
  text-decoration: none;
  position: relative;
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Members pill */

.members-pill {
  margin-left: 1.5rem;
}

/* Mobile menu button */

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-left: 1rem;
}

.mobile-menu span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
}

/* --------------------------------------------------
   Buttons (shared)
-------------------------------------------------- */

.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #0f0e17;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: #0f0e17;
}

/* --------------------------------------------------
   Hero (front page)
-------------------------------------------------- */

header.hero {
  margin-top: 64px;
  background: transparent;
}

.hero-inner {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--gold);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
}

.hero p.sub {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: #e8e8e8;
  max-width: 850px;
  margin: 0 auto 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.disclaimer-mini {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.disclaimer-mini a {
  color: #ffd26a;
  text-decoration: underline;
}

/* --------------------------------------------------
   Sections & cards
-------------------------------------------------- */

section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-title {
  text-align: center;
  color: var(--gold);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.section-sub {
  text-align: center;
  color: #e0e0e0;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 2px solid var(--border-soft);
  border-radius: 18px;
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.card h3 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: #e0e0e0;
}

.center {
  text-align: center;
}

/* --------------------------------------------------
   Global footer banner (footer_1)
-------------------------------------------------- */

.footer_1 {
  margin-top: 2.5rem;
}

.footer_1 .container {
  max-width: 1200px;
}

.footer_1 img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border-soft);
  background: rgba(15, 14, 23, 0.95);
  padding: 2rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-nav {
  margin-top: 0.25rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.footer-menu li a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-menu li a:hover {
  color: var(--gold);
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* --------------------------------------------------
   Inner tools: ZodSyn Resonance, etc.
-------------------------------------------------- */

.zodsyn-resonance-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

.resonance-container {
  padding: 1.75rem 2rem;
  border-radius: 0.9rem;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  color: var(--ink);
}

.resonance-container h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.resonance-container p {
  margin-bottom: 0.85rem;
  color: var(--muted-soft);
}

.resonance-container label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.resonance-container select {
  width: 100%;
  max-width: 280px;
  padding: 0.55rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: rgba(15, 14, 23, 0.9);
  color: var(--ink);
}

.resonance-button {
  margin-top: 1.1rem;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.resonance-button:hover {
  opacity: 0.93;
  transform: translateY(-1px);
}

.resonance-container .result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%),
    rgba(15, 14, 23, 0.98);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.resonance-container .result h3 {
  margin-top: 0.6rem;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

/* --------------------------------------------------
   Additional styles for content blocks
-------------------------------------------------- */

.content-block {
  margin-bottom: 2rem;
}

.content-block h2 {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-block ul {
  list-style: none;
  padding-left: 0;
}

.content-block ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.content-block ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.section-nav {
  margin-top: 2rem;
  text-align: center;
}

/* Mind & Meditation tabs */
.mm-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.mm-tab-button {
  padding: 0.75rem 1.25rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--muted-soft);
  cursor: pointer;
  transition: all 0.2s;
}

.mm-tab-button:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
}

.mm-tab-button.mm-tab-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #0f0e17;
  border-color: var(--gold);
}

.mm-tab-panel {
  display: none;
}

.mm-tab-panel.mm-tab-panel-active {
  display: block;
}

/* Members page styles */
.members-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.members-cta {
  padding: 1.5rem;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.members-cta h2 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.members-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.members-card {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.5rem;
}

.members-card h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.members-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.members-card ul li {
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--muted-soft);
  font-size: 0.9rem;
}

.members-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Wiki styles */
.wiki-search {
  margin: 2rem 0;
}

.wiki-search input {
  width: 100%;
  max-width: 500px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: rgba(15, 14, 23, 0.9);
  color: var(--ink);
  font-size: 1rem;
}

.wiki-entries {
  margin-top: 2rem;
}

.wiki-entry {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.wiki-entry h2 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* Home page specific */
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.resonance-button-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.resonance-button-outline:hover {
  background: var(--gold);
  color: #0f0e17;
}

.resonance-button-soft {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
}

.home-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.pillar {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.5rem;
}

.pillar h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.pillar a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  text-decoration: underline;
}

.home-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.home-explore-grid article {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1.5rem;
}

.home-explore-grid h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.home-disclaimer-link {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.home-disclaimer-link a {
  color: var(--gold);
  text-decoration: underline;
}

/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
  
  .home-pillars,
  .home-explore-grid,
  .members-columns {
    grid-template-columns: 1fr;
  }
  
  .members-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: rgba(15, 14, 23, 0.98);
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem 1.4rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .members-pill {
    display: none;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 1.25rem;
  }

  .resonance-container {
    padding: 1.45rem 1.3rem;
  }
}