* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Model Profile Styles */
.modelProfile {
  margin-left: 16rem;
  min-height: 100vh;
  background: linear-gradient(135deg, #fafafa 0%, #f1f5f9 100%);
  width: calc(100% - 16rem);
}

.contentWrapper {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Back Button */
.backButton {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-size: 13.3333px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
}

.backButton span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.33px;
}

.backButton:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: #1e293b;
}

.backIcon {
  width: 1rem;
  height: 1rem;
}

/* Profile Header */
.profileHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  text-align: center;
}

.profileImageContainer {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 6px solid white;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
  position: relative;
}

.profileImageContainer:hover {
  /* transform: scale(1.02); */
}

.profileImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profileInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.modelName {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.025em;
}

/* Media Type Buttons */
.mediaButtons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.mediaBtn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.mediaBtn:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: #475569;
}

.mediaBtn.active {
  background: linear-gradient(135deg, #d37595 0%, #cf5e84 100%);
  border-color: #c95c80;
  color: white;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.mediaBtn.active:hover {
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.5);
}

.mediaIcon {
  width: 1rem;
  height: 1rem;
}

.username {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #475569;
  margin: 0;
}

.leaked {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  margin-bottom: 5px;
  font-style: italic;
  font-weight: 500;
  color: #efabc5; /* dark rose */
  background: linear-gradient(90deg, #e56f9c, #e39999, #d87093, #e192b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
  text-shadow: 0 0 10px #b0306099, 0 0 20px #8b000066;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

@keyframes shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.photoCount {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #475569;
  margin: 0;
  font-weight: 500;
}

/* Album Grid */
.albumGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
  gap: 1rem;
  justify-content: center;
  max-width: calc(250px * 4 + 1.5rem * 3);
  margin: 1.5rem auto 0;
}

.albumGrid::after {
  content: none;
  display: none;
}

.albumImageContainer {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: transparent;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  display: block;
}

.albumImageContainer:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.albumImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.albumImageContainer:hover .albumImage {
  /* transform: scale(1.02); */
}

/* No Photos */
.noPhotos {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.noPhotos p {
  font-size: 1.2rem;
  margin: 0;
}

/* Loading Spinner */
.loadingSpinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  width: 100%;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Video Styles */
.videoThumbnail {
  position: relative;
  width: 100%;
  height: 100%;
}

.videoPlayButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: none;
}

.videoPlayButton svg {
  width: 30px;
  height: 30px;
  color: white;
  margin-left: 4px;
}

.albumImageContainer:hover .videoPlayButton {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Hidden state for video grid */
.hidden {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modelProfile {
    margin-left: 0;
    width: 100%;
  }

  .contentWrapper {
    padding: 1rem;
  }
  
  .profileHeader {
    margin-bottom: 1.5rem;
  }
  
  .profileImageContainer {
    width: 150px;
    height: 150px;
  }
  
  .modelName {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .profileImageContainer {
    width: 120px;
    height: 120px;
  }
  
  .modelName {
    font-size: 1.75rem;
  }
  
  .photoCount {
    font-size: 1rem;
  }
  
  .albumGrid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    max-width: 100%;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .contentWrapper {
    padding: 0.5rem;
  }
  
  .albumGrid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
    padding: 0 5px;
  }
}
