.explore-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 20px;
}

.filter-sidebar {
    flex: 0 0 325px;
    background: rgba(20, 20, 20, 0.6);
    padding: clamp(20px, 3vw, 35px) 25px;
    padding-right: 15px;
    border-radius: 28px;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.filter-sidebar::-webkit-scrollbar {
    width: 10px;
}

.filter-sidebar::-webkit-scrollbar-track {
    background: transparent;
    margin: 15px 0;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
    background-clip: padding-box;
    border: 2px solid transparent;
    border-radius: 12px;
}

.filter-sidebar h3 {
    margin-bottom: 25px;
    color: var(--text-main);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-sidebar h3 i {
    color: var(--primary);
    font-size: 1.2rem;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 700;
}

.filter-group label i {
    color: var(--primary);
    font-size: 13px;
    width: 20px;
    text-align: center;
    opacity: 0.9;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 14px;
    font-size: 14px;
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary) !important;
    background: #2a1a15 !important;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.15) !important;
}

.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spin {
    -moz-appearance: textfield;
    appearance: none;
}

#region-search-input:focus {
    background: transparent !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}


.custom-region-dropdown {
    width: 100%;
    margin: 10px 0 25px 0;
}

.genre-collapsible-btn {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.genre-collapsible-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.genre-collapsible-btn.active {
    border-color: var(--primary);
    background: #2a1a15;
}

.genre-collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-in-out;
}

.genre-collapsible-content.open {
    max-height: 500px;
}

.genre-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 5px 5px 5px;
}

.genre-chip {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.genre-chip.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

.keyword-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    min-height: 48px;
}

.keyword-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: white;
}

.explore-results {
    flex: 1;
}


.results-meta {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 15px;
}

.results-count-text {
    display: none;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.count-highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.4rem;
    font-weight: 900;
    margin-right: 5px;
}


.platform-circles-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 10px 5px;
}

.platform-circle {
    min-width: 60px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.platform-circle.active {
    background: var(--brand-color);
    border-color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--brand-color);
    transform: translateY(-3px) scale(1.05);
}

.platform-circle.active svg {
    filter: brightness(0) invert(1);
}

.platform-circle svg {
    width: 100%;
    height: 100%;
    max-width: 45px;
}

.pagination-controls-numbers {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding-bottom: 40px;
}

.page-number,
.page-btn-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-number:hover,
.page-btn-nav:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.page-number.active {
    background: var(--primary-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(255, 69, 0, 0.3);
}

.page-ellipsis {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 800;
    padding: 0 10px;
}


.keyword-tags-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    min-height: 52px;
    transition: all 0.3s;
    cursor: text;
}

#keyword-search-input {
    flex: 1;
    min-width: 80px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
    color: white;
    font-size: 14px;
    outline: none !important;
}

.keyword-tags-container:has(#keyword-search-input:focus) {
    border-color: var(--primary);
    background: #2a1a15;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.15);
}

.keyword-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-gradient);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.apply-filters-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.2);
}

.apply-filters-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 69, 0, 0.4);
    filter: brightness(1.1);
}

.clear-filters-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.clear-filters-btn:hover {
    background: rgba(255, 69, 0, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}


@media (max-width: 600px) {
    .explore-container {
        flex-direction: column;
        gap: 25px;
    }

    .filter-sidebar {
        flex: 1 1 auto;
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        padding: 25px 20px;
        border-radius: 20px;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .explore-results {
        width: 100%;
    }

    .results-meta {
        justify-content: center;
        text-align: center;
        margin-bottom: 20px;
    }

    .filter-sidebar h3 {
        font-size: 1.4rem;
        justify-content: center;
        margin-bottom: 20px;
    }
}


.load-more-wrapper {
    display: none;
    justify-content: center;
    width: 100%;
    padding-top: 20px;
}

@keyframes fadeInBtn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
