/* ===============================
   SLOTS PAGE STYLES
   =============================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-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"><circle cx="50" cy="50" r="2" fill="%23e8c742" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: floatPattern 20s linear infinite;
}

@keyframes floatPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(50px) translateY(-50px); }
}

.page-header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-breadcrumb {
    margin-bottom: 2rem;
    color: #cccccc;
    font-size: 1rem;
}

.page-breadcrumb a {
    color: #e8c742;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    margin: 0 1rem;
    color: #666666;
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 500;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title-icon {
    font-size: 4rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.page-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slots Stats */
.slots-stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    border: 2px solid rgba(232, 199, 66, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(232, 199, 66, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.stat-card:hover::before {
    animation: shine 0.5s ease-in-out;
    opacity: 1;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: #e8c742;
    box-shadow: 0 20px 40px rgba(232, 199, 66, 0.3);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e8c742;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #cccccc;
    font-weight: 500;
}

/* Slots Categories */
.slots-categories {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: #e8c742;
    box-shadow: 0 20px 40px rgba(232, 199, 66, 0.2);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.category-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.category-count {
    display: inline-block;
    background: linear-gradient(135deg, #e8c742, #f4d03f);
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Slots Filter */
.slots-filter {
    padding: 3rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #cccccc;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.filter-tab:hover {
    background: rgba(232, 199, 66, 0.1);
    border-color: rgba(232, 199, 66, 0.5);
    color: #ffffff;
}

.filter-tab.active {
    background: linear-gradient(135deg, #e8c742, #f4d03f);
    border-color: #e8c742;
    color: #000000;
}

.filter-options {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.filter-search {
    flex: 1;
}

.search-box {
    position: relative;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #e8c742;
    box-shadow: 0 0 0 3px rgba(232, 199, 66, 0.2);
}

.search-input::placeholder {
    color: #888888;
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #e8c742, #f4d03f);
    border: none;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.filter-selects {
    display: flex;
    gap: 1rem;
}

.filter-select {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #e8c742;
    box-shadow: 0 0 0 3px rgba(232, 199, 66, 0.2);
}

.filter-select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Slots Games Section */
.slots-games-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 60vh;
}

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.games-count {
    color: #e8c742;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Games Grid - ใช้จาก hot-games.css */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.games-grid.show {
    opacity: 1;
    transform: translateY(0);
}

/* Game Card - ใช้จาก hot-games.css */
.game-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(232, 199, 66, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: fadeInUp 0.6s ease-out forwards;
}

.game-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #e8c742;
    box-shadow: 0 20px 40px rgba(232, 199, 66, 0.3);
}

/* Game Badges */
.game-hot-badge,
.game-new-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

.game-hot-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.game-new-badge {
    background: linear-gradient(135deg, #4ecdc4, #45b7b8);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

/* Game Image */
.game-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 0;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

/* Game Content */
.game-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.game-provider {
    color: #e8c742;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.game-description {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Game Stats */
.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-stat {
    text-align: center;
}

.game-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e8c742;
    margin-bottom: 0.25rem;
    display: block;
}

.game-stat-label {
    font-size: 0.8rem;
    color: #888888;
    font-weight: 500;
}

/* Game Actions */
.game-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.game-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    min-height: 48px;
}

.game-btn-primary {
    background: linear-gradient(135deg, #e8c742, #f4d03f);
    color: #000000;
}

.game-btn-primary:hover {
    background: linear-gradient(135deg, #f4d03f, #e8c742);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 199, 66, 0.3);
}

.game-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

/* Games Loading */
.games-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    color: #cccccc;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.games-loading.hiding {
    opacity: 0;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(232, 199, 66, 0.3);
    border-top: 4px solid #e8c742;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.games-loading p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* Games Empty State */
.games-empty {
    text-align: center;
    padding: 4rem 0;
    color: #cccccc;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.games-empty.show {
    opacity: 1;
    transform: translateY(0);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.games-empty h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.games-empty p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #888888;
}

/* Load More */
.load-more {
    text-align: center;
    padding: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.load-more.show {
    opacity: 1;
    transform: translateY(0);
}

/* Guide Section */
.guide-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guide-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-10px);
    border-color: #e8c742;
    box-shadow: 0 20px 40px rgba(232, 199, 66, 0.2);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guide-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.guide-card p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* ===============================
   PROVIDERS SECTION - เพิ่มส่วนใหม่
   =============================== */

.providers-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.provider-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.1), rgba(244, 208, 63, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.provider-card:hover::before {
    opacity: 1;
}

.provider-card:hover {
    transform: translateY(-10px);
    border-color: #e8c742;
    box-shadow: 0 20px 40px rgba(232, 199, 66, 0.3);
}

.provider-logo {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.provider-card:hover .provider-logo {
    transform: scale(1.1);
}

.provider-logo > div {
    transition: all 0.3s ease;
}

.provider-card:hover .provider-logo > div {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.provider-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
    text-align: center;
}

.provider-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    transition: color 0.3s ease;
}

.provider-card:hover .provider-info h3 {
    color: #e8c742;
}

.provider-info p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.provider-card:hover .provider-info p {
    color: #ffffff;
}

.provider-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.provider-stats .stat {
    background: rgba(232, 199, 66, 0.1);
    border: 1px solid rgba(232, 199, 66, 0.3);
    color: #e8c742;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.provider-card:hover .provider-stats .stat {
    background: rgba(232, 199, 66, 0.2);
    border-color: #e8c742;
    color: #ffffff;
    transform: scale(1.05);
}

/* Provider Card Hover Effects */
.provider-card[data-provider="pragmatic"]:hover {
    border-color: #e8c742;
    box-shadow: 0 20px 40px rgba(232, 199, 66, 0.4);
}

.provider-card[data-provider="pgsoft"]:hover {
    border-color: #4ecdc4;
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.4);
}

.provider-card[data-provider="netent"]:hover {
    border-color: #9b59b6;
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.4);
}

.provider-card[data-provider="microgaming"]:hover {
    border-color: #e74c3c;
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.4);
}

.provider-card[data-provider="playtech"]:hover {
    border-color: #2980b9;
    box-shadow: 0 20px 40px rgba(41, 128, 185, 0.4);
}

.provider-card[data-provider="more"]:hover {
    border-color: #95a5a6;
    box-shadow: 0 20px 40px rgba(149, 165, 166, 0.4);
}

/* Provider Loading Animation */
.provider-card {
    animation: providerFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.provider-card:nth-child(1) { animation-delay: 0.1s; }
.provider-card:nth-child(2) { animation-delay: 0.2s; }
.provider-card:nth-child(3) { animation-delay: 0.3s; }
.provider-card:nth-child(4) { animation-delay: 0.4s; }
.provider-card:nth-child(5) { animation-delay: 0.5s; }
.provider-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes providerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Provider Click Animation */
.provider-card:active {
    transform: translateY(-5px) scale(0.98);
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Large Desktop */
@media (min-width: 1400px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2.5rem;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .filter-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-selects {
        justify-content: center;
    }
    
    .games-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .page-header {
        padding: 4rem 0 2rem;
    }
    
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .page-title-icon {
        font-size: 2.5rem;
    }
    
    .slots-stats {
        padding: 2rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .filter-selects {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
        padding: 0;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Medium */
@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-content {
        padding: 1rem;
    }
    
    .game-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Mobile Small */
@media (max-width: 360px) {
    .page-header {
        padding: 3rem 0 1.5rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .filter-tab {
        padding: 0.75rem 1.5rem;
    }
    
    .game-content {
        padding: 0.75rem;
    }
    
    .game-title {
        font-size: 1.2rem;
    }
    
    .game-btn {
        font-size: 0.85rem;
        padding: 0.5rem;
        min-height: 40px;
    }
}

/* ===============================
   ANIMATIONS
   =============================== */

/* Fade in animation for games */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.6s; }
.game-card:nth-child(7) { animation-delay: 0.7s; }
.game-card:nth-child(8) { animation-delay: 0.8s; }

/* Pulse animation for badges */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(232, 199, 66, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(232, 199, 66, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(232, 199, 66, 0);
    }
}

/* Shimmer Effect for Provider Cards */
.provider-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

.provider-card:hover::after {
    animation: shimmer 1s ease-in-out;
}

@keyframes shimmer {
    0% { 
        transform: translateX(-100%) translateY(-100%) rotate(45deg); 
        opacity: 0; 
    }
    50% { 
        opacity: 1; 
    }
    100% { 
        transform: translateX(100%) translateY(100%) rotate(45deg); 
        opacity: 0; 
    }
}

/* Provider Selection Visual Feedback */
.provider-card.selected {
    border-color: #e8c742;
    background: linear-gradient(135deg, rgba(232, 199, 66, 0.2), rgba(244, 208, 63, 0.1));
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(232, 199, 66, 0.4);
}

.provider-card.selected .provider-info h3 {
    color: #e8c742;
}

.provider-card.selected .provider-stats .stat {
    background: rgba(232, 199, 66, 0.3);
    border-color: #e8c742;
    color: #ffffff;
}