/* Estilos para el reproductor de Radio Galaxia */
body {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Menú de navegación */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Cassette Player */
.cassette-container {
    width: 100%;
    max-width: 400px;
    margin: 80px auto 20px;
    position: relative;
}

.cassette {
    background-color: #000;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    border: 2px solid #ff0000;
}

.cassette-inner {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.cassette-title {
    text-align: center;
    margin-bottom: 15px;
}

.cassette-title h1 {
    font-family: 'Arial', sans-serif;
    font-size: 28px;
    color: #ff0000;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ff0000, #cc0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cassette-title p {
    font-size: 14px;
    color: #000;
    margin: 5px 0 0;
    font-style: italic;
}

.cassette-tape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    position: relative;
}

.cassette-reel {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    border: 1px solid #ff0000;
}

.cassette-reel:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.cassette-reel:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px dashed #ff0000;
}

.cassette-reel.left {
    animation: rotate 8s linear infinite;
}

.cassette-reel.right {
    animation: rotate 8s linear infinite;
}

.cassette-window {
    flex: 1;
    height: 40px;
    margin: 0 15px;
    background: rgba(0,0,0,0.1);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
}

.cassette-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    text-align: center;
    font-size: 14px;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cassette-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: white;
    font-size: 18px;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.5);
}

.control-btn.play-pause {
    width: 60px;
    height: 60px;
    font-size: 22px;
}

.volume-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.volume-icon {
    color: #000;
    font-size: 16px;
}

.volume-slider {
    width: 100px;
    height: 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(255, 0, 0, 0.3);
}

.volume-slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 5px rgba(255, 0, 0, 0.3);
}

.track-info {
    text-align: center;
    margin-top: 20px;
    color: #000;
}

.track-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.track-artist {
    font-size: 14px;
    color: #000;
}

.equalizer {
    display: inline-flex;
    align-items: flex-end;
    height: 20px;
    gap: 2px;
    margin-left: 10px;
    vertical-align: middle;
}

.equalizer .bar {
    width: 3px;
    background: linear-gradient(to top, #ff0000, #cc0000);
    border-radius: 2px;
    animation: equalizer 1s ease-in-out infinite;
}

.equalizer .bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.equalizer .bar:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.equalizer .bar:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.equalizer .bar:nth-child(4) { height: 10px; animation-delay: 0.3s; }
.equalizer .bar:nth-child(5) { height: 14px; animation-delay: 0.4s; }

@keyframes equalizer {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.3); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.slogan {
    font-style: italic;
    font-size: 18px;
    color: #ff0000;
    text-align: center;
    margin-top: 15px;
}

.powered-by {
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    opacity: 0.7;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-item {
        margin: 10px 0;
        font-size: 18px;
    }
    
    .cassette-container {
        max-width: 320px;
    }
    
    .cassette-title h1 {
        font-size: 24px;
    }
}