:root {
  --rocket-track: 45000px;
}

#rocket-track {
  height: var(--rocket-track);
}




html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Oxanium', sans-serif;
  background: #000;
}


#three-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}


#content {
  position: relative;
  z-index: 1;
}


.section {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  color: #fff;
  pointer-events: none;
  z-index: 2;
  padding: 4rem;
}


.section-content {
  width: 40%;
  max-width: 700px;
  text-align: left;
  position: relative; 
  padding-top: 6rem;  
}

.section .current-phase-label {
  font-family: 'Syncopate';
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgb(183, 183, 183);
  margin: 0 0 0.25rem; 
  text-align: left;
}

.section h1 {
  font-family: 'Syncopate';
  font-size: clamp(2rem, 10vw, 4rem);
  font-weight: 700;
  margin: 0px 0 2rem; 
  opacity: 0;   
  text-align: left;
}


.subphase {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s;
  font-family: 'Oxanium';
  font-weight: 400;
}

.subphase h2 {
  font-family: 'Syncopate';
  font-weight: 700;
  margin-bottom: 0;
  font-size: 1.6rem;
  color: rgb(190, 147, 105);
}

.subphase p {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1rem, 1rem, 1.25rem);
  margin-right: 10%;
  color: rgb(199, 199, 199);
}

#phase-prelaunch {
  opacity: 1;
  z-index: 10;
}
#phase-prelaunch h1,
#phase-prelaunch #subphase-alto {
  opacity: 1;
}

#overlay-text::before {
  content: '';
  position: fixed; 
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    to right, 
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;  
  pointer-events: none;
}

.subphase img {
  width: clamp(300px, 65%, 100%); 
  height: auto;                
  border-radius: 1rem;       
  display: block;                
  margin-top: 2rem;         
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.btn-outline {
  padding: 15px 20px;
  background: transparent;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s ease;
}















#timeline-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: clamp(300px, 25vw, 500px);
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('/assets/images/join-us-2/timeline-bg.png') no-repeat center top;
  background-size: 100% 100%;
  z-index: 2;

}


.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease-out;
}

.timeline-event {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-right: 0;
  box-sizing: border-box;
}

.timeline-event .labels,
.timeline-event .label {
  max-width: 75%;
  width: 100%;
  margin: 0;
  padding-left: 24%; 
  text-align: right;
}
.timeline-event.phase-first .labels {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.timeline-event .circle {
  position: absolute;
  top: 50%;
  right: var(--timeline-x);
  transform: translate(47.5%, -50%);
  border: 1px solid #fff;
  border-radius: 50%;
  background: none;
  flex-shrink: 0;
  z-index: 2;
  transition: background 0.3s;
  transform-origin: center;
}

.timeline-event.completed .circle {
  background: #fff;
}

.circle.big   { width: 20px; height: 20px; }
.circle.small { width: 10px; height: 10px; }

.phase-label {
  font-size: 1rem;
  font-weight: 700;
  color:rgb(255, 255, 255);
  font-family: 'Syncopate';
  line-height: 1;
  text-align: left;
}

.subphase-label,
.timeline-subphase .label {
  font-size: 0.9rem;
  font-weight: 200;
  color: rgb(210, 210, 210);
}

.subphase-label {
  margin-top: 0.2rem;
}

#rocket-marker {
  position: absolute;
  top: 50%;
  right: var(--timeline-x);
  transform: translate(47.5%, -50%);
  z-index: 10;
  width: 28px;
  height: auto; 
}

#rocket-marker img {
  display: block;
  width: 100%;
  height: auto;
}

#timeline-panel .timeline {
  width: 100%;
  height: 100%;
}


#timeline-panel::before,
#timeline-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 25%;
  pointer-events: none;
  z-index: 20;
}


.timeline-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1; 
}

.timeline-lines .segment {
  position: absolute;
  right: var(--timeline-x);
  width: 1px;
  background: #fff;
}


#timeline-panel .timeline {
  width: 100%;
  height: 100%;
  position: relative;


  -webkit-mask-image:  linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;

  mask-image:  linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  pointer-events: none; 
}
.timeline-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;

  
  -webkit-mask-image:  linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;

  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.timeline-header {
  position: absolute;
  top: 0%;    
  left: 55%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgb(200, 200, 200);
  font-family: 'Syncopate', sans-serif;
  z-index: 5;    
  text-align: center;
  pointer-events: none;
}

#timeline-clock {
  position: absolute;
  bottom: 4%;       
  left: 55%;
  transform: translateX(-50%);
  font-family: 'Oxanium', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  z-index: 5;
  text-align: center;
  pointer-events: none;


  background: rgba(0, 0, 0, 0.6); 
  padding: 0.4rem 0.8rem;      
  border-radius: 10px;      
  border: 1px solid rgba(255, 255, 255, 0.3);
}



#vignette-overlay {
  position: fixed;       
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%,  rgba(0, 0, 0, 0.2) 100%); 
  z-index: 1;        
}

@media (max-width: 700px) {

 
  #timeline-panel,
  .timeline,
  .timeline-lines,
  #rocket-marker,
  #timeline-clock,
  .timeline-header {
    display: none !important;
  }

 
  .section {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    height: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section-content {
    width: 90%;
    max-width: 500px;
    text-align: center;
    margin-bottom: 30vh; 
  }


  .section h1,
  .section .current-phase-label,
  .subphase h2,
  .subphase p,
  .subphase img {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .subphase img {
    width: 80%; 
    max-width: 300px;
    margin-top: 1.5rem;
  }

    .section h1 {
      font-size: 2rem;
    }
  .subphase h2 {
    font-size: 1.5rem;
  }

  .subphase p {
    margin-right: 0;
    font-size: 1rem;
  }

#overlay-text::before {
  content: '';
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom, 
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;  
  pointer-events: none;
}
}



































.scroll-down-arrow {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
}

.scroll-down-arrow p {
  margin: 0 0 5px 0;
  color: rgb(187, 187, 187);
  font-size: 1rem;
}

.scroll-down-arrow i {
  font-size: 2rem;
  display: inline-block;
  position: relative;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { top: 0; }
  40% { top: -10px; }
  60% { top: -5px; }
}

.scroll-down-arrow.hide {
  pointer-events: none;
}


