@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.remix-grid-wrapper {
    font-family: 'Sora', sans-serif;
    color: #e0e0e0;
    margin: 40px 0;
    background: #151515;
}

/* FILTROS */
.remix-grid-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    padding: 24px;
    background: #1e1e1e;
    border-radius: 16px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    align-items: center;
}

.filter-group { flex: 1; min-width: 220px; }

.remix-search-input,
.remix-filter-select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #222;
    color: #e0e0e0;
    font-size: 15px;
    transition: all 0.3s ease;
}

.remix-search-input::placeholder { color: #777; }

.remix-search-input:focus,
.remix-filter-select:focus {
    border-color: #B90808;
    box-shadow: 0 0 0 4px rgba(185,8,8,0.2);
    background: #282828;
}

.remix-filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B90808' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 48px;
}

.remix-filter-button {
    padding: 14px 36px;
    background: #B90808;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(185,8,8,0.4);
}

.remix-filter-button:hover {
    background: #d00a0a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(185,8,8,0.6);
}

/* TABLA */
.remix-grid-table-container {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: 16px;
    background: #1a1a1a;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    border: 1px solid #252525;
}

.remix-grid-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #151515;
}

.remix-grid-table thead {
    background: linear-gradient(135deg, #1f1f1f, #2a2a2a);
    position: sticky;
    top: 0;
    z-index: 10;
}

.remix-grid-table th {
    padding: 18px 24px;
    text-align: left;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid #B90808;
}

.remix-grid-table tbody tr {
    transition: all 0.3s ease;
    background: #151515;
}

.remix-grid-table tbody tr:hover {
    background: #222;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(185,8,8,0.2);
}

.remix-grid-table td {
    padding: 18px 24px;
    font-size: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #252525;
}

/* Género pill */
.remix-grid-table td:nth-child(6) { text-align: center; }
.remix-grid-table td:nth-child(6) span {
    background: rgba(185,8,8,0.2);
    color: #ff7777;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid rgba(185,8,8,0.4);
    transition: all 0.3s;
}

.remix-grid-table td:nth-child(6) span:hover {
    background: rgba(185,8,8,0.4);
    transform: scale(1.08);
}

/* Play botón en tabla - forzado redondo */
.remix-play-btn,
.remix-play-track {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #B90808 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(185,8,8,0.4) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.remix-play-btn:hover,
.remix-play-track:hover {
    background: #d00a0a !important;
    transform: scale(1.15) !important;
    box-shadow: 0 8px 20px rgba(185,8,8,0.6) !important;
}

.remix-play-btn:disabled {
    background: #444 !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.remix-play-btn svg,
.remix-play-track svg {
    width: 22px !important;
    height: 22px !important;
    fill: white !important;
}

/* PAGINACIÓN */
/* ============================================= */
/* PAGINACIÓN BONITA - FLECHAS PEQUEÑAS + CÍRCULOS SUTILES */
/* ============================================= */

/* PAGINACIÓN NUEVA - FLECHAS PEQUEÑAS + CÍRCULOS SUTILES */
.remix-grid-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 16px 0;
    background: #1a1a1a;
    border-radius: 16px;
    border: 1px solid #252525;
}

.remix-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #aaa;
}

.remix-page-number {
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remix-page-number:hover {
    background: rgba(185, 8, 8, 0.15);
    color: #fff;
}

.remix-page-number.active {
    background: #B90808;
    color: white;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(185, 8, 8, 0.4);
}

.remix-pagination-arrow {
    width: 36px;
    height: 36px;
    background: #B90808;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(185, 8, 8, 0.3);
}

.remix-pagination-arrow:hover:not(.disabled) {
    background: #d00a0a;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(185, 8, 8, 0.5);
}

.remix-pagination-arrow.disabled {
    background: #444;
    opacity: 0.6;
    cursor: not-allowed;
}

.remix-ellipsis {
    color: #666;
    font-size: 14px;
    padding: 0 8px;
}

/* Móvil: más compacto y scroll si hay muchas páginas */
@media (max-width: 768px) {
    .remix-grid-pagination {
        gap: 8px;
        padding: 12px 0;
        overflow-x: auto;
        justify-content: center;
    }

    .remix-page-number {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 13px;
    }

    .remix-pagination-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .remix-ellipsis {
        font-size: 12px;
        padding: 0 6px;
    }
}

.remix-page-info {
    font-size: 15px;
    color: #aaa;
}

/* ========== REPRODUCTOR STICKY ========== */
.remix-player-sticky {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px; /* máximo 1200px en PC */
    margin: 0 auto; /* centrado */
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding:16px 20px 16px 20px; /* espacio abajo para barra */
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9999;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.8); /* sombra negra profunda */
    backdrop-filter: blur(12px);
    border-top: none; /* quitamos la línea roja arriba */
    font-family: 'Sora', sans-serif;
    transform: translate(-50%, 140px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    border-radius: 16px 16px 0 0;
}

.remix-player-sticky.active {
    transform: translate(-50%, 0);
    opacity: 1;
}

footer, .site-footer {
    margin-top: 0 !important;
}
footer, .site-footer {
    margin-top: 0 !important;
}

/* Info */
.remix-player-info {
    flex: 1;
    min-width: 0;
}

/* Controles */
.remix-player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.remix-player-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #B90808;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(185, 8, 8, 0.3);
}

.remix-player-btn:hover {
    background-color: #d00a0a;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(185, 8, 8, 0.5);
}

.remix-player-btn:active {
    transform: scale(0.95);
}

.remix-player-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Barra de progreso */
.remix-player-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    overflow: hidden;
}

