/* Fellow Creators Page Styles */

/* Creator Cards Grid */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.creator-card {
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border-radius: 15px;
  padding: 25px;
  border: 2px solid #444;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.creator-card:hover {
  transform: translateY(-5px);
  border-color: #ffd700;
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}

.creator-card.expanded {
  grid-column: 1 / -1;
  max-width: 100%;
}

/* ================================
   COLLAPSED CARD STYLES
   ================================ */

.creator-card.collapsed {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

/* Creator Avatar */
.creator-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ffd700, #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  color: #1a1a1a;
  border: 3px solid #444;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.creator-card:hover .creator-avatar {
  border-color: #ffd700;
  transform: scale(1.1);
}

/* Creator avatar with actual image */
.creator-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Creator Info */
.creator-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.creator-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.creator-name {
  color: #ffd700;
  font-size: 1.4em;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.creator-category {
  color: #ff8c00;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.creator-bio {
  color: #cccccc;
  line-height: 1.5;
  font-size: 0.95em;
  margin: 10px 0;
}

.creator-bio.preview {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.creator-bio.full {
  display: block;
}

/* Hide preview bio in expanded mode, show full bio */
.creator-card.expanded .creator-bio.preview {
  display: none;
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  width: auto;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 85px !important;
  min-width: 85px;
  max-width: 85px;
  height: 28px;
  padding: 0 8px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.8em;
  border: 1px solid transparent;
  color: white;
  font-weight: 500;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
}

/* Expanded card - keep social links horizontal */
.creator-card.expanded .social-links {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.creator-card.expanded .social-link {
  justify-content: center;
  width: 85px !important;
  min-width: 85px;
  max-width: 85px;
  padding: 0 6px;
  font-size: 0.75em;
}

/* Expanded card header layout */
.creator-card.expanded .creator-info {
  align-items: flex-start;
}

.creator-card.expanded .creator-header {
  flex-direction: row;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

.creator-card.expanded .creator-name {
  margin-right: 0;
}

.creator-card.expanded .creator-category {
  font-size: 1em;
  color: #ff8c00;
}

.creator-card.expanded .creator-name:after {
  content: " | ";
  color: #666;
  font-weight: normal;
  margin: 0 8px;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  border-color: currentColor;
}

.social-link.twitch {
  background: #9146ff;
  color: white;
}

.social-link.youtube {
  background: #ff0000;
  color: white;
}

.social-link.twitter {
  background: #1da1f2;
  color: white;
}

.social-link.website {
  background: #ffd700;
  color: #1a1a1a;
}

.social-link.instagram {
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
}

.social-link.tiktok {
  background: #000000;
  color: white;
  border: 1px solid white;
}

.social-link.kick {
  background: #53fc18 !important;
  color: #000000 !important;
  border: 1px solid #53fc18 !important;
}

/* Expand/Collapse Button */
.expand-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid #ffd700;
  color: #ffd700;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2em;
  z-index: 10;
}

.expand-btn:hover {
  background: #ffd700;
  color: #1a1a1a;
}

/* Collapsed: original flex layout with wrapper */
.creator-card.collapsed .creator-top-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.creator-card.collapsed .creator-stats {
  display: none;
}

.creator-card.collapsed .creator-bio-section {
  display: none;
}

/* ================================
   EXPANDED CARD STYLES
   ================================ */

.creator-card.expanded {
  display: grid;
  grid-template-columns: 25% 75%;
  gap: 30px;
  align-items: stretch;
}

.creator-card.expanded .creator-top-row {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.creator-card.expanded .creator-stats {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  background: rgba(255, 215, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  margin-top: 20px;
}

.creator-card.expanded .creator-bio-section {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  background: rgba(255, 215, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  margin-top: 20px;
  margin-right: 25px;
}

.creator-stats h4 {
  color: #ffd700;
  margin-bottom: 15px;
}

.creator-stats ul {
  list-style: none;
  padding: 0;
}

.creator-stats li {
  color: #cccccc;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.creator-stats li:before {
  content: "★";
  color: #ffd700;
  position: absolute;
  left: 0;
}



.recent-content {
  background: rgba(68, 68, 68, 0.3);
  padding: 20px;
  border-radius: 10px;
}

/* Coming Soon Section (if still needed) */
.coming-soon-section {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 215, 0, 0.05);
  border-radius: 15px;
  border: 2px dashed #ffd700;
  margin: 40px 0;
}

.coming-soon-section h2 {
  color: #ffd700;
  margin-bottom: 20px;
}

.coming-soon-section p {
  color: #cccccc;
  font-size: 1.1em;
  margin-bottom: 30px;
}

.planned-content {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 10px;
  display: inline-block;
  text-align: left;
}

.planned-content ul {
  color: #cccccc;
  list-style: none;
  padding: 0;
}

.planned-content li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.planned-content li:before {
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
  .creator-card.expanded {
    grid-template-columns: 30% 70%;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .creators-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .creator-card.expanded {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  

  
  .creator-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .creator-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.8em;
  }
  
  .creator-info {
    align-items: center;
  }
  
  .social-links {
    gap: 6px;
    align-items: center;
  }
  
  .social-link {
    height: 24px;
    font-size: 0.75em;
    padding: 0 6px;
    max-width: 80px;
  }
}

/* Animation for card transitions */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.creator-card {
  animation: slideIn 0.6s ease forwards;
}

.creator-card:nth-child(2) { animation-delay: 0.1s; }
.creator-card:nth-child(3) { animation-delay: 0.2s; }
.creator-card:nth-child(4) { animation-delay: 0.3s; }
.creator-card:nth-child(5) { animation-delay: 0.4s; }
.creator-card:nth-child(6) { animation-delay: 0.5s; }