/* 
 * DEKLIBE Custom Styles 
 * Location: t:\wp-content\themes\rock-star\css\deklive.css
 */

/* =========================================
   Band Page (ID 47) Layout & Styling
   ========================================= */

/* Scope styles to this page content to avoid global pollution */
.band-page-container {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 225px 2% 30px;
    /* Reducido para evitar scroll */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    /* Dejar que el contenido mande */
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* ACCORDION WRAPPER */
.band-accordion {
    display: flex;
    width: 100%;
    height: 450px;
    /* Reducido un pelín más para mayor seguridad con el scroll */
    max-width: 1200px;
    gap: 10px;
}

.member-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.35, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

.member-card:hover {
    flex: 2.5;
    border-color: #ff4500;
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.4);
}

.member-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
    transition: all 0.6s ease;
}

.member-card:hover .member-img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
}

.member-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
    text-align: center;
    pointer-events: none;
}

.member-card:hover .member-info {
    transform: translateY(0);
    opacity: 1;
}

.member-name {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 5px #000;
}

.member-role {
    margin: 5px 0 0;
    font-size: 1rem;
    color: #ff4500;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.member-card::after {
    content: attr(data-name);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    color: rgba(255, 255, 255, 0.3);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.member-card:hover::after {
    opacity: 0;
}

/* =========================================
   Biography Page Layout & Styling
   ========================================= */

.bio-page-container {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    margin-left: -50vw !important;
    padding: 110px 0 10px 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end !important;
    justify-content: flex-start;
    min-height: auto;
    color: #fff;
    box-sizing: border-box;
    z-index: 10;
}

.bio-text-content {
    width: 350px;
    max-width: 90% !important;
    margin-right: 0 !important;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 20px;
    margin-top: 50px;
    border-radius: 4px 0 0 4px;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.8);
    font-size: 1.15rem;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none !important;
    text-align: center;
}

.bio-text-content p {
    margin-bottom: 0.8em;
}

.bio-text-content p:last-child {
    margin-bottom: 0;
}

.bio-text-content h1,
.bio-text-content h2,
.bio-text-content h3 {
    color: #ff4500;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0px #000;
}

/* =========================================
   Music Page Layout & Styling
   ========================================= */

.music-page-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 130px 20px 20px;
    /* Reducido */
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.music-social-header {
    text-align: center;
    margin-bottom: 40px;
}

.listen-on-title {
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 2rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0 #ff4500;
    margin-bottom: 20px;
}

.social-icons-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #fff;
    transform: scale(1.2);
}

