*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #1e1e2f, #0f0f17 70%);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header,
main,
footer {
  width: 100%;
}

header,
main > *,
footer {
  max-width: 80rem; 
  margin-inline: auto;
  padding-inline: 1.5rem;
}

header {
  padding-block: 3rem 2rem;
  text-align: center;
}

header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(90deg, #00f5a0, #00d9f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.05em;
}

.labo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem;
  padding-block: 2rem 4rem;
}

.labo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 12rem;
  padding: 2rem;

  border-radius: 1.25rem;
  text-decoration: none;
  color: inherit;

  background: linear-gradient(145deg, #1a1a2e, #141423);
  border: 1px solid rgba(255, 255, 255, 0.05);

  position: relative;
  overflow: hidden;

  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.labo-card::before {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(120deg, #00f5a0, #00d9f5, #8a2be2);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.labo-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(0, 217, 245, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

.labo-card:hover::before {
  opacity: 0.15;
}


.labo-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.labo-card p {
  opacity: 0.7;
  font-size: 0.95rem;
}


footer {
  margin-top: auto;
  padding-block: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}