        .gallery-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        .gallery-header h1 {
            font-size: 3rem;
            margin-bottom: 0.5rem;
        }
        .gallery-header p {
            opacity: 0.8;
            font-size: 1.1rem;
        }
        
        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .game-card {
            background: rgba(15, 15, 25, 0.85);
            backdrop-filter: blur(10px);
            border-radius: 1.5rem;
            padding: 1.5rem;
            border: 1px solid rgba(187, 247, 59, 0.2);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            text-decoration: none;
            display: block;
            color: inherit;
        }
        
        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(187, 247, 59, 0.1), transparent);
            transition: left 0.5s ease;
        }
        
        .game-card:hover::before {
            left: 100%;
        }
        
        .game-card:hover {
            transform: translateY(-8px);
            border-color: #B502F6;
            box-shadow: 0 15px 35px rgba(181, 2, 246, 0.3);
        }
        
        .game-rank-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 0.8rem;
            background: rgba(0,0,0,0.6);
            padding: 0.25rem 0.7rem;
            border-radius: 2rem;
            font-weight: bold;
            backdrop-filter: blur(5px);
        }
        
        .rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
        .rank-2 { background: linear-gradient(135deg, #C0C0C0, #A9A9A9); color: #000; }
        .rank-3 { background: linear-gradient(135deg, #CD7F32, #B8860B); color: #000; }
        
        .game-date {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 0.7rem;
            background: rgba(0,0,0,0.5);
            padding: 0.25rem 0.6rem;
            border-radius: 1rem;
            color: #888;
        }
        
        .game-title {
            font-size: 1.5rem;
            font-weight: 800;
            background: linear-gradient(135deg, #fff, #BBF73B);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin: 1.2rem 0 0.5rem 0;
            padding-right: 20px;
        }
        
        .game-team {
            font-size: 0.9rem;
            color: #B502F6;
            margin-bottom: 1rem;
            font-weight: 500;
            letter-spacing: 0.5px;
        }
        
        .game-rating {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: rgba(187, 247, 59, 0.15);
            padding: 0.3rem 1rem;
            border-radius: 2rem;
            font-size: 1rem;
            font-weight: bold;
            color: #BBF73B;
            margin: 0.8rem 0;
            border: 1px solid rgba(187, 247, 59, 0.3);
        }
        
        .rating-stars {
            color: #FFD700;
            letter-spacing: 2px;
        }
        
        .game-play-link {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            background: linear-gradient(135deg, rgba(181, 2, 246, 0.2), rgba(187, 247, 59, 0.1));
            border: 1px solid #B502F6;
            padding: 0.6rem 1.3rem;
            border-radius: 2rem;
            color: #fff;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
            margin-top: 0.8rem;
            width: fit-content;
            pointer-events: auto;
        }
        
        .game-play-link:hover {
            background: linear-gradient(135deg, rgba(181, 2, 246, 0.4), rgba(187, 247, 59, 0.2));
            border-color: #BBF73B;
            transform: scale(1.02);
            box-shadow: 0 0 15px rgba(181, 2, 246, 0.4);
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            gap: 0.8rem;
            margin-top: 3rem;
            flex-wrap: wrap;
        }
        
        .pagination a, .pagination span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 0.8rem;
            background: rgba(20, 20, 30, 0.8);
            border: 1px solid rgba(187, 247, 59, 0.3);
            border-radius: 2rem;
            color: #fff;
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        
        .pagination a:hover {
            background: rgba(181, 2, 246, 0.3);
            border-color: #B502F6;
            transform: translateY(-2px);
        }
        
        .pagination .active {
            background: linear-gradient(135deg, #B502F6, #9a02cf);
            border-color: #B502F6;
            color: #fff;
        }
        
        .pagination .disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        
        .back-link {
            display: inline-block;
            margin-bottom: 2rem;
            color: #BBF73B;
            text-decoration: none;
            font-size: 1rem;
            transition: all 0.3s;
        }
        
        .back-link:hover {
            text-decoration: underline;
            transform: translateX(-3px);
        }
        
        .total-count {
            text-align: center;
            margin-top: 2rem;
            padding: 0.8rem;
            background: rgba(0,0,0,0.4);
            border-radius: 2rem;
            font-size: 0.85rem;
            opacity: 0.7;
        }
        
        .empty-message {
            text-align: center;
            padding: 4rem;
            background: rgba(0,0,0,0.5);
            border-radius: 2rem;
            color: #888;
            font-size: 1.2rem;
        }
        
        @media (max-width: 768px) {
            .games-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .gallery-header h1 {
                font-size: 2rem;
            }
            .game-title {
                font-size: 1.3rem;
            }
            .pagination a, .pagination span {
                min-width: 35px;
                height: 35px;
                font-size: 0.8rem;
            }
        }
        
        .game-card {
            animation: fadeInUp 0.5s ease-out forwards;
            opacity: 0;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .game-card:nth-child(1) { animation-delay: 0.05s; }
        .game-card:nth-child(2) { animation-delay: 0.1s; }
        .game-card:nth-child(3) { animation-delay: 0.15s; }
        .game-card:nth-child(4) { animation-delay: 0.2s; }
        .game-card:nth-child(5) { animation-delay: 0.25s; }
        .game-card:nth-child(6) { animation-delay: 0.3s; }
        .game-card:nth-child(7) { animation-delay: 0.35s; }
        .game-card:nth-child(8) { animation-delay: 0.4s; }
        .game-card:nth-child(9) { animation-delay: 0.45s; }
        .game-card:nth-child(10) { animation-delay: 0.5s; }
        
        
        
    