/* ===== Base ===== */
body{
  margin:0;
  font-family: Arial, sans-serif;
  background: linear-gradient(to top, #000000 0%, #1a0033 100%);
  color:white;
}

/* Subtle retro grid */
body::after{
  content:"";
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(rgba(255,0,255,0.22) 1px, transparent 1px);
  background-size: 100% 22px;
  pointer-events: none;
  opacity: 0.55;
}

.container {
  width: min(1100px, 92%);
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}


/* ===== Neon Typography ===== */
.neon-title{
  font-size: 64px;
  color: #fff;
  margin: 18px 0 10px;
  text-shadow:
    0 0 6px #ff00ff,
    0 0 14px #ff00ff,
    0 0 28px #ff00ff,
    0 0 60px rgba(255,0,255,0.55);
}

.neon-subtitle{
  font-size: 20px;
  color: #ffffff;
  letter-spacing: 2px;
  margin: 10px auto 0;
  max-width: 780px;
  text-shadow:
    0 0 6px #00ffff,
    0 0 14px #00ffff,
    0 0 26px rgba(0,255,255,0.65);
  animation: glowPulse 2.6s infinite alternate;
}

@keyframes glowPulse{
  from{
    text-shadow:
      0 0 6px #00ffff,
      0 0 12px #00ffff;
  }
  to{
    text-shadow:
      0 0 10px #00ffff,
      0 0 22px #00ffff,
      0 0 48px rgba(0,255,255,0.7);
  }
}

.neon-subtitle span{ font-weight: 700; }
.games{ color:#ff00ff; text-shadow: 0 0 10px rgba(255,0,255,0.85); }
.apps { color:#00ffff; text-shadow: 0 0 10px rgba(0,255,255,0.85); }
.web  { color:#ff00ff; text-shadow: 0 0 10px rgba(255,0,255,0.85); }

/* ===== Button ===== */
.btn{
  display:inline-block;
  margin-top: 22px;
  padding: 14px 30px;
  border-radius: 12px;
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  font-weight: 800;
  text-decoration: none;
  transition: 0.22s ease;
  box-shadow: 0 0 12px rgba(0,255,255,0.55);
}

.btn:hover{
  background: #00ffff;
  color: #000;
  box-shadow:
    0 0 12px rgba(0,255,255,0.9),
    0 0 26px rgba(0,255,255,0.7),
    0 0 60px rgba(0,255,255,0.35);
}

/* ===== NAV FIX (keep at bottom-ish but before page-specific sections is ok) ===== */
header{
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 22px 22px;
  background: rgba(0,0,0,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}

nav{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
}

nav a{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #00ffff;
  border: 2px solid transparent;
  text-shadow: 0 0 8px rgba(0,255,255,0.6);
}

nav a:hover{
  border-color: rgba(0,255,255,0.55);
  box-shadow: 0 0 14px rgba(0,255,255,0.35);
}

nav a.active{
  color: #ff00ff;
  border-color: rgba(255,0,255,0.65);
  box-shadow: 0 0 18px rgba(255,0,255,0.45);
  text-shadow: 0 0 10px rgba(255,0,255,0.9);
}

/* ===== Contact Form ===== */
.contact-wrap{
  width: min(720px, 92%);
  margin: 28px auto 0;
  text-align: left;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,255,255,0.18);
  box-shadow: 0 0 18px rgba(0,255,255,0.10);
}

.contact-form{
  display: grid;
  gap: 10px;
}

.contact-form label{
  font-size: 13px;
  opacity: 0.9;
  letter-spacing: 0.4px;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: white;
  outline: none;
  font-size: 15px;
  box-shadow: 0 0 10px rgba(0,255,255,0.10);
}

.contact-form textarea{
  min-height: 140px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(255,255,255,0.6);
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(0,255,255,0.7);
  box-shadow: 0 0 16px rgba(0,255,255,0.25);
}

.contact-form button{
  padding: 14px 18px;
  border: 2px solid rgba(255,0,255,0.7);
  border-radius: 14px;
  background: transparent;
  color: #ff00ff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(255,0,255,0.25);
  transition: 0.22s ease;
}

.contact-form button:hover{
  background: #ff00ff;
  color: #000;
  box-shadow:
    0 0 16px rgba(255,0,255,0.7),
    0 0 40px rgba(255,0,255,0.35);
}

.contact-note{
  margin-top: 10px;
  opacity: 0.75;
  line-height: 1.55;
}

/* ===== Projects page polish ===== */
.page-title{
  font-size: 74px;
  margin: 30px 0 10px;
  text-align: center;
  color: #fff;
  text-shadow:
    0 0 8px rgba(255,0,255,0.9),
    0 0 22px rgba(255,0,255,0.7),
    0 0 60px rgba(255,0,255,0.35);
}

.page-subtitle{
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  color: #cfffff;
  margin: 0 auto 26px;
  max-width: 720px;
  text-shadow: 0 0 12px rgba(0,255,255,0.35);
}

.projects-grid{
  width: min(980px, 92%);
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card{
  padding: 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,255,255,0.18);
  box-shadow: 0 0 18px rgba(0,255,255,0.10);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-align: left;
}

.project-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(circle at top left, rgba(255,0,255,0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0,255,255,0.14), transparent 55%);
  opacity: 0.8;
  pointer-events:none;
}

.project-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,0,255,0.35);
  box-shadow:
    0 0 18px rgba(255,0,255,0.20),
    0 0 30px rgba(0,255,255,0.12);
}

.project-head{
  display:flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-title{
  margin: 0;
  font-size: 22px;
  color: #fff;
  text-shadow: 0 0 10px rgba(255,0,255,0.25);
}

.project-desc{
  margin: 10px 0 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}

.badges{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
}

.badge.game{ border-color: rgba(255,0,255,0.35); box-shadow: 0 0 10px rgba(255,0,255,0.12); }
.badge.web{  border-color: rgba(0,255,255,0.35); box-shadow: 0 0 10px rgba(0,255,255,0.12); }
.badge.asset{border-color: rgba(255,255,0,0.25); box-shadow: 0 0 10px rgba(255,255,0,0.08); }

.project-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.neon-link{
  display:inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #00ffff;
  border: 1px solid rgba(0,255,255,0.25);
  box-shadow: 0 0 14px rgba(0,255,255,0.12);
  transition: .18s ease;
}

.neon-link:hover{
  border-color: rgba(0,255,255,0.55);
  box-shadow: 0 0 22px rgba(0,255,255,0.25);
}

.neon-link.pink{
  color: #ff00ff;
  border-color: rgba(255,0,255,0.25);
  box-shadow: 0 0 14px rgba(255,0,255,0.12);
}

.neon-link.pink:hover{
  border-color: rgba(255,0,255,0.55);
  box-shadow: 0 0 22px rgba(255,0,255,0.25);
}

@media (max-width: 900px){
  .projects-grid{ grid-template-columns: 1fr; }
  .page-title{ font-size: 56px; }
  .neon-title{ font-size: 52px; }
}


/* Websites page helpers */
.card-title{
  margin: 0 0 8px;
  font-size: 22px;
  text-shadow: 0 0 10px rgba(255,0,255,0.35);
}
.card-desc{
  margin: 0 0 14px;
  opacity: 0.92;
  line-height: 1.45;
}
.hint{
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.75;
}
