.copy-bar-wrapper {
  position: sticky;
  top: 10px;
  background: var(--white);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copy-bar {
  display: flex;
  width: 100%;
  max-width: 800px;
  gap: 0;
}

#copy-input {
  flex: 1;
  padding: 0.8rem 1rem;
  font-size: 1.5rem;
  border: 2px solid var(--border-color);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  outline: none;
  color: var(--primary-color);
  text-align: center;
}

#clear-btn {
  background: white;
  border: 2px solid var(--border-color);
  border-left: none;
  border-right: none;
  color: #ff3d00;
  font-weight: bold;
  padding: 0 1.5rem;
  cursor: pointer;
  font-size: 1.2rem;
}

#clear-btn:hover {
  background: #fff0ed;
}

#copy-btn {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 0 2rem;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: background 0.2s;
}

#copy-btn:hover {
  background: #048a40;
}

.toast {
  position: absolute;
  bottom: -40px;
  background: #333;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(10px);
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast.hidden {
  display: none;
}

.page-header {
  text-align: center;
  margin: 2rem 0;
}

.faces-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 2rem;
}

.face-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.face-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 3rem;
}

.category-tag {
  background: #3f51b5;
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
}

.category-tag:hover {
  background: #2c3e50;
  transform: scale(1.05);
}

.content-sections, .faq-section, .related-pages {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.related-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.related-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}
.related-links a:hover {
  text-decoration: underline;
}

/* Load More CSS */
.hidden-face {
    display: none !important;
}
.load-more-container {
    text-align: center;
    margin: 2rem 0;
}

/* Style for Load More Button */
#load-more-btn {
    background: var(--secondary-color, #05a04a);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: var(--radius-md, 8px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#load-more-btn:hover {
    background: #048a40;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
