/* === GLOBAL BASE STYLES FOR CORE SYSTEMS SCROLLS === */

/* === SATOSHI === */
@font-face {
  font-family: 'Satoshi';
  src: url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/satoshi-regular.woff2) format('woff2'),
       url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/satoshi-regular.woff) format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/satoshi-medium.woff2) format('woff2'),
       url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/satoshi-medium.woff) format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/satoshi-bold.woff2) format('woff2'),
       url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/satoshi-bold.woff) format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === MANROPE === */
@font-face {
  font-family: 'Manrope';
  src: url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/manrope-regular.woff2) format('woff2'),
       url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/manrope-regular.woff) format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/manrope-medium.woff2) format('woff2'),
       url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/manrope-medium.woff) format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/manrope-bold.woff2) format('woff2'),
       url(//thealignmentarchive.com/wp-content/themes/generatepress-child/fonts/manrope-bold.woff) format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
}

html, body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background-color: #0d0d10 !important;
  color: #f2f2f2;
  line-height: 1.8;
}

/* === CONTAINER === */
.veil-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* === ANIMATIONS === */
/* === Animation System === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: txranslateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}
.delay-1  { animation-delay: 0.3s; }
.delay-2  { animation-delay: 0.6s; }
.delay-3  { animation-delay: 0.9s; }
.delay-4  { animation-delay: 1.2s; }
.delay-5  { animation-delay: 1.5s; }
.delay-6  { animation-delay: 1.8s; }
.delay-7  { animation-delay: 2.1s; }
.delay-8  { animation-delay: 2.4s; }
.delay-9  { animation-delay: 2.7s; }
.delay-10 { animation-delay: 3.0s; }
.delay-11 { animation-delay: 3.3s; }
.delay-12 { animation-delay: 3.6s; }
.delay-13 { animation-delay: 3.9s; }
.delay-14 { animation-delay: 4.2s; }
.delay-15 { animation-delay: 4.5s; }
.delay-16 { animation-delay: 4.8s; }
.delay-17 { animation-delay: 5.1s; }
.delay-18 { animation-delay: 5.4s; }
.delay-19 { animation-delay: 5.7s; }

/* === SCROLL TRIGGERED FADE IN SYSTEM === */


.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

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

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}
.delay-3 {
  animation-delay: 0.9s;
}
.delay-4 {
  animation-delay: 1.2s;
}



/* === HEADERS === */
.veil-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 20px 24px; /* was 56px, now tightened */
  overflow: visible;
}



