@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Nunito:wght@400;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@400;500;600&family=Noto+Sans+Telugu:wght@400;500;600;700&display=swap');

:root {
  /* ── Emerald & Gold ── */
  --color-bg-base: #071b14;
  --color-bg-shell: rgba(4, 14, 10, 0.55);
  --color-bg-card: rgba(212, 175, 55, 0.05);
  --color-border-warm: rgba(212, 175, 55, 0.16);

  --color-emerald-deep: #04120c;
  --color-emerald: #0e6b4a;
  --color-emerald-bright: #2fbf83;
  --color-gold: #d4af37;
  --color-gold-bright: #f2d576;
  --color-gold-deep: #9c7a1f;

  --color-accent-dark-green: #0a2b20;
  --color-accent-green: #2fbf83;
  --color-accent-gold: #d4af37;

  /* legacy aliases kept in sync with the palette above */
  --color-black-cherry: #f4efe0;
  --color-brown-red: #d4af37;
  --color-golden-apricot: #d4af37;
  --color-cotton-candy: #2fbf83;
  --color-pearl-beige: rgba(212, 175, 55, 0.1);

  --color-text-primary: #f4efe0;
  --color-text-body: #b9c7bd;
  --color-text-muted: #728178;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--color-bg-base);
  min-height: 100%;
  position: relative;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(212, 175, 55, 0.10), transparent 45%),
    radial-gradient(circle at 88% 78%, rgba(47, 191, 131, 0.16), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(14, 107, 74, 0.18), transparent 60%);
  z-index: -1;
  animation: bgGlow 18s ease-in-out infinite alternate;
}

@keyframes bgGlow {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(1.15); opacity: 1; }
}

body {
  background: transparent;
  color: var(--color-text-body);
  font-family: 'Inter', sans-serif;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

/* ─── NATIVE APP TOUCH BEHAVIOR ─── */
a, button, .hcard, .covenant-card, .pcard, .bcard, .nav-btn, .book-item-card, .video-card {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Snappy, instant feedback when touching any interactive card on mobile */
.hcard:active, .pcard:active, .covenant-card:active, .book-item-card:active, .glass-card:active, .video-card:active, .app-nav-item:active, .testament-back-btn:active {
  transform: scale(0.98) !important;
  transition: all 0.2s ease-out !important;
  filter: brightness(0.9);
}

/* ─── DESKTOP AMBIENT DECORATIONS ─── */
@media (min-width: 480px) {
  body {
    background: transparent;
  }
}

/* ─── MOBILE SHELL & RESPONSIVE CONTAINER ─── */
#root {
  width: 100%;
  margin: 0 auto;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  position: relative;
  background: var(--color-bg-shell);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

#root::-webkit-scrollbar {
  display: none;
}
#root {
  scrollbar-width: none;
}

@media (min-width: 480px) {
  #root {
    /* Slightly wider than mobile */
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  #root {
    height: auto;
    min-height: 100vh;
    max-height: none;
    max-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: visible; /* Let body/html handle scrolling */
  }
  body {
    padding: 0; /* Remove top/bottom padding used for mobile frame */
    overflow-y: visible; /* Re-enable native document scroll on desktop */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    display: block !important; /* Remove flex centering */
    align-items: stretch;
  }
  .desktop-nav-bar { display: none; }
.app-nav-bar {
    display: none !important; /* Hide mobile bottom nav on desktop */
  }
}

/* Hide scrollbars globally on mobile for a native app feel */
@media (max-width: 767px) {
  #root::-webkit-scrollbar,
  body::-webkit-scrollbar,
  html::-webkit-scrollbar,
  .scroll-area::-webkit-scrollbar {
    display: none !important;
  }

  #root,
  body,
  html,
  .scroll-area {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }
}

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 0;
  background: transparent;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}



.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 800px;
  padding: 0 16px;
}

