@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #000;
    background-color: #F0F0F0;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    height: 50px;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-button {
    text-decoration: none;
    color: #000;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #FFD700;
    color: #000;
}

.hero {
    background: #FFD700;
    color: #000;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.audio-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.audio-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.audio-section h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: #FFD700;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.audio-player-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.track-selector {
    margin-bottom: 40px;
    position: relative;
}

.track-selector label {
    display: block;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1A1A2E;
}

.track-selector::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 55%;
    transform: translateY(-50%);
    color: #1A1A2E;
    pointer-events: none;
}

.track-selector select {
    padding: 15px 25px;
    font-size: 1rem;
    border: 2px solid #FFD700;
    border-radius: 30px;
    background-color: #fff;
    color: #1A1A2E;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-weight: 600;
}

.track-selector select:focus {
    outline: none;
    border-color: #FFC300;
    box-shadow: 0 6px 20px rgba(255, 195, 0, 0.3);
}

.audio-player {
    background: #F9F9F9;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    max-width: 100%;
    margin: 0 auto;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.audio-player:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    color: #1A1A2E;
    border: 2px solid #1A1A2E;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(26, 26, 46, 0.08);
    transform: scale(1.1);
}

#play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border: none;
    background: #FFD700;
    color: #1A1A2E;
    box-shadow: 0 4px 8px rgba(255, 215, 0, 0.2);
}

#play-btn:hover {
    background: #FFC300;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(255, 195, 0, 0.3);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

#progress-bar {
    flex-grow: 1;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFD700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid #fff;
}

.time-display {
    font-size: 1rem;
    color: #555;
    min-width: 50px;
    font-weight: 600;
}

.secondary-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.volume-control i {
    color: #555;
    font-size: 1.3rem;
}

#volume-bar {
    flex-grow: 1;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

#volume-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFD700;
    cursor: pointer;
    border: 2px solid #fff;
}

.speed-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 120px;
    justify-content: flex-end;
}

.speed-control label {
    font-weight: 600;
    color: #555;
    font-size: 1rem;
}

.speed-selector {
    padding: 8px 15px;
    border: 1px solid #d1d1d1;
    border-radius: 20px;
    background-color: white;
    color: #1A1A2E;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.speed-selector:hover {
    border-color: #FFD700;
}

.track-info {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
}

#now-playing {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1A1A2E;
}

#track-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

footer {
    background-color: #1A1A2E;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #FFD700;
    transform: translateY(-3px);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.playing-animation {
    animation: pulse 1.5s infinite ease-in-out;
}

.audio-player.loading {
    position: relative;
}

.audio-player.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 10;
}

.audio-player.playing {
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .audio-section {
        padding: 80px 0;
    }
    
    .audio-section h2 {
        font-size: 2rem;
    }
    
    .audio-player {
        padding: 30px;
    }
    
    .player-controls {
        gap: 15px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    #play-btn {
        width: 55px;
        height: 55px;
    }
    
    .secondary-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .volume-control,
    .speed-control {
        min-width: 100%;
    }
    
    nav ul {
        gap: 10px;
    }
    
    .logo-image {
        height: 40px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .audio-section {
        padding: 60px 0;
    }
    
    .audio-section h2 {
        font-size: 1.8rem;
    }
    
    .audio-player {
        padding: 25px 20px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
    }
    
    #play-btn {
        width: 50px;
        height: 50px;
    }
    
    .track-selector select {
        padding: 12px 20px;
    }
    
    .logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
}

.audio-player {
    transition: all 0.3s ease;
}

.audio-player.loading {
    opacity: 0.8;
    filter: blur(1px);
}

.audio-player.playing {
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.3);
}

.audio-player.speed-changed {
    transform: scale(1.02);
    background-color: rgba(255, 165, 0, 0.1);
}

.audio-player.ended {
    animation: pulseEnd 1s;
}

.fa-volume-down.muted {
    color: #ff4757;
}

@keyframes pulseEnd {
    0% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(46, 213, 115, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}
.volume-control i {
    font-size: 1.3rem;
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
}

.volume-control .fa-volume-down,
.volume-control .fa-volume-up {
    color: #555;
}

.volume-control .fa-volume-down.active,
.volume-control .fa-volume-up.active {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.volume-control .fa-volume-mute {
    color: #FFD700;
    display: none;
}

.volume-control i:active {
    transform: scale(0.9);
}

.stacca {
  padding-right: 40%;
  padding-left: 40%;
}