/* ==================== PLAYER STYLES ==================== */

.player-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: rgb(142, 221, 252);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
}

/* Album Info */
.album-info {
    text-align: center;
    margin-bottom: 30px;
}

.album-cover {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.album-cover img:hover {
    transform: scale(1.05);
}

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

/* Progress Bar */
.progress-container {
    margin: 25px 0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.85em;
    color: #718096;
}

/* Player Controls */
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

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

.control-btn:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.control-btn:hover:not(:disabled) {
    background: #5a67d8;
    transform: scale(1.1);
}

.play-btn {
    background: var(--primary-color);
    width: 60px;
    height: 60px;
    font-size: 1.5em;
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    outline: none;
}

/* Track List */
.track-list {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin: 8px 0;
    background: rgb(220, 159, 228);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.track-item:hover {
    background: rgb(228, 188, 233);
    transform: translateX(5px);
}

.track-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.track-item.playing::before {
    content: '▶';
    margin-right: 10px;
    font-size: 0.8em;
}

/* Album Slider */
.album-slider {
    margin-top: 20px;
}

.album-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.album-slider-header h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.2em;
}

.album-slider-container {
    overflow-x: auto;
    padding: 10px 0;
}

.album-slider-track {
    display: flex;
    gap: 15px;
}

.album-slider-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}


/* Кнопки погоды */
.btn-icon {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.15);
}
.btn-icon:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.4);
}
.btn-snow i, .btn-rain i {
    font-size: 18px;
}

/* ===== Neo Header ===== */
.neo-header {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 6px 22px 6px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    margin: 0;
    width: fit-content;
}

.neo-icon {
    font-size: 26px;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
    line-height: 1;
}

.neo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #d0d0e8 0%, #ffffff 50%, #c0c0d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(255,255,255,0.08);
    line-height: 1;
}

.neo-sub {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.5;
    color: #aab;
    margin-left: -3px;
    align-self: flex-end;
    padding-bottom: 2px;
    line-height: 1;
}
