/* ===================== */
/* === Footer Styles === */
/* ===================== */
@property --pulse-r {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

@property --pulse-g {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

@property --pulse-b {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

.site-footer {
  width: 100vw;
  padding: 3rem 1rem;
  font-size: 0.9rem;
  color: #6c757d;
  background: linear-gradient(135deg, #f8f9fd 0%, #e6e9f8 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  animation: pulse-cycle 180s linear infinite;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(var(--pulse-r), var(--pulse-g), var(--pulse-b), 0.08),
    rgba(var(--pulse-r), var(--pulse-g), var(--pulse-b), 0)
  );
  opacity: 0;
  animation: pulse-fade 60s linear infinite;
  z-index: 0;
}

.site-footer::after {
  content: "ECCLESIASTES 1:8-11";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  font-size: clamp(1.5rem, 8vw, 4rem);
  font-weight: 900;
  color: rgba(67, 97, 238, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  letter-spacing: 2px;
}

@keyframes pulse-cycle {
  0%, 33.3% { --pulse-r: 240; --pulse-g: 20; --pulse-b: 20; }
  33.4%, 66.6% { --pulse-r: 20; --pulse-g: 240; --pulse-b: 20; }
  66.7%, 100% { --pulse-r: 20; --pulse-g: 20; --pulse-b: 240; }
}

@keyframes pulse-fade {
  0%, 100% { opacity: 0; filter: blur(40px); }
  15%, 85% { opacity: 0.1; filter: blur(30px); }
  50% { opacity: 0.15; filter: blur(20px); }
}

.footer-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(67, 97, 238, 0) 0%, 
    rgba(67, 97, 238, 0.15) 50%, 
    rgba(67, 97, 238, 0) 100%);
  margin: 0 auto 1.5rem;
  width: 60%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.footer-link:hover {
  color: #4361ee;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
}

.footer-copyright {
  margin: 1.5rem auto 0;
  max-width: 600px;
  font-size: 0.8rem;
  color: rgba(44, 62, 80, 0.7);
  line-height: 1.5;
  position: relative;
}

.footer-copyright a {
  color: rgba(67, 97, 238, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-copyright a:hover {
  color: #3a0ca3;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer,
  .site-footer::before {
    animation: none !important;
  }
}
