/* ===== ROOT VARIABLES ===== */
:root {
  --bg-0: #080a07;
  --bg-1: #0e1109;
  --green: #9dc209;
  --green-lt: #bfe22a;
  --green-dk: #5e7a06;
  --orange: #e8773c;
  --orange-lt: #ff9351;
  --glass: #9ba29b;
  --glass-hi: #f4f6ec;
  --coral: #e8845a;
  --white: #f4f7ee;
  --font: 'Outfit', system-ui, sans-serif;
}


/* ===== LOADER SHELL ===== */
.loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  z-index: 99999;
  background: radial-gradient(120% 80% at 50% -10%, #14180c 0%, #0e1109 38%, #080a07 100%);
  transition: opacity .7s ease, visibility .7s ease;
}
.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ===== AURA & ORBITS ===== */
.aura {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(157,194,9,.20) 0%, rgba(157,194,9,.06) 38%, transparent 66%);
  filter: blur(8px);
  animation: auraPulse 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes auraPulse {
  0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.94); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.06); }
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(157,194,9,.22);
  pointer-events: none;
}
.orbit.o1 { width: 230px; height: 230px; top: 8%;    left: 11%;  animation: spin 34s linear infinite; }
.orbit.o2 { width: 300px; height: 300px; bottom: 4%; right: 7%;  animation: spin 46s linear infinite reverse; }

.dot-far { position: absolute; border-radius: 50%; background: rgba(157,194,9,.5); }
.dot-far.d1 { width: 10px; height: 10px; top: 20%;    left: 24%; }
.dot-far.d2 { width: 7px;  height: 7px;  bottom: 24%; right: 20%; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== FLASK ANIMATION ===== */
.flask-stage {
  position: relative;
  width: 300px;
  height: 360px;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.55));
}
svg.flask {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.glass { filter: drop-shadow(0 3px 5px rgba(0,0,0,.5)); }
.glass-base {
  fill: rgba(255,255,255,.02);
  stroke: var(--glass);
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.glass-hi {
  fill: none;
  stroke: var(--glass-hi);
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.glass-shine {
  stroke: rgba(255,255,255,.45);
  stroke-width: 3.5;
  stroke-linecap: round;
  fill: none;
}

.bolt { animation: boltGlow 2.2s ease-in-out infinite; }
.bolt-main   { fill: url(#boltGrad); }
.bolt-shadow { fill: #bf5a22; opacity: .42; }
@keyframes boltGlow {
  0%, 100% {
    opacity: .94;
    filter: drop-shadow(0 0 5px rgba(232,119,60,.4)) drop-shadow(0 0 12px rgba(232,119,60,.22));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(255,160,90,.85)) drop-shadow(0 0 26px rgba(232,119,60,.5));
  }
}

/* ===== LIQUID EFFECTS ===== */
.liquid-group {
  animation: breathe 3.4s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { filter: brightness(1)    saturate(1); }
  50%       { filter: brightness(1.12) saturate(1.18); }
}

.surface { fill: var(--coral); animation: bob 2.8s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { opacity: .8; }
  50%       { opacity: .95; }
}

.flask-glow {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157,194,9,.35) 0%, rgba(157,194,9,.14) 40%, transparent 70%);
  filter: blur(6px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: shimmer 3.4s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: .5;  transform: translate(-50%, -50%) scale(.92); }
  50%       { opacity: .95; transform: translate(-50%, -50%) scale(1.05); }
}

/* ===== BRAND SECTION ===== */
.brand {
  margin-top: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.brand-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 78vw;
  margin: 0 auto;
  object-fit: contain;
}
.brand-fallback { display: none; }
.brand h1 {
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: .04em;
  line-height: 1;
  color: #ffffff !important;
  position: relative;
  display: inline-block;
}
.brand h1 .reg {
  font-size: .85rem;
  vertical-align: super;
  color: var(--green);
  font-weight: 600;
}
.brand .tag {
  margin-top: 8px;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .62em;
  text-indent: .62em;
  color: rgba(244,247,238,.55);
  text-transform: uppercase;
}

/* ===== PROGRESS BAR ===== */
.progress-wrap {
  margin-top: 26px;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-lt) 28%, var(--green) 70%, var(--green-lt) 100%);
  box-shadow: 0 0 14px rgba(157,194,9,.55);
  transition: width .25s ease;
}
.bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  transform: translateX(-120%);
  animation: sweep 1.6s ease-in-out infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
.meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.meta .status { color: rgba(244,247,238,.45); }
.meta .pct    { color: var(--green-lt); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 480px) {
  .flask-stage   { width: 150px; height: 180px; margin-bottom: 24px; }
  .brand h1      { font-size: 1.6rem; }
  .brand-logo    { height: 32px; margin-bottom: -4px; }
  .progress-wrap { width: 180px; }
  .orbit.o1, .orbit.o2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aura, .orbit, .bubble, .surface, .bolt, .flask-glow, .liquid-group, .bar-fill::after {
    animation: none;
  }
}


