* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont;
}

body {
  background: #000;
  color: #dfffe8;
}

canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.overlay {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 18px;
  padding: 48px;
  border: 1px solid rgba(0, 255, 140, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 60px rgba(0, 255, 140, 0.15);
}

h1 {
  font-size: 44px;
  color: #00ff88;
  margin-bottom: 8px;
  word-break: break-word;
}

h2 {
  font-size: 22px;
  font-weight: 500;
  opacity: 0.85;
  margin-bottom: 24px;
}

p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 28px;
}

.section-title {
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 12px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.skill {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid rgba(0, 255, 136, 0.3);
  font-size: 13px;
  color: #00ff88;
  white-space: nowrap;
}

.contact-box {
  margin-top: 32px;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 136, 0.18),
    rgba(0, 255, 136, 0.05)
  );
  border: 1px solid rgba(0, 255, 136, 0.4);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.25);
  text-align: center;
}

.contact-label {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}

.contact-mail {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  color: #00ff88;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
}

/* -------- TABLET -------- */
@media (max-width: 900px) {
  .card {
    padding: 36px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 20px;
  }
}

/* -------- MOBILE -------- */
@media (max-width: 600px) {
  body {
    overflow-y: auto;
  }

  .overlay {
    align-items: flex-start;
    padding: 16px;
  }

  .card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 17px;
  }

  p {
    font-size: 15px;
  }

  .skill {
    font-size: 12px;
    padding: 6px 11px;
  }

  .contact-mail {
    font-size: 18px;
  }
}