.veil-header h1 {
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 800;
  background: linear-gradient(to right, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  padding-bottom: 12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}


.veil-header p {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: #cccccc;
  max-width: 90vw;
  margin: 0 auto 12px auto;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
  padding: 0 16px;
}



.veil-body h2 {
  text-align: center !important;
  color: #c084fc !important;
  margin-top: 56px !important;
  margin-bottom: 16px !important;
  font-size: clamp(1.5rem, 3vw, 1.75rem) !important;
}

.veil-body h2.left {
  text-align: left;
}

.veil-body ul {
  padding-left: 24px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.veil-body ul li {
  margin-bottom: 20px;
  line-height: 1.8;
}

.veil-body a {
  color: #facc15;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.veil-body a:hover {
  border-color: #facc15;
}


/* === DIVIDER === */
.veil-divider {
  height: 2px;
  width: 90%;
  max-width: 100%;
  margin: 0 auto 40px auto; /* remove top space */
  background: linear-gradient(to right, #a78bfa, #facc15);
  border-radius: 4px;
  overflow-x: hidden;
}



/* === BODY TEXT === */
.veil-body {
  font-size: clamp(1.15rem, 2.5vw, 1.25rem);
  line-height: 1.8;
  color: #dddddd;
  margin-top: 32px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.veil-body p {
  margin-bottom: 1.6em;
}

.veil-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* === PDF DOWNLOAD BLOCK === */
.scroll-download-block {
  text-align: center;
  margin-top: 64px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 1.1s;
}

.scroll-download-block p {
  font-size: 1.05rem;
  color: #cccccc;
  margin-bottom: 12px;
}

/* === Shared Button Style === */
.scroll-download-btn {
  display: inline-block;
  padding: 12px 32px;
  min-width: 280px; /* Force wider layout */
  border: 1px solid #c084fc;
  color: #c084fc;
  border-radius: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  background: transparent;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent line breaks */
  text-align: center;
}


.scroll-download-btn:hover {
  background-color: #c084fc;
  color: #0d0d10;
}

/* === Sparkle Animation === */
@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.scroll-download-btn:hover .sparkle {
  animation: sparkle 1.2s ease-in-out infinite;
}

/* === Button Stack Wrapper === */
.button-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
}


/* === BUTTON STYLE (shared scroll-btn class) === */
.scroll-btn {
  display: inline-block;
  font-size: clamp(0.9rem, 2vw, 1rem);
  padding: 10px 20px;
  color: #0d0d10;
  background: linear-gradient(to right, #c084fc, #facc15);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.scroll-btn:hover {
  opacity: 0.9;
}

.button-link {
      display: inline-block;
      padding: 12px 28px;
      margin-top: 40px;
      border: 1px solid #facc15;
      border-radius: 6px;
      color: #facc15;
      font-size: 1.05rem;
      text-decoration: none;
      transition: background-color 0.3s ease, color 0.3s ease;
 
    }

    .button-link:hover {
      background-color: #facc15;
      color: #0d0d10;
    }

    @media (max-width: 480px) {
      .button-link {
        font-size: 1.125rem !important;
        padding: 14px 28px !important;
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 24px !important;
      }
    }

/* === LINK STYLING === */
a.cta-link {
  color: #facc15 !important;
  text-decoration: none !important;
  font-weight: 500;
}
a.cta-link:hover {
  color: #ffe873 !important;
  text-decoration: underline !important;
}






/* === DONATION CTA BLOCK === */
.donation-cta {
  text-align: center;
  margin: 64px auto 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 1.3s;
}
.donation-cta a {
  font-size: 1rem;
  color: #0d0d10;
  background: #facc15;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}
.donation-cta a:hover {
  background: #ffe873;
  color: #0d0d10;
}

/* === SCRIPTURE BOX === */
.core-scripture-box {
  margin: 32px 0;
  padding: 20px 24px;
  background-color: #1a1a1d;
  border-left: 4px solid #c084fc;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.7;
  color: #e5e5e5;
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.05);
  font-style: italic;
}
.core-scripture-box strong {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #aaaaaa;
  font-style: normal;
  letter-spacing: 0.5px;
}

.scripture-break {
  display: block;
  margin-top: 12px;
}


/* Table Styling for Legal Contracts */
.veil-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  margin-bottom: 32px;
}

.veil-body th,
.veil-body td {
  border: 1px solid #333333;
  padding: 12px;
  text-align: left;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.veil-body th {
  background-color: #111111;
  color: #f2f2f2;
}

/* Mobile-Specific Download Button */
@media (max-width: 480px) {
  .mobile-download-btn {
    font-size: 1.125rem !important;
    padding: 14px 28px !important;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 16px;
  }
}

/* === FOOTER === */
.scroll-footer {
  width: 100%;
  background-color: #0d0d10 !important;
  padding: 40px 0;
  text-align: center;
}

.scroll-footer-logo {
  height: clamp(96px, 18vw, 112px);
  opacity: 1 !important;
  display: block;
  visibility: visible;
  filter: none;
  margin: 0 auto;
}


.scroll-footer-logo:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.45));
}

.scroll-footer-divider {
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #a78bfa, #facc15);
  margin: 40px auto 0 auto;
}

/* === FALSE THRONES HEADER STYLE === */

/* === EMOJI HEADER MARKER === */
.emoji {
  font-size: clamp(2.2rem, 5.5vw, 2.75rem);
  margin-bottom: 16px;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Subtle glow on hover (only if desired for symbolic interaction) */
.emoji:hover {
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.4); /* soft yellow glow */
  transition: text-shadow 0.3s ease;
  cursor: default;
}

.veil-header.false-thrones {
  text-align: center;
  margin-bottom: 48px;
}


.false-thrones .emoji {
  font-size: clamp(2.2rem, 5.5vw, 2.75rem);
  margin-bottom: 16px;
  display: block;
}

.false-thrones h1 {
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  background: linear-gradient(to right, #c084fc, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.false-thrones p {
  font-size: clamp(1.15rem, 2.5vw, 1.25rem);
  color: #cccccc;
  max-width: 720px;
  margin: 0 auto;
}

.veil-body.false-thrones p {
  margin-bottom: 1.6em;
  line-height: 1.8;
}


/* === FALSE THRONES DIVIDER STYLE === */
.veil-divider.false-thrones {
  height: 2px;
  background: linear-gradient(to right, #c084fc, #facc15);
  width: 720px;
  max-width: 100%;
  margin: 40px auto;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.6s;
}

/* === FALSE THRONES H2 STYLING === */
.veil-body.false-thrones h2 {
  text-align: center;
  color: #facc15;
  margin-top: 56px;
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.veil-container.false-thrones {
  padding-top: 32px;
}

/* === FALSE THRONES FOOTER STYLING === */
/*
.scroll-footer.false-thrones {
  background-color: #0d0d10;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scroll-footer.false-thrones .scroll-footer-logo {
  height: clamp(88px, 18vw, 112px);
  opacity: 0.8;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 0 transparent);
}

.scroll-footer.false-thrones .scroll-footer-logo:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.45));
}

.scroll-footer-divider.false-thrones {
  height: 2px;
  width: 100%;
  max-width: 1280px;
  background: linear-gradient(to right, #c084fc, #facc15);
  margin: 60px auto 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 1.6s;
}
*/

/* === FORCE SCROLL FOOTER LOGO VISIBILITY === */
.scroll-footer img.scroll-footer-logo {
  display: block !important;
  height: clamp(96px, 18vw, 112px) !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  margin: 0 auto !important;
}

.scroll-form-hidden {
  display: none;
  margin-top: 32px;
  text-align: center;
}

.scroll-form-visible {
  display: block;
}

/* === FALSE THRONES OVERRIDES === */
.false-thrones h1,
.false-thrones h2,
.false-thrones p,
.false-thrones a {
  color: #f2f2f2;
}

.false-thrones .veil-divider,
.false-thrones .scroll-footer-divider {
  background: linear-gradient(to right, #ff6666, #facc15);
  height: 2px;
  margin: 48px 0;
  opacity: 0.8;
}

.false-thrones .emoji {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin-bottom: 12px;
}

/* === FALSE THRONES STYLING FIXES === */
.veil-divider.false-thrones {
  height: 2px;
  width: 90%;
  max-width: 100%;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 40px auto; /* responsive top spacing */
  background: linear-gradient(to right, #c084fc, #facc15);
  border-radius: 4px;
  overflow-x: hidden;
  box-shadow: 0 0 10px #facc15aa;
}




.veil-body.false-thrones h2 {
  margin-top: 48px;
  font-size: clamp(1.4rem, 3.5vw, 1.7rem);
  color: #facc15;
}

.button-back {
  display: inline-block;
  margin: 48px auto 0;
  padding: 12px 24px;
  background-color: transparent;
  border: 1px solid #facc15;
  color: #facc15;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.button-back:hover {
  background-color: #facc15;
  color: #000;
  cursor: pointer;
}

.back-link {
  text-align: center;
  margin-top: 48px;
}

.veil-header .emoji.scroll-animate {
  text-align: center;
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}



.veil-header .emoji {
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}

 /* ✦ Custom Styles for Map Table Only */
    .false-thrones-map {
      width: 100%;
      max-width: 880px;
      margin: 40px auto;
      border-collapse: collapse;
      text-align: left;
      font-size: clamp(1rem, 2.5vw, 1.15rem);
      line-height: 1.8;
    }

    .false-thrones-map th,
    .false-thrones-map td {
      padding: 16px 12px;
      border-bottom: 1px solid #333;
    }

    .false-thrones-map thead {
      background: linear-gradient(to right, #c084fc, #facc15);
      color: #0d0d10;
    }

    .false-thrones-map tbody tr:hover {
      background-color: #1a1a1a;
    }

    .false-thrones-map td:first-child {
      font-weight: 600;
    }

    .map-summary {
      text-align: center;
      margin-top: 48px;
      font-style: italic;
      font-size: clamp(1rem, 2.4vw, 1.15rem);
    }