/* --------------------------------------------------
   Base Styles
-------------------------------------------------- */
body {
  background-color: #000;
  color: #f5f5f5;
  font-family: 'Space Mono', monospace;
  margin: 0;
  padding: 0;
  letter-spacing: 0.03em;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/* --------------------------------------------------
   Custom Fonts
-------------------------------------------------- */
@font-face {
  font-family: 'ElderFuthark';
  src: url('fonts/elder_futhark.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* --------------------------------------------------
   Rune Rain Canvas
-------------------------------------------------- */
#runeRain {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* --------------------------------------------------
   Site Logo
-------------------------------------------------- */
.site-logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.2rem auto 1.1rem auto;
  max-width: 320px;
  filter: drop-shadow(0 1px 16px #b8bcc2b0) drop-shadow(0 0px 4px #d4af3760);
  transition: filter 0.2s;
  position: relative;
  z-index: 2;
}
.site-logo-img img {
  display: block;
  max-width: 90%;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.15);
  box-shadow: 0 3px 12px #222a;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------
   Navigation Menu
-------------------------------------------------- */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  margin-top: -0.8rem;
  position: relative;
  z-index: 2;
}
.main-nav .glitch-button {
  font-size: 1rem;
  padding: 0.6rem 1.1rem;
  border-radius: 22px;
  background: #111;
  color: #f5f5f5;
  text-decoration: none;
  box-shadow: 0 2px 8px #0a0a0a40;
  transition: filter 0.12s, background 0.18s;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  z-index: 2;
}

.main-nav .glitch-button::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  top: 0;
  width: 100%;
  color: #00fff9;
  opacity: 0;
  pointer-events: none;
  filter: blur(0.6px);
  transition: opacity 0.13s;
  z-index: 2;
}

.main-nav .glitch-button:hover::after {
  opacity: 0.64;
  animation: nav-glitch 0.5s steps(2, end) infinite alternate;
}

@keyframes nav-glitch {
  0%   { left: 2px;  text-shadow: 2px 0 #00fff9; }
  50%  { left: -2px; text-shadow: -2px 0 #d4af37; }
  100% { left: 2px;  text-shadow: 2px 0 #00fff9; }
}


@media (max-width: 520px) {
  .main-nav {
    gap: 0.35rem;
  }
  .main-nav .glitch-button {
    font-size: 0.98rem;
    padding: 0.48rem 0.7rem;
  }
}

/* --------------------------------------------------
   Content Container
-------------------------------------------------- */
.content-box {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem;
  background: rgba(20, 20, 20, 0.4);
  border-radius: 22px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* --------------------------------------------------
   Taglines & Section Titles
-------------------------------------------------- */
.temple-tagline,
.sermons-tagline,
.ask-tagline {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.temple-title,
.sermons-title,
.ask-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  color: #d4af37;
}

/* --------------------------------------------------
   Video Embeds
-------------------------------------------------- */
.video-embed {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 2rem auto;
}

/* --------------------------------------------------
   Call to Action
-------------------------------------------------- */
.call-to-action {
  text-align: center;
  margin: 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --------------------------------------------------
   Support Button
-------------------------------------------------- */
.support-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
  background-color: #d4af37;
  color: #191919;
  border-radius: 22px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 8px #00000080;
  transition: background 0.2s, transform 0.2s;
}
.support-button:hover {
  background-color: #f0c94d;
  transform: translateY(-2px);
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */
footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #888;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin: 2.5rem auto 1.5rem auto;
}
.product-card {
  background: rgba(10,10,10,0.7);
  border-radius: 18px;
  box-shadow: 0 3px 12px #1a1a1a70;
  padding: 1.1em 1em 1.5em 1em;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.16s, transform 0.16s;
  border: 1px solid #2d2d2d;
  margin-bottom: 1.5em;
}
.product-card img {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  background: #191919;
  margin-bottom: 0.6em;
  box-shadow: 0 2px 8px #0005;
}
.product-card h2 {
  font-size: 1.07em;
  margin: 0.4em 0 0.3em 0;
  color: #d4af37;
  text-align: center;
}
.product-card p {
  font-size: 0.99em;
  margin: 0.3em 0 0.2em 0;
  text-align: center;
}
.product-card .product-price {
  font-weight: bold;
  color: #f0c94d;
  margin: 0.6em 0 0.8em 0;
}
.product-card button {
  padding: 0.5em 1.2em;
  background: #d4af37;
  color: #151515;
  border: none;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s;
}
.product-card button:hover {
  background: #f0c94d;
}
