/* Cookie Consent Banner Styles */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12), 0 -2px 10px rgba(0, 0, 0, 0.08);
    border-top: 2px solid rgba(45, 90, 39, 0.15);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

#cookie-consent-banner.hide {
    transform: translateY(100%);
}

.cookie-consent-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-logo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d5a27, #4a7c59);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(45, 90, 39, 0.25);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.cookie-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
        box-shadow: 0 8px 20px rgba(45, 90, 39, 0.25);
    }
    50% { 
        transform: translateY(-8px) rotate(2deg) scale(1.05);
        box-shadow: 0 12px 30px rgba(45, 90, 39, 0.35);
    }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

.cookie-content {
    flex: 1;
    min-width: 0;
}

.cookie-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0 0 12px 0;
}

.cookie-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.cookie-links a {
    color: #2d5a27;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cookie-links a:hover {
    color: #4a7c59;
    text-decoration: underline;
}

.cookie-links .separator {
    color: #ccc;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.cookie-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cookie-btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-icon {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #2d5a27, #3d6b35, #4a7c59);
    color: white;
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.35);
}

.cookie-btn-accept:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(45, 90, 39, 0.45);
}

.cookie-btn-accept:active {
    transform: translateY(-1px) scale(0.98);
}

.cookie-btn-decline {
    background: rgba(245, 245, 245, 0.8);
    color: #666;
    border: 2px solid rgba(220, 220, 220, 0.6);
}

.cookie-btn-decline:hover {
    background: rgba(230, 230, 230, 0.9);
    color: #333;
    border-color: rgba(200, 200, 200, 0.8);
    transform: translateY(-2px);
}

.cookie-btn-decline:active {
    transform: translateY(0) scale(0.98);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        text-align: center;
    }

    .cookie-logo {
        width: 60px;
        height: 60px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .cookie-title {
        font-size: 16px;
    }

    .cookie-text {
        font-size: 13px;
    }

    .cookie-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* 平板响应式 */
@media (max-width: 1024px) and (min-width: 769px) {
    .cookie-consent-container {
        padding: 20px 30px;
    }
    
    .cookie-icon {
        font-size: 42px;
    }
}

