* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  color: #fff;
  background: #020617;
  overflow-x: hidden;
}

/* Animated gradient background */
.bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, #2563eb, #7c3aed, #06b6d4);
  background-size: 300% 300%;
  animation: gradient 10s ease infinite;
  z-index: -1;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  background: linear-gradient(to right, #fff, #93c5fd);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 10px;
  font-size: 1.2rem;
  opacity: 0.9;
}

.btn {
  margin-top: 30px;
  padding: 14px 30px;
  background: #fff;
  color: #020617;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
}

/* Glass sections */
section {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
}

.glass {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

h2 {
  margin-bottom: 20px;
  color: #e0f2fe;
}

/* Skills */
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
  gap: 15px;
}

.skills span {
  padding: 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.skills span:hover {
  transform: translateY(-5px);
}

/* Cards */
.cards {
  display: grid;
  gap: 20px;
}

.card {
  padding: 20px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  opacity: 0.8;
}
