/*
Theme Name: The Empyrean Life Animated
Theme URI: https://theempyreanlife.com
Author: The Empyrean Life
Description: Luxury animated theme for The Empyrean Life resident community portal.
Version: 2.0.0
*/

:root {
  --bg-dark: #080d1a;
  --bg-card: #0b132b;
  --bg-card-alt: #162238;
  --gold-primary: #d4af37;
  --gold-light: #fef08a;
  --gold-dark: #aa7c11;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #cbd5e1;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Rotating Background Effect */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
  animation: rotateBg 25s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* Main Container Appearance */
.site-wrapper {
  position: relative;
  z-index: 1;
  animation: flyerAppear 1s ease-out forwards;
}

/* Header & Brand Row */
.hero-section {
  padding: 3.5rem 1rem 2.5rem 1rem;
  background: linear-gradient(180deg, rgba(11, 19, 43, 0.8) 0%, rgba(22, 34, 56, 0.4) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 2rem;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.logo-container {
  width: 131px;
  height: 131px;
  border-radius: 50%;
  border: none;
  overflow: hidden;
  background-color: transparent;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.logo-container:hover {
  transform: scale(1.06);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.brand-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  animation: shimmer 4s infinite linear;
  background-size: 200% auto;
  margin: 0 0 4px 0;
}

.brand-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.brand-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 18px;
  border-radius: 20px;
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Feature Cards & Glassmorphism */
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.col-md-4:nth-child(1) .feature-card { animation-delay: 0.2s; }
.col-md-4:nth-child(2) .feature-card { animation-delay: 0.4s; }
.col-md-4:nth-child(3) .feature-card { animation-delay: 0.6s; }

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.06);
}

.feature-card .card-icon {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

/* Custom Buttons */
.btn-registry {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  background-size: 200% auto;
  color: #0b132b !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 13px 32px;
  border-radius: 30px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  animation: pulseButton 2.5s infinite ease-in-out;
}

.btn-registry:hover {
  background-position: right center;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

.btn-social-ig {
  background: transparent;
  border: 2px solid var(--gold-primary);
  color: var(--gold-light) !important;
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 26px;
  transition: all 0.3s ease;
}

.btn-social-ig:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-social-yt {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.5);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 26px;
  transition: all 0.3s ease;
}

.btn-social-yt:hover {
  background: rgba(255, 0, 0, 0.4);
  transform: translateY(-2px);
}

/* Footer Styling */
footer {
  position: relative;
  z-index: 1;
  background: rgba(11, 19, 43, 0.9);
  border-top: 1px solid rgba(212, 175, 55, 0.25) !important;
}

.disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* KEYFRAME ANIMATIONS */
@keyframes flyerAppear {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 18px rgba(212, 175, 55, 0.8); }
}

@keyframes pulseButton {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.7); }
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .brand-row {
    flex-direction: column;
    text-align: center;
  }
  .brand-text-group {
    align-items: center;
    text-align: center;
  }
  .brand-title {
    font-size: 1.8rem;
  }
}