.hero-logo {
  width: 90%;
  max-width: 600px;
  height: auto;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
  z-index: 11;
  position: relative;
  animation: 
    splashLogoSlideUp 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards,
    floatLogo 6s infinite ease-in-out 2s;
}
@keyframes splashLogoSlideUp {
  0% { transform: translateY(35vh) scale(1.1); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(0px) scale(1); opacity: 1; }
}
@keyframes floatLogo {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-subtitle-english {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  opacity: 0;
  position: relative;
  z-index: 10;
  animation: splashFadeIn 2.5s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}
@keyframes splashFadeIn {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0px); opacity: 1; }
}

.hero-content .covenant-cards {
  opacity: 0;
  position: relative;
  z-index: 10;
  animation: splashFadeIn 2.5s cubic-bezier(0.4, 0, 0.2, 1) 1.3s forwards;
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.hcard {
  width: 100%;
  border-radius: 24px;
  padding: 28px 24px 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-card);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--color-border-warm);
  box-shadow: 0 6px 20px rgba(100, 13, 20, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--color-text-body);
}
@media (hover: hover) {
  .hcard:hover {
    box-shadow: 0 8px 25px rgba(216, 151, 60, 0.12);
    border-color: var(--color-golden-apricot);
  }
}
.hcard:active { transform: scale(0.97); }

.hcard-old {
  background: var(--color-bg-card);
}
.hcard-new {
  background: var(--color-bg-card);
}

.hcard-glow {
  position: absolute; inset: 0;
  opacity: 0.12;
  border-radius: 24px;
}
.hcard-old .hcard-glow { background: radial-gradient(circle at 80% 50%, var(--color-golden-apricot), transparent 70%); }
.hcard-new .hcard-glow { background: radial-gradient(circle at 80% 50%, var(--color-cotton-candy), transparent 70%); }

.hcard-emoji-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  background: rgba(216, 151, 60, 0.08);
}

.hcard-body { flex: 1; position: relative; z-index: 1; }
.hcard-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--color-brown-red); margin-bottom: 4px; font-weight: 700; }
.hcard-title { font-family: 'Nunito', sans-serif; font-size: 26px; font-weight: 900; margin-bottom: 4px; color: var(--color-black-cherry); }
.hcard-meta { font-size: 12px; color: var(--color-text-muted); }

.hcard-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(216, 151, 60, 0.08);
  border: 1px solid rgba(216, 151, 60, 0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--color-black-cherry);
  flex-shrink: 0;
  position: relative; z-index: 1;
  transition: background 0.2s, border-color 0.2s;
}
.hcard:hover .hcard-arrow {
  background: rgba(216, 151, 60, 0.2);
  border-color: var(--color-golden-apricot);
}

/* ─── PAGE CHROME ─── */
.page { min-height: 100vh; background: transparent; }
@media (min-width: 480px) {
  .page { min-height: 828px; }
}

.page-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--color-border-warm);
}

.back-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(216, 151, 60, 0.08);
  border: 1px solid rgba(216, 151, 60, 0.18);
  color: var(--color-black-cherry); font-size: 17px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.18s, border-color 0.18s;
  text-decoration: none;
}
.back-btn:active { background: rgba(216, 151, 60, 0.2); }

.page-title { font-family: 'Nunito', sans-serif; font-size: 22px; font-weight: 900; flex: 1; color: var(--color-black-cherry); }
.page-count { font-size: 12px; color: var(--color-text-muted); white-space: nowrap; font-weight: 600; }

/* ─── PINTEREST GRID ─── */
.pin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 10px;
  padding: 12px 10px 40px;
  align-items: start;
}

.pin-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pcard {
  border-radius: 18px;
  background: var(--color-bg-card);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--color-border-warm);
  box-shadow: 0 6px 18px rgba(100, 13, 20, 0.04);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
  color: var(--color-text-body);
  display: block;
}
@media (hover: hover) {
  .pcard:hover {
    box-shadow: 0 8px 20px rgba(216, 151, 60, 0.12);
    border-color: var(--color-golden-apricot);
  }
}
.pcard:active { transform: scale(0.96); }

