

:root {
  --realm-bg: #FDFBF5; 
  --realm-text: #2B2B2B; 
  --realm-gold: #D4AF37; 
  --gobi-copper: #A0522D;
  --taiga-pine: #1E594F;
  --altai-slate: #708090;
  --steppe-clay: #8B7D6B;
}

.realm-page {
  background: var(--realm-bg) !important;
  color: var(--realm-text) !important;
}


.realm-transition-overlay {
  position: fixed;
  inset: 0;
  background: #080b11;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

.realm-transition-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.transition-title {
  font-family: 'Cinzel', serif;
  color: var(--realm-gold);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.3em;
  opacity: 0;
  transform: scale(0.95);
  animation: ancientReveal 2s forwards;
}

@keyframes ancientReveal {
  0% { opacity: 0; filter: blur(10px); transform: scale(0.95); }
  50% { opacity: 1; filter: blur(0); transform: scale(1); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}


.realm-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.realm-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8, 11, 17, 0.4) 0%, var(--realm-bg) 100%);
  z-index: 1;
}

.realm-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: -100px;
}

.realm-hero-content h1 {
  font-family: 'Cinzel', serif;
  color: var(--realm-gold);
  font-size: clamp(3.5rem, 8vw, 6rem);
  margin: 0 0 0.5rem;
  letter-spacing: 0.15em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.realm-hero-content p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--realm-text);
  margin: 0;
}


.realm-pulse {
  padding: 6rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pulse-text h2 {
  font-family: 'Cinzel', serif;
  color: var(--theme-accent);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.pulse-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(43, 43, 43, 0.85);
  margin-bottom: 1.5rem;
}

.pulse-image {
  position: relative;
}

.pulse-image img {
  border-radius: 1rem;
  box-shadow: -20px 20px 0 var(--theme-accent), 0 30px 60px rgba(0,0,0,0.1);
}


.realm-seasons {
  padding: 5rem 0;
  background: #F4F1E8;
  border-top: 1px solid rgba(43, 43, 43, 0.05);
  border-bottom: 1px solid rgba(43, 43, 43, 0.05);
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.season-item {
  border-left: 2px solid var(--theme-accent);
  padding-left: 1.5rem;
}

.season-item h4 {
  font-family: 'Cinzel', serif;
  color: var(--theme-accent);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.season-item p {
  font-size: 0.9rem;
  color: rgba(43, 43, 43, 0.75);
  margin: 0;
}


.realm-expeditions {
  padding: 6rem 0;
}

.light-exp-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  border: 1px solid rgba(43, 43, 43, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.light-exp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.light-exp-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.light-exp-content {
  padding: 2.5rem;
  text-align: center;
}

.light-exp-content h3 {
  font-family: 'Cinzel', serif;
  color: var(--realm-text);
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.light-exp-content p {
  font-size: 0.95rem;
  color: rgba(43, 43, 43, 0.7);
  margin-bottom: 2rem;
}

.btn-realm-outline {
  border: 1px solid var(--theme-accent);
  color: var(--theme-accent);
}

.btn-realm-outline:hover {
  background: var(--theme-accent);
  color: #fff;
}


.realm-nav-actions {
  padding: 4rem 0 6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.back-link {
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.3s ease;
}
.back-link:hover { color: var(--theme-accent); }