:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gold-gradient: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
}

.container-xl { max-width: 1280px; }

/* Header del Perfil */
.profile-hero {
  background: var(--primary-gradient);
  border-radius: 24px;
  padding: 3rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: rgba(255,255,255,0.1);
  transform: rotate(15deg);
}

.profile-avatar-wrapper {
  position: relative;
  z-index: 2;
}

.profile-avatar-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255,255,255,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  background: #fff;
}

.profile-info {
  position: relative;
  z-index: 2;
}

.profile-name {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.profile-handle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge-custom {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-premium {
  background: var(--gold-gradient);
  box-shadow: 0 4px 15px rgba(247, 151, 30, 0.4);
}

.badge-creator {
  background: var(--secondary-gradient);
  box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.profile-bio {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 600px;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card-modern {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stat-card-modern:hover::before {
  transform: scaleX(1);
}

.stat-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.stat-icon-purple { background: linear-gradient(135deg, #667eea22 0%, #764ba222 100%); color: #667eea; }
.stat-icon-pink { background: linear-gradient(135deg, #f093fb22 0%, #f5576c22 100%); color: #f5576c; }
.stat-icon-blue { background: linear-gradient(135deg, #4facfe22 0%, #00f2fe22 100%); color: #4facfe; }
.stat-icon-gold { background: linear-gradient(135deg, #f7971e22 0%, #ffd20022 100%); color: #f7971e; }

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #1a202c;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 600;
}

/* Tabs Modernos */
.nav-tabs-modern {
  border: none;
  background: #fff;
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.nav-tabs-modern .nav-link {
  border: none;
  color: #718096;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.nav-tabs-modern .nav-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

.nav-tabs-modern .nav-link.active {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Content Cards */
.content-card-modern {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.content-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.content-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.content-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 3rem;
}

.content-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-desc {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.content-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #a0aec0;
}

.content-category {
  background: linear-gradient(135deg, #667eea22 0%, #764ba222 100%);
  color: #667eea;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* Info Cards */
.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  /*height: 100%;*/
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f7fafc;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #4a5568;
}

.info-item i {
  color: #a0aec0;
  width: 20px;
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7fafc;
  color: #4a5568;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-gradient);
  color: #fff;
  transform: translateY(-3px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.empty-icon {
  font-size: 4rem;
  color: #cbd5e0;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-hero {
    padding: 2rem 1.5rem;
  }
  
  .profile-name {
    font-size: 1.75rem;
  }
  
  .profile-avatar-large {
    width: 100px;
    height: 100px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}