/* BUILD 261 — Word page styles (M-W1 Part 2) */
main { max-width: 760px; }

.word-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(20, 10, 60, 0.08);
}

.word-meta {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.word-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.word-badge--level {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: #fff;
}

.word-badge--pos {
  background: #f8f5ff;
  color: #5a3a9a;
}

.word-badge--difficulty {
  background: #fef3e8;
  color: #8a4b00;
}

.word-hangul {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin: 0.5rem 0 0.75rem;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  line-height: 1.1;
}

.word-pronunciation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
  flex-wrap: wrap;
}

.word-rom {
  font-size: 1.25rem;
  color: var(--text-secondary, #5a5a6e);
  font-style: italic;
  font-weight: 500;
}

.word-speak-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.word-speak-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.35);
}

.word-meaning {
  font-size: 1.15rem;
  color: #1a1a2e;
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

.word-section {
  margin: 2.5rem 0;
}

.word-section h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.word-example {
  background: linear-gradient(180deg, #fafaff 0%, #fff 100%);
  border-left: 3px solid #8b5cf6;
  border-radius: 0 12px 12px 0;
  padding: 1.1rem 1.5rem;
  margin: 1rem 0;
}

.word-example__ko {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 0.5rem;
  color: #1a1a2e;
  font-weight: 500;
}

.word-example__en {
  font-size: 0.92rem;
  color: var(--text-secondary, #5a5a6e);
  margin: 0 0 0.5rem;
  font-style: italic;
}

.word-example__source {
  font-size: 0.8rem;
  color: var(--text-secondary, #5a5a6e);
  margin: 0;
}

.word-example__source a {
  color: #8b5cf6;
  font-weight: 600;
  text-decoration: none;
}

.word-example__source a:hover {
  text-decoration: underline;
}

.word-pack-list {
  margin: 1rem 0 0 1.25rem;
  padding: 0;
}

.word-pack-list li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.word-pack-list a {
  color: #8b5cf6;
  text-decoration: none;
  font-weight: 600;
}

.word-pack-list a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .word-hangul { font-size: 2.5rem; }
  .word-rom { font-size: 1.05rem; }
}
