body {
  font-family: 'Playfair Display', serif;
  background: linear-gradient(135deg, #001122 0%, #002244 25%, #003366 50%, #002244 75%, #001122 100%);
  color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Divine Realm */
.heavenly-realm {
  max-width: 1200px;
  margin: 20px auto;
  position: relative;
  z-index: 1;
}

.divine-light {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  animation: divineGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes divineGlow {
  0%, 100% { 
    transform: translateX(-50%) scale(1); 
    opacity: 0.8;
  }
  50% { 
    transform: translateX(-50%) scale(1.2); 
    opacity: 1;
  }
}

/* Sacred Altar */
.sacred-altar {
  text-align: center;
  padding: 60px 20px 40px 20px;
  position: relative;
}

.halo-ring {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.divine-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #FFD700;
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.6),
    0 0 60px rgba(255, 255, 255, 0.3),
    inset 0 0 20px rgba(255, 215, 0, 0.2);
  object-fit: cover;
  animation: holyRotation 20s linear infinite;
}

.light-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: 
    linear-gradient(0deg, transparent 40%, rgba(255, 215, 0, 0.3) 50%, transparent 60%),
    linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%),
    linear-gradient(90deg, transparent 40%, rgba(255, 215, 0, 0.3) 50%, transparent 60%),
    linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
  border-radius: 50%;
  animation: rayRotation 8s linear infinite;
  pointer-events: none;
}

@keyframes holyRotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rayRotation {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.holy-inscription h1 {
  font-size: 3.5rem;
  color: #FFD700;
  margin: 0 0 10px 0;
  text-shadow: 
    0 0 20px #FFD700,
    0 0 40px rgba(255, 215, 0, 0.5),
    0 0 60px rgba(255, 255, 255, 0.3);
  animation: titleGlow 3s ease-in-out infinite;
}

.divine-title {
  font-size: 1.5rem;
  color: #E6E6FA;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(230, 230, 250, 0.8);
}

.blessing {
  font-size: 1.1rem;
  color: #F0F8FF;
  font-style: italic;
  text-shadow: 0 0 10px rgba(240, 248, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 20px #FFD700, 0 0 40px rgba(255, 215, 0, 0.5); }
  50% { text-shadow: 0 0 30px #FFD700, 0 0 60px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 255, 255, 0.4); }
}

/* Scripture Tablets */
.scripture-tablets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.tablet {
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 215, 0, 0.2);
  position: relative;
}

.tablet::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #FFD700, transparent, #FFD700, transparent, #FFD700);
  border-radius: 15px;
  z-index: -1;
  animation: tabletGlow 6s linear infinite;
}

@keyframes tabletGlow {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

.tablet h3 {
  color: #FFD700;
  font-size: 1.4rem;
  margin: 0 0 20px 0;
  text-align: center;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  border-bottom: 2px solid rgba(255, 215, 0, 0.5);
  padding-bottom: 10px;
}

.holy-stat {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid #FFD700;
}

.miracle {
  font-size: 1.5rem;
  text-shadow: 0 0 10px currentColor;
}

.stat-content {
  flex: 1;
}

.stat-name {
  color: #E6E6FA;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.stat-value {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-value.blessed {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  animation: blessedShine 2s ease-in-out infinite;
}

@keyframes blessedShine {
  0%, 100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.6); }
  50% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.4); }
}

.prophecy-text {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: #F0F8FF;
  text-align: center;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(240, 248, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(240, 248, 255, 0.2);
  text-shadow: 0 0 8px rgba(240, 248, 255, 0.5);
}

.holy-covenant {
  text-align: center;
}

.covenant-title {
  color: #FFD700;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.contract-container {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.contract-address {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  background: rgba(255, 215, 0, 0.1);
  padding: 8px 15px;
  border-radius: 6px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #FFD700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.copy-btn.divine-copy {
  background: transparent;
  border: 1px solid #FFD700;
  color: #FFD700;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.copy-btn.divine-copy:hover {
  background: #FFD700;
  color: #001122;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Temple Entrance */
.temple-entrance {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 20px;
  margin: 30px 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.temple-entrance h3 {
  color: #FFD700;
  font-size: 1.6rem;
  margin: 0 0 20px 0;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.entrance-gate p {
  color: #E6E6FA;
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.heavenly-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #001122;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 20px rgba(255, 215, 0, 0.4),
    0 0 20px rgba(255, 215, 0, 0.3);
  animation: heavenlyPulse 3s ease-in-out infinite;
}

.heavenly-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 12px 30px rgba(255, 215, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 0.5);
}

@keyframes heavenlyPulse {
  0%, 100% { 
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% { 
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.5);
  }
}

.angel-wing {
  font-size: 1.2rem;
  animation: wingFlap 2s ease-in-out infinite;
}

.angel-wing.reverse {
  animation: wingFlapReverse 2s ease-in-out infinite;
}

@keyframes wingFlap {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-10deg); }
}

@keyframes wingFlapReverse {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

.footer {
  background: linear-gradient(135deg, #001122 0%, #002244 100%);
  padding: 20px;
  text-align: center;
  border-top: 2px solid rgba(255, 215, 0, 0.4);
  color: #E6E6FA;
  margin-top: 40px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .scripture-tablets {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 10px;
  }
  
  .holy-inscription h1 {
    font-size: 2.5rem;
  }
  
  .divine-image {
    width: 120px;
    height: 120px;
  }
  
  .light-rays {
    width: 160px;
    height: 160px;
  }
  
  .temple-entrance {
    margin: 20px 10px;
    padding: 30px 15px;
  }
  
  .contract-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .contract-address {
    text-align: center;
    word-break: break-all;
  }
}