/* css/bug.css */
:root { --text-color: #333; --sub-text: #666; --accent: #2c3e50; --glow-pink: #d81e5b; }
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    line-height: 1.6; 
    min-height: 100vh; 
    width: 100%; 
    background-color: #111 !important; 
    overflow: hidden !important; 
}

.huge-bg { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    object-fit: cover; 
    object-position: center center; 
    z-index: -1; 
    pointer-events: none; 
}

main { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 0px 20px 10px; 
    position: relative; 
    z-index: 5; 
    min-height: 100vh; 
    width: 100%; 
}

.top-header-area { 
    position: relative; 
    width: 100%; 
    max-width: 900px; 
    height: 110px; 
    margin-top: -25px; 
    margin-bottom: 20px; 
}

#date-footer { 
    position: absolute; 
    top: 0; left: 50%; 
    transform: translateX(-50%); 
    color: #ffffff; 
    font-size: 16px; 
    font-weight: 600; 
    white-space: nowrap; 
    text-shadow: 0 0 5px rgba(216, 30, 91, 0.8), 0 0 10px rgba(216, 30, 91, 0.6), 0 1px 2px rgba(0, 0, 0, 0.8); 
}

.side-btn { 
    position: absolute; 
    bottom: 0; 
    height: 38px; 
    padding: 0 20px; 
    color: #ffffff; 
    font-size: 15px; 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    background: rgba(255, 255, 255, 0.1) !important; 
    backdrop-filter: blur(8px); 
    border: 1.5px solid #d81e5b; 
    box-shadow: 0 0 12px rgba(216, 30, 91, 0.8), inset 0 0 6px rgba(216, 30, 91, 0.3); 
    border-radius: 20px; 
    z-index: 3; 
    cursor: pointer; 
    transition: transform 0.2s ease, background 0.2s ease; 
}

.side-btn:hover { transform: scale(1.06); background: rgba(255, 255, 255, 0.2) !important; }
.floating-back { left: 0; } 
.floating-consult { right: 0; }

/* 👇 新增：帮助按钮样式 */
.help-btn {
    position: absolute;
    bottom: 0;
    right: 110px; 
    height: 38px;
    padding: 0 20px;
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px);
    border: 1.5px solid #d81e5b;
    box-shadow: 0 0 12px rgba(216, 30, 91, 0.8), inset 0 0 6px rgba(216, 30, 91, 0.3);
    border-radius: 20px;
    z-index: 3;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.help-btn:hover { transform: scale(1.06); background: rgba(255, 255, 255, 0.2) !important; }

.page-title-bar { 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%) scale(1); 
    background-color: #d81e5b; 
    color: #ffffff; 
    padding: 12px 40px; 
    border-radius: 30px; 
    border: 2px solid rgba(255, 255, 255, 0.4); 
    box-shadow: 0 0 18px rgba(216, 30, 91, 0.8); 
    font-size: 1.3rem; 
    font-weight: bold; 
    z-index: 2; 
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.1), box-shadow 0.25s ease; 
    cursor: default; 
}

.page-title-bar:hover { transform: translateX(-50%) scale(1.04); box-shadow: 0 0 24px rgba(216, 30, 91, 1); }

.schedule-panel { 
    width: 100%; 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 50px 40px; 
    background: rgba(255, 255, 255, 0.1) !important; 
    backdrop-filter: blur(16px); 
    border: 2px solid #d81e5b; 
    border-radius: 26px; 
    box-shadow: 0 0 30px rgba(216, 30, 91, 0.6); 
    color: #ffffff; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
}

.schedule-panel:hover { box-shadow: 0 0 45px rgba(216, 30, 91, 0.8); transform: translateY(-2px); }
.schedule-main-title { font-size: 1.6rem; font-weight: 800; color: #ffffff; text-shadow: 0 0 12px rgba(216, 30, 91, 0.9); text-align: center; margin-bottom: 10px; }

.btn-group { 
    display: flex; 
    gap: 30px; 
    margin-top: 20px; 
    flex-wrap: wrap; 
    justify-content: center; 
}

.feedback-btn, .jump-btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 15px 40px; 
    font-size: 1.2rem; 
    font-weight: bold; 
    color: #ffffff; 
    text-decoration: none; 
    background: #d81e5b; 
    border: 2px solid rgba(255, 255, 255, 0.6); 
    border-radius: 50px; 
    box-shadow: 0 0 20px rgba(216, 30, 91, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.2); 
    transition: all 0.3s ease; 
    cursor: pointer; 
    white-space: nowrap; 
}

.feedback-btn:hover, .jump-btn:hover { 
    transform: scale(1.05); 
    background: #e8346f; 
    box-shadow: 0 0 35px rgba(216, 30, 91, 1), inset 0 0 15px rgba(255, 255, 255, 0.4); 
}

.feedback-btn span, .jump-btn span { margin-right: 8px; font-size: 1.2rem; }

.modal-overlay { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(8px); 
    z-index: 999; 
    justify-content: center; 
    align-items: center; 
}

.modal-content { 
    background: rgba(255, 255, 255, 0.1); 
    border: 2px solid #d81e5b; 
    border-radius: 26px; 
    padding: 30px 40px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    box-shadow: 0 0 40px rgba(216, 30, 91, 0.7); 
    position: relative; 
    max-width: 450px; 
    width: 90%; 
}

.modal-title { font-size: 1.4rem; font-weight: bold; color: #ffffff; text-shadow: 0 0 10px rgba(216, 30, 91, 0.8); margin-bottom: 20px; }
.qr-code { width: 220px; height: 220px; border-radius: 12px; background: #fff; padding: 10px; box-shadow: 0 0 15px rgba(216, 30, 91, 0.5); margin-bottom: 20px; object-fit: contain; }
.jump-btn { margin-top: 15px; }

.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; color: #ffffff; font-size: 1.8rem; cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: #d81e5b; }

/* 👇 新增：帮助弹窗里的文本列表样式 */
.help-list {
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
    width: 100%;
    padding-left: 20px;
    margin-bottom: 20px;
}
.help-list li { margin-bottom: 10px; }
.help-list strong { color: #ff99bb; }

#scale-wrapper { width: 1920px; height: 1080px; position: absolute; top: 0; left: 50%; transform-origin: top center; transition: transform 0.1s ease-out; display: flex; flex-direction: column; }

/* ==========================================================================
   移动端响应式布局预留 (Media Queries)
   ========================================================================== */
@media (max-width: 768px) {
    #scale-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        transform: none !important;
        left: 0;
    }
    
    main {
        padding: 0 15px 20px;
        min-height: 100vh;
    }

    .top-header-area {
        height: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .side-btn, .help-btn {
        position: relative;
        top: auto;
        bottom: auto;
        right: auto;
        left: auto;
        transform: none;
        margin: 0 5px;
    }
    
    /* 移动端调整按钮容器排布 */
    .top-header-area {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .page-title-bar {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        font-size: 1.1rem;
        padding: 10px 30px;
        order: -1; /* 让标题排在移动端第一行 */
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .schedule-panel {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .schedule-main-title { font-size: 1.3rem; }

    .btn-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .feedback-btn, .jump-btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .modal-content { width: 95%; padding: 20px; }
    .qr-code { width: 180px; height: 180px; }
}