/* ===== CSS Variables ===== */
:root {
    --primary-color: #1db954;
    --primary-hover: #1ed760;
    --secondary-color: #535353;
    --background-dark: #121212;
    --background-darker: #0a0a0a;
    --background-light: #181818;
    --background-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #6a6a6a;
    --border-color: #282828;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ===== Base Styles ===== */
* {
    box-sizing: border-box;
}

.song-container {
    background: var(--background-dark);
    color: var(--text-primary);
    min-height: 100vh;
    padding-bottom: 4rem;
}

/* ===== Hero Section ===== */
.song-hero {
    position: relative;
    padding: 4rem 2rem 6rem;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-background-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background-blur img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(80px) brightness(0.4);
    transform: scale(1.2);
}

.hero-background-blur::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--background-dark));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Album Art */
.album-art-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: visible;
}

.album-art-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.3), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-base);
}

.album-art-wrapper:hover .album-art-glow {
    opacity: 1;
}

.song-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
}

.album-art-wrapper:hover .song-cover {
    transform: scale(1.02);
}

.vinyl-effect {
    position: absolute;
    top: 50%;
    right: -30px;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, var(--background-darker) 30%, var(--background-darker) 35%, transparent 35%);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none;
}

.album-art-wrapper:hover .vinyl-effect {
    opacity: 0.1;
    right: -40px;
}

/* Song Title Section */
.song-title-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-primary);
}

.song-title-main {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.song-artist {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 600;
}

.song-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0;
}

/* Stats */
.song-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Action Buttons */
.main-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 16px rgba(29, 185, 84, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(29, 185, 84, 0.4);
}

