/* ==========================================================================
   LumeVero — CINEMATIC 3D NARRATIVE STYLES
   ========================================================================== */

/* 1. Loading Screen Overlay */
#loader-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #030507;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#loader-screen.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.loader-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}

.loader-logo-img {
  height: 220px;
  width: auto;
  max-width: 620px;
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(0, 170, 85, 0.55));
  animation: logoPulse 2.2s infinite ease-in-out;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 22px rgba(0, 170, 85, 0.45)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 45px rgba(0, 170, 85, 0.85)); transform: scale(1.04); }
}

.loader-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-green);
  box-shadow: 0 0 16px var(--accent-green-glow);
  transition: width 0.2s ease-out;
}

.loader-status-text {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--accent-green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 2. Scene Progress Indicator HUD (01 / 10) */
.scene-progress-hud {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(10, 13, 18, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border-glow);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.scene-hud-num {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-green);
}

.scene-hud-total {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.scene-hud-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
  padding-left: 10px;
  border-left: 1px solid var(--surface-border);
}

/* 3. Cinematic Journey 3D Canvas Container */
#journey-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#journey-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Background Video Loop (hero fond vidéo) */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

/* 4. Hero 3D Section & Single Hero Card */
.hero-3d-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
  overflow: hidden;
}

.scene-text-overlay {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  max-width: 680px;
  width: 90%;
  text-align: center;
  background: rgba(3, 7, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 170, 85, 0.28);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 170, 85, 0.08);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scene-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0, 170, 85, 0.1);
  border: 1px solid rgba(0, 170, 85, 0.3);
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.scene-heading {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.scene-heading span {
  color: var(--accent-green);
  text-shadow: 0 0 16px var(--accent-green-glow);
}

.scene-desc {
  font-size: clamp(0.85rem, 1.2vw, 0.9375rem);
  color: var(--text-muted);
  line-height: 1.5;
}

/* 5. Holographic 3D Overlay Labels */
.hologram-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-green);
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid var(--accent-green);
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 0 16px rgba(0, 170, 85, 0.4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

/* 6. Big Beautiful 3D Hero Button */
.btn-hero-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 32px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--accent-green);
  box-shadow: 0 6px 0 #00aa44, 0 10px 26px rgba(0, 170, 85, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  top: 0;
  text-decoration: none;
}

.btn-hero-3d:hover {
  top: 3px;
  box-shadow: 0 3px 0 #00aa44, 0 6px 20px rgba(0, 170, 85, 0.65);
  background: var(--accent-green-hover);
  color: #ffffff;
}

.btn-hero-3d:active {
  top: 6px;
  box-shadow: 0 0 0 #00aa44, 0 3px 12px rgba(0, 170, 85, 0.5);
}

.btn-hero-3d:disabled,
.btn-hero-3d[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  top: 0;
  pointer-events: none;
}

/* Comprehensive Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-3d-section {
    min-height: 100vh;
    padding-bottom: 24px;
  }
  .scene-text-overlay {
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    bottom: 28px;
    padding: 18px 24px;
  }
  .scene-heading {
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  .hero-3d-section {
    min-height: 100vh;
    padding-bottom: 16px;
  }
  .scene-text-overlay {
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    bottom: 18px;
    padding: 16px 18px;
    border-radius: 14px;
  }
  .scene-badge-pill {
    font-size: 0.65rem;
    padding: 3px 10px;
    margin-bottom: 6px;
  }
  .scene-heading {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .scene-desc {
    font-size: 0.8125rem;
    line-height: 1.45;
  }
  .btn-hero-3d {
    width: 100%;
    padding: 11px 20px;
    font-size: 0.95rem;
  }
  .scene-progress-hud {
    bottom: 16px;
    right: 16px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .loader-logo-img {
    height: 130px;
    max-width: 360px;
  }
  .scene-text-overlay {
    width: 94%;
    bottom: 14px;
    padding: 14px 14px;
  }
  .scene-heading {
    font-size: 1.05rem;
  }
  .scene-desc {
    font-size: 0.775rem;
  }
}
