/* -----------------------
   RESET BASE
------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: 'Poppins', system-ui, sans-serif;
  background: #05060a;
  color: white;
}

/* -----------------------
   FONDO ANIMADO
------------------------*/
#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  z-index: 0 !important;

  background: radial-gradient(circle at 20% 20%, #00ffd5, transparent 40%),
              radial-gradient(circle at 80% 70%, #7c4dff, transparent 40%),
              radial-gradient(circle at 50% 50%, #00ff88, transparent 50%);

  filter: blur(70px);
  opacity: 0.7;

  animation: moveBg 12s ease-in-out infinite alternate;
}
#app {
  position: relative;
  z-index: 2;
}
body {
  background: black;
}

@keyframes moveBg {
  from { transform: scale(1) rotate(0deg); }
  to { transform: scale(1.2) rotate(10deg); }
}
#background {
  border: 3px solid red;
}

/* -----------------------
   APP CONTAINER
------------------------*/
#app {
  position: relative;
  height: 100vh;
  width: 100vw;

  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* -----------------------
   SCREENS
------------------------*/
.splash,
.home {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  animation: fadeIn 0.6s ease;
}

/* -----------------------
   SPLASH
------------------------*/
.logo {
  font-size: 72px;
  margin-bottom: 10px;
  animation: float 3s ease-in-out infinite;

  text-shadow:
    0 0 10px rgba(0,255,200,0.7),
    0 0 25px rgba(124,77,255,0.5);
}

.title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;

  text-shadow:
    0 0 10px rgba(0,255,200,0.4);
}

.subtitle {
  opacity: 0.85;
  margin-bottom: 20px;
  max-width: 320px;
  line-height: 1.4;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  font-size: 16px;

  background: linear-gradient(90deg, #00ffd5, #7c4dff);
  color: #000;
  font-weight: 700;

  cursor: pointer;
}

/* -----------------------
   HOME
------------------------*/
.home {
  gap: 12px;
}

.home h1 {
  font-size: 22px;
  margin-bottom: 10px;
}

/* -----------------------
   CARDS
------------------------*/
.card {
  padding: 14px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);

  min-width: 220px;

  border: 1px solid rgba(255,255,255,0.08);
}

/* -----------------------
   TOP BAR
------------------------*/
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  padding: 14px 16px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);

  z-index: 1000;
}

.top-bar .title {
  font-size: 13px;
  font-weight: 600;
}

.top-bar .info {
  font-size: 12px;
  opacity: 0.8;
}

/* -----------------------
   BOTTOM BAR
------------------------*/
.bottom-bar {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(14px);

  z-index: 1000;
}

.bottom-bar button {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;

  padding: 8px;
  cursor: pointer;
}

/* -----------------------
   ANIMACIONES
------------------------*/
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}