* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Press Start 2P", cursive;
}

body {
  background: #1a1a2e;
  overflow: hidden;
}

/* Pixel sky particles */
#pixel-canvas {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Main container */
#loading-screen {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 20px;
  text-align: center;
}

/* Logo section */
.logo-section {
  margin-bottom: 30px;
  animation: fadeIn 1s ease-out;
}

.gt-character {
  width: 90px;
  image-rendering: pixelated;
  animation: float 2.5s infinite ease-in-out;
}

#brand {
  font-size: 22px;
  margin-top: 10px;
}

#brand span {
  color: #00dcff;
}

.subtitle {
  font-size: 10px;
  margin-top: 5px;
  color: #b8e3ff;
}

/* Loader */
#loader-container {
  width: 90%;
  max-width: 500px;
  text-align: center;
  margin-bottom: 20px;
}

#progress-bar {
  width: 100%;
  background: #293b5f;
  height: 18px;
  border: 3px solid #00eaff;
  border-radius: 6px;
  overflow: hidden;
}

#progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00eaff, #00a2ff);
  box-shadow: 0 0 10px #00eaff;
  transition: width 0.25s ease-out;
}

#loader-text {
  margin-top: 10px;
  font-size: 11px;
}

#percent {
  margin-top: 6px;
  font-size: 14px;
}

/* Info section */
#info-section {
  margin-top: 15px;
}

#tip-text {
  font-size: 10px;
  color: #ffe18a;
  margin-bottom: 12px;
  padding: 0 10px;
}

.stats {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.stats div {
  background: #162447;
  padding: 8px 15px;
  border: 2px solid #00eaff;
  border-radius: 6px;
  font-size: 10px;
  width: 90px;
  text-align: center;
  box-shadow: 0 0 10px #00eaff50;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------- */
/*               MOBILE FIXES                  */
/* ------------------------------------------- */

@media (max-width: 600px) {
  #loading-screen {
    padding-top: 80px;
    justify-content: flex-start;
  }

  .gt-character {
    width: 70px;
  }

  #brand {
    font-size: 18px;
  }

  .subtitle {
    font-size: 8px;
  }

  #progress-bar {
    height: 14px;
  }

  #loader-text {
    font-size: 9px;
  }

  #percent {
    font-size: 12px;
  }

  #tip-text {
    font-size: 9px;
  }

  .stats div {
    font-size: 9px;
    width: 80px;
    padding: 6px 10px;
  }
}
