﻿

/* ========== 主容器 ========== */
.ad-banner {
    width: 90vw;
    max-width: 1300px;
    min-width: 320px;
    height: auto;
    aspect-ratio: 1300 / 300;
    margin: 0 auto;
    overflow: hidden;
}

/* ========== 第一层 ========== */
.ad-banner-layer1 {
    width: 100%;
    height: auto;
    aspect-ratio: 1300 / 110;
    text-align: center;
    overflow: hidden;
}
.ad-banner-layer1-bar {
    display: inline-block;
    width: 100%;
    height: auto;
    aspect-ratio: 1300 / 70;
    margin-top: 1.5vw;
    overflow: hidden;
    background: linear-gradient(90deg, #1a0318 0%, #380828 20%, #580a3a 40%, #6a0e48 50%, #580a3a 60%, #380828 80%, #1a0318 100%);
    clip-path: polygon(2.3vw 0%, calc(100% - 2.3vw) 0%, 100% 50%, calc(100% - 2.3vw) 100%, 2.3vw 100%, 0% 50%);
    animation: ad-banner-float1 3s ease-in-out infinite;
    border-image: linear-gradient(90deg, transparent, rgba(255,120,180,0.3), transparent) 1;
}
.ad-banner-layer1-sweep {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(105deg,
            transparent 0%,
            transparent 30%,
            rgba(255,120,180,0.04) 38%,
            rgba(255,150,200,0.10) 43%,
            rgba(255,180,220,0.22) 47%,
            rgba(255,220,240,0.35) 50%,
            rgba(255,180,220,0.22) 53%,
            rgba(255,150,200,0.10) 57%,
            rgba(255,120,180,0.04) 62%,
            transparent 70%,
            transparent 100%
        ),
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.02) 100%);
    background-size: 220% 100%, 100% 100%;
    animation: ad-banner-sweep1 3.5s ease-in-out infinite;
    text-align: center;
}
@keyframes ad-banner-sweep1 {
    0%   { background-position: 140% 0, 0 0; }
    100% { background-position: -40% 0, 0 0; }
}
.ad-banner-layer1-text {
    display: inline-block;
    font-family: 'Noto Serif SC', serif;
    font-weight: 900;
    font-size: clamp(18px, 3.2vw, 42px);
    letter-spacing: 0.7vw;
    margin-top: 0.6vw;
    background: linear-gradient(180deg, #ffffff 0%, #ffe8f4 18%, #ffb8d8 35%, #ff80b8 50%, #ff4490 68%, #e0006a 82%, #b80050 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 0px #3a0020) drop-shadow(-1px -1px 0px #2e0018) drop-shadow(0px 0px 6px rgba(255,60,140,0.25));
    animation: ad-banner-float1 3s ease-in-out infinite, ad-banner-glow1 4s ease-in-out infinite;
}
@keyframes ad-banner-float1 {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-4px); }
}
@keyframes ad-banner-glow1 {
    0%, 100% { filter: drop-shadow(2px 2px 0px #3a0020) drop-shadow(-1px -1px 0px #2e0018) drop-shadow(0px 0px 6px rgba(255,60,140,0.2)); }
    50%      { filter: drop-shadow(2px 2px 0px #3a0020) drop-shadow(-1px -1px 0px #2e0018) drop-shadow(0px 0px 14px rgba(255,80,160,0.5)); }
}

/* ========== 第二层 ========== */
.ad-banner-layer2 {
    width: 100%;
    height: auto;
    aspect-ratio: 1300 / 60;
    overflow: hidden;
    text-align: center;
}
.ad-banner-layer2-text {
    display: inline-block;
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: clamp(16px, 2.9vw, 38px);
    letter-spacing: 1vw;
    margin-top: 1vw;
    background: linear-gradient(180deg, #ffffff 0%, #fff0f8 20%, #ffd0e8 38%, #ffaad4 55%, #ff80c0 68%, #ee50a0 80%, #cc2080 92%, #aa0060 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 0px #3e0028) drop-shadow(-1px -1px 0px #320020) drop-shadow(0px 0px 5px rgba(240,60,140,0.2));
    animation: ad-banner-float2 3.5s ease-in-out infinite, ad-banner-glow2 5s ease-in-out infinite;
}
@keyframes ad-banner-float2 {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-3px) scale(1.01); }
}
@keyframes ad-banner-glow2 {
    0%, 100% { filter: drop-shadow(2px 2px 0px #3e0028) drop-shadow(-1px -1px 0px #320020) drop-shadow(0px 0px 5px rgba(240,60,140,0.15)); }
    50%      { filter: drop-shadow(2px 2px 0px #3e0028) drop-shadow(-1px -1px 0px #320020) drop-shadow(0px 0px 16px rgba(255,80,160,0.45)); }
}

/* ========== 第三层 ========== */
.ad-banner-layer3 {
    width: 100%;
    height: auto;
    aspect-ratio: 1300 / 130;
    min-height: 110px;
    overflow: visible;
    text-align: center;
}
.ad-banner-layer3-inner {
    display: inline-block;
    margin-top: 1.2vw;
    margin-bottom: 0.5vw;
}
.ad-banner-layer3-btn {
    display: inline-block;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: clamp(14px, 1.8vw, 24px);
    letter-spacing: 0.3vw;
    color: #ffffff;
    margin-left: 1.2vw;
    margin-right: 1.2vw;
    background: linear-gradient(180deg, #ff90c0 0%, #ff50a0 25%, #ee2080 50%, #cc0060 75%, #aa0050 100%);
    border-radius: 30px;
    text-shadow: 0px 0px 10px rgba(255,255,255,0.9), 0px 0px 4px rgba(255,255,255,0.8), 0px 0px 20px rgba(255,255,255,0.4), 1px 1px 0px rgba(255,255,255,0.3);
    overflow: hidden;
    box-shadow: 0px 2px 0px #7a0038, 0px -1px 0px rgba(255,200,230,0.3) inset, 0px 4px 12px rgba(200,0,80,0.35);
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ad-banner-layer3-btn:hover {
    box-shadow: 0px 2px 0px #7a0038, 0px -1px 0px rgba(255,200,230,0.4) inset, 0px 4px 22px rgba(255,60,140,0.65);
    transform: translateY(-2px);
}
.ad-banner-layer3-btn-sweep {
    display: block;
    background:
        linear-gradient(105deg,
            transparent 0%,
            transparent 35%,
            rgba(255,255,255,0.05) 42%,
            rgba(255,255,255,0.12) 47%,
            rgba(255,255,255,0.22) 50%,
            rgba(255,255,255,0.12) 53%,
            rgba(255,255,255,0.05) 58%,
            transparent 65%,
            transparent 100%
        );
    background-size: 250% 100%;
    animation: ad-banner-sweep3 4.5s ease-in-out infinite;
}
@keyframes ad-banner-sweep3 {
    0%   { background-position: 150% 0; }
    100% { background-position: -50% 0; }
}
.ad-banner-layer3-btn-text {
    display: inline-block;
    margin-left: 1.8vw;
    margin-right: 1.8vw;
    margin-top: 0.6vw;
    margin-bottom: 0.6vw;
}
.ad-banner-layer3-btn:nth-child(1) { animation: ad-banner-float3a 2.8s ease-in-out infinite; }
.ad-banner-layer3-btn:nth-child(2) { animation: ad-banner-float3b 3.2s ease-in-out infinite; }
.ad-banner-layer3-btn:nth-child(3) { animation: ad-banner-float3c 2.5s ease-in-out infinite; }
.ad-banner-layer3-btn:nth-child(4) { animation: ad-banner-float3d 3.6s ease-in-out infinite; }
.ad-banner-layer3-btn:nth-child(2) .ad-banner-layer3-btn-sweep { animation-delay: 0.8s; }
.ad-banner-layer3-btn:nth-child(3) .ad-banner-layer3-btn-sweep { animation-delay: 1.6s; }
.ad-banner-layer3-btn:nth-child(4) .ad-banner-layer3-btn-sweep { animation-delay: 2.4s; }
@keyframes ad-banner-float3a {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-5px); }
}
@keyframes ad-banner-float3b {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(4px); }
}
@keyframes ad-banner-float3c {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(-6px); }
}
@keyframes ad-banner-float3d {
    0%, 100% { transform: translateY(0px); }
    50%      { transform: translateY(5px); }
}