body { 
    font-family: Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    background: #4b9c56; 
    color: white; 
    overflow-x: hidden;
} 
.page-wrapper {
    display: flex;
    min-height: 100vh;
}
.ad-sidebar {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    background: rgba(0,0,0,0.2);
}
.sidebar-ad {
    margin-bottom: 10px;
    width: 160px;
    height: auto;
}
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px 10px;
}
.top-banner {
    width: 100%;
    max-width: 728px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.mid-banner {
    width: 100%;
    max-width: 468px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.container { 
    max-width: 1200px; 
    width: 100%; 
} 
.title { 
    text-align: center; 
    margin-bottom: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
} 
.logo { 
    width: 50px; 
    height: 50px; 
} 
#gameButtons { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); 
    gap: 15px; 
    margin: 15px 0; 
}
#gameButtons.image-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
} 
.game-button { 
    background: #f3bd12; 
    color: white; 
    padding: 15px; 
    border-radius: 8px; 
    border: none; 
    cursor: pointer; 
    font-size: 16px; 
    transition: background 0.2s, transform 0.2s; 
    text-transform: uppercase; 
    font-weight: bold; 
    height: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.game-button:hover { 
    background: #e0a90f; 
    transform: scale(1.05); 
}
.game-image {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    max-width: 180px;
    margin: 0 auto;
    will-change: transform;
    z-index: 1;
    box-shadow: none;
}
.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.game-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 1rem;
}
.game-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.9) 0%, 
        rgba(0,0,0,0.7) 20%, 
        rgba(0,0,0,0.4) 40%, 
        rgba(0,0,0,0.1) 70%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(10px);
    border-radius: 0 0 1rem 1rem;
    z-index: 2;
}
.game-image .overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    padding: 0 8px;
}
.game-image:hover {
    transform: scale(1.1) translateY(-5px);
    z-index: 2;
}
.game-image:hover img {
    transform: scale(1.05);
}
.game-image:hover::before {
    opacity: 1;
}
.game-image:hover::after {
    opacity: 1;
    transform: translateY(0);
}
.game-image:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}
.game-image:active {
    transform: scale(1.08) translateY(-3px);
    transition-duration: 0.2s;
} 
.credit { 
    text-align: center; 
    margin-top: 10px; 
    color: rgba(255,255,255,0.7); 
} 
.disclaimer { 
    background: rgba(0,0,0,0.1); 
    padding: 10px; 
    border-radius: 8px; 
    margin-top: 10px; 
    font-size: 14px; 
    text-align: center; 
    line-height: 1.4; 
} 
.switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
.switch-label {
    margin-right: 10px;
    font-size: 14px;
}
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #f3bd12;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
#adblock-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    color: white;
    text-align: center;
    padding-top: 20%;
    font-size: 24px;
    flex-direction: column;
    align-items: center;
}
#adblock-message button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #f3bd12;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}
.adsterra-ref {
    margin: 10px 0;
    text-align: center;
}
#ad-tester {
    position: absolute;
    height: 1px;
    width: 1px;
    left: -10000px;
    top: -10000px;
}
@media (max-width: 998px) { 
    .page-wrapper {
        flex-direction: column;
    }
    .ad-sidebar {
        width: 100%;
        height: auto;
        padding: 5px 0;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    .sidebar-ad {
        margin: 0 5px;
    }
}
@media (max-width: 768px) { 
    #gameButtons { 
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
    } 
    .top-banner, .mid-banner {
        height: auto;
    }
}