/* Windows锁屏风格样式 */
body.lock-screen {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    background-color: #f5f5f7; /* 加载过程中显示黑色背景 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 主容器 */
body.lock-screen .container {
    position: relative;
    z-index: 2;
    height: 100vh;
    width: 100vw;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
    box-shadow: none;
    background-color: transparent;
}

/* 左上角油价信息 */
body.lock-screen .top-left {
    position: absolute;
    top: 30px;
    left: 30px;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    max-width: 500px;
}

/* 右下角图片信息 */
body.lock-screen .bottom-right {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80%;
    max-width: 400px;
    font-size: 14px;
    opacity: 0.9;
    
    z-index: 2;
    color: white;
}

body.lock-screen .bing-info {
    position: relative;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
	cursor: pointer;
}

/* 图片信息标题 */
body.lock-screen .bing-info .bing-title {
    font-size: 14px;
    font-weight: bold;
    color: white;
    display: block;
    margin-bottom: 10px;
}

/* 图片信息描述 - 默认隐藏 */
body.lock-screen .bing-info .bing-desc {
    width: 100%;
    color: white;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 鼠标悬停时容器向上扩展，显示详细内容 */
body.lock-screen .bing-info:hover {
    max-height: 250px; /* 增加最大高度，确保内容完全显示 */
    transform: translateY(-20px); /* 增加向上移动距离 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.85);
}

/* 当显示描述内容时隐藏"查看更多"按钮 */
body.lock-screen .bing-info:hover .more-info-btn {
    display: none;
}

body.lock-screen .bing-info:hover .bing-desc {
    opacity: 1;
    height: auto;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

/* 查看更多按钮 */
body.lock-screen .more-info-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    float: right;
}

body.lock-screen .more-info-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

body.lock-screen .more-icon {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

/* 中央手风琴链接区域 */
body.lock-screen .central-links {
    position: fixed;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

body.lock-screen .accordion-item {
    position: relative;
    transition: all 0.3s ease;
    overflow: visible;
}

body.lock-screen .accordion-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
    position: relative;
    overflow: visible;
}

/* 手风琴效果：默认只显示标签 */
body.lock-screen .accordion-label {
    display: block;
    transition: all 0.3s ease;
}

body.lock-screen .accordion-content {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
    opacity: 0;
    transition: all 0.3s ease;
}

/* 添加小箭头 */
body.lock-screen .accordion-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

/* 鼠标悬停时显示详细介绍 */
body.lock-screen .accordion-item:hover .accordion-content {
    display: block;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

/* 单个链接的悬停效果 */
body.lock-screen .accordion-item:hover {
    transform: scale(1.1);
}

body.lock-screen .accordion-item a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 底部版权信息 */
body.lock-screen #footer {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
    border-top: none;
    padding-top: 0;
    color: white;
    z-index: 3;
}

body.lock-screen #footer a {
    color: white;
    text-decoration: none;
}

body.lock-screen #footer a:hover {
    text-decoration: underline;
}

/* 油价信息 */
body.lock-screen .top-left {
    display: block;
    padding: 10px;
    border-radius: 10px;
}

body.lock-screen .top-left:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

body.lock-screen .top-left h2 {
    font-size: 16px;
    margin: 0 0 15px 0;
    font-weight: 500;
}

body.lock-screen .top-left section {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

body.lock-screen .top-left .gas-price {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    min-width: 80px;
}

body.lock-screen .top-left .gas-price h5 {
    margin: 0 0 5px 0;
    font-size: 12px;
    font-weight: 400;
}

body.lock-screen .top-left .gas-price .price {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

body.lock-screen .top-left .gas-price .price2 {
    color: #4ecdc4;
    font-size: 12px;
    margin: 5px 0 0 0;
}

body.lock-screen .top-left .gas-price .price3 {
    color: #ff6b6b;
    font-size: 12px;
    margin: 5px 0 0 0;
}

body.lock-screen .top-left .tip {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: left;
}

body.lock-screen .top-left .red {
    color: #ff6b6b;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 992px) {
    /* 在屏幕宽度小于992px时隐藏.bottom-right */
    body.lock-screen .bottom-right {
        display: none;
    }
}
@media (max-width: 768px) {
    body.lock-screen {
        position: static;
        min-height: 100vh;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    /* 在屏幕宽度小于768px时隐藏.top-left和.bottom-right */
    body.lock-screen .top-left,
    body.lock-screen .bottom-right {
        display: none;
    }

    body.lock-screen .central-links {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        width: 90%;
        text-align: center;
        max-width: 200px;
        bottom: auto;
    }

    body.lock-screen .accordion-item {
        display: block;
        margin: 15px 0;

        text-align: center;
    }
}

@media (max-width: 480px) {
    body.lock-screen {
        padding: 10px;
    }

    body.lock-screen .accordion-item a {
        font-size: 14px;
        padding: 10px 15px;
    }
}