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; 
} 
.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; 
} 
.adsterra-ref {
    margin: 10px 0;
    text-align: center;
}
#ad-tester {
    position: absolute;
    height: 1px;
    width: 1px;
    left: -10000px;
    top: -10000px;
}

#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;
}

.partner-section {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}
.partner-logo {
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 15px;
}
.partner-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.partner-link {
    background: #f3bd12;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.partner-link:hover {
    background: #e0a90f;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

@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) { 
    .top-banner, .mid-banner {
        height: auto;
    }
    .partners-grid {
        grid-template-columns: 1fr;
    }
}