.social-icon.spotify:hover {
    color: #1DB954;
    filter: drop-shadow(0 0 10px #1DB954);
}

.social-icon.youtube:hover {
    color: #FF0000;
    filter: drop-shadow(0 0 10px #FF0000);
}

.social-icon.instagram:hover,
.social-icon.instagram:hover i {
    color: #E4405F !important;
    /* Official Instagram Pink */
    background: transparent !important;
    background-color: transparent !important;
    -webkit-text-fill-color: #E4405F !important;
    text-shadow: none !important;
    filter: drop-shadow(0 0 10px rgba(228, 64, 95, 0.8)) !important;
}

.social-icon.facebook:hover {
    color: #1877F2;
    filter: drop-shadow(0 0 10px #1877F2);
}

.social-icon.tiktok:hover {
    color: #ff0050;
    filter: drop-shadow(0 0 10px #00f2ea);
}

/* Album Row Layout */
.albums-row {
    display: flex;
    flex-wrap: nowrap;
    /* Force one row */
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    /* Allow scroll if screen is too small */
    padding-bottom: 20px;
    /* Space for scrollbar if needed */
}

.album-item {
    flex: 0 1 180px;
    /* Reducido de 200px */
    min-width: 120px;
    /* Reducido de 150px */
    max-width: 220px;
    /* Reducido de 250px */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.album-item:hover {
    transform: translateY(-10px);
    z-index: 10;
}

.album-cover-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    overflow: hidden;
}

.album-item:hover .album-cover-wrapper {
    border-color: #ff4500;
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.5);
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-label {
    margin-top: 15px;
    text-align: center;
}

.album-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px #000;
}

/* =========================================
   Fire Sparks (Bonfire Effect) - Page Banda
   ========================================= */

.firefly-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff4500;
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px #ff4500, 0 0 20px #ff8c00;
    opacity: 0;
    animation: rise linear infinite;
}

@keyframes rise {
    0% {
        transform: translateY(110vh) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    25% {
        transform: translateY(80vh) translateX(-30px) rotate(45deg) scale(1.2);
    }

    50% {
        transform: translateY(50vh) translateX(40px) rotate(-45deg) scale(0.8);
    }

    75% {
        transform: translateY(20vh) translateX(-20px) rotate(15deg) scale(1.1);
    }

    100% {
        transform: translateY(-10vh) translateX(30px) rotate(-15deg) scale(0.5);
        opacity: 0;
    }
}

/* Spark Variations */
.spark:nth-child(1) {
    left: 10%;
    width: 5px;
    height: 5px;
    animation-duration: 8s;
    animation-delay: 0s;
}

.spark:nth-child(2) {
    left: 20%;
    width: 3px;
    height: 3px;
    animation-duration: 12s;
    animation-delay: 2s;
}

.spark:nth-child(3) {
    left: 35%;
    width: 4px;
    height: 4px;
    animation-duration: 10s;
    animation-delay: 5s;
}

.spark:nth-child(4) {
    left: 50%;
    width: 6px;
    height: 6px;
    animation-duration: 15s;
    animation-delay: 1s;
}

.spark:nth-child(5) {
    left: 65%;
    width: 3px;
    height: 3px;
    animation-duration: 9s;
    animation-delay: 4s;
}

.spark:nth-child(6) {
    left: 80%;
    width: 5px;
    height: 5px;
    animation-duration: 13s;
    animation-delay: 7s;
}

.spark:nth-child(7) {
    left: 90%;
    width: 4px;
    height: 4px;
    animation-duration: 11s;
    animation-delay: 3s;
}

.spark:nth-child(8) {
    left: 15%;
    width: 2px;
    height: 2px;
    animation-duration: 14s;
    animation-delay: 8s;
}

.spark:nth-child(9) {
    left: 45%;
    width: 5px;
    height: 5px;
    animation-duration: 7s;
    animation-delay: 2s;
}

.spark:nth-child(10) {
    left: 75%;
    width: 4px;
    height: 4px;
    animation-duration: 10s;
    animation-delay: 6s;
}

.spark:nth-child(11) {
    left: 5%;
    width: 3px;
    height: 3px;
    animation-duration: 12s;
    animation-delay: 1s;
}

.spark:nth-child(12) {
    left: 95%;
    width: 6px;
    height: 6px;
    animation-duration: 9s;
    animation-delay: 5s;
}

.spark:nth-child(13) {
    left: 30%;
    width: 4px;
    height: 4px;
    animation-duration: 15s;
    animation-delay: 0s;
}

.spark:nth-child(14) {
    left: 60%;
    width: 2px;
    height: 2px;
    animation-duration: 11s;
    animation-delay: 9s;
}

.spark:nth-child(15) {
    left: 85%;
    width: 5px;
    height: 5px;
    animation-duration: 8s;
    animation-delay: 4s;
}

.spark:nth-child(16) {
    left: 40%;
    width: 3px;
    height: 3px;
    animation-duration: 13s;
    animation-delay: 2s;
}

.spark:nth-child(17) {
    left: 55%;
    width: 4px;
    height: 4px;
    animation-duration: 14s;
    animation-delay: 6s;
}

.spark:nth-child(18) {
    left: 25%;
    width: 5px;
    height: 5px;
    animation-duration: 10s;
    animation-delay: 3s;
}

.spark:nth-child(19) {
    left: 70%;
    width: 3px;
    height: 3px;
    animation-duration: 12s;
    animation-delay: 7s;
}

.spark:nth-child(20) {
    left: 48%;
    width: 4px;
    height: 4px;
    animation-duration: 9s;
    animation-delay: 1s;
}

/* Responsive */
@media (max-width: 768px) {
    .albums-row {
        flex-wrap: wrap;
        /* Wrap on mobile */
    }

    .bio-page-container {
        padding-top: 150px;
    }
}