/* ===================================
   TEAM SAMSARA - LOADING SCREEN
   =================================== */

/* Loading Sequence Container */
.loading-sequence {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1f1f 0%, #081414 50%, #0d1a1a 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.loading-sequence.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Loading content wrapper */
.loading-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ========== LOGO ========== */
.loading-logo {
  opacity: 0;
  transform: scale(0.5);
  animation: logoAppear 1s ease-out forwards, logoPulse 3s ease-in-out 1s infinite;
  margin-bottom: 40px;
  position: relative;
  cursor: pointer;
}

.loading-logo svg {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 0 30px rgba(149, 236, 93, 0.6));
  transition: all 0.3s ease;
}

.loading-logo:hover svg {
  filter: drop-shadow(0 0 50px rgba(149, 236, 93, 0.9)) brightness(1.3);
}

/* ========== TYPOGRAPHY ========== */
.loading-text {
  opacity: 0;
  transform: translateY(20px);
  animation: textAppear 0.8s ease-out 1.2s forwards;
  margin-bottom: 30px;
}

.loading-text h1 {
  font-size: 48px;
  font-weight: bold;
  color: var(--color-primary);
  letter-spacing: 4px;
  font-style: italic;
  text-align: center;
}

/* ========== SUBTITLE ========== */
.loading-subtitle {
  opacity: 0;
  animation: textAppear 0.8s ease-out 1.8s forwards;
  margin-bottom: 40px;
  text-align: center;
}

.loading-subtitle h2 {
  font-size: var(--fs-45);
  font-family: var(--font-bahnschrift);
  font-weight: 300;
  color: var(--color-primary);
  letter-spacing: 3%;
  text-transform: uppercase;
}

/* ========== PROGRESS BAR ========== */
.progress-container {
  opacity: 0;
  animation: progressAppear 0.5s ease-out 2.2s forwards;
  width: 400px;
  max-width: 80vw;
}

.progress-bar-bg {
  width: 100%;
  height: 4px;
  background: var(--color-loading-bar-bg);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, #8fcc50 100%);
  border-radius: 10px;
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 20px rgba(149, 236, 93, 0.6);
}

/* Progress info container */
.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.progress-percentage {
  font-size: var(--fs-25);
  font-family: var(--font-anton);
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 2px;
}

.system-text {
  font-size: var(--fs-10);
  font-family: var(--font-corbel);
  color: rgba(149, 236, 93, 0.6);
  letter-spacing: 1px;
  text-align: right;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .loading-text h1 {
    font-size: 32px;
  }
  
  .loading-subtitle h2 {
    font-size: var(--fs-25);
  }
}