.remix-player-bar {
    height: 100%;
    background: linear-gradient(90deg, #B90808, #ff4444);
    width: 0%;
    transition: width 0.2s linear;
    box-shadow: 0 0 10px rgba(185, 8, 8, 0.6);
}

/* Tiempo */
.remix-player-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #ccc;
    min-width: 80px;
    justify-content: flex-end;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .remix-player-sticky {
        padding: 10px 16px 50px 16px;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        align-items: center;
        max-width: 100%;
        
        transform: translateY(140px);
    }

    .remix-player-info {
        flex: 1 1 100%;
        order: 1;
        text-align: center;
    }

    .remix-player-controls {
        order: 2;
        justify-content: center;
        width: 100%;
    }

    .remix-player-progress {
        order: 3;
        width: 100%;
        height: 4px;
        margin: 8px 0;
    }

    .remix-player-time {
        order: 4;
        width: 100%;
        justify-content: space-between;
        font-size: 11px;
    }

}

@media (max-width: 480px) {
    .remix-player-btn {
        width: 42px;
        height: 42px;
    }

    .remix-player-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Forzar botones redondos contra tema padre */
.remix-player-btn,
.remix-player-play-btn,
.remix-play-btn,
.remix-play-track {
    border-radius: 50% !important;
    border: none !important;
    padding: 0 !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: #B90808 !important;
    box-shadow: 0 6px 16px rgba(185,8,8,0.4) !important;
    transition: all 0.3s ease !important;
}

.remix-player-btn:hover,
.remix-player-play-btn:hover,
.remix-play-btn:hover {
    transform: scale(1.12) !important;
    background: #d00a0a !important;
    box-shadow: 0 10px 24px rgba(185,8,8,0.6) !important;
}

/* Centrado solo en móvil */
@media (max-width: 768px) {
    .remix-player-sticky {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .remix-player-info {
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto 10px auto !important;
    }

    .remix-player-title,
    .remix-player-artist {
        text-align: center !important;
    }

    .remix-player-controls {
        justify-content: center !important;
        width: 100% !important;
    }
}

/* En desktop: izquierda para info */
@media (min-width: 769px) {
    .remix-player-info {
        text-align: left !important;
    }
}

body.remix-player-active {
    padding-bottom: 0px !important;  /* reduce de 180px a 140px o menos */
}



/* ========== RESPONSIVE - MÓVIL ========== */
@media (max-width: 768px) {
    /* Ocultar TODAS las columnas excepto PLAY (2), TITLE (3), DOWNLOAD (8) */
    .remix-grid-table th:nth-child(1),  /* Remixer */
    .remix-grid-table th:nth-child(4),  /* Version */
    .remix-grid-table th:nth-child(5),  /* BPM */
    .remix-grid-table th:nth-child(6),  /* Genre */
    .remix-grid-table th:nth-child(7),  /* Date */
    .remix-grid-table td:nth-child(1),
    .remix-grid-table td:nth-child(4),
    .remix-grid-table td:nth-child(5),
    .remix-grid-table td:nth-child(6),
    .remix-grid-table td:nth-child(7) {
        display: none !important;
    }

    /* Ajustar solo las visibles */
    .remix-grid-table th:nth-child(2), .remix-grid-table td:nth-child(2) { 
        width: 70px !important; 
        text-align: center !important; 
        padding: 10px 15px 10px 10px !important; /* más espacio derecha */
    }

    .remix-grid-table th:nth-child(3), .remix-grid-table td:nth-child(3) { 
        width: 55% !important; 
        padding: 10px !important;
    }

    .remix-grid-table th:nth-child(8), .remix-grid-table td:nth-child(8) { 
        width: 30% !important; 
        text-align: center !important;
        padding: 10px !important;
    }

    /* Forzar tabla más limpia en móvil */
    .remix-grid-table th,
    .remix-grid-table td {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    .remix-grid-table-container {
        overflow-x: auto !important;
    }
}







/* Letras más pequeñas en el reproductor */
.remix-player-title {
    font-size: 14px !important;  /* antes 15px o 16px */
    font-weight: 600 !important;
    margin-bottom: 2px !important;
}

.remix-player-artist {
    font-size: 12px !important;  /* antes 13px */
    color: #bbb !important;
}

/* Barra de progreso: color sólido #B90808 */
.remix-player-bar {
    background: #B90808 !important;  /* color rojo sólido que pediste */
    box-shadow: 0 0 10px rgba(185, 8, 8, 0.7) !important;  /* mantiene sombra suave */
}

/* En móvil: letras aún más pequeñas si hace falta */
@media (max-width: 768px) {
    .remix-player-title {
        font-size: 13px !important;
    }

    .remix-player-artist {
        font-size: 11px !important;
    }

    .remix-player-bar {
        height: 4px !important;  /* un poco más delgada en móvil */
    }
}



/* Iconos siempre blancos, sin cambio en hover */
.remix-player-btn svg,
.remix-player-play-btn svg,
.remix-player-next-btn svg {
    fill: white !important;  /* fuerza blanco siempre */
    color: white !important;
    transition: none !important;  /* quita cualquier animación de color */
}

/* Hover solo afecta el fondo del botón, no el icono */
.remix-player-btn:hover svg,
.remix-player-play-btn:hover svg,
.remix-player-next-btn:hover svg {
    fill: white !important;
    color: white !important;
}





/* ============================================= */
/* REPRODUCTOR EN MÓVIL: info izquierda, play derecha, barra abajo sin tiempo */
/* ============================================= */

@media (max-width: 768px) {
    .remix-player-sticky {
        flex-direction: row !important;          /* horizontal */
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 16px !important;
        gap: 12px !important;
        text-align: left !important;
    }

    .remix-player-info {
        flex: 1 !important;
        text-align: left !important;
        order: 1 !important;
        margin: 0 !important;
    }

    .remix-player-title {
        font-size: 14px !important;
        margin-bottom: 2px !important;
    }

    .remix-player-artist {
        font-size: 12px !important;
    }

    .remix-player-controls {
        flex: 0 0 auto !important;
        order: 2 !important;
        justify-content: flex-end !important;
        width: auto !important;
        gap: 0 !important;
    }

    /* Solo play visible en móvil */
    #remix-player-next {
        display: none !important;
    }

    /* Barra de progreso abajo */
    .remix-player-progress {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 4px !important;
        margin: 0 !important;
        order: 3 !important;
        width: 100% !important;
    }

    /* Ocultar tiempo en móvil */
    .remix-player-time {
        display: none !important;
    }
}




/* ============================================= */
/* ELIMINAR ESPACIO EXTRA ENTRE REPRODUCTOR Y FOOTER */
/* ============================================= */

/* Quitar padding extra del reproductor sticky (especialmente abajo) */
.remix-player-sticky {
    padding-bottom: 10px !important;  /* reduce drásticamente el padding inferior */
}

/* Forzar que el body no agregue padding cuando el reproductor está activo */
body.remix-player-active {
    padding-bottom: 0 !important;     /* ya lo tenías, pero lo reforzamos */
    margin-bottom: 0 !important;
}

/* Asegurar que el footer no tenga margen superior extra cuando el reproductor está visible */
footer, .site-footer, .footer-area, .site-footer-inner {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Si el contenedor principal tiene min-height o margin grande */
.site-content, .content-area, .main-content, .page-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* En móvil: ajustar aún más */
@media (max-width: 768px) {
    body.remix-player-active {
        padding-bottom: 0 !important;
    }

    .remix-player-sticky {
        padding: 10px 12px 10px 12px !important; /* todo reducido */
    }
}


/* ============================================= */
/* BOTÓN GET ACCESS - ROJO CON LETRAS BLANCAS, PEQUEÑO Y SIN HOVER */
/* ============================================= */

/* Botón principal */
.edd-all-access-btn,
.edd-aa-custom-btn-wrapper a.edd-all-access-btn,
.edd-submit.button.edd-button {
    background-color: #B90808 !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 0px 15px !important; /* más pequeño horizontalmente */
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(185, 8, 8, 0.4) !important;
    transition: all 0.3s ease !important;
    min-width: auto !important;
}

/* Hover: solo un poco más oscuro, sin cambiar a blanco/rojo inverso */
.edd-all-access-btn:hover,
.edd-aa-custom-btn-wrapper a.edd-all-access-btn:hover,
.edd-submit.button.edd-button:hover {
    background-color: #d00a0a !important; /* rojo un poco más oscuro */
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(185, 8, 8, 0.6) !important;
}

/* Evitar cualquier estilo heredado que ponga blanco o letras rojas */
.edd-aa-custom-btn-wrapper a,
.edd-all-access-btn {
    background: #B90808 !important;
    color: white !important;
}

/* En móvil: aún más pequeño si hace falta */
@media (max-width: 768px) {
    .edd-all-access-btn,
    .edd-submit.button.edd-button {
        padding: 0px 13px !important;
        font-size: 13px !important;
    }
}








/* Ocultar el link "Log In" de EDD All Access cuando no está logueado */
.edd-aa-login-link {
    display: none !important;
}








//* Centrar perfectamente GET ACCESS y DOWNLOAD en la sección de compra */
.edd_purchase_submit_wrapper,
.edd_download_purchase_form,
.edd-aa-custom-btn-wrapper {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 10px 0 !important;
}

/* Botones de All Access centrados y con espacio uniforme */
.edd-all-access-btn,
.edd-aa-custom-btn-wrapper a.edd-all-access-btn,
.edd_download_purchase_form .edd-all-access-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 160px !important;  /* ancho mínimo para que no quede chico */
    text-align: center !important;
    margin: 0 auto !important;
}

/* Forzar centrado en móvil también */
@media (max-width: 768px) {
    .edd_purchase_submit_wrapper,
    .edd_download_purchase_form {
        flex-direction: column !important;
        align-items: center !important;
    }

    .edd-all-access-btn {
        width: 100% !important;
        max-width: 220px !important;
        margin: 10px auto !important;
    }
}

















