body{
    margin:0;
    font-family: "Segoe UI", sans-serif;
    background:#0b0b0b;
    color:#fff;
}

/* HEADER */
header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
    background:#000;
}

.logo{
    display:flex;
    align-items:center;
    font-weight:bold;
    font-size:22px;
}

.logo i{
    color:#FFD200;
    font-size:28px;
    margin-right:10px;
}

nav a{
    margin:0 15px;
    text-decoration:none;
    color:#ccc;
}

.btn{
    background:#FFD200;
    color:#000;
    padding:10px 20px;
    border-radius:25px;
    font-weight:bold;
}

/* HERO */
.hero{
    background:url("https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4") center/cover no-repeat;
    padding:100px 40px;
    position:relative;
}

.hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.7);
}

.hero-content{
    position:relative;
    max-width:600px;
}

.hero h1{
    font-size:55px;
    margin:0;
}

.hero span{
    color:#FFD200;
}

.search{
    display:flex;
    margin-top:20px;
}

.search input{
    flex:1;
    padding:15px;
    border:none;
    border-radius:10px 0 0 10px;
}

.search button{
    background:#FFD200;
    border:none;
    padding:15px 25px;
    border-radius:0 10px 10px 0;
    font-weight:bold;
}

/* SECTION */
.section{
    padding:60px 40px;
}

.grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

/* CARD */
.card{
    background:#111;
    border-radius:15px;
    overflow:hidden;
}

.card img{
    width:100%;
}

.card-content{
    padding:20px;
}

.card h2{
    margin:0;
}

.card ul{
    list-style:none;
    padding:0;
}

.card ul li{
    margin:10px 0;
    color:#ccc;
}

.card ul li i{
    color:#FFD200;
    margin-right:10px;
}

/* LISTA */
.list{
    background:#111;
    padding:20px;
    border-radius:15px;
}

.list h3{
    margin-top:0;
}

.song{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid #222;
}

.song i{
    color:#FFD200;
}

/* CATEGORIAS */
.categories{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.cat{
    background:#111;
    padding:20px;
    border-radius:15px;
}

.cat i{
    color:#FFD200;
    font-size:22px;
}

.cat h4{
    margin:10px 0;
}

/* RESPONSIVE */
@media(max-width:768px){
    .grid{
        grid-template-columns:1fr;
    }
    .categories{
        grid-template-columns:1fr;
    }
}

/*burguer*/
/* HAMBURGUESA */
.menu-toggle{
    display:none;
    font-size:26px;
    cursor:pointer;
    color:#FFD200;
}

/* BOTONES */
.desktop-btn{
    display:block;
}

.mobile-btn{
    display:none;
    margin-top:20px;
}

.close-menu{
    display: none;
}

/* RESPONSIVE */
@media(max-width:768px){

    nav{
        position:fixed;
        top:0;
        right:-100%;
        width:70%;
        height:100vh;
        background:#000;
        display:flex;
        flex-direction:column;
        padding:80px 20px;
        transition:0.3s ease;
        z-index:999;
    }

    nav.active{
        right:0;
    }

    nav a{
        margin:15px 0;
        font-size:18px;
    }

    .menu-toggle{
        display:block;
    }

    .desktop-btn{
        display:none;
    }

    .mobile-btn{
        display:block;
    }

    .close-menu{
        display: inline;
        position:absolute;
        top:20px;
        right:20px;
        font-size:26px;
        color:#FFD200;
        cursor:pointer;
    }

}

/*BUSCADOR*/
.results-box{
    background:#111;
    margin-top:10px;
    border-radius:10px;
    max-height:300px;
    overflow-y:auto;
}

.result-item{
    padding:12px 15px;
    border-bottom:1px solid #222;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.result-item:hover{
    background:#1a1a1a;
}

.result-item i{
    color:#FFD200;
}


/*FOOTER*/

/* FOOTER GENERAL */
.footer {
    background: #0b0b0b;
    color: #ccc;
    padding: 60px 20px 30px;
    font-size: 14px;
}

/* CONTENEDOR */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

/* COLUMNAS */
.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
}

/* LOGO */
.footer-logo {
    color: #FFD200;
    font-size: 18px;
}

.footer-logo span {
    color: #FFD200;
}

/* LISTAS */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #FFD200;
}

/* TEXTO */
.footer-col p {
    margin-top: 10px;
    line-height: 1.5;
}

/* BOTÓN */
.footer-btn {
    display: inline-block;
    margin-top: 15px;
    background: #FFD200;
    color: #000;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.footer-btn:hover {
    background: #fff;
}

/* PARTE INFERIOR */
.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #777;
}

/* RESPONSIVE EXTRA */
@media (max-width: 600px) {
    .footer {
        text-align: center;
    }

    .footer-btn {
        width: 100%;
        padding: 10px 0;
    }
}

/*SIDEBAR*/

/* CONTENEDOR GENERAL */
.container {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 0 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }
}

