/* ziva_microsite.css – Živa-specific styles.
   Requires gods.css (loaded first). */

/* -------------------------
  Živa colour tokens
-------------------------- */
:root{
  --bg: #060c05;
  --leaf: #6abf45;
  --bloom: #a8e06e;
  --hilight: rgb(255, 242, 166)
}

/* -------------------------
  Background layers
-------------------------- */
.bg-gradient{
  position:absolute;
  inset:0;
  background:
HEAD
    radial-gradient(circle at 50% 5%, rgba(242, 169, 0, 0.25), transparent 45%),
    radial-gradient(circle at 20% 55%, rgba(255, 216, 74, 0.2), transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(201, 90, 0, 0.25), transparent 55%),

    radial-gradient(circle at 50% 5%, rgba(255, 179, 0, 0.28), transparent 45%),
    radial-gradient(circle at 20% 55%, rgba(228, 102, 0, 0.2), transparent 50%),
    radial-gradient(circle at 80% 40%, rgba(236, 173, 0, 0.24), transparent 55%),
    0ccd58cf9f533ed72f614d00706e1d9fc6b770fd
    linear-gradient(180deg, #0B0908, #1A0F0A);
}

.bg-fog{
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle at 25% 45%, rgba(242, 169, 0, 0.3), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(201, 90, 0, 0.3), transparent 60%);
  filter: blur(22px);
  opacity: 0.90;
  animation: fogDrift 24s ease-in-out infinite;
}

@keyframes fogDrift{
  0%,100%{ transform: translate3d(0,0,0) scale(1.02); }
  50%{ transform: translate3d(1.5%, -1%, 0) scale(1.06); }
}

.bg-petals{
  position:absolute;
  inset:0;
  width: 100%;
  height: 100%;
  opacity: 0.80;
}

