/* === ACTVII | GOD’S WILL — CELESTIAL STYLE === */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  background: #000;
  font-family: 'Cinzel', serif;
  color: #f5d97f;
}

/* === Entrance Overlay === */
body.loading::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1.6s ease-in-out;
}

body.revealed::before {
  opacity: 0;
  pointer-events: none;
}

/* === Background Layers === */
.banner {
  position: fixed;
  inset: 0;
  background: url("../assets/ActVII-banner.png") center/cover no-repeat;
  z-index: 0;
  filter: brightness(1.18) contrast(1.08);
}

.veil {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.72));
  z-index: 1;
}

.horizon-light {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 80%;
  background: radial-gradient(
    ellipse at bottom,
    rgba(255, 225, 150, 0.55) 0%,
    rgba(255, 210, 130, 0.25) 40%,
    rgba(255, 190, 100, 0.08) 70%,
    transparent 100%
  );
  z-index: 2;
  filter: blur(50px) brightness(1.35);
  opacity: 0.9;
  animation: riseGlow 40s ease-in-out infinite alternate;
}

@keyframes riseGlow {
  0% { transform: translate(-50%, 8%) scaleY(0.9); }
  50% { transform: translate(-50%, 0%) scaleY(1); }
  100% { transform: translate(-50%, 8%) scaleY(0.9); }
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 60%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 3;
  pointer-events: none;
}

/* === Rotating Sigil === */
.sigil {
  position: fixed;
  top: 47%;
  left: 51%;
  width: clamp(220px, 24vw, 420px);
  height: clamp(220px, 24vw, 420px);
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0.09;
  filter: drop-shadow(0 0 24px rgba(245, 217, 127, 0.2));
  pointer-events: none;
}

.sigil svg {
  width: 100%;
  height: 100%;
  animation: rotateSigil 80s linear infinite;
}

@keyframes rotateSigil {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 4;
  opacity: 0;
  animation: fadeInHero 2.5s ease forwards;
  animation-delay: 0.9s;
  transform: translateY(-4vh);
  padding: 0 6vw;
}

@keyframes fadeInHero {
  from { opacity: 0; transform: translateY(10vh); }
  to { opacity: 1; transform: translateY(-4vh); }
}

