
/* DARK OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.75), rgba(0,0,0,.3));
}

/* RETRO SCANLINE EFFECT */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.15) 1px,
    transparent 2px,
    transparent 4px
  );
  z-index: 99;
}

/* MAIN LAYOUT */
.main {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

/* LEFT */
.left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
}

.logo {
  width: 70px;
  margin-bottom: 25px;
}

.left h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 2.8rem;
  letter-spacing: 3px;
  margin-bottom: 25px;
}

.left p {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  line-height: 1.9;
  opacity: 0.8;
}

/* GLITCH TEXT */
.glitch-text {
  font-family: 'Press Start 2P', monospace;
  font-size: 2.7rem;
  position: relative;
  color: #00fff7;
  text-shadow:
    2px 2px #00ffe1,
    -2px -2px magenta;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
}

.glitch-text::before {
  color: magenta;
  animation: glitchTop 2s infinite linear;
}

.glitch-text::after {
  color: #00fff7;
  animation: glitchBottom 2s infinite linear;
}

@keyframes glitchTop {
  0% { clip-path: inset(0 0 85% 0); }
  50% { clip-path: inset(10% 0 60% 0); }
  100% { clip-path: inset(0 0 80% 0); }
}

@keyframes glitchBottom {
  0% { clip-path: inset(60% 0 0 0); }
  50% { clip-path: inset(30% 0 40% 0); }
  100% { clip-path: inset(40% 0 0 0); }
}

/* NEON TEXT */
.neon-text {
  font-family: 'Press Start 2P';
  font-size: 0.75rem;
  margin-top: 25px;
  color: #00ffee;
  text-shadow:
    0 0 5px #00ffee,
    0 0 15px #00ffee;
}

.neon-title {
  color: #22ff88;
  text-shadow:
    0 0 6px #22ff88,
    0 0 15px #22ff88;
}

/* RIGHT PANEL */
.right {
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 370px;
  padding: 40px;
  border-radius: 18px;
  font-family: 'Poppins', sans-serif;
}

/* GLASS EFFECT */
.glass {
  background: rgba(255,255,255,0.01);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* FORM */
.right h2 {
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.right p {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 15px;
}

input {
  width: 100%;
  padding: 12px 10px;
  border-radius: 8px;
  border: none;
  margin-bottom: 10px;
  outline: none;
}

button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(135deg,#22c55e,#16a34a);
  color: black;
}

/* SOCIAL PLACEHOLDERS */
.socials {
  margin-top: 18px;
  text-align: center;
}

.socials a {
  margin: 8px;
  color: #00fff7;
  font-size: 18px;
  transition: .3s;
}

.socials a:hover {
  color: #22ff88;
  text-shadow:
    0 0 10px #22ff88,
    0 0 20px #22ff88;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .main {
    grid-template-columns: 1fr;
    padding: 0 25px;
  }

  .right {
    justify-self: center;
    margin-top: 30px;
  }

  .glitch-text {
    font-size: 1.4rem;
  }

  .neon-text {
    font-size: 0.6rem;
  }

  .left h1 {
    font-size: 1.6rem;
  }

  .left p {
    font-size: 0.6rem;
  }
}
