/* Importar fuentes de Google */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Orbitron:wght@700&display=swap');

/* Fuentes locales */
@font-face {
    font-family: 'Akira';
    src: url('Akira.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AkiraExpand';
    src: url('akiraexpand.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #5d2cc3;
    --white: #ffffff;
}

/* --- CUERPO --- */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('img/default_cover.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Akira', sans-serif;
    color: var(--white);
    position: relative;
    overflow-x: hidden;
}

/* Capa de desenfoque */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(30px) brightness(0.5);
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

/* --- CONTENEDOR PRINCIPAL --- */
.main-wrapper {
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 20px 20px; 
    box-sizing: border-box;
    flex-grow: 1;
    justify-content: flex-start;
}

/* Logo superior */
.logo-header {
    width: 200px;
    height: auto;
    margin-top: 10px;
    margin-bottom: 5px; 
}

.cover-wrapper {
    width: 275px;
    height: 275px;
    border: 15px solid rgba(255, 255, 255, 0.1); 
    border-radius: 20px; 
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    margin-top: 0;
}

.cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- STATUS TAG --- */
.status-tag {
    position: relative;
    color: var(--white);
    display: inline-block;
    padding: 2px 8px; 
    font-size: 8px;   
    margin-top: 20px;
    border-radius: 2px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    transform: translateX(-105px); 
    animation: parpadeo-rojo 2s ease-in-out infinite;
}

.status-tag::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%; 
    width: 205px; 
    height: 1.5px;  
    background-color: var(--white);
    transform: translateY(-50%);
    margin-left: 12px;
}

@keyframes parpadeo-rojo {
    0%, 100% { background-color: #ff0000; box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); }
    50% { background-color: rgba(255, 0, 0, 0); box-shadow: 0 0 0px rgba(255, 0, 0, 0); }
}

.main-station-title {
    font-size: 26px;
    margin: 15px 0 5px 0;
    letter-spacing: 1px;
}

.description {
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}

/* --- REDES SOCIALES --- */
.social-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-social {
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

/* --- ANIMACIÓN SOLO PARA COMPUTADORES (MOUSE) --- */
@media (hover: hover) {
    .btn-social:hover {
        transform: translateY(-5px);
    }
}

/* --- PLAYER BAR --- */
.player-bar {
    background: rgba(255, 255, 255, 0.083); 
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px; 
    width: 100%; 
    max-width: 420px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    margin-top: 10px;
}

.track-info-bottom {
    text-align: left;
    flex: 1; 
    overflow: hidden;
    white-space: nowrap; 
    margin-right: 10px;
}

.hashtag {
    font-family: 'AkiraExpand', sans-serif;
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
}

.scroll-text {
    font-family: 'Montserrat', sans-serif;
    display: inline-block;
    font-size: 11px;
    animation: scroll-left 10s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* --- VOLUMEN Y PLAY --- */
.controls-right { display: flex; align-items: center; gap: 12px; }
.volume-wrapper { position: relative; display: flex; align-items: center; height: 40px; }

#volume-slider {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    width: 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    accent-color: var(--white);
}

.volume-wrapper:hover #volume-slider { opacity: 1; visibility: visible; }

#play-pause {
    background: var(--white);
    border: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- FOOTER --- */
.footer-dev {
    padding: 20px 0; 
    width: 100%;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0.5;
}

/* ============================================================
   AJUSTES EXCLUSIVOS PARA MÓVILES (Pantallas menores a 480px)
   ============================================================ */
@media (max-width: 480px) {
    .main-wrapper {
        padding: 10px 15px;
    }
    .logo-header {
        width: 160px;
        margin-top: -35px; /* Logo sube solo en móvil */
    }
    .cover-wrapper {
        width: 240px;
        height: 240px;
        border-width: 10px;
    }
    .status-tag {
        transform: translateX(-75px);
        margin-top: 15px;
    }
    .status-tag::before {
        width: 150px;
    }
    .main-station-title {
        font-size: 20px;
    }
    
    .player-bar {
        padding: 10px 15px;
        width: 90%; 
        max-width: 320px; 
    }
    
    .hashtag {
        font-size: 11px; 
    }
    
    .btn-social {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}