.hero h1 {
  position: relative;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  letter-spacing: 2px;
  background: linear-gradient(90deg, #d9b74c, #fff4b0, #d9b74c);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    shimmerOnce 10s ease-in-out 1.8s forwards,
    glowPulse 8s ease-in-out infinite 6s;
  text-shadow: 0 0 30px rgba(245, 217, 127, 0.5);
  opacity: 0;
}

@keyframes shimmerOnce {
  0% { background-position: -300px 0; opacity: 0; }
  40% { opacity: 1; }
  100% { background-position: 300px 0; opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 30px rgba(245, 217, 127, 0.45); }
  50% { text-shadow: 0 0 84px rgba(245, 217, 127, 0.95); }
}

.hero h1::after {
  content: "The Archangelic Choir Awaits";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  font-size: 0.9rem;
  color: rgba(156, 215, 255, 0.18);
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.hero h1:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tagline {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  margin-top: 14px;
  opacity: 0;
  text-shadow: 0 0 10px rgba(245, 217, 127, 0.4);
  animation: fadeInText 2.5s ease forwards;
  animation-delay: 2.8s;
}

/* === Footer Section === */
footer {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 5;
  padding: 0 4vw;
}

footer .prophecy {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  opacity: 0;
  color: rgba(245, 217, 127, 0.85);
  text-shadow: 0 0 12px rgba(245, 217, 127, 0.3);
  animation: fadeInText 3s ease forwards;
  animation-delay: 3.6s;
}

footer .divider {
  width: 200px;
  height: 1px;
  margin: 10px auto 18px;
  background: linear-gradient(90deg, transparent, rgba(245, 217, 127, 0.6), transparent);
  box-shadow: 0 0 15px rgba(245, 217, 127, 0.35);
  opacity: 0;
  animation: fadeInText 2.5s ease forwards;
  animation-delay: 4.6s;
}

footer .footer-line {
  opacity: 0;
  animation: fadeInText 2.5s ease forwards;
  animation-delay: 5.4s;
  font-size: 1rem;
  color: #f5d97f;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* === Footer Glow === */
footer .footer-line span a,
footer .footer-line > a {
  color: #a9ddff;
  text-decoration: none;
  font-weight: 600;
  text-shadow:
    0 0 6px rgba(156, 215, 255, 0.6),
    0 0 18px rgba(156, 215, 255, 0.25),
    0 0 30px rgba(156, 215, 255, 0.1);
  animation: footerAura 6s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

footer .footer-line span a:hover,
footer .footer-line > a:hover {
  color: #e0f8ff;
  text-shadow:
    0 0 10px rgba(156, 215, 255, 0.8),
    0 0 25px rgba(156, 215, 255, 0.9),
    0 0 45px rgba(156, 215, 255, 1);
  letter-spacing: 0.6px;
  transform: translateY(-1px);
}

@keyframes footerAura {
  0% {
    text-shadow:
      0 0 6px rgba(156, 215, 255, 0.6),
      0 0 18px rgba(156, 215, 255, 0.25),
      0 0 30px rgba(156, 215, 255, 0.1);
    opacity: 0.95;
  }
  50% {
    text-shadow:
      0 0 10px rgba(156, 215, 255, 0.8),
      0 0 24px rgba(156, 215, 255, 0.5),
      0 0 40px rgba(156, 215, 255, 0.2);
    opacity: 1;
  }
  100% {
    text-shadow:
      0 0 8px rgba(156, 215, 255, 0.65),
      0 0 20px rgba(156, 215, 255, 0.35),
      0 0 36px rgba(156, 215, 255, 0.15);
    opacity: 0.97;
  }
}

/* === (continued below...) === */
/* =========================================================
   ACTVII | GOD’S WILL — CELESTIAL STYLE
   SECTION 1 — BASE, OVERLAY, BACKGROUND, HERO, FOOTER
   ========================================================= */

/* === Global Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  background: #000;
  font-family: 'Cinzel', serif;
  color: #f5d97f;
}

/* === Entrance Overlay === */
body.loading::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1.6s ease-in-out;
}

body.revealed::before {
  opacity: 0;
  pointer-events: none;
}

/* === Background Layers === */
.banner {
  position: fixed;
  inset: 0;
  background: url("../assets/ActVII-banner.png") center/cover no-repeat;
  z-index: 0;
  filter: brightness(1.18) contrast(1.08);
}

.veil {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.22),
    rgba(0, 0, 0, 0.72)
  );
  z-index: 1;
}

.horizon-light {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  height: 80%;
  background: radial-gradient(
    ellipse at bottom,
    rgba(255, 225, 150, 0.55) 0%,
    rgba(255, 210, 130, 0.25) 40%,
    rgba(255, 190, 100, 0.08) 70%,
    transparent 100%
  );
  z-index: 2;
  filter: blur(50px) brightness(1.35);
  opacity: 0.9;
  animation: riseGlow 40s ease-in-out infinite alternate;
}

@keyframes riseGlow {
  0% {
    transform: translate(-50%, 8%) scaleY(0.9);
  }
  50% {
    transform: translate(-50%, 0%) scaleY(1);
  }
  100% {
    transform: translate(-50%, 8%) scaleY(0.9);
  }
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 60%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* === Rotating Sigil === */
.sigil {
  position: fixed;
  top: 47%;
  left: 51%;
  width: clamp(220px, 24vw, 420px);
  height: clamp(220px, 24vw, 420px);
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0.09;
  filter: drop-shadow(0 0 24px rgba(245, 217, 127, 0.2));
  pointer-events: none;
}

.sigil svg {
  width: 100%;
  height: 100%;
  animation: rotateSigil 80s linear infinite;
}

@keyframes rotateSigil {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 4;
  opacity: 0;
  animation: fadeInHero 2.5s ease forwards;
  animation-delay: 0.9s;
  transform: translateY(-4vh);
  padding: 0 6vw;
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(10vh);
  }
  to {
    opacity: 1;
    transform: translateY(-4vh);
  }
}

.hero h1 {
  position: relative;
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  letter-spacing: 2px;
  background: linear-gradient(90deg, #d9b74c, #fff4b0, #d9b74c);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    shimmerOnce 10s ease-in-out 1.8s forwards,
    glowPulse 8s ease-in-out infinite 6s;
  text-shadow: 0 0 30px rgba(245, 217, 127, 0.5);
  opacity: 0;
}

@keyframes shimmerOnce {
  0% { background-position: -300px 0; opacity: 0; }
  40% { opacity: 1; }
  100% { background-position: 300px 0; opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 30px rgba(245, 217, 127, 0.45); }
  50% { text-shadow: 0 0 84px rgba(245, 217, 127, 0.95); }
}

.hero h1::after {
  content: "The Archangelic Choir Awaits";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  font-size: 0.9rem;
  color: rgba(156, 215, 255, 0.18);
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.hero h1:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.tagline {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  margin-top: 14px;
  opacity: 0;
  text-shadow: 0 0 10px rgba(245, 217, 127, 0.4);
  animation: fadeInText 2.5s ease forwards;
  animation-delay: 2.8s;
}

/* === Footer Section === */
footer {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 5;
  padding: 0 4vw;
}

footer .prophecy {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  opacity: 0;
  color: rgba(245, 217, 127, 0.85);
  text-shadow: 0 0 12px rgba(245, 217, 127, 0.3);
  animation: fadeInText 3s ease forwards;
  animation-delay: 3.6s;
}

footer .divider {
  width: 200px;
  height: 1px;
  margin: 10px auto 18px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 217, 127, 0.6),
    transparent
  );
  box-shadow: 0 0 15px rgba(245, 217, 127, 0.35);
  opacity: 0;
  animation: fadeInText 2.5s ease forwards;
  animation-delay: 4.6s;
}

footer .footer-line {
  opacity: 0;
  animation: fadeInText 2.5s ease forwards;
  animation-delay: 5.4s;
  font-size: 1rem;
  color: #f5d97f;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* === Footer Link Glow === */
footer .footer-line span a,
footer .footer-line > a {
  color: #a9ddff;
  text-decoration: none;
  font-weight: 600;
  text-shadow:
    0 0 6px rgba(156, 215, 255, 0.6),
    0 0 18px rgba(156, 215, 255, 0.25),
    0 0 30px rgba(156, 215, 255, 0.1);
  animation: footerAura 6s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

footer .footer-line span a:hover,
footer .footer-line > a:hover {
  color: #e0f8ff;
  text-shadow:
    0 0 10px rgba(156, 215, 255, 0.8),
    0 0 25px rgba(156, 215, 255, 0.9),
    0 0 45px rgba(156, 215, 255, 1);
  letter-spacing: 0.6px;
  transform: translateY(-1px);
}

@keyframes footerAura {
  0% {
    text-shadow:
      0 0 6px rgba(156, 215, 255, 0.6),
      0 0 18px rgba(156, 215, 255, 0.25),
      0 0 30px rgba(156, 215, 255, 0.1);
    opacity: 0.95;
  }
  50% {
    text-shadow:
      0 0 10px rgba(156, 215, 255, 0.8),
      0 0 24px rgba(156, 215, 255, 0.5),
      0 0 40px rgba(156, 215, 255, 0.2);
    opacity: 1;
  }
  100% {
    text-shadow:
      0 0 8px rgba(156, 215, 255, 0.65),
      0 0 20px rgba(156, 215, 255, 0.35),
      0 0 36px rgba(156, 215, 255, 0.15);
    opacity: 0.97;
  }
}
/* =========================================================
   ACTVII | GOD’S WILL — CELESTIAL STYLE
   SECTION 2 — PARTICLES, PARALLAX, RESPONSIVE, FOOTER GLOW
   ========================================================= */

/* === Particles === */
.particle {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 230, 160, 0.98) 0%,
    rgba(255, 230, 160, 0.4) 60%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(255, 230, 160, 0.8);
  z-index: 4;
  pointer-events: none;
  animation: float 42s linear infinite;
  opacity: 0.95;
  mix-blend-mode: screen;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-60vh) translateX(3vw) scale(1.2);
    opacity: 0.9;
  }
  100% {
    transform: translateY(-130vh) translateX(6vw) scale(0.9);
    opacity: 0;
  }
}

