/* Demo Player Section */
.demo-player {
    padding: 4rem 2rem;
    background-color: var(--background-main);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.player-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: var(--white-pure);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    margin-bottom: 3rem;
}

.demo-video-player {
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--gray-900);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s ease;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
}

.play-icon {
    font-size: 1.5rem;
}

.watch-text {
    font-size: 1rem;
    font-weight: 500;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.player-info {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.track-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.track-details p {
    color: #00DFD8;
    font-size: 1rem;
    font-weight: 500;
}

.demo-playlist {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.demo-playlist h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.playlist-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--white-pure);
    border: 1px solid var(--gray-100);
    position: relative;
}

.preview-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.preview-item.active {
    border-color: #007CF0;
    background: rgba(0, 124, 240, 0.05);
}

.preview-item img {
    width: 120px;
    height: 68px;
    border-radius: var(--border-radius-sm);
    object-fit: cover;
}

.preview-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.preview-info h4 {
    color: var(--gray-900);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.preview-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

.now-playing {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #007CF0;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 124, 240, 0.1);
    border-radius: 12px;
}

.feature-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.feature-tag {
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.demo-feature {
    background: var(--white-pure);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: transform 0.3s ease;
}

.demo-feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 50%;
}

.demo-feature h4 {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.demo-feature p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 992px) {
    .player-showcase {
        grid-template-columns: 1fr;
    }
    
    .demo-playlist {
        max-height: 300px;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .demo-player {
        padding: 3rem 1rem;
    }
    
    .track-details h3 {
        font-size: 1.25rem;
    }
    
    .demo-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-tags {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .preview-item img {
        width: 80px;
        height: 45px;
    }
    
    .now-playing {
        display: none;
    }
    
    .player-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}