/* =========================================================
   BEYOND THE VEIL PAGE
========================================================= */

.beyond-veil-page,
.beyond-veil-hero,
.beyond-veil-intro,
.beyond-veil-grid,
.beyond-newsletter-callout {
  text-align: center;
}

/* =========================================================
   HERO
========================================================= */

.beyond-veil-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background:
    linear-gradient(
      to bottom,
      rgba(5, 8, 22, 0.25),
      rgba(5, 8, 22, 0.88)
    ),
    url("/wp-content/uploads/beyond-the-veil-hero.png") center center / cover no-repeat;

  border-bottom: 1px solid rgba(122, 92, 255, 0.25);
}

.beyond-veil-overlay,
.beyond-veil-particles {
  display: none;
}

.beyond-veil-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1050px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.veil-kicker {
  margin-bottom: 1rem;
  color: #9a84ff;
  font-size: 0.85rem;
  letter-spacing: 0.24rem;
  text-transform: uppercase;
}

.beyond-veil-hero h1 {
  margin: 0 0 1.5rem;
  color: #f5f7ff;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1;
  text-shadow:
    0 0 20px rgba(47, 123, 255, 0.35),
    0 0 55px rgba(122, 92, 255, 0.25);
}

.beyond-veil-subtitle,
.beyond-veil-hero-content > p {
  max-width: 820px;
  margin: 0 auto 2rem;
  color: #d7def6;
  font-size: 1.18rem;
  line-height: 1.9;
}

.beyond-veil-hero-actions,
.beyond-newsletter-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.beyond-veil-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.veil-meta-item {
  padding: 1.4rem;
  border-radius: 22px;
  background: rgba(5, 8, 22, 0.62);
  border: 1px solid rgba(122, 92, 255, 0.2);
  backdrop-filter: blur(10px);
}

.veil-meta-number {
  display: block;
  margin-bottom: 0.5rem;
  color: #f5f7ff;
  font-weight: 700;
}

.veil-meta-label {
  color: #c8d2e3;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================
   INTRO
========================================================= */

.beyond-veil-intro {
  background: #050816;
}

.beyond-veil-intro-inner {
  max-width: 1050px;
  margin: 0 auto;
  padding: 5rem 2rem 2rem;
}

.beyond-veil-intro h2,
.beyond-newsletter-callout h2 {
  color: #f5f7ff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.beyond-veil-intro p,
.beyond-newsletter-callout p {
  max-width: 820px;
  margin: 1rem auto 0;
  color: #c8d2e3;
  line-height: 1.9;
}

/* =========================================================
   GRID / CARDS
========================================================= */

.beyond-veil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  max-width: 1450px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  background: #050816;
}

.beyond-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.2rem;
  border-radius: 26px;
  background:
    linear-gradient(
      180deg,
      rgba(10, 16, 35, 0.96),
      rgba(5, 8, 22, 0.98)
    );
  border: 1px solid rgba(122, 92, 255, 0.18);
  box-shadow:
    0 0 25px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(122, 92, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.beyond-card:hover {
  transform: translateY(-8px);
  border-color: rgba(47, 123, 255, 0.42);
  box-shadow:
    0 0 35px rgba(47, 123, 255, 0.18),
    0 0 70px rgba(122, 92, 255, 0.16);
}

.beyond-card h3 {
  margin: 0 0 1rem;
  color: #f5f7ff;
  font-size: 1.7rem;
}

.beyond-card p {
  max-width: 430px;
  margin: 0 auto 2rem;
  color: #c8d2e3;
  line-height: 1.8;
}

/* =========================================================
   TIER PILLS
========================================================= */

.beyond-tier {
  display: inline-flex;
  margin-bottom: 1.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.beyond-tier.public {
  background: rgba(47, 123, 255, 0.15);
  color: #8eb7ff;
}

.beyond-tier.initiate {
  background: rgba(122, 92, 255, 0.16);
  color: #c0b0ff;
}

.beyond-tier.acolyte {
  background: rgba(139, 30, 63, 0.2);
  color: #ff9abc;
}

.beyond-tier.ascendant {
  background: rgba(255, 215, 120, 0.14);
  color: #ffd778;
}

/* =========================================================
   BUTTONS / PILLS
========================================================= */

.veil-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none !important;
  font-weight: 700;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.veil-btn:hover {
  transform: translateY(-4px) scale(1.02);
  text-decoration: none !important;
}

/* default blue */
.veil-btn {
  background: linear-gradient(135deg, #145dff, #2f7bff);
  border: 1px solid rgba(170, 200, 255, 0.25);
  box-shadow:
    0 0 18px rgba(47, 123, 255, 0.32),
    0 0 42px rgba(122, 92, 255, 0.16);
}

/* purple */
.veil-btn-secondary,
.beyond-card:nth-child(2) .veil-btn {
  background: linear-gradient(135deg, #7a5cff, #9a84ff);
  box-shadow:
    0 0 18px rgba(122, 92, 255, 0.32),
    0 0 42px rgba(122, 92, 255, 0.18);
}

/* transparent blue */
.beyond-card:nth-child(3) .veil-btn {
  color: #dde8ff;
  background: rgba(20, 93, 255, 0.08);
  border: 1px solid rgba(47, 123, 255, 0.42);
  box-shadow:
    inset 0 0 18px rgba(47, 123, 255, 0.1),
    0 0 22px rgba(47, 123, 255, 0.18);
}

/* crimson glass */
.beyond-card:nth-child(4) .veil-btn {
  color: #ffe6ee;
  background: rgba(139, 30, 63, 0.18);
  border: 1px solid rgba(177, 44, 87, 0.42);
  box-shadow:
    inset 0 0 20px rgba(139, 30, 63, 0.14),
    0 0 24px rgba(177, 44, 87, 0.22);
}

/* solid crimson */
.beyond-card:nth-child(5) .veil-btn,
.veil-btn.locked {
  background: linear-gradient(135deg, #8b1e3f, #c13261);
  border: 1px solid rgba(255, 130, 170, 0.25);
  box-shadow:
    0 0 22px rgba(193, 50, 97, 0.32),
    0 0 48px rgba(139, 30, 63, 0.22);
}

/* gold */
.beyond-card:nth-child(6) .veil-btn {
  color: #fff6d8;
  background: linear-gradient(135deg, #8b6a1e, #c9a447);
  border: 1px solid rgba(255, 230, 150, 0.25);
  box-shadow:
    0 0 22px rgba(201, 164, 71, 0.28),
    0 0 46px rgba(201, 164, 71, 0.18);
}

/* =========================================================
   NEWSLETTER CALLOUT
========================================================= */

.beyond-newsletter-callout {
  background:
    radial-gradient(circle at center, rgba(122, 92, 255, 0.12), transparent 55%),
    #050816;
}

.newsletter-callout-inner {
  max-width: 1050px;
  margin: 0 auto;
  padding: 2rem 2rem 7rem;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .beyond-veil-hero {
    min-height: 540px;
  }

  .beyond-veil-hero-content {
    padding: 5rem 1.25rem;
  }

  .beyond-veil-meta {
    grid-template-columns: 1fr;
  }

  .beyond-veil-hero-actions,
  .beyond-newsletter-actions {
    flex-direction: column;
  }

  .veil-btn {
    width: 100%;
    max-width: 340px;
  }
}