/* 菜单遮罩 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.menu-overlay.hidden {
    display: none;
}

/* 菜单面板 */
.menu-panel {
    background: white;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: menuIn 0.3s ease;
}

@keyframes menuIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.menu-panel h3 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 20px;
}

/* 菜单按钮 */
.menu-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 500;
}

.menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.menu-link {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.menu-link:hover {
    box-shadow: 0 5px 20px rgba(17, 153, 142, 0.4);
}

.menu-close {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    margin-top: 15px;
}

.menu-close:hover {
    box-shadow: 0 5px 20px rgba(235, 51, 73, 0.4);
}

/* 分隔线 */
.menu-divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

/* 标签 */
.menu-label {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 选择器 */
.ranking-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
    margin-bottom: 10px;
}

.ranking-select:focus {
    border-color: #667eea;
}
