.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}
.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 15rem;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, #f8f9fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    margin-bottom: 2rem;
}
.profile-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}
.profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
}
.profile-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.profile-image-container {
    position: relative;
    margin-bottom: 1.5rem;
}
.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}
.profile-image:hover {
    transform: scale(1.05);
}
.profile-status {
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: #28a745;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.name-status {
    display: flex;
    align-items: center;
    gap: 8px;
}
.profile-info h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.profile-bio {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.stat-item.user-profile {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
    justify-content: center;
}
.stat-number {
    font-size: 0.8em;
    font-weight: 700;
    color: #667eea;
    display: block;
}
.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}
.profile-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-modern {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}
.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-modern:hover::before {
    left: 100%;
}
.btn-primary-modern {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}
.btn-primary-modern:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}
.btn-secondary-modern {
    background: #6c757d;
    color: white;
}
.btn-secondary-modern:hover {
    background: #5a6268;
    transform: translateY(-2px);
}
.content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 4rem 0;
}
.section-header {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 20px;
}
.section-title i {
    color: #667eea;
    font-size: 1.8rem;
}
.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}
.content-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}
.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}
.content-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.content-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}
.add-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    cursor: pointer;
}
.add-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}
.content-body {
    padding: 1.5rem;
}
.playlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.playlist-item {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}
.playlist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.playlist-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.profile-podcast-image {
    height: 200px;
    width: 100%;
    object-fit: fill;
}
.playlist-item:hover .playlist-image {
    transform: scale(1.05);
}
.playlist-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.playlist-item:hover .playlist-overlay {
    opacity: 1;
}
.play-button {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}
.play-button:hover {
    transform: scale(1.1);
}
.playlist-info {
    padding: 1rem;
}
.playlist-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-align: left;
}
.playlist-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.meta-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}
.playlist-action {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}
.playlist-action.primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}
.playlist-action.primary:hover {
    background: linear-gradient(45deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.playlist-action.secondary {
    background: #6c757d;
    color: white;
}
.playlist-action.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}
.empty-state-icon {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}
.empty-state-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.empty-state-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
}
.section-divider {
    border: none;
    border-top: 2px solid rgba(0,0,0,0.05);
    margin: 3rem 0;
}
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.alert-success {
    background: linear-gradient(45deg, #d4edda, #c3e6cb);
    color: #155724;
}
.alert-danger {
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
    color: #721c24;
}
.alert-dismissible .btn-close {
    padding: 0.75rem 1rem;
}
.fade-in {
    animation: fadeIn 0.6s ease-in;
}
.slide-up {
    animation: slideUp 0.8s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991px) {
    .hero-banner { min-height: 50vh; padding: 3rem 0; }
    .hero-content { margin-top: 8rem; }
    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1rem; }
    .profile-card { padding: 1.5rem; }
    .profile-image { width: 100px; height: 100px; }
    .profile-info h1 { font-size: 1.9rem; }
    .profile-bio { font-size: 1rem; }
    .profile-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .playlist-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .section-title { font-size: 1.7rem; }
}
@media (max-width: 768px) {
    .hero-banner { min-height: 50vh; }
    .hero-content { margin-top: 6rem; }
    .hero-title { font-size: 2rem; line-height: 1.2; }
    .hero-subtitle { font-size: 0.95rem; }
    .profile-section { margin-top: -50px; }
    .profile-card { padding: 1.5rem; }
    .profile-image { width: 85px; height: 85px; }
    .profile-info h1 { font-size: 1.6rem; }
    .profile-bio { font-size: 0.95rem; }
    .profile-stats { grid-template-columns: repeat(2, 1fr); }
    .playlist-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.5rem; }
    .section-header { text-align: center; }
    .playlist-title { font-size: 1rem; }
    .profile-actions { justify-content: center; gap: 0.6rem; }
}
@media (max-width: 575px) {
    .hero-banner { min-height: 30rem; padding: 2rem 0; }
    .hero-content { margin-top: 6rem; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .profile-card { padding: 1rem; }
    .profile-image { width: 70px; height: 70px; }
    .profile-info h1 { font-size: 1.4rem; }
    .profile-bio { font-size: 0.9rem; line-height: 1.45; }
    .profile-stats { grid-template-columns: 1fr; gap: 0.6rem; }
    .stat-item { padding: 0.75rem; }
    .section-header { padding: 1.5rem 0; margin-bottom: 2rem; }
    .section-title { font-size: 1.3rem; }
    .playlist-grid { grid-template-columns: 1fr; }
    .playlist-title { font-size: 0.95rem; }
    .playlist-action { font-size: 0.9rem; padding: 0.6rem; }
}
@media (max-width: 400px) {
    .hero-title { font-size: 1.55rem; }
    .hero-subtitle { font-size: 0.85rem; }
    .profile-info h1 { font-size: 1.25rem; }
    .profile-bio { font-size: 0.85rem; }
    .section-title { font-size: 1.2rem; }
}
