:root {
  --navy-0: #00102a;
  --navy-1: #001b4d;
  --royal: #0038a8;
  --blue: #1a56db;
  --electric: #2e7bff;
  --gold: #ffb81c;
  --gold-2: #ffd24a;
  --white: #ffffff;
  --ok: #22c55e;
  --glass: rgba(0, 27, 77, 0.58);
  --line: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: var(--text);
  font-family: "Poppins", sans-serif;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  background:
    radial-gradient(1000px 520px at 50% -12%, rgba(46, 123, 255, 0.38), transparent 58%),
    radial-gradient(720px 480px at 100% 100%, rgba(255, 184, 28, 0.1), transparent 52%),
    linear-gradient(180deg, #00245e 0%, #00102a 46%, #000814 100%);
}

.gold-veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 27, 77, 0.55), rgba(0, 16, 42, 0.72)),
    url("../img/kampus.png") center / cover no-repeat;
  opacity: 0.28;
  filter: saturate(0.85) brightness(0.7);
}

#particles-js,
#network-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#network-canvas { opacity: 0.4; }

.stage {
  position: relative;
  z-index: 2;
  height: 100vh;
  padding: 1.2vh 1.8vw 1.4vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 1.1vh;
}

.launch-header {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup img {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.logo-siobe { height: 70px; }

.header-copy .ornament {
  color: var(--gold);
  letter-spacing: 0.4em;
  font-size: 0.7rem;
}

.header-copy .kicker {
  letter-spacing: 0.46em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}

.header-copy h1 {
  margin: 0.12rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.header-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.header-meta { text-align: right; }

.meta-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-value {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 600;
}

.ghost-btn {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.console-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 240px;
  gap: 1vw;
  min-height: 0;
}

.panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  padding: 1rem 1.1rem;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  min-height: 0;
}

.panel-center {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.cinema {
  flex: 1;
  min-height: 0;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: #000814;
  display: grid;
  place-items: center;
}

.cinema-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(180deg, rgba(0, 16, 42, 0.78), transparent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--gold);
  pointer-events: none;
}

.profil-video,
.slide-stage {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.profil-video {
  object-fit: contain;
  object-position: center center;
  background: #000814;
}

.slide-stage { position: relative; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8% 7% 12%;
  background:
    linear-gradient(180deg, rgba(0, 16, 42, 0.2) 0%, rgba(0, 16, 42, 0.88) 100%),
    url("../img/kampus.png") center / cover no-repeat;
}

.slide.active {
  opacity: 1;
  transform: none;
}

.slide-kicker {
  color: var(--gold);
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
}

.slide h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  font-weight: 700;
  color: var(--white);
  max-width: 46rem;
}

.slide p {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.media-mode {
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  color: #00102a;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
}

.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

.status-list b { color: var(--white); font-weight: 600; }
.status-list b.ok { color: var(--ok); }

.status-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
  margin: 6px 8px 0 0;
  flex: none;
}

.status-note {
  margin-top: 0.9rem;
  font-size: 0.7rem;
  color: var(--muted);
}

.slide-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 3;
  pointer-events: none;
}

.slide-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--electric), var(--gold));
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.stat-card {
  background: rgba(46, 123, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.8rem 0.75rem 0.65rem;
}

.stat-card small {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-card strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.activation-dock {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
}

.auth-copy {
  justify-self: end;
  text-align: right;
  padding-right: 2vw;
}

.auth-kicker {
  letter-spacing: 0.32em;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.auth-copy h2 {
  margin: 0.2rem 0 0.35rem;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1.15;
  color: var(--white);
}

.auth-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 28rem;
  font-size: 0.86rem;
}

.fingerprint {
  width: min(26vh, 220px);
  height: min(26vh, 220px);
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
  touch-action: none;
}

.fingerprint .ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.ring-track, .ring-value {
  fill: none;
  stroke-width: 6;
}

.ring-track { stroke: rgba(255, 255, 255, 0.18); }
.ring-value {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 628;
  stroke-dashoffset: 628;
  filter: drop-shadow(0 0 8px rgba(255, 184, 28, 0.45));
}

.fp-core {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #2e7bff, #001b4d 68%);
  border: 1px solid rgba(255, 184, 28, 0.55);
  box-shadow:
    0 0 0 10px rgba(46, 123, 255, 0.16),
    0 0 42px rgba(46, 123, 255, 0.35),
    inset 0 0 30px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  display: grid;
  place-items: center;
  animation: pulse 3.2s ease-in-out infinite;
}

.fp-icon {
  width: 54%;
  height: 54%;
  stroke: #fff;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.scan {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff, var(--gold), transparent);
  animation: scan 2.8s linear infinite;
  opacity: 0.85;
}

.ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(46, 123, 255, 0.4);
  animation: rip 2.8s ease-out infinite;
}

.fingerprint.holding .fp-core {
  animation: none;
  box-shadow:
    0 0 0 12px rgba(255, 184, 28, 0.22),
    0 0 56px rgba(46, 123, 255, 0.5);
}

.fingerprint.verified .fp-core {
  background: radial-gradient(circle at 50% 30%, #22c55e, #0b3d2a 70%);
  border-color: #22c55e;
}

.toast-auth {
  position: fixed;
  left: 50%;
  bottom: 6vh;
  transform: translateX(-50%);
  z-index: 20;
  background: rgba(0, 16, 42, 0.92);
  border: 1px solid rgba(255, 184, 28, 0.45);
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
}

.seq-overlay,
.reveal,
.boot-screen,
.audio-gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
}

.boot-screen {
  background: #00102a;
  z-index: 50;
}

.boot-logo { height: 92px; margin-bottom: 1rem; }
.boot-kicker { letter-spacing: 0.28em; color: var(--gold); font-size: 0.75rem; }
.boot-inner h1 {
  font-size: 2.4rem;
  margin: 0.4rem 0 0.2rem;
  color: var(--white);
}
.boot-inner p { color: var(--muted); }
.boot-bar {
  width: min(360px, 70vw);
  height: 3px;
  margin: 1.2rem auto 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.boot-bar span {
  display: block;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, var(--electric), var(--gold));
  animation: bootload 1.4s ease-in-out infinite;
}

.audio-gate {
  z-index: 60;
  background: rgba(0, 16, 42, 0.92);
  cursor: pointer;
}
.audio-gate[hidden] { display: none; }
.audio-gate-card {
  text-align: center;
  max-width: 640px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(0, 27, 77, 0.78);
}
.audio-gate-card img { height: 92px; margin-bottom: 1rem; }
.audio-gate-card .kicker { letter-spacing: 0.36em; color: var(--gold); font-size: 0.78rem; }
.audio-gate-card h2 { margin: 0.6rem 0 0.4rem; font-size: 1.7rem; }
.audio-gate-card p { margin: 0; color: var(--muted); }

.seq-overlay {
  background: rgba(0, 16, 42, 0.82);
  backdrop-filter: blur(10px);
}
.seq-card { text-align: center; width: min(680px, 86vw); }
.seq-kicker { letter-spacing: 0.28em; color: var(--ok); font-size: 0.8rem; }
.seq-percent { font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; line-height: 1; color: var(--white); }
.seq-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin: 0.6rem 0 1rem;
}
.seq-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--electric), var(--gold));
}

