/* Slots Page Specific Styles */

/* Page Header */
.page-header {
    background: var(--surface-color);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title h1 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.page-title h1 i {
    color: var(--primary-color);
}

.page-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.page-stats {
    display: flex;
    gap: 30px;
}

.page-stats .stat {
    text-align: center;
}

.page-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.page-stats .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar Enhancements */
.providers {
    padding: 30px;
    border-top: 1px solid var(--border-color);
}

.providers h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.provider-item:hover {
    background: var(--surface-light);
    color: var(--primary-color);
}

.provider-item span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.provider-item .count {
    background: var(--surface-light);
    color: var(--text-muted);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
	margin-top: 30px;
	margin-bottom: 30px;
}

/* CTA Section Styles */
.cta-section {
    background: var(--gradient-primary);
    color: var(--background-dark);
    padding: 60px 0;
    text-align: center;
    border-radius: 18px;
    margin: 40px 0 0 0;
    box-shadow: 0 8px 32px var(--shadow-medium);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--background-dark);
    letter-spacing: 1px;
}

.cta-section p {
    color: var(--background-dark);
    font-size: 1.15rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn {
    min-width: 160px;
    font-size: 1.1rem;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.cta-buttons .btn-primary {
    background: var(--background-dark);
    color: var(--primary-color);
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: var(--primary-dark);
    color: var(--background-dark);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: var(--background-dark);
    border: 2px solid var(--background-dark);
}

.cta-buttons .btn-outline:hover {
    background: var(--background-dark);
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .cta-section {
        padding: 36px 0;
        border-radius: 10px;
    }
    .cta-content {
        padding: 0 8px;
    }
    .cta-section h2 {
        font-size: 1.4rem;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 14px;
    }
    .cta-buttons .btn {
        width: 100%;
        min-width: unset;
        font-size: 1rem;
        padding: 12px 0;
    }
}


/* Filters Section */
.filters-section {
    margin-bottom: 40px;
}

.filters {
    display: flex;
    gap: 30px;
    background: var(--surface-color);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

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

.filter-group label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
}

.filter-group select {
    padding: 10px 15px;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Featured Slots */
.featured-slots {
    margin-bottom: 60px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--primary-color);
}

.game-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn,
.demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.play-btn {
    background: var(--gradient-primary);
    color: var(--background-dark);
}

.demo-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.play-btn:hover,
.demo-btn:hover {
    transform: scale(1.05);
}

.game-provider {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.featured-badge,
.hot-badge,
.exclusive-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exclusive-badge {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    color: white;
    animation: glow 2s infinite;
}

.hot-badge {
    background: linear-gradient(135deg, #FF4757 0%, #FF3838 100%);
    color: white;
    animation: pulse 2s infinite;
}

.jackpot-amount {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 215, 0, 0.95);
    color: var(--background-dark);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    animation: glow 2s infinite;
}

.game-info {
    padding: 25px;
}

.game-info h3 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.game-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
}

.game-details .rtp {
    color: var(--secondary-color);
    font-weight: 600;
}

.game-details .volatility {
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.volatility.low {
    background: rgba(34, 197, 94, 0.2);
    color: #22C55E;
}

.volatility.medium {
    background: rgba(251, 191, 36, 0.2);
    color: #FBBF24;
}

.volatility.high {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.game-details .max-win {
    color: var(--primary-color);
    font-weight: 600;
}

.game-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature {
    background: var(--surface-light);
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Jackpot Slots */
.jackpot-slots {
    margin-bottom: 60px;
}

.jackpot-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.countdown {
    background: var(--gradient-primary);
    color: var(--background-dark);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.progressive {
    animation: jackpotPulse 2s infinite;
}

@keyframes jackpotPulse {
    0%, 100% {
        background: rgba(255, 215, 0, 0.95);
    }
    50% {
        background: rgba(255, 165, 0, 0.95);
    }
}

.jackpot-label {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
}

/* Popular Slots */
.popular-slots {
    margin-bottom: 60px;
}

.view-controls {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 8px 12px;
    background: var(--surface-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    border-color: var(--primary-color);
}

.load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more .btn {
    padding: 15px 40px;
}

/* Game Card Variations */
.game-card.hot {
    border: 2px solid #FF4757;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.2);
}

.game-card.jackpot {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.game-card.crypto {
    border: 2px solid #8B5CF6;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-header {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .page-stats {
        justify-content: center;
    }
    
    .filters {
        flex-direction: column;
        gap: 20px;
    }
    
    .filter-group {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .filter-group label {
        min-width: 80px;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 30px 20px;
    }
    
    .page-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .filters {
        padding: 20px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .game-overlay {
        flex-direction: column;
        gap: 10px;
    }
    
    .play-btn,
    .demo-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .view-controls {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 20px 15px;
    }
    
    .page-title h1 {
        font-size: 1.5rem;
    }
    
    .page-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .filters {
        padding: 15px;
    }
    
    .game-info {
        padding: 20px;
    }
    
    .game-details {
        flex-direction: column;
        gap: 8px;
    }
    
    .game-features {
        justify-content: center;
    }
}