/* =====================================================
   float-window.css —— 左右两侧飘窗样式
   配合 float-window.js 使用
   ===================================================== */

body { overflow-x: hidden; }

.window-pop {
    position: fixed;
    width: 175px;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(192, 57, 43, 0.45);
    overflow: hidden;
    z-index: 9999;
    user-select: none;
    transition: transform 0.25s ease, opacity 0.3s ease;
    opacity: 0;
    animation: popIn 0.6s ease forwards;
}
@keyframes popIn {
    0%   { opacity: 0; transform: translateY(20px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0)    scale(1); }
}
.window-pop .pop-header {
    background: rgba(0,0,0,0.15);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}
.window-pop .pop-body {
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
}
.window-pop .pop-body .pop-icon {
    width: 56px; height: 56px;
    margin: 0 auto 10px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
.window-pop .pop-body .pop-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.window-pop .pop-body .pop-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
}
.window-pop .pop-body .pop-sub {
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 12px;
}
.window-pop .pop-body .pop-btn {
    display: inline-block;
    padding: 6px 18px;
    background: #fff;
    color: #c0392b;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.window-pop .pop-body .pop-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.pop-left  { left: 20px;  top: 180px; animation-delay: 0.2s; }
.pop-right { right: 20px; top: 260px; animation-delay: 0.5s; }

/* 响应式 */
@media (max-width: 1280px) {
    .window-pop { width: 155px; }
    .pop-left  { left: 10px; }
    .pop-right { right: 10px; }
}
@media (max-width: 900px) {
    .pop-right { display: none; }
}