/* BLOQUE LETRAS */
.letra {
    background: #ffffff;
    color: #111;
    padding: 30px;
    border-radius: 12px;
    line-height: 1.8;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* PÁRRAFOS */
.letra p {
    margin-bottom: 20px;
}



/* BLOQUE ALBUM */
.album {
    background: #111111;
    border-radius: 12px;
}

.album img{
    width: 100%;
    border-radius:5px;
    margin-bottom: 1em;
}


/* TITULO */
.container h1 {
    grid-column: 1 / -1;
    color: #fff;
    margin-bottom: 10px;
}

/* PLAYER */
.player {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

/* SIDEBAR */
.sidebar {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    height: fit-content;
}

/* BLOQUE ADS */
.ad-box {
    background: #222;
    color: #888;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* EFECTO PRO */
.letra:hover {
    transform: translateY(-3px);
    transition: 0.3s;
}

/**/

/* GRID */
.container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

/* CONTENIDO */
.main-content {
    width: 100%;
}

/* SIDEBAR */
.sidebar {
    top: 100px;
}

/* BOTÓN */
.sidebar-btn {
    display: inline-block;
    margin-top: 10px;
    background: #FFD200;
    color: #000;
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

/* LISTA */
.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    margin-bottom: 8px;
}

.sidebar-list a {
    color: #ccc;
    text-decoration: none;
}

.sidebar-list a:hover {
    color: #FFD200;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}


/*detalles*/
.player .btn {
    cursor: pointer
}

.logo a {
    text-decoration: none;
    color: #fff
}
.desktop-btn {
    text-decoration: none
}

.song {
    cursor: pointer
}
.song:hover{
    color:#FFD200
}

.btn {
  text-decoration: none;
}

/*ADS*/
.link-preview {
    display: block;
    text-decoration: none;
    color: #222;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.link-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background: #fafafa;
}

.preview-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* contenido */
.preview-content {
    padding: 14px;
}

.preview-title {
    font-size: 15px;
    color: #c9a200; /* dorado elegante */
    margin-bottom: 6px;
    font-weight: 600;
}

.preview-desc {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

.preview-url {
    font-size: 11px;
    color: #999;
}



/* BOTÓN SHUFFLE */
#btnAutoPlay {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #FFD200; /* verde tipo Spotify */
    color: #000;

    border: none;
    border-radius: 30px;

    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    transition: all 0.25s ease;

    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ICONO */
#btnAutoPlay i {
    font-size: 14px;
}

/* HOVER */
#btnAutoPlay:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* CLICK */
#btnAutoPlay:active {
    transform: scale(0.95);
}



/* OPCIONAL: efecto brillo suave */
#btnAutoPlay.active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: rgba(255,255,255,0.15);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.2; }
    50% { opacity: 0.4; }
    100% { opacity: 0.2; }
}

.tiktok-embed{
    width: 320px!important;
    border-radius: 5px!important;    
}


.tiktok-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
}

/* Botones */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    background: rgba(0,0,0,0.6);
    color: #fff;
    
    border: none;
    border-radius: 50%;
    
    width: 40px;
    height: 40px;
    
    cursor: pointer;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.nav:hover {
    background: #000;
}






.gridtik {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


@media (max-width: 768px) {
    .gridtik {
        grid-template-columns: 1fr;
    }
}


.cat a {
    color: #fff;
    text-decoration: none
}
.cat:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


/*CDS*/

.albums-section {
    padding: 60px 20px;
    background: #0e0e10;
}

.albums-section h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 30px;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.albumcard {
    background: #141417;
    border-radius: 16px;
    padding: 20px;
    transition: .3s ease;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

.albumcard:hover {
    transform: translateY(-8px);
}

/* CD BOX */
.cd-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 15px;
    perspective: 1000px;
}

/* PORTADA */
.cd-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    transition: .4s ease;
}

/* DISCO */
.cd-disc {
    position: absolute;
    width: 85%;
    height: 85%;
    background: radial-gradient(circle, #444 10%, #111 40%, #000 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: .4s ease;
}

/* EFECTO HOVER */
.albumcard:hover .cd-disc {
    transform: translate(-50%, -50%) rotate(20deg) translateX(20px);
}

.albumcard:hover img {
    transform: translateX(-10px);
}

/* TEXTO */
.albumcard h3 {
    color: #fff;
    font-size: 18px;
    margin: 10px 0 5px;
}

.albumcard p {
    color: #a9acb7;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .albums-grid {
        grid-template-columns: 1fr;
    }
}


.cd-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 15px;
}

/* PORTADA (caja del disco) */
.cd-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    position: relative;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0,0,0,.6);
}

/* DISCO REAL */
.cd-disc {
    position: absolute;
    width: 85%;
    height: 85%;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;

    /* EFECTO CD REAL */
    background:
        radial-gradient(circle at center, #111 0%, #000 15%, #444 16%, #aaa 30%, #666 50%, #222 70%, #000 100%);
    
    box-shadow:
        inset 0 0 10px rgba(255,255,255,0.2),
        0 5px 15px rgba(0,0,0,0.7);
}

/* AGUJERO DEL CD */
.cd-disc::after {
    content: "";
    position: absolute;
    width: 18%;
    height: 18%;
    background: #0e0e10;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* EFECTO HOVER REAL */
.albumcard:hover .cd-disc {
    transform: translate(-30%, -50%) rotate(25deg);
}

.albumcard:hover .cd-box img {
    transform: translateX(-10px);
}