* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  background: linear-gradient(120deg, #0f0c29, #302b63, #24243e);
  overflow-x: hidden;
  position: relative;
  transition: background 2s ease;
}
.navItems a {
  position: absolute;
  left: 1.8em;
  top: 1.3em;
  z-index: 3;
  font-size: 2em;
  text-decoration: none;
  color: #fff;
}

/* Neon Flicker Animation */
.neon-flicker {
  color: #0ff;
  text-shadow: 0 0 5px #0ff, 0 0 20px #0ff, 0 0 40px #0ff;
  animation: flicker 2s infinite alternate;
}
.header-container {
  background: transparent;
  height: auto;
}
@keyframes flicker {
  0% {
    opacity: 1;
    text-shadow: 0 0 5px #0ff, 0 0 20px #0ff, 0 0 40px #0ff;
  }
  20% {
    opacity: 0.8;
    text-shadow: 0 0 2px #0ff, 0 0 10px #0ff, 0 0 20px #0ff;
  }
  40% {
    opacity: 1;
    text-shadow: 0 0 5px #0ff, 0 0 20px #0ff, 0 0 40px #0ff;
  }
  60% {
    opacity: 0.9;
    text-shadow: 0 0 3px #0ff, 0 0 15px #0ff, 0 0 30px #0ff;
  }
  80% {
    opacity: 1;
    text-shadow: 0 0 5px #0ff, 0 0 20px #0ff, 0 0 40px #0ff;
  }
  100% {
    opacity: 0.95;
    text-shadow: 0 0 4px #0ff, 0 0 15px #0ff, 0 0 35px #0ff;
  }
}

/* Particles */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Header */
header {
  text-align: center;
  padding: 60px 20px;
}

/* Cards Container */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 10px 5px;
}

/* Card */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 25px;
  width: 300px;
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.6);
  background: rgba(0, 255, 255, 0.08);
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  color: #0ff;
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

.card ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 12px 0 22px 0;
}

.card ul li {
  color: rgb(222, 253, 253);
}

.card .price {
  font-weight: bold;
  font-size: 1.3rem;
  color: #ff0;
  text-shadow: 0 0 5px #ff0, 0 0 10px #ff0;
  transition: all 0.5s ease;
}

.card:hover .price {
  color: #0ff;
  text-shadow: 0 0 15px #0ff, 0 0 25px #0ff, 0 0 40px #0ff;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: rgba(0, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  width: 80%;
  max-width: 600px;
  text-align: center;
  animation: modalOpen 0.5s ease;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}

.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 20px;
  pointer-events: none;
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  }
}

.modal-content h2,
.modal-content p {
  opacity: 0;
  transform: translateY(20px);
}

.modal-content ul li {
  opacity: 0;
  transform: translateX(-20px);
}

.close {
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
  color: #0ff;
}

@keyframes modalOpen {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }
  .modal-content {
    width: 90%;
    padding: 20px;
  }
}