/* Ad container styles */
.ad-container {
    position: relative;
    margin: 5px;
    min-height: 60px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ad-container::before {
    content: "Advertisement";
    position: absolute;
    top: 2px;
    left: 5px;
    font-size: 8px;
    color: #999;
    z-index: 1;
}

/* Sidebar ad styles */
.ad-container.ad-sidebar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 400px;
    z-index: 10;
}

.ad-container.ad-left {
    left: 5px;
}

.ad-container.ad-right {
    right: 5px;
}

.ad-container.ad-top {
    margin-bottom: 5px;
}

.ad-container.ad-bottom {
    margin-top: 5px;
}

@media (max-width: 1200px) {
    .ad-container.ad-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .ad-container {
        min-height: 40px;
    }
}

/* Ad placeholder styles */
.ad-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 14px;
    text-align: center;
}

/* Close button styles */
.ad-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    z-index: 2;
}

.ad-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Rewarded ad button styles */
.rewarded-ad-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #4CAF50, #2E7D32);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 10px auto;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.rewarded-ad-button:hover {
    background: linear-gradient(to bottom, #5CBF60, #3E8D42);
    transform: translateY(-2px);
}

.rewarded-ad-button:active {
    transform: translateY(0);
}

.rewarded-ad-button .reward-icon {
    margin-right: 8px;
    font-size: 16px;
} 