/* === Parallax Shift === */
.parallax-shift {
  transform: translate3d(var(--dx, 0), var(--dy, 0), 0);
  transition: transform 0.6s ease;
}

/* === Fade-In Text Animation === */
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   RESPONSIVE TWEAKS
   ========================================================= */

@media (max-width: 1024px) {
  .banner {
    background-position: center 40%;
  }
  .tagline {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) and (orientation: portrait) {
  .hero {
    margin-top: 12vh;
  }
  footer .footer-line {
    flex-direction: column;
    gap: 6px;
    font-size: 0.92rem;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .hero {
    margin-top: 8vh;
  }
  footer .footer-line {
    flex-direction: column;
    gap: 4px;
    font-size: 0.88rem;
  }
}

@media (max-height: 500px) {
  .hero {
    margin-top: 6vh;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .tagline {
    font-size: 0.9rem;
  }
}

/* === Reduced Motion Support === */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   DIVINE FOOTER UNDERGLOW
   ========================================================= */
.footer-underglow {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 217, 127, 0.9),
    rgba(156, 215, 255, 1),
    rgba(245, 217, 127, 0.9),
    transparent
  );
  filter: blur(6px);
  opacity: 1;
  z-index: 10;
  animation: divinePulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes divinePulse {
  0% {
    opacity: 0.6;
    filter: blur(10px) brightness(0.9);
    transform: translateX(-50%) scaleX(0.96);
  }
  50% {
    opacity: 1;
    filter: blur(14px) brightness(1.3);
    transform: translateX(-50%) scaleX(1.02);
  }
  100% {
    opacity: 0.7;
    filter: blur(11px) brightness(1);
    transform: translateX(-50%) scaleX(1);
  }
}
/* =========================================================
   ACTVII | GOD’S WILL — CELESTIAL STYLE
   SECTION 3 — ABOUT PAGE, ENERGY SURGE, SPARKS, SMALL HERO, LOGO
   ========================================================= */

/* === ABOUT PAGE BANNER (RIGHT-EYE REVELATION) === */
.banner-right-eye {
  background: url("../assets/ActVII-right-eye.png") center center / cover no-repeat;
  animation: eyePulse 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  filter: brightness(1.25) contrast(1.15) saturate(1.25);
  transform-origin: center;
}

@keyframes eyePulse {
  0% {
    transform: scale(1.01);
    filter: brightness(1.25) contrast(1.15) saturate(1.25);
  }
  25% {
    transform: scale(1.03);
    filter: brightness(1.35) contrast(1.18) saturate(1.3);
  }
  50% {
    transform: scale(1.05);
    filter: brightness(1.48) contrast(1.22) saturate(1.35);
  }
  75% {
    transform: scale(1.04);
    filter: brightness(1.42) contrast(1.20) saturate(1.3);
  }
  100% {
    transform: scale(1.02);
    filter: brightness(1.30) contrast(1.17) saturate(1.28);
  }
}

/* === ENERGY SURGE AURA (AMPLIFIED) === */
.energy-surge {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 240, 180, 0.12),
    rgba(255, 200, 100, 0.05) 70%,
    transparent 100%
  );
  animation: surgePulse 6s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes surgePulse {
  0% {
    opacity: 0.15;
    transform: scale(1);
    filter: blur(30px);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.05);
    filter: blur(45px);
  }
  100% {
    opacity: 0.2;
    transform: scale(1);
    filter: blur(30px);
  }
}

