.game-content-block {
    width: 100%;
    display: none;
}
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}
.game-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    width: 100%;
}

.game-card {
    background-color: #161925;
    border: 1px solid #23283b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 20;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
}
.game-card:hover {
    transform: translateY(-6px);
    border-color: #cca43b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(204, 164, 59, 0.2);
}
.game-card .main-game-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    z-index: 1;
}
.game-card .badge-bottom-left {
    position: absolute;
    bottom: 12px;
    left: 12px;
    top: auto;
    width: 2.5rem;
    height: auto;
    z-index: 4;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}
.game-card .badge-bottom-right {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 2.5rem;
    height: auto;
    z-index: 4;
    display: block;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
}

.rtp-badge-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5%;
    width: 90%;
    background: linear-gradient(135deg, rgba(15, 17, 28, 0.9), rgba(8, 10, 18, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 10px;
    padding: 8px 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.rtp-text {
    font-size: 0.75rem;
    color: #ffd700;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.3);
}
.rtp-bar-bg {
    width: 100%;
    height: 8px;
    background-color: #0d0f17;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
}
.rtp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #ffd700, #ff8c00);
    background-size: 200% 100%;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 4px rgba(255, 140, 0, 0.5);
    position: relative;
    animation: rtpShimmer 2s linear infinite;
}
.rtp-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    animation: rtpGloss 1.5s ease-in-out infinite;
    background-size: 50% 100%;
    background-repeat: no-repeat;
}

@keyframes rtpShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
@keyframes rtpGloss {
    0% { background-position: -150% 0; }
    100% { background-position: 250% 0; }
}

.placeholder-card {
    text-align: center;
    padding: 40px;
    color: #5f6b8c;
    font-size: 14px;
    border: 2px dashed #23283b;
    border-radius: 12px;
    width: 100%;
}

.game-card2 {
    /* background: linear-gradient(135deg, #1b1d26 0%, #11131a 100%); */
    /* border: 1px solid #23283b; */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05); */
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.game-card2:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(204, 164, 59, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.game-card2 .main-game-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.game-card2:hover .main-game-img {
    transform: scale(1.04);
}

.game-card3 {
    /* background: #11131a; */
    /* border: 1px solid #23283b; */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* box-shadow: 0 6px 15px rgba(0, 0, 0, 0.65), inset 0 1.5px 0 rgba(255, 255, 255, 0.08); */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.game-card3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.13) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: 2;
}
.game-card3:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(204, 164, 59, 0.3), inset 0 1.5px 0 rgba(255, 215, 0, 0.15);
}
.game-card3:hover::before {
    left: 200%;
    transition: left 0.6s ease-in-out;
}
.game-card3 .main-game-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.game-card3:hover .main-game-img {
    transform: scale(1.04);
}
.game-card .game-title-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    padding: 1.2rem 3.2rem 2rem 3.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100__);
}

.game-card .game-title-text .title-main {
    font-size: 1rem;
    color: #ffffff;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        -2px -2px 4px rgba(0, 0, 0, 0.9),
        2px -2px 4px rgba(0, 0, 0, 0.9),
        -2px 2px 4px rgba(0, 0, 0, 0.9),
        0px 4px 10px rgba(0, 0, 0, 0.9);
}

.game-card .game-title-text .title-time {
    font-size: 2rem;
    color: #ffd700;
    font-weight: 900;
    white-space: nowrap;
    line-height: 1;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.6), 
        0 0 20px rgba(255, 215, 0, 0.3),
        2px 2px 3px rgba(0, 0, 0, 0.95),
        -2px -2px 3px rgba(0, 0, 0, 0.95),
        2px -2px 3px rgba(0, 0, 0, 0.95),
        -2px 2px 3px rgba(0, 0, 0, 0.95),
        0 5px 15px rgba(0, 0, 0, 1);
}
.bonustime-status-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 25, 37, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.bonustime-status-bar #live-fetch-text {
    font-size: 0.8rem;
    color: #e2e8f0;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.bonustime-status-bar .status-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e, 0 0 4px #22c55e;
    animation: statusPulse 1.5s infinite alternate;
}
@keyframes statusPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}
