/* Component styles */
.model-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.model-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-pink);
}

.model-image-container {
  position: relative;
  width: 100%;
  padding-top: 120%;
  overflow: hidden;
}

.model-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.model-card:hover .model-image {
  transform: scale(1.05);
}

.instagram-frame {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 24px;
  color: white;
}

.instagram-icons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.instagram-icons svg {
  width: 24px;
  height: 24px;
}

.model-info {
  padding: 24px;
}

.model-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.model-handle {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: var(--accent-pink);
  margin: 0 0 12px 0;
  font-weight: 600;
}

.model-bio {
  font-family: 'Lora', serif;
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.model-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

.stat {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
}

.stat strong {
  color: var(--text-primary);
  font-weight: 700;
}

.btn-view-profile {
  background: var(--accent-pink);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-view-profile:hover {
  background: #FF0055;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 51, 102, 0.4);
}

/* Instagram popup modal */
.instagram-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-popup.active {
  display: flex;
  opacity: 1;
}

.popup-content {
  background: white;
  border-radius: 12px;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
}

.popup-header {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #E0E0E0;
}

.popup-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F0F0F0;
  margin-right: 12px;
}

.popup-username {
  font-weight: 700;
  font-size: 18px;
}

.popup-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.popup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.popup-post {
  aspect-ratio: 1;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #999;
}

/* Tag Cloud */
.tag-cloud {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-md);
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -1px;
  text-align: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  justify-content: center;
}

.tag {
  padding: 12px 24px;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: floatTag 3s ease-in-out infinite;
}

.tag:nth-child(1) { animation-delay: 0s; }
.tag:nth-child(2) { animation-delay: 0.2s; }
.tag:nth-child(3) { animation-delay: 0.4s; }
.tag:nth-child(4) { animation-delay: 0.6s; }
.tag:nth-child(5) { animation-delay: 0.8s; }
.tag:nth-child(6) { animation-delay: 1.0s; }
.tag:nth-child(7) { animation-delay: 1.2s; }
.tag:nth-child(8) { animation-delay: 1.4s; }
.tag:nth-child(9) { animation-delay: 1.6s; }
.tag:nth-child(10) { animation-delay: 1.8s; }

.tag-model {
  background: linear-gradient(135deg, #FF3366, #FF6699);
  color: white;
  border: 2px solid #FF3366;
}

.tag-brand {
  background: linear-gradient(135deg, #0099FF, #33BBFF);
  color: white;
  border: 2px solid #0099FF;
}

.tag:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 51, 102, 0.4);
}

@keyframes floatTag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}