/**
 * KDOPE Artists Plugin - Frontend Styles
 * Version: 1.0.0
 */

/* ==========================================================================
   Artist Profile Hero
   ========================================================================== */

.kdope-artist-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 40px;
}

.kdope-artist-hero .container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.kdope-artist-image {
    flex: 0 0 300px;
}

.kdope-artist-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.kdope-artist-header-content {
    flex: 1;
}

.kdope-artist-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Badges */
.kdope-artist-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.kdope-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kdope-badge--main {
    background: #4CAF50;
    color: white;
}

.kdope-badge--compilation {
    background: #FF9800;
    color: white;
}

.kdope-badge--featuring {
    background: #2196F3;
    color: white;
}

.kdope-badge--remix {
    background: #9C27B0;
    color: white;
}

/* Stats */
.kdope-artist-stats {
    display: flex;
    gap: 40px;
}

.kdope-stat {
    display: flex;
    flex-direction: column;
}

.kdope-stat-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.kdope-stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* ==========================================================================
   Tabs Navigation
   ========================================================================== */

.kdope-tabs-nav {
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 40px;
}

.kdope-tabs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

.kdope-tab-link {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.kdope-tab-link:hover {
    color: #333;
    background: #f5f5f5;
}

.kdope-tab-link.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

/* ==========================================================================
   Tab Panels
   ========================================================================== */

.kdope-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.kdope-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kdope-tab-panel h2 {
    font-size: 32px;
    margin: 0 0 30px 0;
    color: #333;
}

/* ==========================================================================
   Releases Grid
   ========================================================================== */

.kdope-releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.kdope-release-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kdope-release-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.kdope-release-cover {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f0f0f0;
}

.kdope-release-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kdope-release-info {
    padding: 15px;
}

.kdope-release-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.kdope-release-date {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px 0;
}

.kdope-release-catalog {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ==========================================================================
   Compilation Blocks
   ========================================================================== */

.kdope-compilation-block {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kdope-compilation-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.kdope-compilation-cover {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    object-fit: cover;
}

.kdope-compilation-info h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
}

.kdope-compilation-date {
    color: #666;
    margin: 0;
}

.kdope-track-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kdope-track-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.kdope-track-item:last-child {
    border-bottom: none;
}

.kdope-track-number {
    flex: 0 0 30px;
    text-align: center;
    font-weight: 600;
    color: #999;
}

.kdope-track-title {
    flex: 1;
    font-weight: 500;
}

.kdope-track-duration {
    flex: 0 0 auto;
    color: #999;
    font-size: 14px;
}

/* ==========================================================================
   Featuring List
   ========================================================================== */

.kdope-featuring-list {
    display: grid;
    gap: 20px;
}

.kdope-featuring-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.kdope-featuring-cover {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
}

.kdope-featuring-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kdope-featuring-track {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.kdope-featuring-artist {
    color: #666;
    margin: 0;
}

.kdope-featuring-date {
    color: #999;
    font-size: 14px;
}

/* ==========================================================================
   Timeline
   ========================================================================== */

.kdope-timeline {
    position: relative;
    padding-left: 50px;
}

.kdope-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.kdope-timeline-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.kdope-timeline-date {
    flex: 0 0 120px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-align: right;
    padding-top: 2px;
}

.kdope-timeline-content {
    flex: 1;
    display: flex;
    gap: 15px;
    align-items: center;
}

.kdope-timeline-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #667eea;
    position: absolute;
    left: 15px;
}

.kdope-timeline-item--compilation .kdope-timeline-icon {
    background: #FF9800;
    box-shadow: 0 0 0 2px #FF9800;
}

.kdope-timeline-item--featuring .kdope-timeline-icon {
    background: #2196F3;
    box-shadow: 0 0 0 2px #2196F3;
}

.kdope-timeline-item--remix .kdope-timeline-icon {
    background: #9C27B0;
    box-shadow: 0 0 0 2px #9C27B0;
}

.kdope-timeline-text {
    font-weight: 500;
}

/* ==========================================================================
   Archive Page
   ========================================================================== */

.kdope-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.kdope-archive-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.kdope-archive-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.kdope-filter-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    transition: all 0.3s ease;
}

.kdope-filter-btn:hover,
.kdope-filter-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.kdope-artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.kdope-artist-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kdope-artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.kdope-artist-card-link {
    text-decoration: none;
    color: inherit;
}

.kdope-artist-card-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.kdope-artist-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kdope-artist-card-content {
    padding: 20px;
}

.kdope-artist-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.kdope-artist-card-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.kdope-artist-card-stat {
    color: #666;
}

.kdope-artist-card-badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .kdope-artist-hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .kdope-artist-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 250px;
    }
    
    .kdope-artist-title {
        font-size: 32px;
    }
    
    .kdope-artist-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .kdope-tabs-list {
        flex-wrap: wrap;
    }
    
    .kdope-tab-link {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .kdope-releases-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .kdope-timeline {
        padding-left: 30px;
    }
    
    .kdope-timeline-date {
        flex: 0 0 80px;
        font-size: 12px;
    }
    
    .kdope-artists-grid {
        grid-template-columns: 1fr;
    }
}