.pcard-img {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-warm);
  background: #12100e !important;
}
.pcard-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 100%), url('https://images.unsplash.com/photo-1547234935-80c7145ec969?q=80&w=600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.4s ease-out;
}
@media (hover: hover) {
  .pcard:hover .pcard-img::before {
    transform: scale(1.1);
  }
}
/* Alternating heights for Pinterest unevenness */
.pcard-img.short { height: 110px; }
.pcard-img.medium { height: 140px; }
.pcard-img.tall { height: 170px; }

.bc-cover-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.bc-cover-title {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #F0ECE0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  margin: 0;
  line-height: 1.25;
  text-align: center;
}
.bc-cover-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 6px;
  font-weight: 400;
  color: var(--color-golden-apricot);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  margin-top: 4px;
  text-align: center;
}

.pcard-dot {
  position: absolute; top: 10px; right: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-brown-red) !important;
  opacity: 0.8;
  z-index: 3;
}

.pcard-body { padding: 9px 11px 11px; }
.pcard-desc { font-size: 10.5px; color: var(--color-text-body); line-height: 1.4; opacity: 0.9; }
.pcard-pill {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 7px;
  font-size: 9.5px;
  background: var(--color-pearl-beige);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--color-black-cherry);
  font-weight: 700;
}

/* ─── BOOK PAGE ─── */
.book-page { min-height: 100vh; background: transparent; }
@media (min-width: 480px) {
  .book-page { min-height: 828px; }
}

.book-banner {
  width: 100%;
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border-radius: 0 0 32px 32px;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 85% 8%, rgba(212, 175, 55, 0.35), transparent 55%),
    radial-gradient(circle at 10% 100%, rgba(47, 191, 131, 0.3), transparent 60%),
    linear-gradient(160deg, var(--color-emerald) 0%, var(--color-emerald-deep) 100%) !important;
  background-size: cover !important;
  background-position: center !important;
}
.book-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.15;
  pointer-events: none;
}
.book-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: overlay;
  transition: transform 0.8s ease-out;
}
.book-banner:hover img {
  transform: scale(1.05);
}

.book-banner-emoji {
  display: none !important;
}

.book-banner-back {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(4, 18, 12, 0.5); backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.3); color: var(--color-gold-bright); font-size: 17px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.book-banner-back:hover {
  background: rgba(4, 18, 12, 0.8);
  transform: scale(1.05);
}

.book-info { padding: 24px 18px 0; }
.book-pill {
  display: inline-block; border-radius: 999px;
  padding: 4px 14px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 14px; color: var(--color-emerald-deep) !important;
  background: var(--color-gold) !important;
}
.book-name { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700; line-height: 1.1; margin-bottom: 12px; color: var(--color-text-primary); }
.book-desc { font-size: 14px; line-height: 1.7; color: var(--color-text-body); padding-bottom: 24px; border-bottom: 1px solid var(--color-border-warm); }

.vlist { padding: 0 18px 60px; }

.vitem {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border-warm);
  cursor: pointer;
}
.vitem:active { opacity: 0.65; }

.vthumb {
  width: 70px; height: 50px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  background: var(--color-pearl-beige) !important;
}

.vmeta { flex: 1; min-width: 0; }
.vtype { font-size: 9.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--color-brown-red); margin-bottom: 3px; font-weight: 700; }
.vtitle { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--color-black-cherry); }
.vdur { font-size: 11.5px; color: var(--color-text-muted); margin-top: 2px; }

.vmore {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(216, 151, 60, 0.08);
  border: none; color: var(--color-black-cherry); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ─── SCROLL INDICATOR & NAVIGATION FOOTER ─── */
.scroll-indicator {
  display: none !important;
}

.scroll-text {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  color: var(--color-golden-apricot);
  letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--color-golden-apricot), rgba(216, 151, 60, 0.08));
  margin: 10px auto 0;
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
    background: linear-gradient(to bottom, var(--color-golden-apricot), rgba(216, 151, 60, 0.25));
  }
}

