/* 免责声明样式 */

/* 免责声明横幅样式 */
.disclaimer-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    padding: 12px 0;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: slideDown 0.5s ease-out;
    border-bottom: 3px solid #d73527;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.disclaimer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}

.disclaimer-content i {
    font-size: 20px;
    color: #fff;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.disclaimer-text {
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.disclaimer-close {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: bold;
}

.disclaimer-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* 页脚免责声明高亮样式 */
.disclaimer-highlight {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white !important;
    padding: 6px 15px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(238, 90, 82, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
    border: 2px solid #d73527;
    margin-left: 15px;
}

@keyframes glow {
    from {
        box-shadow: 0 2px 8px rgba(238, 90, 82, 0.3);
        transform: scale(1);
    }
    to {
        box-shadow: 0 2px 15px rgba(238, 90, 82, 0.6);
        transform: scale(1.05);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .disclaimer-banner {
        padding: 8px 0;
    }

    .disclaimer-text {
        font-size: 14px;
    }

    .disclaimer-content {
        gap: 8px;
    }

    .disclaimer-highlight {
        font-size: 12px;
        padding: 4px 10px;
        margin-left: 10px;
    }

    .disclaimer-close {
        font-size: 20px;
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .disclaimer-text {
        font-size: 12px;
    }

    .disclaimer-highlight {
        font-size: 11px;
        padding: 3px 8px;
        margin-left: 5px;
        display: block;
        margin-top: 5px;
        text-align: center;
    }
}
