body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
  overflow: hidden;
}

/* CONNECTING SCREEN */
.connecting-screen {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(74,163,255,0.2), transparent),
    linear-gradient(180deg, #050d1a, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: 0.8s ease;
}

.connecting-box {
  text-align: center;
  color: #fff;
  max-width: 400px;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
}

.logo span {
  color: #4aa3ff;
}

/* LOADER */
.loader-ring {
  width: 70px;
  height: 70px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top: 4px solid #4aa3ff;
  border-radius: 50%;
  margin: auto;
  animation: spin 1s linear infinite;
}

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

.connecting-box h2 {
  margin-top: 20px;
}

.connecting-box p {
  opacity: 0.7;
}

/* STEPS */
.steps {
  margin-top: 30px;
}

.step {
  opacity: 0.3;
  margin: 8px 0;
  transition: 0.3s;
}

.step.active {
  opacity: 1;
  color: #4aa3ff;
}

/* FRAME */
.frame-wrap {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  transform: scale(1.05);
  transition: 1s ease;
}

.frame-wrap.active {
  opacity: 1;
  transform: scale(1);
}

.frame {
  width: 100%;
  height: 100%;
  border: none;
}