/* =========================================================
   Nexus Five — Landing Page CSS (nexusfive.css)
   Styles specific to index.html
   ========================================================= */

/* Atmospheric dark background with subtle radial blooms */
body.pillar-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background-color: #0B0C10;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%,   rgba(201,167,109,0.10), transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 80%,  rgba(160,200,255,0.06), transparent 60%),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 40%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, #0B0C10, #090A0D);
}

/* Glowing top accent bar */
body.pillar-page::after {
  content: "";
  position: fixed;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 80vw);
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201,167,109,0.8) 20%,
    #ffffff 50%,
    rgba(201,167,109,0.8) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 8px  3px rgba(201,167,109,0.6),
    0 0 20px 5px rgba(201,167,109,0.3);
  pointer-events: none;
  z-index: 100;
  animation: glowPulse 3.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1.0; }
}

/* Ambient top bloom that slowly breathes */
.pillar-accent {
  position: fixed;
  inset: -40vh -40vw auto -40vw;
  height: 55vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at center, rgba(201,167,109,0.10), transparent 60%);
  animation: ambientPulse 8s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1.0; }
}

/* Card container */
.pillar-card {
  position: relative;
  z-index: 1;
  width: min(460px, 92vw);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(20px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: cardIn 0.4s ease both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Heading inside the card */
.pillar-card h1 {
  font-family: "Bebas Neue", ui-sans-serif, sans-serif;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: 2px;
  color: #fff;
  text-align: center;
  margin-bottom: 4px;
}

/* Subtle divider under title */
.pillar-card h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  margin: 10px auto 0;
}

/* Pillar nav buttons — color accents on hover */
.btn[href="health.html"]:hover    { border-color: rgba(0,232,122,0.5);   box-shadow: 0 8px 24px rgba(0,232,122,0.15); }
.btn[href="wealth.html"]:hover    { border-color: rgba(255,224,51,0.5);  box-shadow: 0 8px 24px rgba(255,224,51,0.15); }
.btn[href="relationships.html"]:hover { border-color: rgba(255,77,109,0.5);  box-shadow: 0 8px 24px rgba(255,77,109,0.15); }
.btn[href="survival.html"]:hover  { border-color: rgba(255,149,0,0.5);   box-shadow: 0 8px 24px rgba(255,149,0,0.15); }
.btn[href="spirituality.html"]:hover { border-color: rgba(192,132,252,0.5); box-shadow: 0 8px 24px rgba(192,132,252,0.15); }
