/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* === BODY BACKGROUND === */
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 20% 20%, #0a0f1f, #000);
  overflow: hidden;
  position: relative;
}

/* Subtle moving light grid (sci-fi effect) */
body::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 255, 255, 0.03) 0 2px,
    transparent 2px 10px
  );
  animation: moveGrid 20s linear infinite;
  z-index: 0;
}
@keyframes moveGrid {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-200px, -200px); }
}

/* === CARD === */
.card {
  width: 380px;
  background: rgba(20, 20, 30, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
  overflow: hidden;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* === HERO SECTION === */
.hero {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%) contrast(120%) saturate(110%);
  transition: transform 0.6s ease;
}
.hero:hover img {
  transform: scale(1.05);
}
.hero .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(0, 255, 255, 0.7), transparent);
  text-align: center;
}
.hero h1 {
  font-size: 22px;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  letter-spacing: 1px;
}
.hero p {
  color: #c0a8ff;
  margin-top: 6px;
  font-weight: 500;
}

/* === LINKS === */
.links {
  display: flex;
  flex-direction: column;
  padding: 22px;
  gap: 14px;
}
.links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, #0ff, #8a2be2);
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.links a i {
  margin-right: 8px;
}
.links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}
.links a:hover::before {
  left: 100%;
}
.links a:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 25px rgba(138,43,226,0.5);
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
  .card { width: 90%; }
  .hero h1 { font-size: 20px; }
}
