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

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

body {
  background: radial-gradient(circle at center, #07111f 0%, #030712 50%, #000 100%);
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* ========================= PANEL CENTRAL ========================= */

.glass-panel {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(90%, 900px);
  padding: 50px 60px;
  border-radius: 32px;
  background: linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.02));
  backdrop-filter: blur(18px);
  border: 1px solid rgba(0,255,255,.2);
  box-shadow:
    0 0 20px rgba(0,255,255,.08),
    0 0 80px rgba(0,255,255,.04),
    inset 0 0 40px rgba(255,255,255,.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(0,255,255,.08) 30%, transparent 60%);
  animation: scan 5s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ========================= LOGO ========================= */

.logo-container {
  margin-bottom: 25px;
  z-index: 2;
}

.logo-img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0,255,255,.6));
}

/* ========================= TAGS ========================= */

.tech-tags {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.tech-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,255,.25);
  background: rgba(0,255,255,.05);
  color: #9ff;
  font-size: .75rem;
  letter-spacing: 1.5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(0,255,255,.12);
}

/* ========================= TITULO ========================= */

.title {
  position: relative;
  z-index: 2;
  text-align: center;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: 12px;
  color: #dff;
  text-shadow:
    0 0 10px #00ffff,
    0 0 30px #00ffff,
    0 0 60px #00ffff;
  margin-bottom: 40px;
}

/* ========================= BOTON ========================= */

.portfolio-btn {
  position: relative;
  z-index: 2;
  padding: 18px 50px;
  border-radius: 999px;
  border: 1px solid rgba(0,255,255,.35);
  background: linear-gradient(135deg, rgba(0,255,255,.18), rgba(0,255,255,.06));
  color: #dff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 3px;
  transition: .35s ease;
  box-shadow: 0 0 15px rgba(0,255,255,.18);
}

.portfolio-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 25px rgba(0,255,255,.35),
    0 0 60px rgba(0,255,255,.12);
  border-color: #00ffff;
  color: white;
}

/* ========================= HUD ========================= */

.hud {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hud-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,255,.9), transparent);
  box-shadow: 0 0 12px #00ffff;
  animation: hudMove linear infinite;
}

@keyframes hudMove {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120vw); }
}

.corner {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(0,255,255,.4);
}

.corner:nth-child(1) { top: 20px; left: 20px;   border-right: none; border-bottom: none; }
.corner:nth-child(2) { top: 20px; right: 20px;  border-left: none;  border-bottom: none; }
.corner:nth-child(3) { bottom: 20px; left: 20px;  border-right: none; border-top: none; }
.corner:nth-child(4) { bottom: 20px; right: 20px; border-left: none;  border-top: none; }

/* ========================= RESPONSIVE ========================= */

@media (max-width: 768px) {
  .glass-panel {
    padding: 35px 25px;
  }
  .logo-img {
    width: 60px;
  }
  .title {
    font-size: 2.8rem;
    letter-spacing: 6px;
    margin-bottom: 30px;
  }
  .tech-tags {
    gap: 8px;
    margin-bottom: 25px;
  }
  .tech-tags span {
    font-size: .7rem;
    padding: 5px 12px;
  }
  .portfolio-btn {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    font-size: 0.9rem;
  }
}
