/**
 * Everything - Heaven Theme
 * Light, ethereal, golden serenity
 */

.theme-heaven {
  --color-bg: #f0f5ff;
  --color-bg-alt: #ffffff;
  --color-text: #2c3e50;
  --color-text-muted: #7f8c9a;
  --color-primary: #d4af37;
  --color-secondary: #87ceeb;
  --color-accent: #ffd700;

  --font-family-body: 'Cormorant Garamond', 'Georgia', serif;
  --font-family-heading: 'Cormorant Garamond', 'Georgia', serif;

  --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);
  --shadow-cloud: 0 10px 40px rgba(135, 206, 235, 0.2);
}

.theme-heaven body {
  background: linear-gradient(180deg,
    #e8f4ff 0%,
    #f0f8ff 30%,
    #fff8e7 70%,
    #fffaf0 100%
  );
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated clouds background */
.theme-heaven body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background:
    radial-gradient(ellipse 300px 100px at 20% 20%, rgba(255,255,255,0.8) 0%, transparent 70%),
    radial-gradient(ellipse 200px 80px at 60% 15%, rgba(255,255,255,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 250px 90px at 80% 25%, rgba(255,255,255,0.7) 0%, transparent 70%),
    radial-gradient(ellipse 180px 70px at 40% 10%, rgba(255,255,255,0.5) 0%, transparent 70%);
  animation: drift-clouds 60s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes drift-clouds {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Light rays overlay */
.theme-heaven body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  background:
    conic-gradient(from 0deg at 50% 0%,
      transparent 0deg,
      rgba(255, 215, 0, 0.03) 10deg,
      transparent 20deg,
      rgba(255, 215, 0, 0.05) 30deg,
      transparent 40deg,
      rgba(255, 215, 0, 0.02) 50deg,
      transparent 60deg
    );
  pointer-events: none;
  z-index: 0;
  animation: rotate-rays 120s linear infinite;
}

@keyframes rotate-rays {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

/* Heaven container */
.heaven-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* Golden glow effect */
.heaven-glow {
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.3);
}

/* Halo effect */
.heaven-halo {
  position: relative;
}

.heaven-halo::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 15px;
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
}

/* Title styles */
.heaven-title {
  font-family: var(--font-family-heading);
  font-size: var(--text-4xl);
  font-weight: 300;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.heaven-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
  font-weight: 300;
}

/* Card styles */
.heaven-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-cloud);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.heaven-card:hover {
  transform: translateY(-5px);
  box-shadow:
    var(--shadow-cloud),
    var(--shadow-glow);
  border-color: var(--color-primary);
}

/* Golden button */
.heaven-button {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8860b 100%);
  color: #2c3e50;
  border: none;
  padding: var(--space-sm) var(--space-xl);
  font-family: var(--font-family-heading);
  font-size: var(--text-md);
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.heaven-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

/* Divider with wings */
.heaven-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
  color: var(--color-primary);
}

.heaven-divider::before,
.heaven-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--color-primary),
    transparent
  );
}

/* Quote style */
.heaven-quote {
  text-align: center;
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text);
  padding: var(--space-xl);
  position: relative;
}

.heaven-quote::before,
.heaven-quote::after {
  content: '"';
  font-size: 60px;
  color: var(--color-primary);
  opacity: 0.3;
  position: absolute;
}

.heaven-quote::before {
  top: 0;
  left: 20px;
}

.heaven-quote::after {
  bottom: -20px;
  right: 20px;
}

/* Cloud decoration */
.heaven-cloud {
  background: white;
  border-radius: 50%;
  box-shadow:
    0 10px 0 0 white,
    -25px 15px 0 -5px white,
    25px 15px 0 -5px white,
    -40px 20px 0 -10px white,
    40px 20px 0 -10px white;
  width: 60px;
  height: 30px;
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}

/* Links */
.theme-heaven a {
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.theme-heaven a:hover {
  border-bottom-color: var(--color-primary);
}

/* Form elements */
.theme-heaven input,
.theme-heaven textarea {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text);
  font-family: var(--font-family-body);
}

.theme-heaven input:focus,
.theme-heaven textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

/* Wing ornament */
.heaven-wings {
  position: relative;
  display: inline-block;
}

.heaven-wings::before,
.heaven-wings::after {
  content: 'wing';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--color-primary);
  opacity: 0.5;
}

.heaven-wings::before {
  left: -40px;
  transform: translateY(-50%) scaleX(-1);
}

.heaven-wings::after {
  right: -40px;
}

/* Star decoration */
.heaven-star {
  display: inline-block;
  color: var(--color-accent);
  animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Scrollbar */
.theme-heaven ::-webkit-scrollbar {
  width: 8px;
}

.theme-heaven ::-webkit-scrollbar-track {
  background: rgba(212, 175, 55, 0.1);
}

.theme-heaven ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd700, #d4af37);
  border-radius: 4px;
}

/* Feather fall animation */
.heaven-feather {
  position: fixed;
  font-size: 20px;
  color: white;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  pointer-events: none;
  animation: feather-fall linear infinite;
}

@keyframes feather-fall {
  0% {
    transform: translateY(-100px) rotate(0deg) translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg) translateX(100px);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .heaven-title {
    font-size: var(--text-2xl);
    letter-spacing: 4px;
  }

  .heaven-quote {
    font-size: var(--text-lg);
    padding: var(--space-md);
  }
}
