/* Home Specific Styles - FlowLatin */
.fl-home-dl-btn i { color: #ff0000 !important; }

/* --- FROM style.css --- */
body.home article.home-post-card:not(.category-anuncio) {
  background: rgba(26, 26, 40, 0.7) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(0, 0, 0, 0.3) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgb(255 0 0 / 56%) !important;
  margin-bottom: 40px !important;
  padding: 20px !important;
  position: relative !important;
  z-index: 3 !important;
  transition: box-shadow 0.3s ease !important;
}

body.home article.home-post-card:not(.category-anuncio):hover {
  box-shadow: 0 16px 48px rgba(255, 0, 0, 0.6) !important;
}

.home-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-pagination .page-numbers li {
  display: inline-block;
  margin: 0;
}

.home-pagination .page-numbers a,
.home-pagination .page-numbers span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  text-decoration: none;
  color: #374151;
  background: white;
  transition: all 0.3s ease;
  min-width: 44px;
  text-align: center;
}

.home-pagination .page-numbers a:hover {
    background: #f63b3b;
    color: white;
    border-color: #ff0000;
}

.home-pagination .page-numbers .current {
    background: #f63b3b;
    color: white;
    border-color: #ff0000;
}

.home-pagination .page-numbers .dots {
  border: none;
  background: transparent;
}

@media (max-width: 768px) {
  .home-pagination .page-numbers a,
  .home-pagination .page-numbers span {
    padding: 6px 12px;
    min-width: 36px;
    font-size: 14px;
  }
}

.home .ast-container,
.home .site-content .ast-container {
  display: block !important;
}

