:root {
  --bg-color: #ffffff;
  /* Pure white background */
  --text-primary: #3b2a6b;
  /* Deep retro purple */
  --text-secondary: #5e479e;
  /* Lighter purple */
  --accent-purple-1: #6b4c9a;
  /* Medium purple */
  --accent-purple-2: #8a64c8;
  /* Bright purple */
  --retro-border: #3b2a6b;
  --nav-height: 80px;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* --------------- Retro Spline Background --------------- */
.spline-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-color: var(--bg-color);
  overflow: hidden;
}

.spline {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* Ensure the paths stretch nicely */
  transform: scale(3) translate(0, 5%);
}

.spline path {
  vector-effect: non-scaling-stroke;
}

/* Individual lines with distinct colors and thicknesses */
.line-1 {
  stroke: var(--accent-purple-2);
  stroke-width: 40 !important;
}

.line-2 {
  stroke: var(--accent-purple-1);
  stroke-width: 40 !important;
}

.line-3 {
  stroke: var(--text-primary);
  stroke-width: 25 !important;
}

.line-4 {
  stroke: var(--accent-purple-2);
  stroke-width: 30 !important;
}

.line-5 {
  stroke: var(--text-secondary);
  stroke-width: 35 !important;
}

.line-6 {
  stroke: var(--accent-purple-1);
  stroke-width: 35 !important;
}

.line-7 {
  stroke: var(--text-primary);
  stroke-width: 35 !important;
}

.line-8 {
  stroke: var(--accent-purple-2);
  stroke-width: 45 !important;
}

.line-9 {
  stroke: var(--accent-purple-1);
  stroke-width: 60 !important;
}

.line-10 {
  stroke: var(--text-secondary);
  stroke-width: 90 !important;
}


.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.85) 100%);
}


/* --------------- Navigation --------------- */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-color);
  border-bottom: 4px solid var(--retro-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 100;
  box-shadow: 0 4px 0 rgba(59, 42, 107, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.nav-logo img {
  height: 36px;
  width: auto;
  border: 2px solid var(--retro-border);
  border-radius: 8px;
  background: white;
  padding: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 8px;
  border: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--accent-purple-1);
  color: var(--bg-color);
  border: 2px solid var(--retro-border);
  border-radius: 4px;
  box-shadow: 4px 4px 0 rgba(59, 42, 107, 0.5);
  transform: translate(-2px, -2px);
}

/* --------------- Hero Section --------------- */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5%;
}

.glass-panel {
  background: #ffffff;
  border: 4px solid var(--retro-border);
  border-radius: 16px;
  padding: 4rem;
  max-width: 800px;
  text-align: center;
  box-shadow: 12px 12px 0 var(--retro-border);
  position: relative;
  z-index: 10;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-purple-2);
  border: 3px solid var(--retro-border);
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--retro-border);
}

h1 {
  font-size: 7rem;
  font-weight: 900;
  letter-spacing: -3px;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-shadow: 4px 4px 0 #fff, 8px 8px 0 var(--accent-purple-2);
  line-height: 1.1;
  text-transform: uppercase;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 2rem;
  color: var(--accent-purple-1);
  text-transform: uppercase;
  text-shadow: 2px 2px 0 var(--retro-border);
}

.loading-wrapper {
  width: 100%;
  max-width: 400px;
  height: 24px;
  background-color: var(--bg-color);
  border: 3px solid var(--retro-border);
  border-radius: 12px;
  margin: 0 auto 2.5rem;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 4px 4px 0 var(--retro-border);
}

.loading-bar {
  width: 60%; /* Represents current progress */
  height: 100%;
  background-color: var(--accent-purple-2);
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 20px 20px;
  border-right: 3px solid var(--retro-border);
  animation: move-stripes 1s linear infinite, load-progress 4s ease-out forwards;
}

@keyframes move-stripes {
  0% { background-position: 0 0; }
  100% { background-position: 20px 0; }
}

@keyframes load-progress {
  0% { width: 0%; }
  100% { width: 75%; }
}

p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 600;
  border: 2px dashed var(--accent-purple-1);
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}



@media (max-width: 768px) {
  h1 {
    font-size: 4rem;
  }

  .glass-panel {
    padding: 2rem;
    margin: 1rem;
    box-shadow: 8px 8px 0 var(--retro-border);
  }
}