/* === Creator Cards Grid Layout (Authors & Artists Pages) === */
.authors-page .content-grid,
.artists-page .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* === Creator Card Base === */
.authors-page .creator-card,
.artists-page .creator-card {
  position: relative;
  color: #fff;
  background: #99B3E3;
  background: linear-gradient(
    180deg,
    rgba(153, 179, 227, 1) 9%,
    rgba(111, 110, 166, 1) 54%,
    rgba(35, 56, 110, 1) 100%
  );
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  padding: 20px;
  margin: 10px;
  flex: 1 1 calc(33.333% - 30px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

/* Hover holographic effect */
.authors-page .creator-card:hover,
.artists-page .creator-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.35);
}

/* Holographic Effect for Creator Cards */
.authors-page .creator-card,
.artists-page .creator-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.authors-page .creator-card::before,
.artists-page .creator-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(255, 255, 255, 0.6) /* White sheen */
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
  pointer-events: none;
}

.authors-page .creator-card:hover,
.artists-page .creator-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #fff;
}

.authors-page .creator-card:hover::before,
.artists-page .creator-card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

/* === Profile Image === */
.authors-page .creator-card img.profile-pic,
.artists-page .creator-card img.profile-pic {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
  object-fit: contain;
}

/* === Text Info === */
.authors-page .creator-card h3,
.artists-page .creator-card h3 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  font-weight: 700;
}

.authors-page .creator-card .author,
.artists-page .creator-card .author {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
}

/* === Expandable Bio === */
.authors-page .creator-card .bio,
.artists-page .creator-card .bio {
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  position: relative;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.95);
}

.authors-page .creator-card .bio.expanded,
.artists-page .creator-card .bio.expanded {
  max-height: 400px;
  padding-bottom: 10px;
}

/* Arrow indicator */
.authors-page .creator-card .bio::after,
.artists-page .creator-card .bio::after {
  content: " ▼";
  font-size: 0.8em;
  color: rgba(255,255,255,0.8);
  transition: transform 0.3s ease;
}

.authors-page .creator-card .bio.expanded::after,
.artists-page .creator-card .bio.expanded::after {
  content: " ▲";
}

/* === Expand Button (Optional) === */
.authors-page .creator-card .expand-btn,
.artists-page .creator-card .expand-btn {
  margin-top: 12px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.authors-page .creator-card .expand-btn:hover,
.artists-page .creator-card .expand-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}
