/* morana_microsite.css – Morana-specific styles.
   Requires gods.css (loaded first). */

/* -------------------------
   Morana colour tokens
-------------------------- */
:root{
  --bg: #0e1114;
  --ice: #b9d6ff;
}

/* -------------------------
   Background layers
-------------------------- */
.bg-gradient{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 30% 10%, rgba(82, 154, 255, 0.1), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1), transparent 55%),
    linear-gradient(180deg, #0c0f12, #07080a);
}

.bg-fog{
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 25% 40%, rgba(255,255,255,0.06), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(185,214,255,0.05), transparent 60%);
  filter: blur(20px);
  opacity: 0.85;
  animation: fogDrift 18s ease-in-out infinite;
}

@keyframes fogDrift{
  0%,100%{ transform: translate3d(0,0,0) scale(1.02); }
  50%{ transform: translate3d(-2%, 1%, 0) scale(1.06); }
}

.bg-snow{
  position:absolute;
  inset:0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.bg-vignette{
  position:absolute;
  inset:0;
  background: radial-gradient(circle at center, transparent 45%, rgba(0,0,0,0.55) 100%);
}

/* -------------------------
   Top chips
-------------------------- */
.rune-chip{
  font-family: "Cinzel", serif;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(21, 25, 29, 0.45);
  border: 1px solid rgba(185, 214, 255, 0.3);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
}

.rune-chip.subtle{
  letter-spacing: 0.08em;
  color: var(--muted);
  border-color: rgba(185,214,255,0.18);
}

/* -------------------------
   Column page layout
-------------------------- */
.morana-page{
  position: relative;
  z-index: 5;
  /* padding-top: var(--nav-h); */
}

.landing{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 0 0 40px 0;
  padding-top: var(--nav-h);
}

.landing-inner{
  width: var(--maxw);
  max-width: 1100px;
  text-align: center;
  padding-top: 70px;
}

.landing-title{
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: clamp(4rem, 9vw, 7rem);
  letter-spacing: 0.02em;
  text-shadow: 0 0 80px rgba(185,214,255,0.45), 0 0 160px rgba(130,170,230,0.22), 0 18px 60px rgba(0,0,0,0.65);
}

.hint{
  margin-top: 18px;
  color: rgba(185,214,255,0.75);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.nadpis{
  font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem);
  margin-bottom: 12px;
}

.step-dot {
  background: rgba(185,214,255, 0.35);
  box-shadow: 0 0 0 6px rgba(76, 95, 169, 0.10);
  border: 1px solid rgba(185,214,255,0.25);
}

/* -------------------------
   Buttons
-------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(21, 25, 29, 0.25);
  color: var(--text);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(185,214,255,0.18);
}
/* 0.22 */
.btn-primary{
  background: rgba(76, 95, 169, 0.19);
  border-color: rgb(76, 95, 169);
  box-shadow: 0 14px 40px rgba(48, 54, 79, 0.18);
}

.btn-ghost{
  background: rgba(76, 95, 169, 0.19);
  border-color: rgba(185,214,255,0.18);
}

/* -------------------------
   Stat grid
-------------------------- */
.stat-card{
  border: 1px solid rgba(76, 95, 169, 0.14);
  border-radius: 14px;
  position: relative;
  padding: 14px;
}

/* Top-left corner accent */
.boxik::before {
  content: '';
  position: absolute;
  top: -7px;
  left: -7px;
  width: 30px;
  height: 30px;
  border-top: 1px solid rgba(76, 95, 169, 0.5);
  border-left: 1px solid rgba(76, 95, 169, 0.5);
  pointer-events: none;
  z-index: 1;
}

/* Bottom-right corner accent */
.boxik::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 30px;
  height: 30px;
  border-bottom: 1px solid rgba(76, 95, 169, 0.5);
  border-right: 1px solid rgba(76, 95, 169, 0.5);
  pointer-events: none;
  z-index: 1;
}