.desktop-nav-bar { display: none; }
.app-nav-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 398px;
  height: 64px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  flex: 1;
  height: calc(100% - 8px);
  margin: 4px;
  border-radius: 16px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-nav-item:hover {
  color: var(--color-accent-dark-green);
  background: rgba(15, 52, 46, 0.04);
}

.app-nav-item:active {
  transform: scale(0.94);
}

.app-nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-nav-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.app-nav-item.active {
  color: var(--color-accent-green);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
}

/* ─── PREMIUM SEARCH OVERLAY ─── */
.search-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 20, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 15000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.search-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: var(--color-text-primary);
  letter-spacing: -0.2px;
  font-weight: 700;
}

.search-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.search-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.search-close:active {
  transform: scale(0.9);
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.search-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--color-accent-green);
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.search-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.search-input:focus {
  border-color: var(--color-accent-green);
  box-shadow: 0 0 12px rgba(97, 141, 114, 0.1);
}

.search-results {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 20px;
}

.search-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d4af37;
  margin: 10px 0 2px 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
}

.search-result-emoji {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #ffffff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-testament {
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.search-result-arrow {
  color: var(--color-accent-green);
  font-size: 14px;
  transition: transform 0.2s, color 0.2s;
}

.search-result-item:hover .search-result-arrow {
  transform: translateX(3px);
  color: var(--color-accent-dark-green);
}

.search-no-results {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 40px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
}

/* ─── CHAPTER VIDEO GRID & CARDS ─── */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px 14px 90px;
  background: transparent;
}

.video-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--color-bg-card);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--color-border-warm);
  border-radius: 12px;
  padding: 10px;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  text-decoration: none;
  color: inherit;
}
@media (hover: hover) {
  .video-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.15);
    border-color: var(--color-accent-gold);
  }
}
.video-card:active { transform: translateY(-2px) scale(0.99); }

.video-card-thumb-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border-warm);
  background: var(--color-bg-alt);
  box-shadow: 0 4px 12px rgba(100, 13, 20, 0.03);
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.video-play-icon {
  font-size: 20px;
  color: #fff;
  background-color: #FF0000;
  width: 50px;
  height: 35px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(255,0,0,0.4));
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover .video-thumb-img {
  transform: scale(1.05);
}
.video-card:hover .video-play-overlay {
  opacity: 1;
  background: rgba(0,0,0,0.15);
}
.video-card:hover .video-play-icon {
  transform: scale(1);
}

.video-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 0 4px 4px 4px;
}

/* Skeleton Loaders */
.skeleton {
  pointer-events: none;
}
.skeleton-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-border-warm) 50%, var(--color-bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  margin-bottom: 0;
}
.skeleton-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  min-width: 0;
  padding: 0 4px 4px 4px;
}
.skeleton-text {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-border-warm) 50%, var(--color-bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
  width: 100%;
}
.skeleton-text.short { width: 40%; }
.skeleton-text.medium { width: 70%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.video-card-sessions {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-brown-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  line-height: 1;
}

.video-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-black-cherry);
  line-height: 1.25;
  margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  color: var(--color-text-body);
  margin-bottom: 2px;
  line-height: 1.2;
  opacity: 0.85;
}

.video-card-instructor {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  line-height: 1.2;
}

.video-card-duration-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: rgba(216, 151, 60, 0.12);
  border-radius: 20px;
  padding: 4px 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-black-cherry);
  line-height: 1;
}