/* === DIVINE FORGE SPARKS === */
.spark {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255,180,80,1) 0%,
    rgba(255,140,40,0.9) 40%,
    rgba(255,90,10,0.5) 70%,
    transparent 100%
  );
  box-shadow:
    0 0 20px rgba(255,180,80,0.9),
    0 0 40px rgba(255,120,20,0.6),
    0 0 80px rgba(255,90,10,0.3);
  z-index: 3;
  pointer-events: none;
  animation: forgeRise 10s linear infinite, forgeFlare 6s ease-in-out infinite;
  mix-blend-mode: screen;
  opacity: 0.95;
}

@keyframes forgeRise {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0.9;
  }
  40% {
    transform: translateY(-60vh) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translateY(-120vh) scale(0.8);
    opacity: 0;
  }
}

@keyframes forgeFlare {
  0%, 100% { filter: brightness(1.3); }
  50% { filter: brightness(2.8) blur(1.2px); }
}

/* === SMALL HERO (TOP-LEFT INSIGNIA) === */
.small-hero {
  position: fixed;
  top: 1.2vh;
  left: 1.6vw;
  text-align: left;
  z-index: 10;
  pointer-events: none;
}

.small-hero h1 {
  font-size: 1.45rem;
  letter-spacing: 0.8px;
  background: linear-gradient(90deg, #d9b74c, #fff4b0, #d9b74c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(245,217,127,0.4);
  margin-bottom: 0.1rem;
}

.small-hero .tagline {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: rgba(245,217,127,0.85);
  text-shadow: 0 0 6px rgba(245,217,127,0.25);
}

/* === ABOUT SECTION | ACTVII | RESTORED SEQUENCE === */
.about-content {
  position: relative;
  width: 100%;
  min-height: 70vh;
  padding: 8vh 8vw 10vh;
  text-align: center;
  color: rgba(245, 217, 127, 0.9);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  z-index: 5;
  overflow: hidden;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 2vh;
  background: linear-gradient(90deg, #f5d97f, #fff4b0, #f5d97f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(245, 217, 127, 0.4);
}

.about-content p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.05rem;
  color: rgba(245, 217, 127, 0.88);
  text-shadow: 0 0 10px rgba(255, 240, 180, 0.25);
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1.8s ease, transform 1.8s ease;
}

.about-content p.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Final emphasis line */
.final-line {
  margin-top: 3vh;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff4b0;
  text-shadow: 0 0 14px rgba(255, 244, 176, 0.8);
}

/* === ACTVII LOGO ANIMATION (FADE + AURA) === */
.logo-container {
  display: flex;
  justify-content: center;
  margin-top: 6vh;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 2s ease, transform 2s ease;
}

.logo-container.visible {
  opacity: 1;
  transform: scale(1);
}

.actvii-logo {
  position: relative;
  text-align: center;
  font-family: 'Cinzel', serif;
  color: #f5d97f;
  letter-spacing: 4px;
  font-size: 1.8rem;
  text-shadow: 0 0 12px rgba(245, 217, 127, 0.6);
}

.actvii-logo .aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,217,127,0.6), transparent 70%);
  animation: pulseAura 4s ease-in-out infinite;
  filter: blur(20px);
  z-index: -1;
}

