* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  color: #0f172a;
}

.bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg,#60a5fa,#a5b4fc,#7dd3fc,#60a5fa);
  background-size: 300% 300%;
  animation: bgMove 18s linear infinite;
  z-index: -1;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

main {
  min-height: 100vh;
  padding: 24px 16px;
  display: flex;
  justify-content: center;
}

.card {
  width: 100%;
  max-width: 1100px;
  background: rgba(255,255,255,0.94);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 36px 80px rgba(0,0,0,0.3);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 28px;
  margin-top: 36px;
}

.cert-card {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(145deg,#ffffff,#eef2ff);
  box-shadow: 0 18px 34px rgba(0,0,0,0.22);
}

.cert-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.cert-card p {
  font-size: 14.5px;
  line-height: 1.6;
}

.actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
}

.actions a {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  background: #2563eb;
  color: white;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 520px) {
  .card {
    padding: 28px 22px;
  }

  .cert-card {
    padding: 22px;
  }
}
