/*body {
    height: 100vh;
    background: #000;
    overflow: hidden;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    perspective: 1600px;
}*/

.wrapper {
    background: #000;
    overflow: hidden;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #0d0d0d 0%, #000 100%);
    position: relative;
}

/* Suelo brillante estilo iTunes */
.wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 70%);
    pointer-events: none;
    z-index: 2;
}

.container {
    width: 100%;
    height: 100%;
    position: relative;
    perspective: 28px;
    /*perspective: 1600px;*/
    outline: none;
}

.coverflow {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cada portada */
.item {
    position: absolute;
    width: 700px;
    height: 320px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /*width: 400px;
    height: 400px;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);*/
    transform-style: preserve-3d;
    cursor: pointer;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
    display: block;
}

/* REFLEJO BRUTAL estilo iTunes clásico */
.item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transform: scaleY(-1) translateZ(-1px);
    border-radius: 12px;
    opacity: 0.35;
    filter: blur(4px);
    clip-path: polygon(0 0% 0%, 100% 0%, 100% 70%, 0% 100%);
    pointer-events: none;
}

/* Flechas iTunes */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 120px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 48px;
    font-weight: 100;
    cursor: pointer;
    z-index: 10;
    border-radius: 8px;
    backdrop-filter: blur(6px);
}
.nav:hover { background: rgba(0,0,0,0.9); color: white; }
.prev { left: 40px; }
.next { right: 40px; }

/* Dots */
.dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    transition: 0.3s;
}
.dot.active { background: white; transform: scale(1.5); }

/* Título */
.info {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 5;
    pointer-events: none;
    display: none;  /*Para que no se vea la descripción de cada imagen*/ 
}
.info h2 {
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 3px 15px black;
}
.info p {
    font-size: 18px;
    opacity: 0.85;
    margin-top: 8px;
}

/* Responsive móvil */
@media (max-width: 768px) {
    .item { width: 280px; height: 280px; }
    .nav { width: 50px; height: 90px; font-size: 36px; }
    .prev { left: 15px; }
    .next { right: 15px; }
}