.video-card-duration-icon {
  width: 14px;
  height: 14px;
  background: var(--color-brown-red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 6px;
  margin-right: 5px;
  padding-left: 1px;
  flex-shrink: 0;
}

/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal-item {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ─── TESTAMENT CARDS (FOREST GREEN THEME) ─── */
.testament-section {
  padding: 0 0 100px;
  background: transparent;
  position: relative;
  z-index: 2;
  margin-top: -40vh;
}

.section-label {
  display: none !important;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.section-rule {
  display: none !important;
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.glass-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 52, 46, 0.06);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(15, 52, 46, 0.05);
  text-decoration: none;
  color: var(--color-text-body);
  display: block;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(97, 141, 114, 0.2);
  box-shadow: 0 20px 40px -15px rgba(15, 52, 46, 0.12);
  transform: translateY(-4px);
}

.card-content-wrapper {
  display: flex;
  gap: 18px;
  padding: 18px;
  align-items: center;
}

.card-icon-container {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Individual card accenting */
#card1 .card-icon-container {
  background: linear-gradient(135deg, rgba(97, 141, 114, 0.15) 0%, rgba(97, 141, 114, 0.04) 100%);
  color: var(--color-accent-dark-green);
  border: 1.5px solid rgba(97, 141, 114, 0.2);
}

#card2 .card-icon-container {
  background: linear-gradient(135deg, rgba(242, 168, 24, 0.15) 0%, rgba(242, 168, 24, 0.04) 100%);
  color: #c9880e;
  border: 1.5px solid rgba(242, 168, 24, 0.2);
}

.glass-card:hover .card-icon-container {
  transform: scale(1.03);
}

#card1:hover .card-icon-container {
  background: linear-gradient(135deg, rgba(97, 141, 114, 0.2) 0%, rgba(97, 141, 114, 0.08) 100%);
}

#card2:hover .card-icon-container {
  background: linear-gradient(135deg, rgba(242, 168, 24, 0.2) 0%, rgba(242, 168, 24, 0.08) 100%);
}

.card-icon-container svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover .card-icon-container svg {
  transform: scale(1.08);
}

.card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin: 1px 0 4px 0;
}

.card-subtitle-telugu {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#card1 .card-subtitle-telugu {
  color: var(--color-accent-green);
}

#card2 .card-subtitle-telugu {
  color: #c9880e;
}

.card-description {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--color-text-body);
  line-height: 1.5;
  opacity: 0.85;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.card-rating {
  color: var(--color-accent-gold);
  font-size: 10px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}

.card-tag {
  font-size: 9.5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

#card1 .card-tag {
  background: rgba(97, 141, 114, 0.08);
  color: var(--color-accent-dark-green);
}

#card2 .card-tag {
  background: rgba(242, 168, 24, 0.08);
  color: #b57a0b;
}

#card1:hover .card-tag {
  background: rgba(97, 141, 114, 0.14);
}

#card2:hover .card-tag {
  background: rgba(242, 168, 24, 0.14);
}

/* ─── SCROLLABLE PAGE FOOTER ─── */
.page-footer-section {
  padding: 16px 20px 100px;
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--color-bg-shell);
}

.footer-divider-line {
  height: 2px;
  width: 44px;
  background: linear-gradient(90deg, var(--color-accent-green), var(--color-accent-gold));
  margin: 0 auto 24px;
  border-radius: 1px;
}

.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.footer-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  color: var(--color-text-muted);
  max-width: 280px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.footer-links a {
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--color-text-body);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copyright {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* ─── FEATURED COVENANT CARD & BOOKS GRID (MOCKUP STYLE) ─── */
.featured-covenant-card {
  position: relative;
  margin: 16px;
  height: 180px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent-dark-green) 0%, var(--color-accent-green) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(8, 28, 21, 0.1);
  box-sizing: border-box;
}

.featured-covenant-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(242, 201, 76, 0.2) 0%, transparent 60%);
  z-index: 0;
}

.featured-card-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: left;
}

.featured-card-badge {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 99px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 8px;
}

.featured-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}

.featured-card-desc {
  font-size: 11.5px;
  opacity: 0.85;
  margin-bottom: 12px;
  line-height: 1.4;
}

.featured-card-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  opacity: 0.9;
  font-weight: 600;
}

.books-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 24px 16px 8px;
  text-align: left;
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 16px 100px;
}

.book-item-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--color-border-warm);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

@media (hover: hover) {
  .book-item-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--color-accent-gold);
  }
}

.book-item-img {
  width: 100%;
  height: 90px;
  background:
    radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.25), transparent 60%),
    linear-gradient(150deg, var(--color-emerald) 0%, var(--color-emerald-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.book-item-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 12, 0.05) 0%, rgba(4, 18, 12, 0.45) 100%);
  z-index: 1;
}

