/* Influencer Profile page - Tokyo Night Theme */
.influencer-profile-section {
  padding: 2.5rem 0 2rem;
  background: var(--bg-main);
}

.profile-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--bg-elevated);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.profile-left {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex: 1;
}

.profile-avatar-wrapper {
  flex-shrink: 0;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-name {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.profile-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
}

.profile-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-follow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--bg-main);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-follow:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-view-performance {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-view-performance:hover {
  background: var(--bg-highlight);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  color: #ff0000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-youtube:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: #ff0000;
  transform: translateY(-2px);
}

.performance-card {
  flex-shrink: 0;
  width: 400px;
  background: var(--bg-surface);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.performance-card-header {
  margin-bottom: 0.5rem;
}

.performance-card-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-bright);
}

.performance-card-value {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}

.performance-card-value.positive {
  color: var(--success);
}

.performance-card-value.negative {
  color: var(--danger);
}

.performance-card-chart {
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--bg-elevated);
}

.chart-image {
  width: 100%;
  height: auto;
  display: block;
}

.performance-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.stat-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.info-icon {
  font-size: 0.85rem;
  color: var(--text-dim);
  cursor: help;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-bright);
  letter-spacing: -0.01em;
}

.stat-value.positive {
  color: var(--success);
}

.stat-value.negative {
  color: var(--danger);
}

.videos-stats {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.videos-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-separator {
  color: var(--border);
}

@media (max-width: 1024px) {
  .profile-header {
    flex-direction: column;
  }

  .performance-card {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .influencer-profile-section {
    padding: 1.5rem 0;
  }

  .profile-header {
    padding: 1.5rem;
  }

  .profile-left {
    flex-direction: column;
    gap: 1.25rem;
  }

  .profile-avatar-wrapper {
    align-self: center;
  }

  .profile-info {
    text-align: center;
  }

  .profile-name {
    font-size: 2rem;
    line-height: 1.2;
  }

  .profile-subtitle {
    font-size: 1rem;
  }

  .profile-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.875rem;
  }

  .btn-follow,
  .btn-view-performance {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-youtube {
    width: 100%;
    height: 48px;
  }

  .performance-card {
    padding: 1.5rem 1.25rem;
  }

  .performance-card-value {
    font-size: 2.5rem;
  }

  .performance-card-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stat-col {
    text-align: center;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border-radius: 0.75rem;
  }

  .videos-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .stat-separator {
    display: none;
  }
}
