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

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  line-height: 1.6;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: gradientShift 12s ease infinite;
  background-size: 300% 300%;
}

/* Gradient Animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header */
header {
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(255,255,255,0.7);
}

header p {
  font-size: 1.3rem;
  opacity: 0.95;
  letter-spacing: 0.5px;
}

/* Main Content */
main {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.4);
  padding: 1.2rem;
  font-size: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
}
