



/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --color-bg: #111111;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.7);
  --color-text-dim: rgba(255, 255, 255, 0.6);
  --color-dot: #444;
  --color-star: rgba(209, 255, 255, 1);
  /* Typography */
  --font-size-base: 0.75rem;
  --font-size-h2: 2rem;
  --font-size-h1: 3rem;
  --letter-spacing-title: -0.03em;
  --line-height: 1.4;
  /* Spacing */
  --spacing-base: 1rem;
  --spacing-sm: 0.75rem;
  --spacing-xs: 0.25rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.8s ease;
  /* Effects */
  --blur-amount: 5px;
}



/* ===== WEBGL SECTION ===== */
.sticky-container {
  position: relative;
  height: 500vh;
  width: 100%;
  margin: 0;
}

.webgl-section {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  overflow: hidden;
  /* overflow-y: visible; */
  will-change: transform, opacity, filter;
}

.canvas-container {
  width: 100%;
  height: 100%;
  position: relative;
  will-change: transform, opacity, filter;
  display: flex;
  justify-content: center;
  align-items: center;
}

canvas#space {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.animated-text {
  position: absolute;
  top: auto;
  left: 50%;
  transform: translate(-50%, calc(-50% + 40px));
  color: var(--color-text);
  font-family: 'GothicExpand' ;
  font-size: var(--font-size-h1);
  text-align: center;
  opacity: 0;
  z-index: 20;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-title);
  pointer-events: none;
  /* width: 80%;
  max-width: 800px; */
  will-change: opacity, transform, filter;
  filter: blur(8px);
  transition: filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.spaceship {
  height: 20vh;
}
.spaceship-fixed {
  position: relative;
  display: flex;
  top: -85vh;
  z-index: 61;
  pointer-events: none;
  overflow-x: hidden !important;
}

.spaceship-fixed img {
  width: 108vw;
  max-width: none;
  height: auto;
  overflow-x: hidden !important;
}

.spaceship-monitor{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-family: monospace, monospace;
  margin:20px
}

.spaceship-monitor h1,
.spaceship-monitor h2,
.spaceship-monitor h3,
.spaceship-monitor h4,
.spaceship-monitor h5,
.spaceship-monitor h6{
  font-family: monospace, monospace!important;
}

.monitor {
  background: radial-gradient(circle, rgba(255,170,0,0.2) 20%, black 100%);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.8);
  padding: 20px;
  position: relative;
  color: #ffaa00;
  text-shadow: 0 0 5px rgba(255, 200, 0, 0.8), 0 0 10px rgba(255, 140, 0, 0.5);
  overflow: hidden;
  border: 8px solid #3a2a00;
  width: 33vw;
}

/* Scanline Effect */
.monitor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    rgba(255, 170, 0, 0.05) 0px, 
    rgba(255, 170, 0, 0.05) 1px, 
    transparent 3px, 
    transparent 4px
  );
  z-index: 2;
  pointer-events: none;
}

.spaceship-row{
    position: relative;
    top: -125vh;
    z-index: 9999;
    overflow-x: hidden;
}

.text {
  font-size: 20px;
  line-height: 1.5;
  /* white-space: pre; */
}




@media screen and (max-width:768px) {

  .monitor{
    width: 69vw;
  }

  .animated-text {
    width: 100%;
    max-width: 800px;
  }

 .spaceship-fixed {
  top: -25vh;
}

.spaceship-row{
    top: -35vh;
}
  
}