:root {
  --bg:#01010a;
  --accent:#0aff6b;
  --muted: rgba(255,255,255,0.06);
}

html, body {
  height:100%;
  margin:0;
  font-family: 'Share Tech Mono', monospace;
  background:var(--bg);
  color:#e6f0ff;
  scroll-behavior:smooth;
}

/* -----------------------------
   STARFIELD + NEBULA BACKGROUND
--------------------------------*/
.stars, .stars:before, .stars:after {
  position:fixed;
  inset:0;
  content:"";
  pointer-events:none;
  z-index:0;
  background-repeat:repeat;
  will-change:transform, opacity;
}

.stars {
  background-image: radial-gradient(2px 2px rgba(255,255,255,0.9), rgba(255,255,255,0));
  background-size:50px 50px;
  opacity:0.7;
  animation: drift 80s linear infinite;
}

.stars:before {
  background-image: radial-gradient(1.4px 1.4px rgba(255,255,255,0.8), rgba(255,255,255,0));
  background-size:30px 30px;
  opacity:0.45;
  animation: drift 120s linear infinite reverse;
}

.stars:after {
  background-image: radial-gradient(0.9px 0.9px rgba(255,255,255,0.6), rgba(255,255,255,0));
  background-size:90px 90px;
  opacity:0.28;
  filter:blur(0.6px);
}

@keyframes drift {
  from { transform:translateY(0) translateX(0); }
  to   { transform:translateY(-2000px) translateX(1200px); }
}

.nebula {
  position:fixed;
  inset:0;
  z-index:0;
  mix-blend-mode:screen;
  opacity:0.95;
  pointer-events:none;
  background:
    radial-gradient(600px 300px at 10% 20%, rgba(10,20,80,0.35), transparent 15%),
    radial-gradient(500px 300px at 80% 70%, rgba(30,0,60,0.22), transparent 18%);
  animation: neb 18s linear infinite;
  filter:saturate(120%) blur(18px);
}

@keyframes neb {
  0%   { transform:translate(0,0) scale(1); }
  50%  { transform:translate(-60px,40px) scale(1.03); }
  100% { transform:translate(0,0) scale(1); }
}

/* -----------------------------
   NAVIGATION BAR
--------------------------------*/
nav {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:10;
  background:rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(255,255,255,0.05);
  padding:12px 0;
  display:flex;
  justify-content:center;
  gap:40px;
}

nav a {
  color:#b8ffd7;
  text-decoration:none;
  font-size:15px;
  letter-spacing:2px;
  transition:0.3s;
}

nav a:hover {
  color:var(--accent);
  text-shadow:0 0 8px var(--accent);
}

nav a.active {
  color:var(--accent);
  text-shadow:0 0 10px var(--accent);
}

/* -----------------------------
   MAIN HOMEPAGE LAYOUT
--------------------------------*/
.wrap {
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  padding:10vh 20px 6vh;
  z-index:2;
}

/* -----------------------------
   TITLE
--------------------------------*/
.title {
  font-family: 'Orbitron', sans-serif;
  font-size:clamp(42px, 9vw, 120px);
  letter-spacing:3px;
  line-height:0.9;
  margin:0;
  padding:0.2em 0;
  position:relative;
  color:transparent;
  -webkit-text-stroke:1px rgba(160,220,255,0.08);
  background:linear-gradient(180deg, rgba(220,240,255,0.18), rgba(120,170,255,0.06));
  -webkit-background-clip:text;
          background-clip:text;
  z-index:3;
}

/* -----------------------------
   NEON SLICED SUBTEXT
--------------------------------*/
.sliced {
  --g: var(--accent);
  font-size:clamp(18px, 3.5vw, 36px);
  margin-top:0.6rem;
  position:relative;
  display:inline-block;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:6px;
  color:var(--g);
  text-shadow:
    0 0 2px var(--accent),
    0 0 4px var(--accent),
    0 0 6px rgba(10,255,120,0.3);
  animation:flicker 3.2s infinite linear;
  z-index:4;
}

@keyframes flicker {
  0% {opacity:1;   text-shadow:0 0 12px rgba(0,255,120,0.22);}
  4% {opacity:0.12;}
  6% {opacity:1;}
  8% {opacity:0.18;}
  12%{opacity:1;}
  100%{opacity:1;}
}

.base {
  position:relative;
  display:block;
  filter:drop-shadow(0 0 6px rgba(10,255,120,0.28));
}

/* -----------------------------
   CONTENT BOX
--------------------------------*/
.content {
  max-width:880px;
  margin-top:2.4rem;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  padding:28px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.03);
  backdrop-filter:blur(6px);
  box-shadow:0 8px 40px rgba(0,0,0,0.6);
}

/* -----------------------------
   SUBPAGE SECTION LAYOUT
--------------------------------*/
.section {
  padding:130px 22px 80px;
  max-width:900px;
  margin:auto;
  position:relative;
  z-index:2;
}

.section h2 {
  font-family:'Orbitron', sans-serif;
  text-align:center;
  font-size:42px;
  margin-bottom:10px;
  color:var(--accent);
  text-shadow:0 0 8px var(--accent);
}

.section p {
  line-height:1.7;
  opacity:0.92;
  font-size:17px;
  margin-bottom:16px;
}

/* -----------------------------
   FOOTER TEXT
--------------------------------*/
.muted {
  color:rgba(200,255,200,0.18);
  font-size:13px;
  margin-top:18px;
}

/* -----------------------------
   MOBILE RESPONSIVE
--------------------------------*/
@media (max-width:520px) {
  nav { gap:18px; }
  .title { letter-spacing:1px; }
  .sliced { letter-spacing:2px; }
}
