
/* ad */
.premium-sponsor-container {
    width: 100%;
    margin: 16px 0;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.premium-ad-card {
    position: relative;
    background: linear-gradient(135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #f5576c 75%,
    #4facfe 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    border-radius: 20px;
    padding: 24px;
    overflow: hidden;
    box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.1),
            0 8px 16px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-ad-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
            0 32px 64px rgba(0, 0, 0, 0.15),
            0 16px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 背景装饰 */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle-3 {
    width: 10px;
    height: 10px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.particle-4 {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.glow-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.glow-1 {
    width: 120px;
    height: 120px;
    top: -60px;
    right: -60px;
    animation-delay: 0s;
}

.glow-2 {
    width: 80px;
    height: 80px;
    bottom: -40px;
    left: -40px;
    animation-delay: 2s;
}

.geometric-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    animation: rotate 12s linear infinite;
}

.shape-1 {
    width: 40px;
    height: 40px;
    top: 15%;
    right: 15%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-2 {
    width: 30px;
    height: 30px;
    bottom: 20%;
    left: 10%;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    animation-delay: 6s;
}

/* 内容区域 */
.ad-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

/* 图标区域 */
.icon-section {
    position: relative;
    flex-shrink: 0;
}

.main-icon {
    position: relative;
    width: 80px;
    height: 80px;
}

.icon-bg {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.icon-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.icon-emoji {
    font-size: 36px;
    position: relative;
    z-index: 1;
    animation: bounce 2s ease-in-out infinite;
}

.icon-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    animation: pulse-ring 2s ease-out infinite;
}

/* 内容区域 */
.content-section {
    flex: 1;
    min-width: 0;
}

.title-area {
    margin-bottom: 12px;
}

.sponsor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.badge-icon {
    font-size: 14px;
    animation: sparkle 2s ease-in-out infinite;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s ease-in-out infinite;
}

.main-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.title-highlight {
    background: linear-gradient(45deg, #fff, #f0f9ff, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

.description-area {
    margin-top: 8px;
}

.description-text {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    font-weight: 600;
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.price-tag {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tag {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 行动区域 */
.action-section {
    flex-shrink: 0;
    text-align: center;
}

.cta-button {
    position: relative;
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: buttonShine 4s ease-in-out infinite;
}

.urgency-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.urgency-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

.urgency-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* 边框光效 */
.border-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.5));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-ad-card:hover .border-glow {
    opacity: 1;
}

/* 动画定义 */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes buttonShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .action-section{
        /*display: none;*/
    }
    .premium-ad-card {
        padding: 16px;
        border-radius: 16px;
    }

    .ad-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .main-icon {
        width: 60px;
        height: 60px;
    }

    .icon-emoji {
        font-size: 28px;
    }

    .main-title {
        font-size: 18px;
    }

    .description-text {
        font-size: 13px;
    }

    .feature-tags {
        justify-content: center;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .premium-ad-card {
        padding: 12px;
        border-radius: 12px;
    }

    .main-title {
        font-size: 16px;
    }

    .description-text {
        font-size: 12px;
    }

    .feature-tag {
        font-size: 10px;
        padding: 3px 6px;
    }
}