/* ---------- Base layout & centering ---------- */
.deities-page {
  font-family: 'Caudex', serif;
  color: #f4f4f4;
}

.deities-page.container {
  max-width: 1100px;        /* keeps lines readable */
  margin-left: auto;
  margin-right: auto;
}

/* Utility: centered block + centered text */
.centered {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}

/* ---------- Intro ---------- */
.deity-intro h1 {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
  color: #50C878;
  letter-spacing: 0.5px;
}

.deity-intro p {
  font-size: 1.12rem;
  line-height: 1.8;
  opacity: 0.95;
  margin: 0.5rem 0;
}

/* ---------- Pantheon cards ---------- */
.deity-pantheons { row-gap: 1.5rem; }

.pantheon-card {
  background: radial-gradient(120% 120% at 10% 0%, rgba(80,200,120,0.18) 0%, rgba(20,50,35,0.55) 60%, rgba(10,20,15,0.65) 100%);
  border: 1px solid rgba(80,200,120,0.28);
  padding: 1.4rem 1.2rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  backdrop-filter: blur(1px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pantheon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.36);
  border-color: rgba(80,200,120,0.45);
}

/* Heading with icon */
.pantheon-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #50C878;
  font-size: 1.75rem;
  margin: 0 0 0.6rem;
  line-height: 1.1;
}

/* Icon pill before the title (Unicode = no images) */
.pantheon-title::before {
  content: "";
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(80,200,120,0.14);
  border: 1px solid rgba(80,200,120,0.35);
  box-shadow: inset 0 0 10px rgba(80,200,120,0.18), 0 0 10px rgba(0,0,0,0.25);
  font-size: 18px;
  color: #bdf4d2;
}

/* Pantheon-specific symbols (Unicode) */
.icon-egyptian::before { content: "☥"; }   /* ankh */
.icon-greek::before    { content: "Ω"; }
.icon-celtic::before   { content: "☘"; }
.icon-norse::before    { content: "ᚠ"; }   /* simple rune */
.icon-asian::before    { content: "☯"; }   /* yin-yang */
.icon-hindu::before    { content: "ॐ"; }   /* Om */

/* Body text */
.pantheon-card p {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  opacity: 0.96;
}

/* ---------- CTA Buttons (EXACT match to Beliefs page) ---------- */

/* Container used on multiple pages */
.cta-container {
  margin: 40px 0;
}
.cta-container:not(.bottom-nav) { text-align: center; }

/* Bottom nav alignment (kept identical to Beliefs page) */
.cta-container.bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: 700px;        /* matches Beliefs page width */
  margin: 2rem auto 4rem;
  padding: 0;
}

/* Button styling */
.cta-button {
  flex: 1 1 0;
  padding: 14px 0;
  min-width: 160px;
  text-align: center;
  font-size: 1.1rem;
  font-family: 'Cinzel', serif;
  color: #eaeaea;
  background: linear-gradient(135deg, #0a0f0a, #133d29);
  border: 2px solid #2ecc71;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.4), inset 0 0 8px rgba(46, 204, 113, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
}
.cta-button:hover::before { animation: shimmer 1.5s ease forwards; }

@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}

.cta-button:hover {
  color: #fff;
  background: linear-gradient(135deg, #133d29, #1a6b47);
  box-shadow: 0 0 20px rgba(46, 204, 113, 0.8), inset 0 0 12px rgba(46, 204, 113, 0.5);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.6), inset 0 0 6px rgba(46, 204, 113, 0.4);
}

/* Mobile stack */
@media (max-width: 600px) {
  .cta-container.bottom-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .cta-button {
    width: 100%;
    padding: 0.75rem 1rem;
    line-height: 1.4;
    min-height: 48px;
    display: flex; align-items: center; justify-content: center;
  }
}

/* ---------- Small view tweaks for headings ---------- */
@media (max-width: 576px) {
  .deity-intro h1 { font-size: 2.2rem; }
  .pantheon-title { font-size: 1.5rem; }
  .pantheon-title::before { width: 32px; height: 32px; font-size: 16px; }
}