.book-item-card:hover .book-item-img {
  background:
    radial-gradient(circle at 85% 15%, rgba(212, 175, 55, 0.4), transparent 60%),
    linear-gradient(150deg, var(--color-emerald-bright) 0%, var(--color-emerald-deep) 100%);
}

.book-item-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  line-height: 1.2;
}

.book-item-body {
  padding: 10px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.book-item-desc {
  font-size: 10.5px;
  color: var(--color-text-body);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.9;
}

.book-item-tag {
  font-size: 9px;
  color: var(--color-accent-green);
  font-weight: 700;
  margin-top: 6px;
  display: inline-block;
}

/* ─── DYNAMIC LUXURY GRADIENT BACKDROP (EMERALD DEPTHS) ─── */
body::before {
  content: '';
  position: fixed;
  inset: -100px;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(47, 191, 131, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(14, 107, 74, 0.1) 0%, transparent 40%),
    var(--color-emerald-deep);
  filter: blur(50px);
  animation: cosmicDrift 45s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

@keyframes cosmicDrift {
  0% { transform: scale(1) translate(0, 0) rotate(0deg); }
  50% { transform: scale(1.04) translate(15px, -10px) rotate(1.5deg); }
  100% { transform: scale(1.01) translate(-10px, 15px) rotate(-1deg); }
}

/* Hello Monday Style Floating Characters Styles */
.interactive-hero-container {
  position: relative;
  margin: 16px;
  height: 200px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent-dark-green) 0%, #061915 100%);
  border: 1px solid var(--color-border-warm);
  box-shadow: 0 10px 25px rgba(8, 28, 21, 0.1);
  box-sizing: border-box;
}

.interactive-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(97, 141, 114, 0.15) 0%, transparent 80%);
  pointer-events: none;
}

.interactive-hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  text-align: center;
}

.interactive-hero-title h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.interactive-hero-title p {
  font-size: 11px;
  color: var(--color-accent-green);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.9;
}

.floating-char {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  will-change: transform;
}

.floating-char:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--color-accent-gold);
  color: #ffffff;
  box-shadow: 0 6px 15px rgba(242, 168, 24, 0.25);
}

/* ─── TESTAMENT HERO SECTION (HELLO MONDAY VIBES) ─── */
.testament-hero {
  position: relative;
  height: 60vh;
  width: 100%;
  overflow: hidden;
  background: var(--color-emerald-deep);
}

.testament-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.testament-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4, 18, 12, 0.15) 0%, rgba(4, 18, 12, 0.65) 100%),
    radial-gradient(circle at 80% 10%, rgba(212, 175, 55, 0.18), transparent 55%);
  z-index: 1;
}

.testament-back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(7, 27, 20, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-bright);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  z-index: 10;
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: background 0.2s, transform 0.2s;
}

.testament-back-btn:hover {
  background: rgba(7, 27, 20, 0.8);
  transform: scale(1.05);
}

.testament-meta-card {
  background: var(--color-accent-dark-green);
  color: var(--color-text-primary);
  padding: 32px 24px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.testament-meta-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold-bright);
  font-weight: 800;
  display: inline-block;
  margin-bottom: 10px;
  position: relative;
  padding-left: 16px;
}

.testament-meta-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 1px;
  background: var(--color-gold-bright);
}

.testament-meta-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.testament-meta-desc {
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 20px;
}

.testament-meta-stats {
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-accent-green);
}

/* ─── CINEMATIC COVENANT CARDS (HOME PAGE) ─── */
.covenant-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 20px 24px;
}

.covenant-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  border-radius: 32px;
  overflow: hidden;
  text-decoration: none;
  background-color: rgba(20, 25, 22, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  position: relative;
}

@media (hover: hover) {
  .covenant-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}
.covenant-card:active {
  transform: translateY(-2px) scale(1.01);
}

