/* ===================================================================
   CASINO FILTERS
   =================================================================== */

/* Filter Section */
.casino-filters-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
}

/* Filter Header */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.filters-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.filters-title i {
    color: #60a5fa;
}

.filters-header-actions {
    display: flex;
    gap: 10px;
}

.filters-toggle {
    display: none;
    padding: 10px 18px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: #60a5fa;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.filters-toggle:hover {
    background: rgba(59, 130, 246, 0.2);
}

.filters-reset {
    padding: 10px 18px;
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid rgba(124, 58, 237, 0.25);
    border-radius: 10px;
    color: #7c3aed;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filters-reset:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.4);
}

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

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.filter-label i {
    color: #60a5fa;
    font-size: 11px;
}

/* Search Input */
.filter-search {
    position: relative;
}

.filter-input {
    width: 100%;
    padding: 12px 38px 12px 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
    box-sizing: border-box;
}

.filter-input:focus {
    border-color: #60a5fa;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.filter-input::placeholder {
    color: #64748b;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 13px;
}

/* Select Dropdown */
.filter-select {
    width: 100%;
    padding: 12px 38px 12px 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="%23a78bfa"><path d="M6 9L1 4h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    box-sizing: border-box;
}

.filter-select:focus {
    border-color: #60a5fa;
    background-color: rgba(15, 23, 42, 0.8);
}

.filter-select option {
    background: #1e293b;
    color: #ffffff;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.checkbox-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #60a5fa;
    flex-shrink: 0;
}

.checkbox-label {
    flex: 1;
    font-size: 13px;
    color: #e2e8f0;
    cursor: pointer;
    user-select: none;
}

/* Range Slider */
.range-group {
    padding-top: 4px;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    color: #64748b;
}

.range-current {
    color: #60a5fa;
    font-weight: 700;
}

.filter-range {
    width: 100%;
    height: 6px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.filter-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #60a5fa, #60a5fa);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    transition: all 0.2s;
}

.filter-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.filter-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #60a5fa, #60a5fa);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* Results Info */
.filters-results {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.results-count {
    font-size: 14px;
    color: #94a3b8;
}

.results-number {
    font-weight: 700;
    color: #60a5fa;
    font-size: 16px;
}

.results-sort {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-sort-label {
    font-size: 13px;
    color: #64748b;
}

.results-sort-select {
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

/* Casino Grid */
.filtered-casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* Casino Card */
.fc-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
    animation: fcCardIn 0.35s ease-out both;
}

.fc-card:nth-child(2) { animation-delay: 0.06s; }
.fc-card:nth-child(3) { animation-delay: 0.12s; }
.fc-card:nth-child(4) { animation-delay: 0.18s; }
.fc-card:nth-child(5) { animation-delay: 0.24s; }

@keyframes fcCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.fc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.fc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.fc-card-name {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.fc-card-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fc-star {
    color: #60a5fa;
    font-size: 13px;
}

.fc-star.empty {
    color: #334155;
}

.fc-rating-num {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.fc-card-bonus {
    margin-bottom: 16px;
}

.fc-bonus-label {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 2px;
}

.fc-bonus-value {
    font-size: 18px;
    font-weight: 700;
    color: #8b5cf6;
}

.fc-card-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.fc-detail {
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fc-detail i {
    color: #60a5fa;
    width: 18px;
    text-align: center;
    font-size: 12px;
}

.fc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.fc-tag {
    padding: 3px 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 11px;
    color: #60a5fa;
    font-weight: 600;
}

.fc-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fc-card-action-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

.fc-card-action-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #ffffff;
}

.fc-card-action-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.fc-card-action-secondary:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
    color: #60a5fa;
}

/* No Results */
.fc-no-results {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.fc-no-results.show {
    display: block;
    animation: fcCardIn 0.4s ease-out;
}

.fc-no-results-icon {
    font-size: 50px;
    margin-bottom: 16px;
    color: #60a5fa;
    opacity: 0.4;
}

.fc-no-results-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.fc-no-results-text {
    font-size: 15px;
    color: #64748b;
}

/* Mobile */
@media (max-width: 968px) {
    .casino-filters-section {
        padding: 20px;
    }

    .filters-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .filters-grid {
        display: none;
        grid-template-columns: 1fr 1fr;
    }

    .filters-grid.show {
        display: grid;
        margin-top: 20px;
    }

    .filters-results {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .filtered-casinos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }

    .filters-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .filters-header-actions {
        justify-content: center;
    }
}
