:root {
  --bg-color: #0f0c29;
  --bg-gradient-start: #302b63;
  --bg-gradient-end: #24243e;
  --card-bg: rgba(255, 255, 255, 0.08);
  --accent: #f38020;
  --text: #ffffff;
  --blur: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(135deg, var(--bg-color), var(--bg-gradient-start), var(--bg-gradient-end));
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero */
.hero {
  text-align: center;
  margin: 3rem 1rem 2rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  opacity: 0.8;
  font-size: 1rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 90%;
  max-width: 1000px;
  padding: 1rem;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(var(--blur));
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.card h2 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

.card p {
  opacity: 0.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card a {
  background: var(--accent);
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}

.card a:hover {
  transform: scale(1.05);
  background: #ff984d;
}

/* Footer */
footer {
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
  margin: 2rem 0 1rem 0;
}

/* Blob container */
.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* so it doesn't block clicks */
  overflow: hidden;
  z-index: 0;
}

/* Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(80px);
  mix-blend-mode: screen;
  animation: float 20s ease-in-out infinite;
}

/* Individual blob colors, sizes, and positions */
.blob1 {
  width: 300px;
  height: 300px;
  background: #f38020;
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.blob2 {
  width: 400px;
  height: 400px;
  background: #ff6b6b;
  top: 40%;
  left: 60%;
  animation-delay: 5s;
}

.blob3 {
  width: 350px;
  height: 350px;
  background: #4db8ff;
  top: 70%;
  left: 25%;
  animation-delay: 10s;
}

/* Blob float animation */
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-30px) translateX(20px); }
  50% { transform: translateY(20px) translateX(-15px); }
  75% { transform: translateY(-10px) translateX(10px); }
}

/* Background animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}