/* =========================
   GLOBAL / RESET
========================= */

* {
  color: white;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,"Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(
    ellipse at top,
    #151515 0%,
    #0d0d0d 40%,
    #080808 100%
  );
  overflow-y: auto;
  overflow-x: hidden;
}


h1 {
  font-size: 1.8rem;          /* not huge */
  font-weight: 500;         /* not 700 */
  letter-spacing: -0.02em;  /* subtle tightening */
  margin-bottom: 0.5rem;
}

.masked-text {
  font-size: 2rem;
  font-weight: 600;

  /* Background */
  background: url("./assets/200.gif") 10% 60% / 150% no-repeat;

  /* Masking magic */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* Polish */
  filter: drop-shadow(0 6px 12px rgba(39, 88, 248, 0.3));
  letter-spacing: -0.03em;
}

h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

p{
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
}


.muted {
  color: rgba(255,255,255,0.6);
}
/* NOTE:
   Removed global `p { text-align: center; }`
   because it forces alignment everywhere.
   You can re-add it locally if needed.
*/


/* =========================
   STARFIELD BACKGROUND
========================= */

.starfield {
  position: fixed;
  inset: 0;
  background: black;
  z-index: -1;
}

/* Stars */
.starfield::before,
.starfield::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, white, transparent),
    radial-gradient(1px 1px at 80% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 10% 80%, white, transparent),
    radial-gradient(1px 1px at 90% 20%, white, transparent);
  background-size: 200px 200px;
  animation: starMove 60s linear infinite;
  opacity: 0.9;
}

.starfield::after {
  animation-duration: 120s;
  opacity: 0.3;
}

@keyframes starMove {
  from {
    transform: translateY(0);
    opacity: 0.1;
  }
  to {
    transform: translateY(-200px);
    opacity: 0.8;
  }
}


/* =========================
   COMETS (STARFIELD CHILD)
========================= */

.starfield .comets {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.starfield .comets::before,
.starfield .comets::after {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.6),
    transparent
  );
  opacity: 0;
}

/* comet 1 */
.starfield .comets::before {
  top: -20%;
  left: 10%;
  width: 300px;
  animation: cometMove 50s linear infinite;
  animation-delay: 20s;
}

/* comet 2 */
.starfield .comets::after {
  top: 40%;
  left: -40%;
  width: 400px;
  animation: cometMove 45s linear infinite;
  animation-delay: 25s;
}

@keyframes cometMove {
  0% {
    transform: translate(-100px, -100px) rotate(-155deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 0.1;
  }
  100% {
    transform: translate(200vw, 200vh) rotate(-155deg);
    opacity: 0;
  }
}


/* =========================
   CONTENT / PAGE STRUCTURE
========================= */

.start_page {
  position: relative;
  top: 10vh;
  width: 100%;
  height: 2px;
  
  background: repeating-linear-gradient(
    to right,
    #555,
    #555 8px,
    transparent 8px,
    transparent 14px
  );
}

.icons {
  display: inline-block;
  margin-left: 2rem;
  width: 48px;
  height: 48px;
  display: inline-block;

  filter: drop-shadow(0 6px 12px rgba(39, 88, 248, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.icons:hover {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 14px 22px rgba(4, 0, 255, 0.5));
}


/* Intro text container */
.container {
  max-width: 650px;
  margin: 0 auto;
  padding: 10rem 1.5rem 6rem;
  text-align: left;
}

@media (min-width: 900px) {
  .container {
    max-width: 600px;
  }
}

/* =========================
   DECORATIVE LINES
========================= */

/* Bottom horizontal */
.about {
  position: sticky;
  bottom: 10vh;
  width: 100%;
  height: 2px;

  background: repeating-linear-gradient(
    to right,
    #555,
    #555 8px,
    transparent 8px,
    transparent 14px
  );
}

/* Left vertical */
.V2 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 100vh;
  height: 2px;

  background: repeating-linear-gradient(
    to right,
    #555,
    #555 8px,
    transparent 8px,
    transparent 14px
  );
}

/* Right vertical */
.V1 {
  position: fixed;
  top: 50%;
  right: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 100vh;
  height: 2px;

  background: repeating-linear-gradient(
    to right,
    #555,
    #555 8px,
    transparent 8px,
    transparent 14px
  );
}
