/* Modern Audio Player Page */
.audio-player-page {
    padding: 2rem 0 4rem;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.audio-player-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Main Player Card */
.player-main-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.player-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    min-height: 600px;
}

/* Album Art Section */
.album-art-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.album-art-container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.album-art-container:hover {
    transform: scale(1.03);
}

.album-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-art-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    font-size: 6rem;
}

.album-art-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-art-container:hover .album-art-overlay {
    opacity: 1;
}

.play-overlay-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--primary-color);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-overlay-btn:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

/* Player Content Section */
.player-content-section {
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Song Header */
.song-header {
    margin-bottom: 2.5rem;
}

.song-title-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.song-artist-main {
    font-size: 1.375rem;
    color: var(--text-secondary);
    margin: 0 0 1.25rem 0;
    font-weight: 400;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.artist-link-main {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.artist-link-main:hover {
    color: var(--secondary-color);
}

.ft-artist-main {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Inline Stats */
.stats-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.stat-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.stat-inline i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.stat-divider {
    color: var(--border-color);
    font-weight: 300;
}

/* Audio Player Controls */
.audio-player-controls {
    margin-bottom: 2rem;
}

.progress-container {
    margin-bottom: 1.5rem;
}

.progress-bar-wrapper {
    margin-bottom: 0.75rem;
}

.progress-bar-track {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: height 0.2s ease;
}

.progress-bar-track:hover {
    height: 10px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.progress-bar-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.progress-bar-track:hover .progress-bar-thumb {
    opacity: 1;
}

.time-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-current,
.time-total {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

/* Player Controls Row */
.player-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.controls-center {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-control-small {
    width: 44px;
    height: 44px;
    border: none;
    background: #f8f9fa;
    color: var(--text-secondary);
    font-size: 1.125rem;
    cursor: pointer;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-control-small:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.btn-control-nav {
    width: 52px;
    height: 52px;
    border: none;
    background: #f8f9fa;
    color: var(--text-color);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-control-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.btn-play-main {
    width: 72px;
    height: 72px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-play-main:hover {
    transform: scale(1.1);
}

.btn-play-main i {
    margin-left: 3px;
}

.volume-slider-container {
    width: 120px;
}

.volume-slider-modern {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.volume-slider-modern::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider-modern::-webkit-slider-thumb:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.volume-slider-modern::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.volume-slider-modern::-moz-range-thumb:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.btn-action {
    padding: 1.25rem 1.75rem;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-action i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
}

.btn-label {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.btn-sublabel {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
    line-height: 1;
}

.btn-download-main {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.btn-download-main:hover {
    transform: translateY(-3px);
}

.btn-share-main {
    background: white;
    color: var(--text-color);
    border: 2px solid #e9ecef;
}

.btn-share-main:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Share Modal */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.share-modal-overlay.active {
    opacity: 1;
}

.share-modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.share-modal-overlay.active .share-modal-content {
    transform: scale(1) translateY(0);
}

.share-modal-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-modal-header h3 i {
    color: var(--primary-color);
}

.share-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.share-modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.share-modal-body {
    padding: 2rem;
}

.share-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.share-option i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.share-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.share-option.whatsapp {
    border-color: #25D366;
}

.share-option.whatsapp i {
    color: #25D366;
}

.share-option.whatsapp:hover {
    background: #25D366;
    color: white;
}

.share-option.whatsapp:hover i {
    color: white;
    transform: scale(1.1);
}

.share-option.facebook {
    border-color: #1877F2;
}

.share-option.facebook i {
    color: #1877F2;
}

.share-option.facebook:hover {
    background: #1877F2;
    color: white;
}

.share-option.facebook:hover i {
    color: white;
    transform: scale(1.1);
}

.share-option.twitter {
    border-color: #1DA1F2;
}

.share-option.twitter i {
    color: #1DA1F2;
}

.share-option.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.share-option.twitter:hover i {
    color: white;
    transform: scale(1.1);
}

.share-option.telegram {
    border-color: #0088cc;
}

.share-option.telegram i {
    color: #0088cc;
}

.share-option.telegram:hover {
    background: #0088cc;
    color: white;
}

.share-option.telegram:hover i {
    color: white;
    transform: scale(1.1);
}

.share-option.copy-link {
    border-color: var(--primary-color);
}

.share-option.copy-link i {
    color: var(--primary-color);
}

.share-option.copy-link:hover {
    background: var(--primary-color);
    color: white;
}

.share-option.copy-link:hover i {
    color: white;
    transform: scale(1.1);
}

/* Related Songs Section */
.related-songs-section-modern {
    margin-top: 3rem;
}

.section-title-modern {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.02em;
}

.related-songs-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.related-song-card-modern {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-song-card-modern:hover {
    transform: translateY(-4px);
}

.related-song-image-modern {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light-color);
    position: relative;
}

.related-song-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-song-card-modern:hover .related-song-image-modern img {
    transform: scale(1.1);
}

.related-song-placeholder-modern {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 2.5rem;
}

.related-song-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-song-card-modern:hover .related-song-overlay {
    opacity: 1;
}

.related-song-overlay i {
    color: white;
    font-size: 2.5rem;
}

.related-song-info-modern {
    padding: 0.75rem 0.25rem 0 0.25rem;
}

.related-song-title-modern {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-song-artist-modern {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-song-stats {
    display: none;
}

/* Music Section (More Songs & Recommended Artists) */
.music-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.section-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Songs Grid Modern */
.songs-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

/* Artists Grid Modern */
.artists-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .player-grid {
        grid-template-columns: 420px 1fr;
    }

    .album-art-section {
        padding: 2.5rem;
    }

    .player-content-section {
        padding: 2.5rem 3rem;
    }
}

@media (max-width: 992px) {
    .player-grid {
        grid-template-columns: 1fr;
    }

    .album-art-section {
        padding: 3rem;
    }

    .album-art-container {
        max-width: 360px;
    }

    .song-title-main {
        font-size: 2.25rem;
    }

    .song-artist-main {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .audio-player-page {
        padding: 1rem 0 3rem;
    }

    .album-art-section {
        padding: 2rem;
    }

    .album-art-container {
        max-width: 300px;
    }

    .player-content-section {
        padding: 2rem;
    }

    .song-title-main {
        font-size: 1.75rem;
    }

    .song-artist-main {
        font-size: 1.125rem;
    }

    .stats-inline {
        font-size: 0.9375rem;
        gap: 0.75rem;
    }

    .player-controls-row {
        gap: 1rem;
    }

    .controls-center {
        gap: 1rem;
    }

    .btn-play-main {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .btn-control-nav {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }

    .volume-slider-container {
        width: 100px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .related-songs-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.25rem;
    }

    .songs-grid-modern,
    .artists-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }

    .section-title-modern {
        font-size: 1.5rem;
    }

    .share-options-grid {
        grid-template-columns: 1fr;
    }

    .share-modal-content {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .album-art-section {
        padding: 1.5rem;
    }

    .player-content-section {
        padding: 1.5rem;
    }

    .song-title-main {
        font-size: 1.5rem;
    }

    .song-artist-main {
        font-size: 1rem;
    }

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

    .stat-divider {
        display: none;
    }

    .controls-left,
    .controls-right {
        display: none;
    }

    .player-controls-row {
        justify-content: center;
    }

    .btn-action {
        padding: 1rem 1.25rem;
    }

    .btn-action i {
        font-size: 1.25rem;
    }

    .related-songs-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .songs-grid-modern,
    .artists-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .section-title-modern {
        font-size: 1.25rem;
    }

    .music-section {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .share-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .share-modal-header h3 {
        font-size: 1.125rem;
    }

    .share-modal-body {
        padding: 1.5rem;
    }
} 
 