/* =========================================== */
/* JANNA ALBUMS STYLES */
/* =========================================== */

:root {
    --album-primary: #D4AF37;
    --album-secondary: #FFD700;
    --album-dark: #1A1A1A;
    --album-light: #2A2A2A;
    --album-text: #FFFFFF;
    --album-text-light: #AAAAAA;
}

/* Album Shortcodes */
.janna-albums-grid-wrapper,
.janna-latest-albums {
    margin: 40px 0;
}

.albums-grid {
    display: grid;
    gap: 25px;
}

.album-card {
    background: var(--album-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.album-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--album-primary);
}

.album-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.album-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.album-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.album-card:hover .album-thumb {
    transform: scale(1.05);
}

.album-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--album-primary) 0%, var(--album-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.play-icon,
.tracks-count {
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.album-info {
    padding: 20px;
}

.album-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--album-text);
    line-height: 1.3;
}

.album-artists {
    font-size: 14px;
    color: var(--album-text-light);
    margin-bottom: 10px;
    line-height: 1.4;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888;
}

.album-year,
.album-tracks {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Album Tracks Shortcode */
.janna-album-tracks {
    background: var(--album-dark);
    border-radius: 10px;
    overflow: hidden;
    margin: 30px 0;
}

.tracks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--album-light);
    border-bottom: 1px solid #333;
}

.tracks-header h3 {
    margin: 0;
    color: var(--album-text);
    font-size: 20px;
}

.total-tracks {
    color: var(--album-primary);
    font-weight: 600;
    font-size: 14px;
}

.tracks-list {
    padding: 10px 0;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    transition: background 0.3s ease;
}

.track-item:hover {
    background: var(--album-light);
}

.track-item:last-child {
    border-bottom: none;
}

.track-number {
    width: 40px;
    text-align: center;
    color: #888;
    font-weight: bold;
    font-size: 16px;
}

.track-info {
    flex: 1;
    padding-right: 20px;
}

.track-title {
    margin: 0 0 5px 0;
    color: var(--album-text);
    font-size: 16px;
    font-weight: 500;
}

.track-artists {
    font-size: 13px;
    color: var(--album-text-light);
}

.track-artists a {
    color: var(--album-primary);
    text-decoration: none;
}

.track-artists a:hover {
    text-decoration: underline;
}

.track-duration {
    width: 60px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.track-actions {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.play-track-btn,
.download-track-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.play-track-btn:hover {
    background: var(--album-primary);
    color: black;
    transform: scale(1.1);
}

.download-track-btn:hover {
    background: #4CAF50;
    transform: scale(1.1);
}

/* Latest Albums Shortcode */
.janna-latest-albums .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.janna-latest-albums .section-title {
    font-size: 24px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.janna-latest-albums .section-title i {
    color: var(--album-primary);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--album-primary);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    background: #c19b2e;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .track-item {
        flex-wrap: wrap;
        padding: 12px 15px;
    }
    
    .track-info {
        flex-basis: 100%;
        order: 2;
        padding-right: 0;
        margin-top: 10px;
    }
    
    .track-number {
        order: 1;
    }
    
    .track-duration {
        order: 3;
        margin-left: auto;
    }
    
    .track-actions {
        order: 4;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .janna-latest-albums .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .albums-grid {
        grid-template-columns: 1fr !important;
    }
    
    .album-cover {
        height: 180px;
    }
}