/* Archetype 7: Dark Sovereign Temple (mojiecloud.cfd) */
:root {
  --primary: #d4af37;
  --secondary: #eab308;
  --accent: #fde047;
  --bg: #07070a;
  --panel: #101117;
  --border: #282a36;
  --text: #f8fafc;
  --muted: #94a3b8;
  --link-color: #fde047;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: Georgia, -apple-system, "Songti SC", serif; line-height: 1.7; }
a { color: var(--link-color); text-decoration: none; }
a:visited { color: var(--link-color); }
a:hover { color: var(--primary); text-decoration: underline; }

/* Symmetrical Classical Temple Nav (Left 3 - Center Crest - Right 3) */
.temple-nav { border-bottom: 1px solid var(--border); padding: 20px 0; background: rgba(7, 7, 10, 0.96); position: sticky; top: 0; z-index: 99; }
.temple-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.temple-nav-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.temple-nav-left { list-style: none; display: flex; gap: 24px; }
.temple-nav-right { list-style: none; display: flex; gap: 24px; justify-content: flex-end; align-items: center; }
.temple-nav a { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.temple-nav a:hover { color: var(--accent); }
.temple-crest { font-size: 24px; font-weight: 900; letter-spacing: 3px; color: var(--accent); text-align: center; }
.btn-temple-gold { background: linear-gradient(135deg, var(--primary), #92400e); color: #fff !important; padding: 8px 20px; border-radius: 4px; font-weight: 700; font-size: 13px; letter-spacing: 1px; border: 1px solid var(--primary); text-decoration: none !important; }

/* Cinematic Centerpiece Hero */
.temple-hero { padding: 80px 0 60px; text-align: center; border-bottom: 1px solid var(--border); }
.temple-halo-ring { max-width: 480px; margin: 0 auto 30px; }
.temple-hero-title { font-size: 54px; font-weight: 900; letter-spacing: 2px; line-height: 1.2; margin-bottom: 20px; }
.temple-hero-title span { color: var(--primary); }
.temple-hero-lead { font-size: 18px; color: var(--muted); max-width: 760px; margin: 0 auto 36px; line-height: 1.8; }
.temple-hero-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* The Three Pillars Architecture (Tall arched monoliths) */
.pillars-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.pillar-card { background: var(--panel); border: 1px solid var(--border); border-radius: 120px 120px 12px 12px; padding: 60px 32px 40px; text-align: center; display: flex; flex-direction: column; position: relative; }
.pillar-card::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; background: var(--primary); border-radius: 2px; }
.pillar-card h3 { font-size: 22px; margin-bottom: 14px; color: var(--accent); }
.pillar-card p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* Golden Scroll Tiers */
.scroll-tier-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.tier-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.temple-tier-card { background: var(--panel); border: 1px solid var(--border); padding: 40px 32px; text-align: center; border-radius: 8px; }
.temple-tier-card.featured { border-color: var(--primary); box-shadow: 0 0 40px rgba(212, 175, 55, 0.15); }
.temple-tier-price { font-size: 42px; font-weight: 900; margin: 18px 0; color: var(--text); }

/* Monolithic Temple Footer */
.temple-footer { padding: 80px 0 40px; text-align: center; }
.temple-footer-links { list-style: none; display: flex; justify-content: center; gap: 32px; margin-bottom: 24px; font-size: 14px; }
.temple-footer-links a { color: var(--muted); }
.temple-footer-links a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .temple-nav-grid { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .temple-nav-left, .temple-nav-right { justify-content: center; }
  .temple-hero-title { font-size: 36px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .tier-columns { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Hero SVG Motion Core & Animation Keyframes (Guaranteed Visibility)
   ========================================================================== */
.motion-art-frame {
  width: 100% !important;
  max-width: 480px !important;
  min-height: 280px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.motion-svg {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  min-height: 260px !important;
  display: block !important;
  overflow: visible !important;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.65)) !important;
}

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

@keyframes creamBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes berryFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

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

@keyframes bubbleFloat {
  0% { transform: translateY(0); opacity: 0.25; }
  50% { opacity: 0.9; }
  100% { transform: translateY(-24px); opacity: 0; }
}

@keyframes ringFloat {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-10px) rotate(-8deg); }
}

@keyframes runeShimmer {
  0%, 100% { opacity: 0.35; stroke-dashoffset: 0; }
  50% { opacity: 1; stroke-dashoffset: 24; }
}

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

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

@keyframes stepPulse {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

@keyframes cloudDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(16px); }
}

@keyframes rayAscend {
  0% { stroke-dashoffset: 20; opacity: 0.2; }
  50% { opacity: 0.95; }
  100% { stroke-dashoffset: 0; opacity: 0.2; }
}

.glow-pulse { animation: glowPulse 4s ease-in-out infinite; transform-origin: center; }
.cream-bounce { animation: creamBounce 3.5s ease-in-out infinite; }
.berry-float { animation: berryFloat 3s ease-in-out infinite; transform-origin: 230px 85px; }
.straw-shake { animation: strawShake 4s ease-in-out infinite; transform-origin: 210px 250px; }
.bubble-float-1 { animation: bubbleFloat 3s ease-in-out infinite; }
.bubble-float-2 { animation: bubbleFloat 4.2s ease-in-out infinite 0.8s; }
.bubble-float-3 { animation: bubbleFloat 3.6s ease-in-out infinite 1.5s; }

.ring-float { animation: ringFloat 5s ease-in-out infinite; }
.rune-shimmer { animation: runeShimmer 3s ease-in-out infinite; }
.orbital-spin { animation: spinCW 25s linear infinite; transform-origin: 230px 180px; }
.ring-spin-cw { animation: spinCW 18s linear infinite; transform-origin: 230px 180px; }
.ring-spin-ccw { animation: spinCCW 24s linear infinite; transform-origin: 230px 180px; }

.step-pulse-1 { animation: stepPulse 3s ease-in-out infinite 0s; }
.step-pulse-2 { animation: stepPulse 3s ease-in-out infinite 0.7s; }
.step-pulse-3 { animation: stepPulse 3s ease-in-out infinite 1.4s; }
.step-pulse-4 { animation: stepPulse 3s ease-in-out infinite 2.1s; }
.cloud-drift-1 { animation: cloudDrift 6s ease-in-out infinite; }
.cloud-drift-2 { animation: cloudDrift 7s ease-in-out infinite 1s; }
.ray-ascend { animation: rayAscend 2.5s linear infinite; }
.crystal-spin { animation: spinCW 12s linear infinite; transform-origin: center; }
.mint-leaf-float { animation: berryFloat 4s ease-in-out infinite; transform-origin: 230px 95px; }

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