.covenant-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.covenant-card-overlay {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent 40%, rgba(20, 25, 22, 0.6) 80%, rgba(20, 25, 22, 0.95) 100%);
  pointer-events: none;
}

.covenant-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.12);
  pointer-events: none;
}

.covenant-card-body {
  padding: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.covenant-card-label {
  display: inline-block;
  font-family: 'Noto Sans Telugu', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-gold-bright);
  margin-bottom: 6px;
}

.covenant-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.1;
}

.covenant-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  line-height: 1.5;
}

.covenant-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.covenant-card-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.covenant-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

@media (hover: hover) {
  .covenant-card:hover .covenant-card-arrow {
    transform: translateX(4px);
    background: #c5a133;
  }
}

/* ─── PREMIUM COVENANT HEADING ─── */
.covenant-heading {
  text-align: center;
  padding: 32px 20px 24px;
  width: 100%;
}

.covenant-heading-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent-dark-green, #0f342e);
  margin-bottom: 12px;
}

.covenant-heading-title {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--color-black-cherry, #1a0e0e);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.covenant-heading-telugu {
  font-family: 'Noto Sans Telugu', sans-serif;
  font-size: 14px;
  color: var(--color-golden-apricot, #d8973c);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.covenant-heading-rule {
  width: 60px;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--color-golden-apricot, #d8973c), transparent);
  border-radius: 2px;
}

/* ─── VIDEO SECTION ─── */
.video-section {
  padding: 40px 20px 80px;
  background: var(--color-bg-base);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -0.5px;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--color-border-warm);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ─── CHANNEL CTA ─── */
.channel-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-card);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--color-border-warm);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 14px 0 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.channel-cta-info {
  display: flex;
  flex-direction: column;
}
.channel-cta-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}
.channel-cta-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 4px 0 0 0;
}
.channel-cta-btn {
  background-color: #FF0000;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
  margin-left: 12px;
}
.channel-cta-btn:hover {
  background-color: #CC0000;
  transform: scale(1.05);
}

/* ─── SPLASH SCREEN ─── */
.global-splash {
  position: fixed;
  inset: 0;
  background-color: #0b3b24;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.global-splash.hidden {
  opacity: 0;
  pointer-events: none;
}
.splash-logo-img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
  animation: twistPulse 2.5s infinite ease-in-out;
}
@keyframes twistPulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.1) rotate(4deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
}

/* ─── RESPONSIVE LAYOUT (TABLET & DESKTOP) ─── */
@media (min-width: 768px) {
  /* Homepage Cards */
  .covenant-cards {
    flex-direction: row !important;
  }
  .covenant-card {
    flex: 1;
  }

  /* Old/New Testament Books Grid */
  .books-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  /* Book Detail Video Grid */
  .video-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  /* Books Grid on large laptop */
  .books-grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }

  /* Video Grid on large laptop */
  .video-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  
  /* Hero section adjustments for desktop */
  .hero {
    min-height: 100vh !important;
    padding: 80px 0 !important;
  }
  .hero-logo {
    width: 250px !important; /* Scale down logo on desktop */
  }
  .hero-content {
    padding-top: 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Testament and Book headers for desktop */
  .testament-hero {
    height: 300px !important;
  }
  .book-banner {
    height: 250px !important;
  }
  
  /* Adjust back button for desktop (breadcrumb style) */
  .testament-back-btn, .book-banner-back {
    top: 30px !important;
    left: 40px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    width: auto !important;
    padding: 0 20px !important;
    border-radius: 20px !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .testament-back-btn::after {
    content: " Back to Home";
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
  }
  .book-banner-back::after {
    content: " Back to Testament";
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
  }
  
  /* Desktop Navigation Bar */
  .desktop-nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(4, 18, 12, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
  }
  .desktop-nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .desktop-nav-logo img {
    height: 40px;
    width: auto;
  }
  .desktop-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .desktop-nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .desktop-nav-link:hover {
    color: var(--color-text-body);
  }
  .desktop-nav-link.active {
    color: var(--color-gold-bright);
  }
}
