body {
  font-family: "Noto Sans KR", sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #f5f8ff, #eef3ff);
  color: #222;
}

.pdf-header {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background-color: #0078d4;
  color: white;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pdf-header h1 a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.pdf-header p {
  margin-top: 10px;
  font-size: 1.1rem;
  opacity: 0.9;
}

.pdf-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.pdf-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.pdf-item {
  background-color: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease forwards;
}

.pdf-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.pdf-item h3 {
  color: #0078d4;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.pdf-item p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
}

.pdf-item a {
  display: inline-block;
  text-decoration: none;
  background-color: #0078d4;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.pdf-item a:hover {
  background-color: #005fa3;
}

.pdf-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid #ddd;
  margin-top: 3rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
