@import url("https://fonts.googleapis.com/css2?family=Pretendard:wght@400;600;700&display=swap");

body {
  font-family: "Pretendard", sans-serif;
  background-color: #fdfaff;
}

.glossary-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glossary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.1);
}

.category-pill {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-pill.active {
  background-color: #8b5cf6;
  border-color: #8b5cf6;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.comments-panel {
  position: relative;
}

.comments-card {
  padding: 2rem;
  border: 1px solid #ede9fe;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 245, 255, 0.92));
  box-shadow: 0 18px 40px -28px rgba(139, 92, 246, 0.45);
}

.comments-header {
  margin-bottom: 1.5rem;
}

.comments-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a78bfa;
}

.comments-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b0764;
}

.comments-copy {
  margin: 0.6rem 0 0;
  color: #6b7280;
  line-height: 1.7;
}

#disqus_thread {
  min-height: 8rem;
}

@media (max-width: 640px) {
  .comments-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .comments-title {
    font-size: 1.25rem;
  }
}

.animal-panel {
  position: relative;
}

.animal-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid #f3e8ff;
  border-radius: 1.75rem;
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 243, 255, 0.96));
  box-shadow: 0 24px 48px -32px rgba(91, 33, 182, 0.35);
}

.animal-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #db2777;
}

.animal-title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #4c1d95;
}

.animal-description {
  margin: 0.85rem 0 0;
  color: #6b7280;
  line-height: 1.8;
}

.animal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #ec4899);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 30px -18px rgba(124, 58, 237, 0.9);
  cursor: pointer;
}

.animal-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: #7c3aed;
  font-size: 0.95rem;
}

.animal-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.animal-stage {
  display: grid;
  gap: 1rem;
}

.animal-preview-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 1rem;
  border: 1px dashed #d8b4fe;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
}

.animal-preview {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 16px 32px -24px rgba(76, 29, 149, 0.7);
}

.animal-placeholder {
  color: #7c3aed;
  text-align: center;
  line-height: 1.7;
}

.hidden {
  display: none !important;
}

.animal-labels {
  display: grid;
  gap: 0.75rem;
}

.animal-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #ede9fe;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.animal-label-name {
  font-weight: 600;
  color: #581c87;
}

.animal-label-score {
  font-variant-numeric: tabular-nums;
  color: #6b21a8;
}

@media (max-width: 840px) {
  .animal-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .animal-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }

  .animal-title {
    font-size: 1.4rem;
  }
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.pagination-button {
  min-width: 2.5rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #6d28d9;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pagination-button:hover {
  transform: translateY(-1px);
  border-color: #a78bfa;
}

.pagination-button.active {
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-color: transparent;
  color: #fff;
}

.pagination-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}


.hero-shell {
  padding: 2.5rem 1.5rem;
  border: 1px solid #f3e8ff;
  border-radius: 2rem;
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.12), transparent 28%), linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,245,255,0.9));
  box-shadow: 0 22px 48px -32px rgba(91, 33, 182, 0.3);
}

.hero-kicker,
.section-kicker,
.footer-brand {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #db2777;
}

.hero-copy {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.info-grid,
.tip-list,
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.tip-card,
.faq-card,
.content-card {
  padding: 1.4rem;
  border: 1px solid #ede9fe;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 32px -28px rgba(91, 33, 182, 0.28);
}

.info-title,
.tip-title,
.faq-title,
.content-title,
.section-title,
.page-title {
  margin: 0;
  font-weight: 700;
  color: #4c1d95;
}

.info-copy,
.tip-copy,
.faq-copy,
.content-copy,
.section-copy,
.page-copy {
  margin-top: 0.75rem;
  line-height: 1.8;
  color: #6b7280;
}

.section-block {
  padding: 1.6rem;
  border: 1px solid #f3e8ff;
  border-radius: 1.75rem;
  background: rgba(255,255,255,0.86);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid #ede9fe;
  background: #faf5ff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-copy,
.footer-meta {
  margin: 0.4rem 0 0;
  color: #7c3aed;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  text-align: right;
}

.footer-links a,
.inline-link {
  color: #7c3aed;
  text-decoration: none;
}

.page-shell {
  display: grid;
  gap: 1.5rem;
}

.page-hero {
  padding: 2rem;
  border: 1px solid #f3e8ff;
  border-radius: 1.75rem;
  background: rgba(255,255,255,0.95);
}

.content-stack {
  display: grid;
  gap: 1rem;
}

@media (max-width: 840px) {
  .info-grid,
  .tip-list,
  .faq-list,
  .footer-grid,
  .section-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero-shell,
  .section-block,
  .page-hero,
  .info-card,
  .tip-card,
  .faq-card,
  .content-card {
    padding: 1.2rem;
    border-radius: 1.25rem;
  }
}
