* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

canvas#bg {
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  letter-spacing: 3px;
}

.hero p {
  margin-top: 10px;
  opacity: 0.7;
}

.scroll {
  margin-top: 40px;
  text-decoration: none;
  color: #fff;
  opacity: 0.5;
}

/* SECTIONS */
section {
  padding: 120px 10%;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

p {
  max-width: 700px;
  line-height: 1.7;
  opacity: 0.8;
}

/* GRID & CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.card h3 {
  margin-bottom: 10px;
}

.card a {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  color: #fff;
  opacity: 0.7;
}

/* GITHUB BUTTON */
.big-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 34px;
  border: 1px solid #fff;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.big-btn:hover {
  background: #fff;
  color: #000;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 50px;
  opacity: 0.5;
}
