.author-card {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  perspective: 1000px;
  position: relative;
  border-radius: 16px;
  height: auto;
}

.card-inner {
  width: 100%;
  transition: transform 0.8s ease-in-out;
  transform-style: preserve-3d;
  position: relative;
  border-radius: 16px;
}

.card-face {
  backface-visibility: hidden;
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  box-sizing: border-box;
}

.front {
  z-index: 2;
  position: relative;
}

.back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

.author-info__sayhi {
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
  text-align: center;
  margin-bottom: 0.8rem;
}

.avatar-img-group {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 0.8rem auto;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
}

.avatar-sticker {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 26px;
  height: 26px;
}

.avatar-sticker-img {
  width: 100%;
  height: 100%;
}

.author-info__bottom-group {
  text-align: center;
  margin-top: 0.5rem;
}

.author-info__name {
  font-weight: bold;
  font-size: 1.1rem;
  color: #fff;
}

.author-info__desc {
  font-size: 0.85rem;
  color: #f1f1f1;
  margin: 0.2rem 0;
}

.card-info-social-icons {
  margin-top: 0.5rem;
}

.card-info-social-icons a {
  margin: 0 8px;
  color: #fff;
  font-size: 1.25rem;
  transition: transform 0.2s;
}

.card-info-social-icons a:hover {
  transform: scale(1.2);
}

.author-info__description {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
  padding: 1rem 0.5rem;
}

.more-btn {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .author-card {
    max-width: 100%;
    margin: 0 auto 12px auto;
  }
}

@media (max-width: 600px) {
  .author-card {
    max-width: 100%;
    margin: 0 auto 8px auto;
    padding: 8px;
  }
  .avatar-img-group {
    width: 60px;
    height: 60px;
  }
  .author-info__sayhi {
    font-size: 0.8rem;
  }
  .card-info-social-icons a {
    font-size: 1rem;
  }
}