@keyframes pulseAura {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.6;
  }
}

.actvii-logo .cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 80px;
  background: rgba(245,217,127,0.7);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: rotateCross 8s linear infinite;
  box-shadow: 0 0 12px rgba(245,217,127,0.8);
}

@keyframes rotateCross {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
/* =========================================================
   ACTVII | GOD’S WILL — CELESTIAL STYLE
   SECTION 4 — REVEAL, FINAL LINES, ANIMATION POLISH
   ========================================================= */

/* === Sequential Reveal Animation (Paragraphs Fade In One by One) === */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Optional Fade-Stay Animation (if needed for long displays) === */
@keyframes fadeStay {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* === Final Line (End Statement Emphasis) === */
.final-line {
  margin-top: 4vh;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: #fff4b0;
  text-shadow: 0 0 12px rgba(255, 244, 176, 0.8);
}

/* === Ensure All About Elements Layer Above Effects === */
.about-content,
.logo-container {
  position: relative;
  z-index: 5;
}

/* === Smooth Scrolling for Transcendence === */
html {
  scroll-behavior: smooth;
}

/* === Final Mobile Tweaks for Readability === */
@media (max-width: 768px) {
  .about-content {
    padding: 10vh 6vw;
  }
  .about-content h2 {
    font-size: 1.6rem;
  }
  .about-content p {
    font-size: 0.95rem;
  }
  .actvii-logo {
    font-size: 1.4rem;
  }
}

/* === FORCE INSIGNIA TO FRONT === */
.corner-insignia {
  position: fixed;
  top: 1.2vh;
  left: 1.6vw;
  z-index: 10000 !important;   /* very high to beat all background layers */
  text-align: left;
  pointer-events: none;
}

.corner-insignia h1 {
  font-size: 1.35rem;
  letter-spacing: 1.2px;
  background: linear-gradient(90deg, #d9b74c, #fff4b0, #d9b74c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(245,217,127,0.45);
  margin-bottom: 0.15rem;
}

.corner-insignia p {
  font-size: 0.82rem;
  color: rgba(245,217,127,0.85);
  text-shadow: 0 0 6px rgba(245,217,127,0.3);
  letter-spacing: 0.4px;
}


/* === ABOUT SECTION (BOTTOM AREA) === */
.about-section {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: transparent; /* fully transparent */
  padding: 2rem 0;
  text-align: center;
  color: #e7c26a; /* keep readable gold tone */
  text-shadow: 0 0 8px rgba(231, 194, 106, 0.3);
  border-top: none;
  z-index: 5;
}



.about-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.about-section h2 {
  font-size: 1.6rem;
  background: linear-gradient(90deg, #f5d97f, #fff4b0, #f5d97f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

/* === FADING PARAGRAPHS === */
.fade-text {
  opacity: 0;
  transition: opacity 2s ease;
  color: rgba(245,217,127,0.88);
  font-size: 1.05rem;
  line-height: 1.6;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
.fade-text.visible {
  opacity: 1;
}

/* === ACTVII LOGO === */
.actvii-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4vh;
  opacity: 0;
  transition: opacity 2.8s ease;
}

.actvii-logo.visible {
  opacity: 1;
}

.actvii-logo-img {
  width: 260px;
  max-width: 40vw;
  opacity: 0;
  transform: scale(0.9);
  filter: drop-shadow(0 0 22px rgba(245,217,127,0.45));
  transition: opacity 2.8s ease, transform 2.8s ease;
}

.actvii-logo.visible .actvii-logo-img {
  opacity: 1;
  transform: scale(1);
  filter: drop-shadow(0 0 36px rgba(245,217,127,0.8));
}


/* gentle halo pulse */
@keyframes logoPulse {
  0%,100% {
    filter: drop-shadow(0 8px 22px rgba(245,217,127,.25))
            drop-shadow(0 0 28px rgba(156,215,255,.10));
  }
  50% {
    filter: drop-shadow(0 10px 32px rgba(245,217,127,.45))
            drop-shadow(0 0 44px rgba(156,215,255,.22));
  }
}

/* entrance */
@keyframes logoIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* responsive sizing */
@media (max-width: 768px){
  .actvii-logo-img {
    width: min(60vw, 420px);
  }
}

/* === ABOUT SECTION (TRANSPARENT + BRIGHT TEXT) === */
.about-section {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: transparent; /* fully transparent background */
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 2rem 0;
  text-align: center;
  border-top: none;
  z-index: 5;
}

/* === TEXT STYLE INSIDE ABOUT SECTION === */
.about-section p,
.about-section h2 {
  color: #ffeb9c; /* brighter warm gold */
  text-shadow:
    0 0 10px rgba(255, 240, 150, 0.6),
    0 0 20px rgba(255, 220, 120, 0.4),
    0 0 35px rgba(255, 190, 80, 0.25);
  transition: color 1s ease, text-shadow 1s ease;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* === FIXED TOP-RIGHT ABOUT LINK === */
.about-link.fixed-top-right {
  position: fixed;
  top: 2rem;
  right: 2.5rem;
  z-index: 1000;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #e7c26a;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(231, 194, 106, 0.4);
  transition: all 0.4s ease;
  border: 1px solid rgba(231, 194, 106, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 3px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Hover glow */
.about-link.fixed-top-right:hover {
  color: #fff5c4;
  border-color: rgba(255, 245, 180, 0.7);
  text-shadow:
    0 0 14px rgba(255, 240, 150, 0.8),
    0 0 25px rgba(255, 190, 80, 0.5);
  transform: scale(1.05);
}

/* === ABSOLUTE OVERRIDE: HERO TEXT BRIGHTNESS === */
body .hero h1,
body .hero .tagline {
  color: #fffef5 !important;
  text-shadow:
    0 0 15px rgba(255, 255, 230, 0.8),
    0 0 30px rgba(255, 255, 200, 0.5),
    0 0 45px rgba(255, 240, 160, 0.3);
  filter: brightness(1.4) contrast(1.15) saturate(1.1);
}

/* Optional stronger glow for h1 specifically */
body .hero h1 {
  color: #fffdf0 !important;
  text-shadow:
    0 0 20px rgba(255, 255, 220, 0.9),
    0 0 40px rgba(255, 245, 180, 0.5),
    0 0 80px rgba(255, 240, 150, 0.3);
}

/* === FINAL MOBILE HERO FIX (POST-GLOW VERSION) === */
@media screen and (max-width: 768px) {
  .hero {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 20vh 6vw 12vh 6vw !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
    line-height: 1.15 !important;
    margin: 0 0 0.7em 0 !important;
    word-break: break-word !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero .tagline {
    font-size: clamp(0.9rem, 3.8vw, 1.1rem) !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
}

/* === FINAL LAYOUT FIX FOR HERO ON iPHONE LANDSCAPE === */
@media screen and (orientation: landscape) and (max-width: 1024px) {
  .hero {
    position: relative !important;
    width: 100% !important;
    max-width: 90vw !important;
    margin: 8vh auto 0 auto !important;
    padding: 0 2vw !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    z-index: 5 !important;
  }

  .hero h1 {
    font-size: clamp(1rem, 3.4vw, 1.6rem) !important;
    line-height: 1.25 !important;
    margin: 0 0 0.6em 0 !important;
    white-space: normal !important;
    text-wrap: balance !important;
  }

  .hero .tagline {
    font-size: clamp(0.8rem, 2.2vw, 1rem) !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    white-space: normal !important;
    text-wrap: balance !important;
  }
}

/* === FINAL iPHONE LANDSCAPE HERO LAYOUT FIX === */
@media screen and (orientation: landscape) and (max-width: 1024px) {
  .hero {
    position: relative !important;
    width: 100% !important;
    max-width: 90vw !important;
    margin: 12vh auto 0 auto !important;
    padding: 0 2vw !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.8vh !important; /* ✅ consistent spacing between lines */
    z-index: 5 !important;
  }

  .hero h1 {
    font-size: clamp(1rem, 3.8vw, 2rem) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }

  .hero .tagline {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }

  .hero p:not(.tagline) {
    font-size: clamp(0.8rem, 2.3vw, 1.1rem) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }
}

/* === SEPARATION BETWEEN HERO AND NEXT SECTION === */
@media screen and (orientation: landscape) and (max-width: 1024px) {
  .hero {
    margin-bottom: 12vh !important; /* pushes next section down */
  }

  /* Optional: if your next section has a top margin that’s too tight */
  .banner,
  .content,
  .subtext {
    margin-top: 6vh !important;
  }
}









/* =========================================================
   END OF ACTVII CELESTIAL STYLE SHEET
   ========================================================= */