.reveal {
  background:
    radial-gradient(800px 400px at 50% 30%, rgba(46, 123, 255, 0.35), transparent 60%),
    radial-gradient(500px 280px at 50% 70%, rgba(255, 184, 28, 0.12), transparent 55%),
    #000814;
  text-align: center;
  padding: 4vh 4vw;
}
.reveal-glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 123, 255, 0.28), transparent 65%);
  filter: blur(10px);
}
.reveal-unived {
  position: relative;
  height: 72px;
  margin-bottom: 0.6rem;
}
.reveal-logo {
  position: relative;
  height: min(26vh, 220px);
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}
.reveal h1 {
  position: relative;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  margin: 0;
  letter-spacing: 0.08em;
  color: var(--white);
}
.reveal h2 {
  position: relative;
  margin: 0.2rem 0 0.8rem;
  color: var(--gold);
  letter-spacing: 0.28em;
  font-size: clamp(0.95rem, 2vw, 1.4rem);
}
.tagline { position: relative; color: var(--muted); }
.enter-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  min-width: 280px;
  min-height: 64px;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  color: #00102a;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  font-weight: 700;
  letter-spacing: 0.16em;
  box-shadow: 0 12px 30px rgba(255, 184, 28, 0.28);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes scan {
  0% { top: 18%; opacity: 0; }
  15% { opacity: 1; }
  100% { top: 82%; opacity: 0; }
}
@keyframes rip {
  0% { transform: scale(0.92); opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0; }
}
@keyframes bootload {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

@media (max-width: 1100px) {
  .launch-header,
  .console-grid,
  .activation-dock {
    grid-template-columns: 1fr;
  }
  .header-meta, .auth-copy, .brand-lockup {
    text-align: center;
    justify-content: center;
    justify-self: center;
  }
  .stage { overflow: auto; height: 100%; }
  body { overflow: auto; }
  .cinema { min-height: 42vh; }
}
