@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Roboto:wght@300&display=swap');

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Orbitron', 'Roboto', sans-serif;
  overflow-x: hidden;
  color: #00ffea;
  background: linear-gradient(270deg, #0f2027, #203a43, #2c5364, #0f2027);
  background-size: 800% 800%;
  animation: gradientShift 30s ease infinite;
}
a {
  color: #00ffea;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #ff00ff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

/* Container backgrounds for readability */
header .container,
footer .container {
  background: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  border-radius: 12px;
  padding: 1.5rem 2rem;
}

/* Header */
header {
  padding: 2rem 0;
  border-bottom: 1px solid #00ffea44;
  position: relative;
  z-index: 10;
}
header h1 {
  font-size: 3.5rem;
  letter-spacing: 0.15em;
  color: #00ffeaff; /* slightly brighter */
  text-shadow:
    0 0 10px #00ffeaaa,
    0 0 15px rgba(0, 255, 234, 0.7);
}
header p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: #b8ffffcc; /* lighter */
  margin-top: 0.5rem;
  text-shadow: 0 0 5px rgba(0, 255, 234, 0.5);
}

/* Neon Buttons */
.btn-group {
  display: inline-flex;
  gap: 1rem;
  margin-top: 2rem;
}
.btn-neon {
  padding: 1rem 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0ff;
  background: transparent;
  border: 2px solid #00fff7;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow:
    0 0 5px #00fff7,
    0 0 10px #00fff7,
    0 0 20px #00fff7;
  transition: 0.3s ease;
}
.btn-neon:hover {
  color: #ff00ff;
  box-shadow:
    0 0 10px #ff00ff,
    0 0 20px #ff00ff,
    0 0 40px #ff00ff;
  border-color: #ff00ff;
}

/* Main Section */
main {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 3rem;
}

/* Darker, more readable cards */
.card {
  background: rgba(0, 0, 0, 0.6); /* darker translucent black */
  border: 1px solid #00ffe0cc;   /* neon border */
  border-radius: 1rem;
  padding: 2rem;
  box-shadow:
    0 0 25px #00ffe0cc;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  color: #a0fffaff; /* brighter text */
}
.card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 40px #ff00ffdd;
  border-color: #ff00ffdd;
  color: #ffffff; /* white text on hover */
}
.card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #00ffeaee;
  text-shadow:
    0 0 12px #00ffeaaa,
    0 0 15px rgba(0, 255, 234, 0.8);
}
.card p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #b3ffffee;
  line-height: 1.5;
}

/* Footer */
footer {
  margin-top: 6rem;
  padding: 1.5rem 0;
  border-top: 1px solid #00ffea44;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  color: #66ffffcc;
  background: rgba(0,0,0,0.45);
  border-radius: 12px;
  padding: 1rem 2rem;
  text-shadow: 0 0 5px rgba(0,255,234,0.3);
}

/* Background Animation */
.background {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background: linear-gradient(270deg, #00fff7, #ff00ff, #00fff7, #ff00ff);
  background-size: 800% 800%;
  animation: gradientShift 30s ease infinite;
  filter: blur(100px);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Domain Highlight */
.domain {
  font-weight: 700;
  color: #ff00ff;
  letter-spacing: 0.1em;
  text-shadow: 0 0 15px #ff00ff88;
}

/* Welcome popup overlay */
.welcome-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #ff00ff;
  border-radius: 20px;
  padding: 2.5rem 4rem;
  text-align: center;
  color: #ff00ff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  opacity: 0;
  pointer-events: none;
  box-shadow:
    0 0 15px #ff00ff,
    0 0 30px #ff00ff,
    0 0 45px #ff00ff;
  z-index: 9999;
  transition: opacity 0.6s ease, transform 0.6s ease;
  user-select: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Subtitle text */
.welcome-popup p {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #ff77ffaa;
  font-weight: 400;
}

/* Show state */
.welcome-popup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
