@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=UnifrakturCook:wght@700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  background: url('assets/background.png') center/cover no-repeat fixed;
  animation: pulseBg 12s ease-in-out infinite;
  overflow-x: hidden;
}

/* breathing background */
@keyframes pulseBg {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

/* loading screen */
#loading {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff44cc;
  font-family: monospace;
  font-size: 1.1em;
  z-index: 9999;
}
#loading pre {
  overflow: hidden;
  border-right: 2px solid #ff44cc;
  white-space: nowrap;
  width: 0;
  animation: typing 2.5s steps(40, end) forwards, blink 1s infinite;
}
@keyframes typing { to { width: 100%; } }
@keyframes blink { 50% { border-color: transparent; } }

.hidden { display: none; }

.hero {
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
  background: rgba(0,0,0,0.35);
}

.logo {
  width: 140px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 25px #ff44cc);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

h1 {
  font-family: 'UnifrakturCook', cursive;
  font-size: 3.5rem;
  color: #ff44cc;
  text-shadow: 0 0 20px #ff44cc;
  letter-spacing: 2px;
}

/* buttons */
.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.btn {
  position: relative;
  background: transparent;
  border: 1px solid #ff44cc;
  padding: 0.8rem 1.6rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px #ff44cc, inset 0 0 15px #ff44cc;
  animation: pulseGlow 2s ease-in-out infinite;
  overflow: hidden;
}
.btn:hover {
  background: #ff44cc;
  color: #000;
}
.btn::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,68,204,0.4);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .4s ease, height .4s ease, opacity .4s ease;
}
.btn:hover::after {
  width: 200%; height: 500%; opacity: 0;
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 15px #ff44cc, inset 0 0 15px #ff44cc; }
  50% { box-shadow: 0 0 25px #ff66e5, inset 0 0 25px #ff66e5; }
}

/* tokenomics */
.tokenomics {
  margin: 3rem auto;
  max-width: 500px;
  border: 1px solid #ff44cc;
  padding: 1.5rem;
  border-radius: 8px;
  background: rgba(0,0,0,0.55);
  line-height: 1.8;
}

/* terminal box */
.terminal {
  margin: 4rem auto;
  max-width: 600px;
  padding: 2rem;
  border: 1px solid #ff44cc;
  background: rgba(0,0,0,0.6);
  box-shadow: 0 0 25px #ff44cc;
  position: relative;
}
.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 2px
  );
  pointer-events: none;
}
.type { color: #ffb6e5; font-family: monospace; }
.dots { animation: dots 1.5s steps(3, end) infinite; }
@keyframes dots {
  0%,20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%,100% { content: "..."; }
}

/* footer */
footer {
  text-align: center;
  padding: 2rem;
  color: #ffb6e5;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* neon scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #ff44cc; border-radius: 4px; }
::-webkit-scrollbar-track { background: #111; }

@media (max-width:600px){
  h1{font-size:2.2rem;}
  .btn{padding:.6rem 1.2rem;}
}
