/* Filter Container */
.filter-section {
    max-width: 100%;
    margin: 0 auto;
}

.filter-container {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Filter Grid */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

/* Custom Select Styling */
.select-group {
    position: relative;
}

.select-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-select {
    width: 100%;
    appearance: none;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 1.5px solid #333;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 16px 45px 16px 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.custom-select:hover {
    border-color: #555;
    background: linear-gradient(145deg, #333, #222);
    transform: translateY(-1px);
}

.custom-select:focus {
    outline: none;
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
    background: linear-gradient(145deg, #333, #222);
}

.custom-select option {
    background: #1e1e1e;
    color: #ffffff;
    padding: 12px;
    border: none;
}

.custom-select option:hover {
    background: #333;
}

/* Dropdown Arrow */
.select-group::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    bottom: 16px;
    color: #888;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.select-group:hover::after {
    color: #ff4757;
}

/* Clear Filter Button */
.filter-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.clear-btn {
    background: linear-gradient(135deg, #ff4757, #c44569);
    border: none;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
    background: linear-gradient(135deg, #ff3742, #b33951);
}

.clear-btn:active {
    transform: translateY(0);
}

/* Active Filters */
.active-filters {
    margin: 20px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-tag {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s ease;
}

.filter-tag .remove-tag {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    font-size: 12px;
}

.filter-tag .remove-tag:hover {
    opacity: 1;
}

/* Results Info */
.results-info {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 14px;
    text-align: center;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pulse {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 990px) {
    .own_subtitle_text {
        font-size: 33px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-title {
        font-size: 36px;
    }

    .filter-container {
        padding: 20px;
        margin: 0 10px;
    }

    .clear-btn {
        width: 100%;
        justify-content: center;
    }

    .own_subtitle_text {
        font-size: 29px;
    }

    #open_filter_btn,
    #close_filter_btn {
        padding: 8px 10px !important;
    }

}

@media (max-width: 480px) {
    .filter-grid {
        gap: 12px;
    }

    .custom-select {
        padding: 14px 40px 14px 14px;
        font-size: 13px;
    }

    .own_subtitle_text {
        font-size: 23px;
    }

    #open_filter_btn,
    #close_filter_btn {
        padding: 7px 9px !important;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.details_rating {
    background-color: #ffffff20;
    padding: 20px;
    padding-bottom: 30px;
    border-radius: 20px;
    min-width: 650px;
    width: 50%;
    flex-shrink: 0;
}

.details_description::-webkit-scrollbar {
    width: 5px;
}

.details_star.active {
    color: red !important;
}

.details_star {
    transition: 0.5s;
    cursor: pointer;
    user-select: none;
}

.details_star i {
    font-size: 45px;
}

.details_star i,
.details_star span {
    pointer-events: none;
}

.details_star span {
    margin-top: 1px;
}

.content-hero-title {
    font-size: 4rem;
}

.plan-card {
    width: 320px;
    padding: 30px;
    background: var(--bs-gray-900);
    border-radius: 10px;
}

.plan-card__description {
    font-size: 14px;
}

.plan-card__title {
    color: red;
}

.plan-card__price {
    font-size: 1.7rem;
    font-weight: bold;
}

.plan-card__features-title {
    font-weight: bolder;
    color: white;
}

.plan-card__features-list--item i {
    color: red;
}

.plan-card__features-list--item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.plan-card__button {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    margin-top: 10px;
    background: red;
}

.plan-card__features-list {
    list-style: none;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

@media (max-width: 1280px) {
    .details_wrap {
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .profile-card {
        max-width: none !important;
    }

}

@media (max-width: 768px) {
    .details_description {
        max-width: none !important;
    }

    .plan-card {
        padding: 20px;
        width: 48%;
    }

    .details_star i {
        font-size: 30px;
    }

    .details_rating {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 425px) {
    .profile-card > div {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .profile-card-description.fs-5 {
        font-size: 16px !important;
    }

    .profile-card-btn.fs-5 {
        font-size: 17px !important;
    }

    .details_star i {
        font-size: 20px;
    }

    .details_star span {
        font-size: 10px;
    }

    .plan-card {
        padding: 25px;
        width: 100%;
    }
}

.payments-history-card {
    padding: 20px 20px;
    border-radius: 15px;
    background: #ffffff13;
    max-width: 550px;
    width: 100%;
}

.text-red {
    color: #ff0000;
}

.text-green {
    color: #00ff00;
}

.devices-card {
    padding: 30px 20px;
    border-radius: 15px;
    background: #ffffff13;
    max-width: 550px;
}

.promocode-input {
    padding: 10px;
    width: 100%;
    background: #ffffff20;
    border: none;
    border-radius: 5px;
}

.own-card:hover {
    transform: scale(1.1) !important;
    z-index: 99999;
}

.own-card {
    transition: .7s ease;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    border-radius: 10px;
}

.own-card:hover .own-card-info {
    opacity: 1;
}

.own-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 2/2.8;
}

.own-card-info {
    background: #00000020;
    position: absolute;
    padding: 10px;
    bottom: 0;
    opacity: 0;
    transition: .3s;
    left: 0;
    border-radius: 0 0 10px 10px;
    right: 0;
    backdrop-filter: blur(30px);
}

@media (max-width: 640px) {
    .details-parts {
        height: 70vh !important;
        min-height: 500px !important;
        padding-bottom: 50px !important;
    }

    .details-genre-text {
        font-size: 14px !important;
    }
}

.my-header {
    transition: .5s ease;
}

.my-header.active {
    background-color: #00000092;
    backdrop-filter: blur(20px);
}

.plyr--video {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

.searchModal input:focus {
    border-color: red !important;
}

.searchModal {
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 999999;
    padding: 100px 15px 0 15px;
    backdrop-filter: blur(15px);
    background: #00000024;
    display: flex;
    justify-content: center;
    align-items: start;
}

.plyr {
    --plyr-color-main: #e50914;
}

.profile-payment-modal-form {
    max-width: 500px;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #ffffff50;
    background: #111;
    width: 95%;
}
#amount::-webkit-inner-spin-button{
    display: none;
}
#amount:focus{
    border-color: red;
}