/* ========================================
   🎰 CASINO FILTER WIDGET - MAIN STYLES
   ======================================== */

/* Performance Optimizations */
* {
    will-change: auto;
}

.casino-card {
    contain: layout style;
}

.casino-card:hover {
    will-change: transform;
}

.casino-card:not(:hover) {
    will-change: auto;
}

/* Disable animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Reset and Base Styles */
.casinofilter-widget-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.casinofilter-widget-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    line-height: 1.6;
    color: #374151;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    width: 100%;
}

.main-container {
    max-width: 1200px;
    margin: 60px auto;
    background: rgba(255, 255, 255, 1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* Header Section */
.header-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.header-left {
    flex: 1;
}

.main-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.casino-count {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin-bottom: 24px;
}

.author-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* Gradient Line */
.gradient-line {
    height: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #f97316 25%, #eab308 50%, #22c55e 75%, #3b82f6 100%);
    margin-top: 24px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* Disclaimer */
.disclaimer {
    background: rgba(248, 250, 252, 1);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    margin: 16px 40px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.disclaimer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.disclaimer-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* Casinos Section */
.casinos-section {
    padding: 20px 40px 80px;
    background: #ffffff;
}

/* Section Title */
.section-title {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

@keyframes gentleSpin {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-50%) rotate(180deg); }
}

.casinos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.title-container {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.casino-counter {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.casino-counter .country-flag-small {
    font-size: 14px;
}

.casino-counter .count-text {
    font-weight: 600;
    font-size: 12px;
}

.filter-button {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.filter-button:hover {
    background: linear-gradient(135deg, #5b5bd6 0%, #4338ca 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Casino Grid */
.casinos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default 4 columns for desktop - as shown in reference */
    gap: 24px;
    max-width: 1300px;
    width: 100%;
    align-items: stretch; /* Ensure all cards have equal height */
    grid-auto-rows: 1fr; /* Make all rows the same height */
}

/* Dynamic Grid Columns based on settings */
.casinos-grid[data-columns-desktop="1"] { grid-template-columns: repeat(1, 1fr); }
.casinos-grid[data-columns-desktop="2"] { grid-template-columns: repeat(2, 1fr); }
.casinos-grid[data-columns-desktop="3"] { grid-template-columns: repeat(3, 1fr); }
.casinos-grid[data-columns-desktop="4"] { grid-template-columns: repeat(4, 1fr); }
.casinos-grid[data-columns-desktop="5"] { grid-template-columns: repeat(5, 1fr); }
.casinos-grid[data-columns-desktop="6"] { grid-template-columns: repeat(6, 1fr); }

/* Responsive Grid Overrides */
@media (max-width: 768px) {
    .casinos-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .casinos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1025px) {
    .casinos-grid {
        grid-template-columns: repeat(4, 1fr) !important; /* 4 columns for desktop */
    }
}

/* Casino Cards */
.casino-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    border: 2px solid transparent;
    padding: 0;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    height: 100%; /* Fill the grid cell completely */
    min-height: 350px; /* Sokkal kisebb magasság a referencia alapján */
    max-height: 350px; /* Maximum magasság beállítva */
    display: flex;
    flex-direction: column;
}

.casino-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.casino-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    padding: 16px 18px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 24px 24px 0 0;
}

.casino-top-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.casino-logo {
    min-width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px;
    font-weight: 700;
    color: white;
    font-size: 11px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.casino-info {
    flex: 1;
}

.casino-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.tag {
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.cashback-tag {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.reload-tag {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

/* Erős casino név fehér szín beállítás */
.casino-name,
.casino-header .casino-name,
.casino-top-section .casino-name,
.casino-info .casino-name,
.mobile-casino-name,
.mobile-casino-header .mobile-casino-name,
.mobile-casino-info .mobile-casino-name,
h1.casino-name,
h2.casino-name,
h3.casino-name,
h4.casino-name,
h5.casino-name,
h6.casino-name,
div.casino-name,
span.casino-name,
h1.mobile-casino-name,
h2.mobile-casino-name,
h3.mobile-casino-name,
h4.mobile-casino-name,
h5.mobile-casino-name,
h6.mobile-casino-name,
div.mobile-casino-name,
span.mobile-casino-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.2;
}

/* Remove orange backgrounds from feature icons */
.feature-icon,
.feature-icon::before,
.feature-icon::after {
    background: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    color: inherit !important;
}

.feature-tag .feature-icon {
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    color: #374151 !important;
    font-size: 20px;
    margin-bottom: 0;
    width: 100%;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto;
    position: relative;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.country-availability {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
    margin-top: 2px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    overflow: hidden;
}

.country-availability::after {
    content: '✓';
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
}

.country-availability.unavailable {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: 1px solid #f87171;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.country-availability.unavailable::before {
    background: linear-gradient(45deg, #ef4444, #f87171, #fca5a5, #f87171, #ef4444);
    background-size: 300% 300%;
}

.country-availability.unavailable::after {
    content: '✗';
}

.country-flag {
    font-size: 14px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
    position: relative;
    top: -5px;
}

.available-text {
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    margin-right: 14px;
}

/* Animations */
@keyframes availabilityPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 3px 12px rgba(249, 115, 22, 0.5);
    }
}

@keyframes unavailablePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 3px 12px rgba(239, 68, 68, 0.5);
    }
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes borderGlowRed {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes flagWave {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-2deg) scale(1.05);
    }
    75% {
        transform: rotate(2deg) scale(1.05);
    }
}

@keyframes checkmarkBounce {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.2);
    }
}

@keyframes crossShake {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg);
    }
    25% {
        transform: translateY(-50%) rotate(-5deg);
    }
    75% {
        transform: translateY(-50%) rotate(5deg);
    }
}

.casino-content {
    padding: 4px 18px 12px 18px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.casino-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
    flex: 1;
}

.feature-tag {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 8px 6px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    line-height: 1.1;
    min-height: 48px;
    transition: all 0.2s ease;
}

.feature-tag:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 20px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    transform: none !important;
}

.casino-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 8px;
    margin-top: auto;
}