.stat-k{
  color: rgba(185,214,255,0.8);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* -------------------------
   Symbol grid
-------------------------- */
.symbol{
  border: 1px solid rgba(76, 95, 169, 0.14);
  border-radius: 14px;
  padding: 16px;
  min-height: 170px;
  position: relative;
}

/* -------------------------
   Timeline
-------------------------- */
.step{
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(76, 95, 169, 0.14);
  border-radius: 14px;
  padding: 14px 14px 14px 16px;
}

/* -------------------------
   Mirror interaction
-------------------------- */
.mirror-wrap{
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.mirror{
  height: min(340px, 38vh);
  border-radius: 18px;
  border: 1px solid rgba(185,214,255,0.16);
  background:
    radial-gradient(circle at 30% 20%, rgba(185,214,255,0.12), transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(212,175,55,0.08), transparent 45%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.9), rgba(20, 24, 28, 0.35));
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.mirror-rune{
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: clamp(3.6rem, 7vw, 5rem);
  color: rgba(185,214,255,0.88);
  text-shadow: 0 18px 60px rgba(0,0,0,0.65);
  opacity: 0.0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  position: relative;
  z-index: 2;
}

.mirror-help{
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(233,224,212,0.75);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  position: absolute;
  z-index: 2;
}

.mirror-frost{
  position:absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(185,214,255,0.18), transparent 48%),
    radial-gradient(circle at 70% 60%, rgba(185,214,255,0.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  opacity: 0.92;
  transition: opacity 700ms var(--ease-out);
  filter: blur(1px);
}

/* Snowflake-vibe gradient overlay that reveals when mirror is active */
.mirror-reveal-glow{
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(76, 94, 169, 0.65),
    rgba(76, 95, 169, 0.2) 55%,
    rgba(76, 95, 169,0.12) 75%,
    transparent 88%
  );
  opacity: 0;
  transition: opacity 500ms var(--ease-out);
  pointer-events: none;
  z-index: 1;
}

.mirror.is-revealed .mirror-frost{ opacity: 0.15; }
.mirror.is-revealed .mirror-reveal-glow{ opacity: 1; }
.mirror.is-revealed .mirror-rune{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mirror-caption{
  color: rgba(233,224,212,0.78);
}

/* -------------------------
   Video element
-------------------------- */
.morana-video{
  width: 70%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: #000;
}

/* -------------------------
NAVBAR CUSTOM
-------------------------- */
.navbar {
  background-color: rgba(16, 18, 22, 0.75);
}

.navbar.scrolled {
  background-color: rgba(16, 18, 22, 0.25);
}

.nav-links a:hover{
  background: #30364F;
}

/* Mobile nav background */
@media (max-width: 950px){
  .nav-links{
    background-color: rgba(16, 18, 22, 0.82);
  }
}

/* -------------------------
CONTACT CUSTOM
-------------------------- */
.kontakty-dotaznik textarea:focus{
  box-shadow: 0 0 0 6px rgba(76, 94, 169, 0.16);
}

.kontakty-dotaznik button{
  background: #4c5fa9;
  color: var(--text);
}

.kontakty-dotaznik button:hover{
  background: #566dc8;
}

.form-status{
  color: rgba(76, 94, 169, 0.85);
}

.ornament-frame {
    border: 1px solid rgba(76, 95, 169, 0.5);
    background: rgba(0, 0, 0, 0.35);
    animation: iceBorderGlow 4.5s linear infinite;
}

.ornament-frame::before,
.ornament-frame::after {
    border: 1px solid rgba(76, 95, 169, 0.5);
}

@keyframes iceBorderGlow {
    0% {
        box-shadow:
            0 0 10px rgba(76, 94, 169, 0.25),
            inset 0 0 10px rgba(76, 94, 169, 0.35);
    }
    50% {
        box-shadow:
            0 0 20px rgba(76, 94, 169, 0.45),
            inset 0 0 15px rgba(76, 94, 169, 0.25);
    }
    100% {
        box-shadow:
            0 0 10px rgba(76, 94, 169, 0.2),
            inset 0 0 10px rgba(76, 94, 169, 0.15);
    }
}