       /* Game display styles */
       .games-container {
        margin-top: 2rem;
    }
    
    .games-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
        margin-top: 1rem;
    }
    
    /* Enhanced Game Card Styling */
    .game-card {
        background-color: var(--dark-card);
        border: 1px solid var(--dark-border);
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
        position: relative;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .game-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.3);
        border-color: var(--gold-primary);
    }
    
    .game-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }
    
    .game-card:hover::after {
        transform: scaleX(1);
    }
    
    .game-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        background-color: var(--dark-bg);
        transition: transform 0.3s ease;
    }
    
    .game-card:hover .game-image {
        transform: scale(1.05);
    }
    
    .game-info {
        padding: 0.75rem;
        border-top: 1px solid rgba(212, 175, 55, 0.1);
        background: linear-gradient(to bottom, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 1));
    }
    
    .game-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-primary);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .game-card:hover .game-title {
        color: var(--gold-primary);
    }
    
    /* Provider Badge Styles */
    .provider-badge {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.2rem 0.5rem;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: bold;
        color: white;
        background: linear-gradient(135deg, #252525, #101010);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        z-index: 2;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: 500ms all;
    }
    
    .game-card:hover .provider-badge {
        filter: opacity(0);
    }
    
    /* RTP Badge Styles */
    .rtp-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        padding: 0.35rem 0.6rem;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: bold;
        color: var(--dark-bg);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
        z-index: 2;
        transition: all 0.3s ease;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .rtp-badge.low {
        background: linear-gradient(135deg, #e74c3c, #c0392b);
    }
    
    .rtp-badge.medium {
        background: linear-gradient(135deg, #f39c12, #d35400);
    }
    
    .rtp-badge.high {
        background: linear-gradient(135deg, #2ecc71, #27ae60);
    }
    
    .game-card:hover .rtp-badge {
        transform: scale(1.15) translateY(-2px);
        box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.1);
    }
    
    /* Play button overlay */
    .game-card .play-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100% - 40px); /* Height of image area */
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .game-card:hover .play-overlay {
        opacity: 1;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        background-color: rgba(212, 175, 55, 0.8);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: scale(0.8);
        transition: all 0.3s ease;
    }
    
    .play-button::before {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 8px 0 8px 16px;
        border-color: transparent transparent transparent var(--dark-bg);
        margin-left: 4px;
    }
    
    .game-card:hover .play-button {
        transform: scale(1);
        background-color: var(--gold-primary);
    }
    
    .loading, .error {
        text-align: center;
        padding: 2rem;
        color: var(--text-secondary);
    }
    
    .error {
        color: var(--accent-error);
    }
    
    @media (max-width: 576px) {
        .games-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    /* Search bar styles */
    .search-container {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .search-input {
        flex: 1;
        padding: 0.5rem 1rem;
        border: 1px solid var(--dark-border);
        background-color: var(--dark-card);
        color: var(--text-primary);
        border-radius: 4px;
    }
    
    .search-button {
        padding: 0.5rem 1rem;
        background-color: var(--gold-primary);
        color: var(--dark-bg);
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-weight: bold;
    }
    
    .search-button:hover {
        background-color: var(--gold-secondary);
    }
    
    .search-results {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }
    
    .results-count {
        color: var(--text-secondary);
        font-size: 0.9rem;
    }
    
    .clear-search {
        background: none;
        border: none;
        color: var(--gold-primary);
        cursor: pointer;
        font-size: 0.9rem;
        text-decoration: underline;
    }
    
    /* Modal Popup Styles */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.85);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        backdrop-filter: blur(5px);
    }
    
    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .modal-content {
        background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
        border: 2px solid var(--gold-primary);
        border-radius: 12px;
        width: 90%;
        max-width: 500px;
        max-height: 90vh;
        overflow-y: auto;
        padding: 1.5rem;
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), inset 0 0 15px rgba(0, 0, 0, 0.5);
        transform: translateY(20px) scale(0.95);
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
    }
    
    .modal-overlay.active .modal-content {
        transform: translateY(0) scale(1);
    }
    
    .modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 32px;
        height: 32px;
        background-color: rgba(212, 175, 55, 0.2);
        border: 1px solid rgba(212, 175, 55, 0.5);
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--gold-primary);
        font-size: 1.2rem;
        transition: all 0.2s ease;
        z-index: 2;
    }
    
    .modal-close:hover {
        background-color: var(--gold-primary);
        color: var(--dark-bg);
        transform: rotate(90deg);
    }
    
    .modal-title {
        color: var(--gold-primary);
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        padding-bottom: 0.8rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        font-weight: bold;
    }
    
    .pattern-row {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
        padding: 1rem;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
        border-radius: 8px;
        border-left: 3px solid var(--gold-primary);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }
    
    .pattern-row-header {
        color: var(--gold-secondary);
        font-size: 0.9rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .pattern-options-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.75rem;
    }
    
    .options-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .options-label {
        color: var(--text-secondary);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.25rem;
    }
    
    .bet-options, .speed-options, .dc-options {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .bet-option {
        padding: 0.35rem 0.6rem;
        background-color: rgba(30, 30, 30, 0.8);
        border: 1px solid var(--dark-border);
        border-radius: 6px;
        color: var(--text-secondary);
        font-size: 0.9rem;
        font-weight: bold;
        min-width: 2.5rem;
        text-align: center;
        transition: all 0.2s ease;
        cursor: pointer;
    }
    
    .bet-option.selected {
        background-color: var(--gold-primary);
        color: var(--dark-bg);
        border-color: var(--gold-primary);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
        transform: scale(1.05);
    }
    
    .speed-option, .dc-option {
        padding: 0.35rem 0.6rem;
        background-color: rgba(30, 30, 30, 0.8);
        border: 1px solid var(--dark-border);
        border-radius: 6px;
        color: var(--text-secondary);
        font-size: 0.8rem;
        transition: all 0.2s ease;
        cursor: pointer;
    }
    
    .speed-option.selected, .dc-option.selected {
        background-color: var(--gold-secondary);
        color: var(--gold-primary);
        border-color: var(--gold-secondary);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
        transform: scale(1.05);
    }
    
    .pattern-info {
        margin-top: 1.5rem;
        padding: 1rem;
        background-color: rgba(212, 175, 55, 0.1);
        border-radius: 8px;
        color: var(--text-secondary);
        font-size: 0.9rem;
        text-align: center;
        border: 1px dashed rgba(212, 175, 55, 0.3);
    }
    
    /* Article Section Styles */
    .article {
        margin: 3rem auto;
        padding: 2rem;
        background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
        border-radius: 12px;
        border: 1px solid var(--dark-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
        position: relative;
        overflow: hidden;
        max-width: 1200px;
    }
    
    .article::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    }
    
    .article h1 {
        color: var(--gold-primary);
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        text-align: center;
        font-weight: bold;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        position: relative;
        padding-bottom: 1rem;
    }
    
    .article h1::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--gold-secondary);
        border-radius: 3px;
    }
    
    .article p {
        color: var(--text-secondary);
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1rem;
        text-align: justify;
    }
    
    .article p strong {
        color: var(--text-primary);
        font-weight: bold;
    }
    
    .article p em {
        color: var(--gold-secondary);
        font-style: italic;
    }
    
    @media (max-width: 768px) {
        .article {
            padding: 1.5rem;
            margin: 2rem auto;
        }
        
        .article h1 {
            font-size: 1.5rem;
        }
        
        .article p {
            font-size: 0.95rem;
            line-height: 1.6;
        }
    }