/* ========================================
   REVEAL ANIMATION - SCROLL EFFECTS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for grid items */
.model-card.reveal:nth-child(1) { transition-delay: 0ms; }
.model-card.reveal:nth-child(2) { transition-delay: 50ms; }
.model-card.reveal:nth-child(3) { transition-delay: 100ms; }
.model-card.reveal:nth-child(4) { transition-delay: 150ms; }
.model-card.reveal:nth-child(5) { transition-delay: 200ms; }
.model-card.reveal:nth-child(6) { transition-delay: 250ms; }

/* ========================================
   MODEL CARD - WATCH OVERLAY
   ======================================== */
.watch-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.model-card:hover .watch-overlay {
  opacity: 1;
}

.watch-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  transform: translateY(10px);
  transition: transform 0.3s ease;
  box-shadow: var(--glow-pink);
}

.model-card:hover .watch-btn {
  transform: translateY(0);
}

.watch-icon {
  font-size: 1.1rem;
}

/* ========================================
   SINGLE MODEL PAGE STYLES
   ======================================== */
.single-model {
  padding-top: 0;
}

/* Hero Section */
.model-hero-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-xl);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}

/* Live Pulse Badge */
.live-pulse-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 0, 0, 0.9);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 3;
  animation: pulse-badge 2s infinite;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.offline-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 0.5rem 1rem;
  background: rgba(100, 100, 100, 0.9);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  z-index: 3;
}

.offline-dot {
  width: 10px;
  height: 10px;
  background: #888;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

.hero-info {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  z-index: 3;
}

.display-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: var(--space-xs);
}

.username {
  font-size: 1.1rem;
  color: var(--text-secondary);
  opacity: 0.9;
}

/* Stats Section */
.model-stats-section {
  padding: var(--space-lg) 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 768px) {
  .stats-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  text-align: center;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--pink-500);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: lowercase;
}

/* Room Subject Section */
.room-subject-section {
  padding: var(--space-xl) 0;
  background: var(--bg-primary);
  text-align: center;
}

.room-subject {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.quote-mark {
  color: var(--pink-500);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: middle;
}

/* CTA Section */
.cta-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
}

.join-now-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1.25rem 2.5rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 30px rgba(255, 0, 102, 0.4), var(--glow-pink);
}

.join-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 0, 102, 0.5), var(--glow-pink);
}

.btn-text {
  letter-spacing: 0.05em;
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.join-now-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.external-profile-link {
  margin-top: var(--space-lg);
}

.external-profile-link a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.external-profile-link a:hover {
  color: var(--pink-400);
}

/* Sticky Join Button (Mobile) */
.sticky-join-btn {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(255, 0, 102, 0.3);
}

@media (max-width: 768px) {
  .sticky-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .cta-section {
    padding-bottom: calc(var(--space-xl) + 60px);
  }
}

/* Live Cam Embed Section */
.live-cam-section {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.embed-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.embed-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .embed-container iframe {
    height: 400px;
  }
}

.affiliate-embed {
  width: 100%;
}

/* About Section */
.about-section {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.about-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border-default);
  transition: all var(--transition-fast);
}

.about-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.about-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
}

/* Profile Details */
.profile-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.detail-value {
  color: var(--text-primary);
  font-weight: 500;
}

.status-live {
  color: #00ff66;
}

.status-offline {
  color: var(--text-muted);
}

/* Bio Card */
.bio-content {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  padding: 0.4rem 0.8rem;
  background: var(--bg-elevated-1);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.tag-pill:hover {
  background: var(--bg-hover);
  border-color: var(--pink-500);
  color: var(--text-primary);
}

/* Categories List */
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-pill {
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.category-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-pink-sm);
}

/* Related Models Section */
.related-models {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--border-subtle);
}

.related-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.related-count {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 400;
}

.model-grid-related {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Mobile Responsive for Single Page */
@media (max-width: 768px) {
  .display-name {
    font-size: 1.75rem;
  }
  
  .hero-info {
    left: var(--space-md);
    bottom: var(--space-md);
  }
  
  .room-subject {
    font-size: 1rem;
    padding: 0 var(--space-md);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .join-now-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
}

/* Search Clear Button */
.search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  transition: all var(--transition-fast);
}

.search-clear:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* Scroll Progress Bar */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 10000;
  width: 0%;
  transition: width 0.1s linear;
}

/* Age Gate Disclaimer */
.age-gate-disclaimer {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: var(--space-md);
}

/* Footer Age Warning */
.age-warning {
  display: inline-block;
  margin-left: var(--space-sm);
  padding: 0.2rem 0.5rem;
  background: var(--pink-500);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
