       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: #0a0a0a;
            color: #fff;
            min-height: 100vh;
            padding: 15px;
            overflow-x: hidden;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(100, 0, 0, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(0, 50, 100, 0.1) 0%, transparent 20%);
        }
        
        .container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        header {
            text-align: center;
            padding: 15px 0;
            margin-bottom: 25px;
            position: relative;
        }
        
        .logo {
            font-size: clamp(1.8rem, 5vw, 2.5rem);
            margin-bottom: 10px;
            color: #ff0000;
            text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        h1 {
            font-size: clamp(1.4rem, 4vw, 1.9rem);
            margin-bottom: 12px;
            color: #ffcc00;
            text-transform: uppercase;
            letter-spacing: 1px;
            line-height: 1.3;
            text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
        }
        
        .subtitle {
            color: #aaa;
            max-width: 800px;
            margin: 0 auto 15px;
            font-size: clamp(0.9rem, 2.5vw, 1.05rem);
            padding: 0 10px;
        }
        
        .stats {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin: 15px 0;
            flex-wrap: wrap;
        }
        
        .stat-box {
            background: rgba(30, 30, 30, 0.8);
            border: 1px solid #333;
            border-radius: 10px;
            padding: 10px 15px;
            min-width: 120px;
            text-align: center;
            flex: 1;
            max-width: 180px;
            box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
        }
        
        .stat-value {
            font-size: clamp(1.4rem, 4vw, 1.8rem);
            font-weight: bold;
            color: #ffcc00;
            margin: 4px 0;
        }
        
        .stat-label {
            color: #aaa;
            font-size: clamp(0.75rem, 2vw, 0.85rem);
        }
        
     * {
    box-sizing: border-box;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolom default */
    gap: 12px;
     padding: 8px;
    margin-top: 20px;
    width: 100%;
}


@media (min-width: 300px) {
    .games-container {
        grid-template-columns: repeat(2, 1fr); /* Tetap 2 kolom untuk layar kecil >= 300px */
    }
}

@media (min-width: 600px) {
    .games-container {
        grid-template-columns: repeat(3, 1fr); /* Tablet */
    }
}

@media (min-width: 1024px) {
    .games-container {
        grid-template-columns: repeat(5, 1fr); /* Desktop */
    }
}

.game-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 2px solid #f20a0a;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 10px;

    min-width: 0; /* Fix layout */
    Max-width:100%;
    flex: 1;
    word-wrap: break-word;
    word-break: break-word;
}
        
        .game-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(255, 204, 0, 0.4);
            border-color: #f20a0a;
        }
        
        .game-image {
    width: 100%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #f20a0a;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
        
        .game-card:hover .game-image img {
            transform: scale(1.05);
        }
        
        .game-content {
            padding: 15px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        
        .game-title {
            font-size: clamp(1.1rem, 3vw, 1.25rem);
            margin-bottom: 12px;
            font-weight: bold;
            text-align: center;
            color: #ffcc00;
            min-height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1.3;
            text-shadow: 0 0 5px rgba(255, 204, 0, 0.3);
        }
        
        .gacor-time {
            background: rgba(0, 0, 0, 0.5);
            padding: 7px 10px;
            border-radius: 18px;
            margin-bottom: 12px;
            text-align: center;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            color: #ffcc00;
            border: 1px solid #ffcc00;
        }
        
        .pattern-row {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            background: rgba(0, 0, 0, 0.3);
            padding: 7px 10px;
            border-radius: 8px;
            border: 1px solid #444;
            flex-wrap: wrap;
        }
        
        .label {
            width: 60px;
            font-weight: bold;
            color: #aaa;
            font-size: clamp(0.75rem, 2.5vw, 0.85rem);
        }
        
        .value {
            font-weight: bold;
            width: 50px;
            text-align: center;
            color: #ffcc00;
            font-size: clamp(0.85rem, 3vw, 1.05rem);
        }
        
        .icons {
            display: flex;
            gap: 4px;
            margin-left: auto;
        }
        
        .icon {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            transition: transform 0.2s ease;
        }
        
        .icon:hover {
            transform: scale(1.2);
        }
        
        .icon.valid {
            background-color: #4CAF50;
            color: white;
            box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
        }
        
        .icon.invalid {
            background-color: #f44336;
            color: white;
            box-shadow: 0 0 5px rgba(244, 67, 54, 0.5);
        }
        
        .rtp-bar-container {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            height: 28px;
            margin: 12px 0;
            position: relative;
            overflow: hidden;
            border: 1px solid #444;
        }
        
        .rtp-bar-fill {
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            transition: width 0.8s ease-in-out;
        }
        
        .rtp-bar-fill.high {
            background: linear-gradient(90deg, #4CAF50, #8BC34A);
        }
        
        .rtp-bar-fill.medium {
            background: linear-gradient(90deg, #FFC107, #FF9800);
        }
        
        .rtp-bar-fill.low {
            background: linear-gradient(90deg, #F44336, #E91E63);
        }
        
        .rtp-value {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: clamp(0.75rem, 2.5vw, 0.85rem);
            text-shadow: 0 0 3px #000;
        }
        
        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 10;
        }
        
        .game-card:hover .play-overlay {
            opacity: 1;
        }
        
        .play-btn {
            background: linear-gradient(to right, #c22110, #fc270f);
            color: #000;
            border: none;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: clamp(0.95rem, 3vw, 1.1rem);
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
        }
        
        .play-btn:hover {
            background: linear-gradient(to right, #ffaa00, #ffcc00);
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(255, 204, 0, 0.8);
        }
        
        .update-indicator {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: #ffcc00;
            border-radius: 50%;
            width: 26px;
            height: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            animation: pulse 1.5s infinite;
            z-index: 5;
            box-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
        }
        
        @keyframes pulse {
            0% { 
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
            }
            70% { 
                box-shadow: 0 0 0 10px rgba(255, 204, 0, 0);
            }
            100% { 
                transform: scale(1.05);
                box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
            }
        }
        
        footer {
            text-align: center;
            margin-top: 40px;
            padding: 20px;
            color: #777;
            font-size: clamp(0.8rem, 2vw, 0.9rem);
            border-top: 1px solid #333;
        }
        
        /* Animation for card entrance */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .game-card {
            animation: fadeInUp 0.5s ease-out forwards;
            opacity: 0;
        }
        
        /* Delay animations for each card */
        .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; }
        .game-card:nth-child(9) { animation-delay: 0.9s; }
        .game-card:nth-child(10) { animation-delay: 1.0s; }
        .game-card:nth-child(11) { animation-delay: 1.1s; }
        .game-card:nth-child(12) { animation-delay: 1.2s; }
        .game-card:nth-child(13) { animation-delay: 1.3s; }
        .game-card:nth-child(14) { animation-delay: 1.4s; }
        .game-card:nth-child(15) { animation-delay: 1.5s; }
        .game-card:nth-child(16) { animation-delay: 1.6s; }
        
        /* Loading spinner */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            flex-direction: column;
            gap: 20px;
        }
        
        .spinner {
            width: 60px;
            height: 60px;
            border: 5px solid rgba(255, 204, 0, 0.3);
            border-radius: 50%;
            border-top-color: #ffcc00;
            animation: spin 1s ease-in-out infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        .loading-text {
            color: #ffcc00;
            font-size: 1.2rem;
            text-align: center;
        }
        
        /* Responsive design */
        @media (max-width: 1200px) {
            .games-container {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .games-container {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .games-container {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .game-image {
                height: 150px;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding: 10px;
            }
            
            .games-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            
            .stat-box {
                min-width: 100px;
                padding: 8px 10px;
            }
            
            .game-image {
                height: 140px;
            }
            
            .game-content {
                padding: 12px;
            }
            
            .play-btn {
                padding: 8px 15px;
                font-size: 0.9rem;
            }
            
            .pattern-row {
                padding: 6px 8px;
            }
            
            .label {
                width: 50px;
                font-size: 0.7rem;
            }
            
            .value {
                width: 40px;
                font-size: 0.9rem;
            }
            
            .icon {
                width: 18px;
                height: 18px;
                font-size: 8px;
            }
        }
        
        @media (max-width: 300px) {
            .games-container {
                grid-template-columns: 2fr;
            }
            
            .game-title {
                font-size: 0.95rem;
                min-height: 50px;
            }
            
            .gacor-time {
                font-size: 0.75rem;
            }
        }