@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;600;800&display=swap');

:root {
  --bg-color: #000000;
  --text-white: #ffffff;
  --text-gray: #aaaaaa;
  --font-primary: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-white);
  font-family: var(--font-primary);
  overflow-x: hidden;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   WebGL Background
========================================= */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background-color: transparent;
}

#vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.9) 100%);
  pointer-events: none;
  z-index: 1;
}

/* =========================================
   UI Elements
========================================= */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.nav-logo {
  height: 90px;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-btn {
  text-decoration: none;
  padding: 0.8rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: transparent;
  color: var(--text-white);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-white);
}

.register-btn {
  background: var(--text-white);
  color: var(--bg-color);
  border-color: var(--text-white);
}

.register-btn:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--bg-color);
  border-color: var(--text-white);
}

/* =========================================
   Scroll Content
========================================= */
.scroll-container {
  position: relative;
  z-index: 10;
}

.section-wrapper {
  height: 250vh;
  position: relative;
}

.section-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 6rem;
  pointer-events: none;
}

.section-content {
  max-width: 800px;
  width: 100%;
  pointer-events: auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.4rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  display: block;
}

.section-title {
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: var(--text-white);
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.section-desc {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  font-weight: 400;
  color: var(--text-gray);
  line-height: 1.6;
}

.text-left { text-align: left; }
.text-center { text-align: center; }

/* =========================================
   Loader
========================================= */
#loader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-color);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 2s ease, visibility 2s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-brand {
  margin-bottom: 3rem;
}

.progress-bar-horizontal {
  width: 250px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
}

.progress-fill-horizontal {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--text-white);
  transition: width 2s cubic-bezier(0.2, 0, 0, 1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  nav { 
    padding: 1rem 1.5rem; 
  }
  
  .nav-logo {
    height: 50px; /* Smaller elegant logo */
  }

  .nav-actions {
    gap: 0.5rem; /* Tighter gap */
  }

  .nav-btn {
    padding: 0.5rem 1rem; /* Sleeker padding */
    font-size: 0.8rem; /* Smaller, modern font size */
    font-weight: 500; /* Slightly less heavy */
    border-radius: 20px;
  }

  .section-sticky { padding: 0 2rem; }
  .section-title { font-size: 2.5rem; }
}

/* =========================================
   Footer
========================================= */
.site-footer {
  text-align: center;
  padding: 4rem 2rem 2rem;
  color: var(--text-gray);
  font-size: 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.site-footer a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s;
}

.site-footer a:hover {
  border-color: var(--text-white);
}