.bg-vignette{
  position:absolute;
  inset:0;
  background: radial-gradient(circle at center, transparent 45%, rgba(0,0,0,0.65) 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(26, 15, 10, 0.45);
  border: 1px solid rgba(255, 242, 166, 0.30);
  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(255, 242, 166, 0.18);
}

/* -------------------------
   Column page layout
-------------------------- */
.ziva-page{
  position: relative;
  z-index: 5;
}

.landing{
  position: relative;
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 0 0 40px 0;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* -------------------------
   Wheat stalk decorations
-------------------------- */
.wheat-stalk{
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  opacity: 0.55;
}

.wheat-stalk.left{
  left: 0;
  transform-origin: bottom left;
  animation: wheatSway 6s ease-in-out infinite;
}

.wheat-stalk.right{
  right: 0;
  transform-origin: bottom right;
  animation: wheatSway 7s ease-in-out infinite 0.8s;
}

@keyframes wheatSway{
  0%,100%{ transform: rotate(0deg); }
  30%{ transform: rotate(1.8deg); }
  70%{ transform: rotate(-1.4deg); }
}

.stalk-stem{
  fill: none;
  stroke: rgba(168,224,110,0.55);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.stalk-grain{
  fill: rgba(255, 196, 0, 0.55);
  stroke: rgba(255, 196, 0, 0.3);
  stroke-width: 0.8;
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.30));
  animation: grainGlow 3s ease-in-out infinite alternate;
}

@keyframes grainGlow{
  from{ opacity: 0.55; }
  to{ opacity: 0.90; }
}

.stalk-leaf{
  fill: none;
  stroke: rgba(106,191,69,0.45);
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* -------------------------
   Landing inner
-------------------------- */
.landing-inner{
  width: var(--maxw);
  max-width: 1100px;
  text-align: center;
  padding-top: 70px;
  position: relative;
  z-index: 2;
}

.landing-title{
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: clamp(4rem, 9vw, 7rem);
  letter-spacing: 0.02em;
  text-shadow:
    0 0 80px rgba(255, 242, 166, 0.60),
    0 0 160px rgba(255, 242, 166, 0.5),
    0 18px 60px rgba(0,0,0,0.70);
}

.nadpis{
  font-size: clamp(2.2rem, 2.4vw + 1rem, 3.2rem);
  margin-bottom: 12px;
}

.step-dot {
  background: rgba(255, 242, 166, 0.35);
  box-shadow: 0 0 0 6px rgba(255, 242, 166, 0.10);
  border: 1px solid rgba(255, 242, 166, 0.30);
}

/* -------------------------
   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(6, 12, 5, 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(255, 242, 166, 0.25);
}

.btn-primary{
  background: rgba(255, 242, 166, 0.20);
  border-color: rgb(255, 242, 166);
  box-shadow: 0 14px 40px rgba(106,191,69,0.18);
}

.btn-ghost{
  background: rgba(255, 242, 166, 0.10);
  border-color: rgba(255, 242, 166, 0.22);
}

/* -------------------------
Stat grid
-------------------------- */
.stat-card{
  border: 1px solid rgba(255, 242, 166, 0.10);
  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(255, 242, 166, 0.50);
  border-left: 1px solid rgba(255, 242, 166, 0.50);
  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(255, 242, 166, 0.50);
  border-right: 1px solid rgba(255, 242, 166, 0.50);
  pointer-events: none;
  z-index: 1;
}

.stat-k{
  color: rgba(168,224,110,0.85);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* -------------------------
   Symbol grid
-------------------------- */
.symbol{
  border: 1px solid rgba(106,191,69,0.10);
  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(106,191,69,0.10);
  border-radius: 14px;
  padding: 14px 14px 14px 16px;
}

/* -------------------------
   Živa totem image
-------------------------- */
.ziva-totem{
  width: 100%;
  max-width: 380px;
  display: block;
  border-radius: 18px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 60px rgba(106,191,69,0.20));
}

/* -------------------------
   Garden interaction (Mystika)
-------------------------- */
.garden-wrap{
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.garden{
  height: min(340px, 38vh);
  border-radius: 18px;
  border: 1px solid rgba(191, 173, 69, 0.22);
  background:
    radial-gradient(circle at 50% 80%, rgba(191, 173, 69, 0.15), transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(212,175,55,0.06), transparent 45%),
    linear-gradient(180deg, rgba(10, 9, 4, 0.95), rgba(18, 17, 6, 0.5));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}

.garden-glow{
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 60%,
    rgba(191, 173, 69, 0.55),
    rgba(224, 216, 110, 0.18) 45%,
    rgba(212,175,55,0.10) 70%,
    transparent 88%
  );
  opacity: 0;
  transition: opacity 600ms ease;
  pointer-events: none;
}

.garden-bloom-burst{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.garden-bloom-burst span{
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 14px;
  height: 14px;
  background:
    radial-gradient(ellipse 45% 50% at 50% 10%, var(--col, #6abf45) 75%, transparent 100%),
    radial-gradient(ellipse 45% 50% at 50% 90%, var(--col, #6abf45) 75%, transparent 100%),
    radial-gradient(ellipse 50% 45% at 10% 50%, var(--col, #6abf45) 75%, transparent 100%),
    radial-gradient(ellipse 50% 45% at 90% 50%, var(--col, #6abf45) 75%, transparent 100%);
  opacity: 0;
}

.garden.is-blooming .garden-bloom-burst span{
  animation: petalFly var(--dur, 1.0s) ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes petalFly{
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, -80px))) scale(0.4) rotate(calc(var(--rot, 0deg) + 180deg)); }
}

.garden-rune{
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  position: relative;
  z-index: 2;
}

.garden-help{
  position: absolute;
  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);
  pointer-events: none;
  z-index: 3;
}

.garden.is-blooming .garden-glow{ opacity: 1; }
.garden.is-blooming .garden-rune{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ziva-video{
  width: 70%;
  height: auto;
  display: block;
  border-radius: 18px;
  background: #000;
}

/* -------------------------
   NAVBAR CUSTOM
-------------------------- */
.navbar {
  background-color: rgba(10, 16, 8, 0.65);
}

.navbar.scrolled {
  background-color: rgba(10, 16, 8, 0.25);
}

.nav-links a:hover{
  background: rgba(106,191,69,0.28);
}

/* Mobile nav background */
@media (max-width: 950px){
  .nav-links{
    background-color: rgba(6, 12, 5, 0.90);
  }
}

/* -------------------------
   CONTACT CUSTOM
-------------------------- */
.kontakty-dotaznik textarea:focus{
  box-shadow: 0 0 0 6px rgba(106,191,69,0.16);
}

.kontakty-dotaznik button{
  background: #FFD84A;
  color: #03100a;
}

.kontakty-dotaznik button:hover{
  background: #fcde72;
}

.form-status{
  color: rgba(255, 242, 166,0.85);
}

.ornament-frame {
  border: 1px solid rgba(255, 242, 166, 0.45);
  background: rgba(0, 0, 0, 0.35);
  animation: bloomBorderGlow 4.5s linear infinite;
}

.ornament-frame::before,
.ornament-frame::after {
  border: 1px solid rgba(255, 242, 166, 0.50);
}

@keyframes bloomBorderGlow {
  0% {
    box-shadow:
      0 0 10px rgba(191, 183, 69, 0.2),
      inset 0 0 10px rgba(191, 183, 69, 0.15);
  }
  50% {
    box-shadow:
      0 0 24px rgba(191, 183, 69, 0.50),
      inset 0 0 16px rgba(224, 212, 110, 0.28);
  }
  100% {
    box-shadow:
      0 0 10px rgba(191, 183, 69, 0.20),
      inset 0 0 10px rgba(191, 183, 69, 0.15);
  }
}