.review-button {
    background: rgba(17, 24, 39, 0.9);
    color: #ffffff;
    border: 1px solid rgba(55, 65, 81, 0.5);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.review-button:hover {
    background: rgba(17, 24, 39, 1);
    border-color: rgba(55, 65, 81, 0.8);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.play-button {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    position: relative;
    z-index: 2;
    letter-spacing: 0.025em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.terms-text {
    color: #9ca3af;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

/* Show More/Less Section */
.show-more-section {
    text-align: center;
    margin-top: 40px;
}

.show-more-btn, .show-less-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    margin: 0 8px;
}

.show-more-btn:hover, .show-less-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Filter Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(255, 255, 255, 1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.2);
    width: 95%;
    max-width: 1380px;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1.5" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.04)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.modal-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-content {
    padding: 32px;
}

.filter-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px;
    background: rgba(248, 250, 252, 1);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.filter-sections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.filter-section {
    margin-bottom: 32px;
}

.filter-label {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
    display: block;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.filter-option {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    font-weight: 600;
    font-size: 14px;
    color: #6b7280;
}

.filter-option:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.filter-option.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: #6366f1;
    color: #ffffff;
}

.apply-filters, .clear-filters, .reset-filters {
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.apply-filters {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 3px 12px rgba(34, 197, 94, 0.3);
}

.apply-filters:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.clear-filters {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 3px 12px rgba(239, 68, 68, 0.3);
}

.clear-filters:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.reset-filters {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 3px 12px rgba(107, 114, 128, 0.3);
}

.reset-filters:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.casino-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Enhanced Range Slider Styles - 2025 Modern Design */
.slider-container {
    padding: 20px 0;
    margin-bottom: 16px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(to right, #e5e7eb 0%, #e5e7eb 100%);
    outline: none;
    -webkit-appearance: none;
    margin: 16px 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.range-slider:hover {
    transform: translateY(-1px);
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    cursor: pointer;
    box-shadow: 
        0 4px 12px rgba(99, 102, 241, 0.4),
        0 0 0 3px rgba(255, 255, 255, 1),
        0 0 0 5px rgba(99, 102, 241, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 
        0 6px 20px rgba(99, 102, 241, 0.5),
        0 0 0 3px rgba(255, 255, 255, 1),
        0 0 0 6px rgba(99, 102, 241, 0.2);
}

.range-slider::-webkit-slider-thumb:active {
    transform: scale(1.25);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.6),
        0 0 0 3px rgba(255, 255, 255, 1),
        0 0 0 8px rgba(99, 102, 241, 0.3);
}

.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 
        0 4px 12px rgba(99, 102, 241, 0.4),
        0 0 0 2px rgba(99, 102, 241, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 
        0 6px 20px rgba(99, 102, 241, 0.5),
        0 0 0 2px rgba(99, 102, 241, 0.2);
}

.range-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #e5e7eb;
    border-radius: 8px;
    border: none;
}

.range-slider:focus {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

/* Slider Value Display */
.slider-value {
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.slider-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.slider-value:hover::before {
    left: 100%;
}

/* Slider Value Text Colors */
.slider-value-text.slider-any {
    color: #6b7280;
}

.slider-value-text.slider-low {
    color: #059669;
}

.slider-value-text.slider-medium {
    color: #f59e0b;
}

.slider-value-text.slider-high {
    color: #dc2626;
}

/* Pulse Animation */
.slider-pulse {
    animation: sliderPulse 0.3s ease-out;
}

@keyframes sliderPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    }
    100% {
        transform: scale(1);
    }
}

/* Mobile Slider Optimizations */
@media (max-width: 768px) {
    .range-slider {
        height: 10px;
        margin: 20px 0;
    }
    
    .range-slider::-webkit-slider-thumb {
        width: 28px;
        height: 28px;
    }
    
    .range-slider::-moz-range-thumb {
        width: 28px;
        height: 28px;
    }
    
    .slider-value {
        font-size: 12px;
        padding: 14px 18px;
    }
    
    .slider-container {
        padding: 24px 0;
    }
}

/* Mobile Casino Hidden Class */
.mobile-casino-hidden {
    display: none !important;
}

/* Affiliate Disclosure Widget Styles */
.affiliate-disclosure {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.8) 0%, rgba(229, 229, 229, 0.8) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.affiliate-disclosure:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.affiliate-disclosure-icon {
    font-size: 16px;
    color: #007cba;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.affiliate-disclosure-title {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
    flex-shrink: 0;
}

.affiliate-disclosure-text {
    color: #666;
    flex: 1;
    min-width: 0;
}

/* Responsive styles for affiliate disclosure */
@media (max-width: 768px) {
    .affiliate-disclosure {
        padding: 12px 16px;
        font-size: 13px;
        margin: 15px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .affiliate-disclosure-icon {
        font-size: 14px;
        width: 18px;
        height: 18px;
    }
    
    .affiliate-disclosure-title {
        margin-right: 0;
        margin-bottom: 4px;
        font-size: 14px;
    }
    
    .affiliate-disclosure-text {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* Alternative modern styles for affiliate disclosure */
.affiliate-disclosure.modern-style {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 124, 186, 0.2);
    border-left: 4px solid #007cba;
    box-shadow: 0 2px 10px rgba(0, 124, 186, 0.1);
}

.affiliate-disclosure.modern-style:hover {
    border-left-color: #005a8b;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.15);
}

/* Warning style variant */
.affiliate-disclosure.warning-style {
    background: linear-gradient(135deg, rgba(255, 243, 205, 0.8) 0%, rgba(254, 215, 170, 0.8) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-left: 4px solid #f59e0b;
}

.affiliate-disclosure.warning-style .affiliate-disclosure-icon {
    color: #f59e0b;
}

/* Notice style variant */
.affiliate-disclosure.notice-style {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.8) 0%, rgba(186, 230, 253, 0.8) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-left: 4px solid #3b82f6;
}

.affiliate-disclosure.notice-style .affiliate-disclosure-icon {
    color: #3b82f6;
}