/* --- FROM home.php (Beatport Section) --- */
.fl-home-beatport-section .flowlatin-archive-full-content {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    padding: 40px 0 !important;
    margin: 0 auto !important;
    max-width: 1400px;
}
.fl-home-beatport-section .flowlatin-archive-full-content article {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
body .fl-home-beatport-section .flowlatin-archive-full-content article.flowlatin-archive-grid-item {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}
.fl-home-beatport-section .flowlatin-card-link {
    text-decoration: none !important;
    display: block !important;
    color: inherit !important;
}
.fl-home-beatport-section .flowlatin-archive-grid-item {
    position: relative !important;
    background: #1a1a1a !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}
.fl-home-beatport-section .flowlatin-archive-grid-item:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 16px 48px rgba(255, 0, 0, 0.6) !important;
}
.fl-home-beatport-section .flowlatin-archive-grid-item .image-container {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important;
    overflow: hidden !important;
    background: #000 !important;
}
.fl-home-beatport-section .flowlatin-archive-grid-item .post-thumbnail {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.fl-home-beatport-section .flowlatin-archive-grid-item .post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.fl-home-beatport-section .flowlatin-archive-grid-item:hover .post-thumbnail img {
    transform: scale(1.15) !important;
}
.fl-home-beatport-section .dark-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    z-index: 1 !important;
    transition: background 0.4s ease !important;
}
.fl-home-beatport-section .flowlatin-archive-grid-item:hover .dark-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
}
.fl-home-beatport-section .glass-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 88% !important;
    padding: 25px 15px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    z-index: 2 !important;
    height: 65% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.fl-home-beatport-section .flowlatin-archive-grid-item:hover .glass-overlay {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 
        0 12px 48px rgba(255, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.fl-home-beatport-section .category-logo {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 50% !important;
    padding: 10px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}
.fl-home-beatport-section .flowlatin-archive-grid-item:hover .category-logo {
    transform: scale(1.1) rotate(5deg) !important;
    border-color: rgba(255, 0, 0, 0.6) !important;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5) !important;
}
.fl-home-beatport-section .category-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) !important;
}
.fl-home-beatport-section .glass-overlay .flowlatin-title {
    display: block !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    text-align: center !important;
    width: 100% !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
    position: relative !important;
    text-transform: uppercase !important;
    flex-grow: 0 !important;
}
.fl-home-beatport-section .post-date {
    display: inline-block !important;
    font-size: 0.7rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 2px 8px !important;
    letter-spacing: 1px !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.fl-home-beatport-section .new-badge {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: linear-gradient(135deg, #ff0000, #b20000) !important;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    z-index: 3 !important;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}
@media (max-width: 1200px) {
    .fl-home-beatport-section .flowlatin-archive-full-content {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }
}
@media (max-width: 768px) {
    .fl-home-beatport-section .flowlatin-archive-full-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 30px 0 !important;
    }
    .fl-home-beatport-section .glass-overlay {
        width: 90% !important;
        padding: 20px 15px !important;
    }
    .fl-home-beatport-section .category-logo {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 10px !important;
    }
    .fl-home-beatport-section .glass-overlay .flowlatin-title {
        font-size: 0.9rem !important;
    }
    .fl-home-beatport-section .post-date {
        font-size: 0.75rem !important;
    }
}
@media (max-width: 480px) {
    .fl-home-beatport-section .flowlatin-archive-full-content {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 20px 0 !important;
    }
    .fl-home-beatport-section .glass-overlay {
        width: 92% !important;
        padding: 18px 12px !important;
    }
    .fl-home-beatport-section .category-logo {
        width: 50px !important;
        height: 50px !important;
    }
}
.fl-home-beatport-section .flowlatin-category-header {
    height: auto !important;
    min-height: 0 !important;
}

/* --- FROM home.php (General Home Styles) --- */
@media (max-width: 768px) {
    .fl-header-img-mobile {
        height: 60px !important;
    }
}

.gratuito-download-section .download-buttons a,
.gratuito-download-section .download-buttons .download-button {
    display: block;
    text-align: center;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 6px;
    color: white;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    font-size: 0.9em;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.tops-toggle-section {
    text-align: center;
    padding: 20px 30px 10px;
}

.tops-toggle-section .tags-toggle-btn {
    background: linear-gradient(135deg, rgba(218, 32, 32, 0.5), rgba(126, 9, 9, 0.6)) !important;
    border: 1px solid rgba(218, 165, 32, 0.35) !important;
    color: #f5e6d3 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 0, 191, 0.12), 0 12px 35px rgba(218, 32, 32, 0.25) !important;
}

.tops-toggle-section .tags-toggle-btn::before {
    background: linear-gradient(120deg, transparent, rgba(255, 215, 0, 0.25), transparent) !important;
}

.tops-toggle-section .tags-toggle-btn:hover {
    box-shadow: inset 0 0 0 1px rgba(248, 63, 87, 0.2), 0 20px 35px rgba(218, 32, 32, 0.35) !important;
}

.tops-toggle-section .tags-toggle-btn.active {
    box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.35), 0 14px 30px rgba(218, 165, 32, 0.35) !important;
}

#topsContainerWrapper .fl-tops-tabs-container {
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 15px 45px rgba(0,0,0,0.8) !important;
    border-radius: 12px !important;
    margin: 20px auto !important;
    max-width: 95% !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#topsContainerWrapper .fl-tops-container,
#topsContainerWrapper .fl-tops-container * {
    all: revert !important;
}

#topsContainerWrapper .fl-top-item,
#topsContainerWrapper .top-track-item,
#topsContainerWrapper li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
}

#topsContainerWrapper .fl-top-item:last-child,
#topsContainerWrapper .top-track-item:last-child,
#topsContainerWrapper li:last-child {
    border-bottom: none !important;
}

.gratuito-download-section .download-buttons a:hover,
.gratuito-download-section .download-buttons .download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.6);
}

.gratuito-download-section .download-buttons p {
    color: #10b981 !important;
    text-align: center;
    padding: 8px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    margin: 6px 0;
    font-size: 0.85em;
    line-height: 1.2;
}

.gratuito-download-section h4,
.gratuito-player-section h4 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