.btn-play-main {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-icon-large {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-large svg {
    width: 100%;
    height: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-icon-only {
    padding: 0.875rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-icon-only svg {
    width: 20px;
    height: 20px;
}

.btn-icon-svg {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-svg svg {
    width: 100%;
    height: 100%;
}

.like-count-badge {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* ===== Audio Player ===== */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--background-darker), var(--background-light));
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.6);
}

.player-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    padding: 1rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
}

/* Player Left */
.player-left {
    display: flex;
    gap: 1rem;
    align-items: center;
    min-width: 0;
}

.player-thumbnail {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.player-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playing-animation {
    position: absolute;
    bottom: 4px;
    right: 4px;
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 12px;
}

.playing-animation span {
    width: 2px;
    background: var(--primary-color);
    animation: wave 1.2s ease-in-out infinite;
}

.playing-animation span:nth-child(1) {
    animation-delay: 0s;
}

.playing-animation span:nth-child(2) {
    animation-delay: 0.2s;
}

.playing-animation span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wave {

    0%,
    100% {
        height: 3px;
    }

    50% {
        height: 12px;
    }
}

.now-playing-info {
    min-width: 0;
    flex: 1;
}

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

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

/* Player Center */
.player-center {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.player-main-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn svg {
    width: 20px;
    height: 20px;
}

.control-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.control-btn-play {
    width: 48px;
    height: 48px;
    background: var(--text-primary);
    color: var(--background-dark);
    padding: 0;
}

.control-btn-play:hover {
    background: var(--text-primary);
    transform: scale(1.1);
}

.control-btn-play svg {
    width: 24px;
    height: 24px;
}

.progress-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.current-time,
.duration {
    font-size: 0.75rem;
    color: var(--text-secondary);
    min-width: 40px;
    font-variant-numeric: tabular-nums;
}

.progress-container {
    flex: 1;
    height: 12px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px 0;
}

.progress-track {
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.progress {
    position: relative;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    z-index: 1;
}

.progress-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--text-primary);
    border-radius: 50%;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-container:hover .progress-handle {
    opacity: 1;
}

.progress-container:hover .progress-track,
.progress-container:hover .progress {
    height: 6px;
}

/* Player Right */
.player-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    border: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.volume-control:hover .volume-slider::-webkit-slider-thumb,
.volume-control:hover .volume-slider::-moz-range-thumb {
    opacity: 1;
}

/* Wave Visualization */
.wave-visualization {
    height: 4px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
}

.waveform-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.wave-bars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 100%;
    padding: 0 1rem;
}

.wave-bar {
    width: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.3;
    animation: wave-pulse 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) {
    animation-delay: 0s;
}

.wave-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.wave-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.wave-bar:nth-child(4) {
    animation-delay: 0.3s;
}

.wave-bar:nth-child(5) {
    animation-delay: 0.4s;
}

.wave-bar:nth-child(6) {
    animation-delay: 0.5s;
}

.wave-bar:nth-child(7) {
    animation-delay: 0.6s;
}

.wave-bar:nth-child(8) {
    animation-delay: 0.7s;
}

.wave-bar:nth-child(9) {
    animation-delay: 0.8s;
}

.wave-bar:nth-child(10) {
    animation-delay: 0.9s;
}

@keyframes wave-pulse {

    0%,
    100% {
        height: 2px;
        opacity: 0.3;
    }

    50% {
        height: 4px;
        opacity: 0.8;
    }
}

/* ===== Tabs Section ===== */
.content-tabs {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

.tabs-navigation {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 0.5rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--text-primary);
    border-bottom-color: var(--primary-color);
}

.tabs-content {
    min-height: 300px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lyrics-container,
.about-container,
.credits-container {
    background: var(--background-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.lyrics-placeholder {
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 3rem 0;
}

.about-container h3,
.credits-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-item,
.credit-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child,
.credit-item:last-child {
    border-bottom: none;
}

.credit-role {
    color: var(--text-secondary);
}

.credit-name {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== Social Section ===== */
.social-section,
.related-section {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 2rem;
}

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

.section-header h2 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.view-all-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.view-all-link:hover {
    color: var(--primary-color);
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.share-btn {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-base);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.share-btn:hover::before {
    transform: translateX(100%);
}

.share-btn:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.share-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.share-icon svg {
    width: 100%;
    height: 100%;
}

.share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.share-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.share-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: white;
}

.share-link:hover,
.share-email:hover,
.share-embed:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

/* ===== Related Songs ===== */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: var(--background-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-base);
    cursor: pointer;
    border: 1px solid transparent;
}

.related-card:hover {
    background: var(--background-light);
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

.related-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

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

.btn-play-small {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    transform: translateY(8px);
}

.btn-play-small:hover {
    transform: translateY(8px) scale(1.1);
}

.related-card:hover .btn-play-small {
    transform: translateY(0);
}

.btn-play-small svg {
    width: 24px;
    height: 24px;
}

.related-card-info {
    padding: 1rem;
}

.related-card-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-card-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .album-art-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }

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

    .song-stats {
        justify-content: center;
    }

    .main-actions {
        justify-content: center;
    }

    .player-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .player-right {
        justify-content: center;
    }

    .share-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .song-hero {
        padding: 2rem 1rem 4rem;
    }

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

    .stat-item {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .main-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .tabs-navigation {
        gap: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tabs-navigation::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .lyrics-container,
    .about-container,
    .credits-container {
        padding: 1.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

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

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

    .player-left {
        min-width: 0;
    }

    .volume-control {
        display: none;
    }
}

@media (max-width: 576px) {
    .song-hero {
        padding: 1.5rem 1rem 3rem;
        min-height: auto;
    }

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

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

    .song-description {
        font-size: 0.875rem;
    }

    .song-stats {
        gap: 0.75rem;
    }

    .stat-item {
        padding: 0.5rem 0.75rem;
        flex: 1 1 calc(50% - 0.375rem);
    }

    .stat-content {
        gap: 0;
    }

    .stat-value {
        font-size: 0.875rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .btn-play-main {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .player-wrapper {
        padding: 0.75rem 1rem;
    }

    .player-main-controls {
        gap: 0.5rem;
    }

    .control-btn svg {
        width: 16px;
        height: 16px;
    }

    .control-btn-play {
        width: 40px;
        height: 40px;
    }

    .control-btn-play svg {
        width: 20px;
        height: 20px;
    }

    .btn-shuffle,
    .btn-repeat {
        display: none;
    }

    .current-time,
    .duration {
        font-size: 0.7rem;
        min-width: 35px;
    }

    .content-tabs,
    .social-section,
    .related-section {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-card-info {
        padding: 0.75rem;
    }

    .related-card-info h4 {
        font-size: 0.875rem;
    }

    .related-card-info p {
        font-size: 0.75rem;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus-visible,
.control-btn:focus-visible,
.tab-btn:focus-visible,
.share-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {

    .song-cover,
    .related-card,
    .share-btn {
        border: 2px solid currentColor;
    }
}

/* Dark mode adjustments (if needed) */
@media (prefers-color-scheme: light) {
    /* Override variables if you want to support light mode */
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 6px;
    border: 3px solid var(--background-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===== Loading States ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, var(--background-card) 25%, var(--background-light) 50%, var(--background-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ===== Print Styles ===== */
@media print {

    .audio-player,
    .main-actions,
    .social-section,
    .tabs-navigation {
        display: none !important;
    }

    .song-container {
        background: white;
        color: black;
    }
}