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

html,body{
  width:100%;
  height:100%;
  overflow:hidden;
  background:black;
  font-family:Arial, sans-serif;
}

body{
  color:white;
}

/* INTRO */

#intro{
  position:fixed;
  inset:0;
  background:
  radial-gradient(circle at center,#2d0057 0%,#12001f 40%,black 100%);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:50;
  transition:opacity 1.5s ease;
}

.intro-card{
  width:85%;
  max-width:380px;
  padding:40px 25px;
  border-radius:35px;
  backdrop-filter:blur(18px);
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.15);
  text-align:center;
  box-shadow:
  0 0 60px rgba(255,0,180,0.25),
  inset 0 0 40px rgba(255,255,255,0.04);
}

.intro-card h1{
  font-size:4rem;
  line-height:1;
  font-weight:900;
  color:white;
  text-shadow:
  0 0 10px #fff,
  0 0 30px #ff66d9,
  0 0 60px #ff00cc;
}

.intro-stickers{
  margin-top:35px;
  display:flex;
  justify-content:center;
  gap:15px;
  font-size:3rem;
}

.intro-card p{
  margin-top:35px;
  letter-spacing:5px;
  font-size:0.9rem;
  color:#ddd;
}

#startBtn{
  margin-top:30px;
  border:none;
  padding:18px 55px;
  border-radius:50px;
  font-size:1rem;
  font-weight:bold;
  color:white;
  background:linear-gradient(90deg,#ff3dc8,#8d5bff);
  box-shadow:0 0 35px rgba(255,0,180,0.5);
}

/* TUNNEL */

#tunnel{
  position:fixed;
  inset:0;
  background:black;
  opacity:0;
  pointer-events:none;
  transition:opacity 1.2s ease;
  z-index:20;
}

#tunnelCanvas{
  width:100%;
  height:100%;
  display:block;
}

/* GALAXY */

#galaxy{
  position:fixed;
  inset:0;
  opacity:0;
  pointer-events:none;
  transition:opacity 3s ease;
  z-index:10;
  background:
  radial-gradient(circle at center,#120022 0%,black 70%);
}

#threeContainer{
  width:100%;
  height:100%;
}

/* POPUP */

#popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.7);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:100;
}

#popupBox{
  width:80%;
  max-width:320px;
  padding:30px;
  border-radius:25px;
  text-align:center;
  background:rgba(20,0,30,0.95);
  border:1px solid rgba(255,255,255,0.1);
  box-shadow:
  0 0 50px rgba(255,0,200,0.4);
}

#popupEmoji{
  font-size:3rem;
  margin-bottom:10px;
}

#popupTitle{
  color:#ff7ce5;
  margin-bottom:15px;
}

#popupMessage{
  line-height:1.5;
  color:#eee;
}

#closePopup{
  margin-top:20px;
  border:none;
  padding:12px 30px;
  border-radius:30px;
  color:white;
  background:#ff4fcf;
}