body.home .home-posts-list-view {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

body.home .home-list-row {
    display: grid;
    grid-template-columns: 120px 80px 1fr 120px auto;
    gap: 20px;
    align-items: center;
    padding: 12px 20px;
    background: rgba(31, 41, 55, 0.4);
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
    text-decoration: none;
    color: #f8fafc;
    transition: all 0.3s ease;
}

body.home .home-list-row:hover {
    background: rgba(31, 41, 55, 0.7);
    border-left: 3px solid #E74C3C;
    padding-left: 17px;
}

body.home .home-list-row .list-date {
    font-size: 0.9em;
    color: #94a3b8;
    font-weight: 500;
}

.home-list-row .list-tracks {
    font-size: 0.9em;
    color: #cbd5e1;
    font-weight: 600;
    text-align: center;
}

.home-list-row .list-title {
    font-size: 1em;
    color: #f8fafc;
    font-weight: 500;
}

.home-list-row .list-category {
    text-align: right;
}

.home-list-row .category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.home-list-row .category-badge.cat-bazar {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
}

.home-list-row .category-badge.cat-traxsource {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.home-list-row .category-badge.cat-pools {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.home-list-row .category-badge.cat-especiales {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.home-list-row .category-badge.cat-gratuito {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.home-list-row .category-badge.cat-flowlatin {
    background: linear-gradient(135deg, #ff0000, #b20000);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.4);
}

.home-list-row .category-badge.cat-livemashup {
    background: linear-gradient(135deg, #9333ea, #6b21a8);
    color: #fff;
    box-shadow: 0 2px 8px rgba(147, 51, 234, 0.4);
}


.home-list-row .category-badge.cat-default {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: #fff;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

body.home .list-new-badge {
    color: #E74C3C;
    font-size: 1.2em;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.category-text-header {
    font-size: clamp(2rem, 8vw, 5rem) !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.category-text-red {
    color: #ef4444 !important;
}

.flowlatin-category-header {
    margin-bottom: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .flowlatin-category-header {
        margin-bottom: 20px !important;
    }
}

.fl-home-no-visto-badge {
    background: #ff0000 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    box-shadow: 0 0 10px rgba(255,0,0,0.5) !important;
}

/* --- KEY BADGE STYLE (MATCHING CATEGORY) --- */
.key-badge {
    display: inline-block !important;
    width: 46px !important;
    height: 26px !important;
    line-height: 26px !important;
    border-radius: 5px !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    color: #000 !important; /* Black text for better contrast with Camelot colors */
    text-shadow: none !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
    cursor: default;
    user-select: none;
    font-family: 'Outfit', 'Roboto', sans-serif !important;
    flex-shrink: 0 !important;
}

@media (max-width: 768px) {
    .key-badge {
        width: 40px !important;
        height: 22px !important;
        line-height: 22px !important;
        font-size: 11px !important;
    }
}

/* --- HARMONIC COMPATIBILITY EFFECTS --- */
@media (min-width: 1025px) {
    body.home .fl-home-livemashup-row { 
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important; 
        border-left: 6px solid transparent !important;
        position: relative !important;
    }

    /* Track DIMMED (Not compatible) */
    body.home .fl-home-livemashup-list.has-active-key .fl-home-livemashup-row:not(.fb-current):not(.fb-compatible) {
        opacity: 0.4 !important;
        filter: grayscale(0.5) !important;
    }

    /* Current Playing/Hovered Track */
    body.home .fl-home-livemashup-row.fb-current,
    body.home .fl-home-livemashup-row.current {
        background: rgba(255, 0, 0, 0.15) !important;
        border-left: 6px solid #ff0000 !important;
        box-shadow: inset 0 0 50px rgba(255, 0, 0, 0.1) !important;
        z-index: 20 !important;
    }

    /* Compatible Tracks */
    body.home .fl-home-livemashup-row.fb-compatible {
        opacity: 1 !important;
        filter: none !important;
        border-left: 6px solid var(--key-color, #ff0000) !important;
        background: rgba(var(--key-color-rgb, "255,0,0"), 0.18) !important;
        box-shadow: 0 4px 30px var(--key-color, rgba(255, 0, 0, 0.3)) !important;
        z-index: 10 !important;
    }

    body.home .fl-home-livemashup-row.fb-compatible .key-badge {
        box-shadow: 0 0 25px var(--key-color, #ff0000), inset 0 0 10px rgba(255,255,255,0.4) !important;
        border: 2px solid #fff !important;
    }
}

.fl-play-locked i {
    font-size: 16px;
}

@media (max-width: 768px) {
    body.home .home-list-row {
        grid-template-columns: 80px 60px 1fr 90px auto;
        gap: 10px;
        padding: 10px 12px;
        font-size: 0.9em;
    }
    
    body.home .home-list-row .list-date {
        font-size: 0.75em;
    }
    
    body.home .home-list-row .list-tracks {
        font-size: 0.75em;
    }
    
    body.home .home-list-row .list-title {
        font-size: 0.85em;
    }
    
    body.home .home-list-row .category-badge {
        font-size: 0.65em;
        padding: 2px 6px;
    }
}

body.view-lista .fl-home-playlist-section,
body.view-lista .fl-home-livemashup-section,
body.view-lista .fl-home-beatport-section,
body.view-lista .anuncios-section {
    display: none !important;
}

body.home .fl-home-playlist-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    color: #fff !important;
    font-family: "Roboto", sans-serif;
}

body.home .fl-home-playlist-wrapper article {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: auto !important;
}
body.home .fl-home-beatport-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    background: #000 !important;
    border: 1px solid #222 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin-top: 20px !important;
}
body.home .fl-home-list-header {
    display: grid !important;
    grid-template-columns: 60px 1fr 100px 180px 80px 80px 80px !important;
    gap: 15px !important;
    padding: 12px 15px !important;
    background: #1a1a20 !important;
    color: #888 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #222 !important;
    align-items: center !important;
}
body.home .fl-home-track-row {
    display: grid !important;
    grid-template-columns: 60px 1fr 100px 180px 80px 80px 80px !important;
    gap: 15px !important;
    padding: 10px 15px !important;
    background: #0d0d10 !important;
    align-items: stretch !important; 
    height: auto !important;
    min-height: 60px !important;
    overflow: visible !important;
    transition: background 0.2s !important;
    border-bottom: 1px solid #1a1a1a !important;
}
body.home .fl-home-track-row > *:not(.fl-waveform-expanded-row) {
    align-self: center !important;
}
body.home .fl-home-track-row:hover {
    background: #18181c !important;
}

html body.home .fl-home-track-row .fl-waveform-home-style,
html body.home .fl-home-livemashup-row .fl-waveform-home-style {
    grid-column: 1 / -1 !important;
    margin-left: 0 !important; 
    margin-right: 0 !important;
    width: 100% !important;
    background: rgba(0,0,0,0.6) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 6px !important;
    padding: 5px !important;
    height: 70px !important; 
    margin-top: 5px !important;
    margin-bottom: 8px !important;
    box-shadow: none !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

html body.home .fl-waveform-home-style .fl-waveform-canvas-container {
    height: 60px !important;
    border-radius: 4px !important;
    background: rgba(0,0,0,0.2) !important;
}

body.home .fl-home-col-play {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.home .fl-home-col-play :is(.srp_play, .srp_play:hover, .iron-audioplayer.iron-playing .srp_play) {
    border-color: #ff0000 !important;
    color: #ff0000 !important;
}

body.home .fl-home-col-play .srp_play {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: 2px solid #555 !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* FinalBoss Custom Play Button - Home */
body.home .fl-home-col-play .fl-custom-play-btn {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: 2px solid #555 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #555 !important;
    transition: all 0.2s ease !important;
}

body.home .fl-home-col-play .fl-custom-play-btn:hover {
    border-color: #ff0000ff !important;
    color: #ff0000ff !important;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3) !important;
}

body.home .fl-home-col-play .fl-custom-play-btn.fl-playing {
    border-color: #ff0000ff !important;
    color: #ff0000ff !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4) !important;
}

body.home .fl-home-col-play .fl-custom-play-btn.fl-playing svg,
body.home .fl-home-col-play .fl-custom-play-btn.fl-playing i {
    color: #ff0000ff !important;
    fill: #ff0000ff !important;
}

body.home .fl-home-col-play .fl-custom-play-btn svg {
    width: 16px !important;
    height: 16px !important;
}

body.home .fl-home-col-title {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    overflow: hidden !important;
}
body.home .fl-home-track-img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 4px !important;
    object-fit: cover !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
}
body.home .fl-home-track-name {
    font-size: 14px !important;
    color: #fff !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    padding-right: 10px !important;
}
body.home .fl-home-track-artist {
    font-size: 11px !important;
    color: #aaa !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    padding-right: 10px !important;
    margin-top: 1px !important;
}
body.home .fl-home-col-genre { color: #ff0000 !important; font-size: 13px !important; font-weight: 500 !important; text-align: center !important; display: flex !important; align-items: center !important; justify-content: center !important; }
body.home .fl-home-col-fecha { 
    color: #aaa !important; 
    font-size: 12px !important; 
    font-weight: 400 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.home .fl-home-livemashup-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    color: #fff !important;
    font-family: "Roboto", sans-serif;
}

body.home .fl-home-livemashup-wrapper article {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: auto !important;
}

body.home .fl-home-livemashup-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    background: #000 !important;
    border: 1px solid #222 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin-top: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}
body.home .fl-home-livemashup-header {
    display: grid !important;
    grid-template-columns: 60px 1fr 100px 100px 140px 80px 80px 80px !important;
    gap: 15px !important;
    padding: 12px 15px !important;
    background: #1a1a20 !important;
    color: #888 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #ff000044 !important;
    align-items: center !important;
}
body.home .fl-home-livemashup-row {
    display: grid !important;
    grid-template-columns: 60px 1fr 100px 100px 140px 80px 80px 80px !important;
    gap: 15px !important;
    padding: 10px 15px !important;
    background: #0d0d10 !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 60px !important;
    overflow: visible !important;
    transition: background 0.2s !important;
    border-bottom: 1px solid #1a1a1a !important;
}
body.home .fl-home-livemashup-row > *:not(.fl-waveform-expanded-row) {
    align-self: center !important;
}
body.home .fl-home-livemashup-row:hover {
    background: #1c1313 !important;
}

body.home .fl-home-track-info-wrap { overflow: hidden !important; text-align: left !important; }
body.home .fl-home-col-genre-text { color: #ef4444 !important; font-size: 13px !important; font-weight: 500 !important; text-align: center !important; display: flex !important; align-items: center !important; justify-content: center !important; }
body.home .fl-home-col-bpm, body.home .fl-home-col-time { font-size: 13px !important; color: #ccc !important; text-align: center !important; display: flex !important; align-items: center !important; justify-content: center !important; }
body.home .fl-home-col-dl { display: flex !important; align-items: center !important; justify-content: center !important; }
body.home .fl-home-mobile-meta { display: none !important; }

@media (max-width: 900px) {
    body.home .fl-home-desktop-only { display: none !important; }
    body.home .fl-home-list-header { grid-template-columns: 50px 1fr 60px !important; }
    body.home .fl-home-track-row { grid-template-columns: 50px 1fr 60px !important; }
    body.home .fl-home-livemashup-header { grid-template-columns: 50px 1fr 60px !important; }
    body.home .fl-home-livemashup-row { grid-template-columns: 50px 1fr 60px !important; }
    body.home .fl-home-mobile-meta { display: flex !important; gap: 8px !important; font-size: 11px !important; color: #888 !important; margin-top: 4px !important; }
}

body.home .fl-home-see-more-btn {
    display: inline-block !important;
    background: linear-gradient(135deg, rgba(255, 55, 0, 0.5), rgba(180, 0, 0, 0.6)) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 5px !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 0.6rem 1.8rem !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 35px rgba(255, 18, 0, 0.25) !important;
    text-decoration: none !important;
}
body.home .fl-home-see-more-btn::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -120% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent) !important;
    transition: left 0.7s ease !important;
}
body.home .fl-home-see-more-btn:hover::before {
    left: 120% !important;
}
body.home .fl-home-see-more-btn:hover {
    transform: translateY(-4px) scale(1.01) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 20px 35px rgba(255, 64, 0, 0.35) !important;
}


body.home .site-header-above-section,
body.home .site-header-below-section,
body.home .ast-header-html,
body.home .ast-builder-menu-2,
body.home #secondary_menu-site-navigation {
    display: none !important;
}

/* --- HIDE PRODUCTORES BUTTON ON HOME --- */
body.home .ast-header-button-1,
body.home [data-section="section-hb-button-1"],
body.home .ast-builder-button-wrap {
    display: none !important;
}

/* --- UPDATES DYNAMIC POSTER STYLES --- */
.updates-poster-card {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.updates-poster-card .home-post-inner {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    background: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.updates-poster-card:hover .home-post-inner {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 0, 117, 0.4) !important;
    border-color: rgba(255, 0, 117, 0.3);
}

.updates-poster-card .home-post-image {
    position: relative !important;
    padding-top: 100% !important; /* Square Ratio */
    width: 100% !important;
    margin: 0 !important;
    background: #0f0f0f !important;
}

.updates-base-thumb {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.4 !important;
    filter: blur(15px) !important; /* High blur to make it abstract */
    transition: transform 0.6s ease !important;
}

.updates-poster-card:hover .updates-base-thumb {
    transform: scale(1.1);
    opacity: 0.5 !important;
}

.updates-poster-bg-finish {
    position: absolute !important;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 117, 0.15) 0%, rgba(0,0,0,0.8) 100%) !important;
    z-index: 1;
}

.updates-poster-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    z-index: 5 !important;
    /* Glassmorphism for the content area */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid #ff0000; /* Borde rojo solicitado */
    box-sizing: border-box;
    border-radius: 12px !important; /* Valor explícito para asegurar simetría */
    container-type: inline-size; /* Added container for text scaling */
}

.updates-poster-content {
    text-align: center !important;
    width: 100% !important;
    position: relative;
    z-index: 6;
}

.updates-poster-logo {
    width: 140px !important;
    height: auto !important;
    max-width: 85% !important;
    margin: 0 auto 15px !important;
    display: block !important;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.8)) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.updates-poster-title {
    font-family: 'Lilita One', cursive !important;
    color: #ffffff !important;
    /* Adapts text to the width of the container, while keeping it inside limits */
    font-size: clamp(14px, 11cqi, 34px) !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-shadow: 2px 2px 5px rgba(0,0,0,1), 0px 0px 25px rgba(0,0,0,0.6) !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    padding: 0 5px !important;
    opacity: 1 !important;
    min-height: 1.2em; /* Prevent collapse if title is missing */
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .updates-poster-logo {
        width: 100px !important;
        margin-bottom: 12px !important;
    }
    .updates-poster-title {
        font-size: 1rem !important;
    }
}
.view-switcher .view-button .view-icon-playlists {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}

/* --- PLAYLIST VIEW STYLES (HOME) --- */
.home-playlists-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.home-playlist-block {
    background: rgba(26, 26, 40, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    margin-bottom: 50px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.3s ease;
}

.home-playlist-block:hover {
    transform: translateY(-5px);
    border-color: rgba(246, 59, 59, 0.3) !important;
}

.playlist-post-header h3 {
    font-weight: 900 !important;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fl-beatport-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.fl-list-header {
    display: grid;
    grid-template-columns: 60px 1fr 100px 180px 80px 80px 80px;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.fl-track-row {
    display: grid;
    grid-template-columns: 60px 1fr 100px 180px 80px 80px 80px;
    gap: 15px;
    padding: 10px 15px;
    background: transparent;
    align-items: center;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.fl-track-row:hover { 
    background: rgba(255, 255, 255, 0.05);
}

.fl-track-img { 
    width: 50px; 
    height: 50px; 
    border-radius: 6px; 
    object-fit: cover; 
    border: 1px solid rgba(246, 59, 59, 0.3); 
}

.home-playlists-container .fl-track-name { 
    font-size: 14px !important; 
    color: #e5e7eb !important; 
    font-weight: 600 !important; 
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.fl-col-genre { 
    color: #f63b3b; 
    font-size: 13px; 
    font-weight: 600; 
}

.fl-col-fecha { 
    color: #9ca3af; 
    font-size: 12px; 
}

.fl-dl-btn {
    color: #fff; 
    width: 34px; 
    height: 34px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.fl-dl-btn:hover { 
    background: #f63b3b; 
    box-shadow: 0 0 15px rgba(246, 59, 59, 0.4); 
    transform: scale(1.1);
}

.fl-dl-locked, .fl-play-locked {
    color: #4b5563;
    font-size: 14px;
}

/* Play Button Styles */
.fl-col-play .fl-custom-play-btn {
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}

.fl-col-play .fl-custom-play-btn:hover {
    border-color: #f63b3b !important;
    background: rgba(246, 59, 59, 0.1) !important;
    color: #f63b3b !important;
    transform: scale(1.1);
}

.fl-col-play .fl-custom-play-btn.fl-playing {
    border-color: #f63b3b !important;
    color: #f63b3b !important;
    background: rgba(246, 59, 59, 0.15) !important;
    box-shadow: 0 0 15px rgba(246, 59, 59, 0.3) !important;
}

/* Responsive Playlist */
@media (max-width: 1024px) {
    .fl-list-header, .fl-track-row {
        grid-template-columns: 50px 1fr 120px 80px 80px;
    }
    .fl-col-fecha, .fl-col-time { display: none !important; }
}

@media (max-width: 768px) {
    .fl-list-header { display: none !important; }
    .fl-track-row {
        grid-template-columns: 50px 1fr 40px !important;
        gap: 12px !important;
        padding: 15px 10px !important;
    }
    .desktop-only { display: none !important; }
    .fl-track-img { display: none !important; }
    .home-playlist-block { padding: 15px !important; }
    .playlist-post-header h3 { font-size: 18px !important; }
}
