.top-ads-bar {
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    backdrop-filter: blur(10px);
    background-color: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 200, 0, 0.3);
    font-family: 'Noto Sans TC', sans-serif;
}

.admin-bar .top-ads-bar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .top-ads-bar {
        top: 46px;
    }
}

body.has-top-ads-bar {
    margin-top: 40px;
}

.admin-bar body.has-top-ads-bar {
    margin-top: 0;
}

.top-ads-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    color: #e0e0e0;
}

.top-ads-bar a {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    color: #ffc800;
    font-weight: 500;
}

.top-ads-bar a:hover {
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 200, 0, 0.5);
}

.top-ads-block {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans TC', sans-serif;
}

.top-ads-block-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.top-ads-block a {
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.top-ads-block a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .top-ads-bar {
        padding: 8px 15px;
        font-size: 13px;
    }

    body.has-top-ads-bar {
        margin-top: 36px;
    }

    .top-ads-block {
        padding: 30px 15px;
        font-size: 14px;
        min-height: 120px;
    }
}
